UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

zombies stuck in ground when jumping (bo jump)

broken avatar :(
Created 11 years ago
by jei9363
0 Members and 1 Guest are viewing this topic.
1,497 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 3 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Community Mapper
My Groups
More
My Contact & Social Links
More
Signature
Hey if you had tons of fun on playing my maps please DONATE :)

play ESTATE now, and claim your mansion back from the undead!
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Community Mapper Has released one or more maps to the UGX-Mods community which have been added to the UGX Map Manager.
jei9363's Contact & Social Linksjayingardiajei9363jei9363
I exported the black ops zombie jump up (222 units). they do the animation but get stuck in the ground and they stay there for the animation.



my script (modified jump to climb)


I overwrote ai_zombie_jump_up.xanim
Code Snippet
Plaintext
#include animscripts\Utility;
#include animscripts\traverse\shared;
#include maps\_utility;
#include common_scripts\utility;
#using_animtree ("generic_human");




main()
{
if( IsDefined( self.is_zombie ) && self.is_zombie && self.has_legs == true &&  self.type != "dog" )
{
low_wall_zombie();
}
else if( IsDefined( self.is_zombie ) && self.is_zombie && self.has_legs == false )
{
low_wall_crawler();
}
else if( self.type == "dog" )
{
dog_jump_up(96, 7);
}
}

low_wall_zombie()
{

traverseData = [];
traverseData[ "traverseAnim" ] = %ai_zombie_jump_up;
traverseData[ "traverseHeight" ] = 222;
players = get_players();
players[0] iprintln(self.origin);

wait 1;

players[0] iprintln(self.origin);
DoTraverse( traverseData );


}

low_wall_crawler()
{

traverseData = [];
traverseData[ "traverseAnim" ] = %ai_zombie_crawl_jump_up_2_climb;

DoTraverse( traverseData );


}



Last Edit: October 23, 2014, 09:09:45 pm by jei9363

 
Loading ...