Author Topic: Napalm zombie run/sprint fix!  (Read 95 times)

0 Members and 1 Guest are viewing this topic.

Offline gympie6

  • - Original Poster (OP) -
  • Pack-a-Puncher
  • Posts: 165
  • Country: nl
  • Respect: 35
  • I love skulls
    • Distenc5
    • View Profile
  • CoD: WaW: Teffrie

Napalm zombie run/sprint fix!

« on: August 08, 2018, 12:48:40 pm »
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.

     ai = spawn_zombie( use_spawn_point );
     if (isdefined(ai) )
           wait .05;
           ai.boss = true;
           // Add this line here!
Code: [Select]
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, 12:51:06 pm by gympie6 »
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!