Posts
397
Respect
242Add +1
Forum Rank
Perk Hacker
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!i want to have a slide in my map and sure how to go about it. i have the slide made but the player doesn't well slide
try setting the texture surface type to ice
thread slide();
slide()
{
players = get_players();
for(i = 0; i < players.size; i++)
{
players[i] thread createSlide();
}
}
createSlide()
{
slideTrig = getEnt("slideTrig","targetname");
slidePath = getVehiclePath("slideStartNode","targetname");
while(1)
{
if(self isTouching(slideTrig))
{
tag = spawn("script_model",self.origin);
tag setModel("tag_origin");
self linkTo(tag);
tag startPath(slidePath);
tag waittill("reached_end_node");
self unLink();
tag delete();
}
}
}
PlayerLastStand( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration )if( sMeansOfDeath == "MOD_CRUSH" )
self unlink();

![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
just as a prewarning, if your killed while "linked to" a model, itll crash the game
youd need to make sure it unlinks in last stand before continuing with the rest of the last stand functionality
This was what caused the crash on my PHD
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
![]() | Has released one or more maps to the UGX-Mods community. |
on downed or death, ( actually death is another, as the ent will be left over, will need to clean that up too )
something it does when you go into last stand cant be done to a "ent that is linked" - i forget what exatly
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
I know what it is, their is a function in last stand that acts like a protection or a barrier. When a character goes into last stand they are falling to the ground, during this they need to clench their butt cheeks to lessen the pain, the characters are 3D models, which means they bruise a lot easier then humans, so treyarch added a butt cheek clench function to prevent the models from being damaged and causing another players to escape from the crack in the model (I.E. the 8 player tranzit glitch, to cause the glitch you where basically breaking the character models so other character models of the players could escape from the original broken characters). So if you try going into last stand while linked to an entity it prevents the butt cheek clench function from being activated in the last stand script, because since your character (inlcuding his butt cheeks) are linked, if they try to go into last stand it could rip the entire character model in half causing a black hole to spawn, destroying the space time continuum, thats why the game crashes, is to prevent this from happening. Their ya go, the more you know! I am so bored

I know what it is, their is a function in last stand that acts like a protection or a barrier. When a character goes into last stand they are falling to the ground, during this they need to clench their butt cheeks to lessen the pain, the characters are 3D models, which means they bruise a lot easier then humans, so treyarch added a butt cheek clench function to prevent the models from being damaged and causing another players to escape from the crack in the model (I.E. the 8 player tranzit glitch, to cause the glitch you where basically breaking the character models so other character models of the players could escape from the original broken characters). So if you try going into last stand while linked to an entity it prevents the butt cheek clench function from being activated in the last stand script, because since your character (inlcuding his butt cheeks) are linked, if they try to go into last stand it could rip the entire character model in half causing a black hole to spawn, destroying the space time continuum, thats why the game crashes, is to prevent this from happening. Their ya go, the more you know! I am so bored

on downed or death, ( actually death is another, as the ent will be left over, will need to clean that up too )
something it does when you go into last stand cant be done to a "ent that is linked" - i forget what exatly
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |

but it should still delete itself since the model will delete itself after it reaches the end of its path, so even if you go down it should continue to the end of its path and delete itself![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community. |
doing this has a lot of problems since the player could easily get stuck and no longer be able to move
the best way to do this would be by creating a script_model and then linking the player to the model and then having the model move along a vehicle path and then unlink the player at the bottom of the slide
heres an example
in your mapname.gsc under zombiemode::main call put this