Napalm zombie run/sprint fix!

broken avatar :(
Created 75 days ago
by gympie6
0 Members and 1 Guest are viewing this topic.
251 views
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 16 hours ago
Posts
206
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
I love skulls
Signature
The official game when it comes out, maybe.  As long as it isn't just passed call of duties copied.  But wait, Black ops 4 is a complete copy of the Chinese Call Of Duty Online.

You wot dude!
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksDistenc5Teffrie
If a zombie is shot near another zombie there is a chance he gets mad.
When it happens he goes running/sprinting.

To fix this issue there is one line of code needed to fix that.

Go to your napalm-zombie.gsc file and add this line after he is spawned.
Example:

napalm_spawn()
{
     ai = spawn_zombie( use_spawn_point );
     if (isdefined(ai) )
     {
           wait .05;
           ai.boss = true;
           // Add this line here!
           
ai.zombie_move_speed = "sprint";
           // Add this line here!
           ai DetachAll();
           ai setModel(napalm_model);
           ai thread maps\_zombiemode_spawner::zombie_setup_attack_properties();
     }
}

Don't be confused with this line of code because it's only a check, you can still change the run animations of the zombie.
Last Edit: August 08, 2018, 09:51:06 pm by gympie6

 
Loading ...