
Posts
643
Respect
261Add +1
Forum Rank
Zombie Enslaver
Primary Group
Mapper
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!

![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
Is it possible to make it like BO2 where after round 15, up to 5 of the spawned zombies at a time will walk, whilst the rest sprint? I think it will be a script to do this which is why I posted here



![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
var = randomintrange(1, 8);
self set_run_anim( "walk" + var );
self.run_combatanim = level.scr_anim[self.animname]["walk" + var];

![]() | Has released one or more maps to the UGX-Mods community. |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has released one or more maps to the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |

![]() | Has released one or more maps to the UGX-Mods community. |
set_run_speed()
{
rand = randomintrange( level.zombie_move_speed, level.zombie_move_speed + 35 );
// New randomization behaviour to frequently have slower zombies in higher rounds - YaPh1l
if(level.zombie_move_speed > 64 && RandomInt(100) < 10)
rand = 42; // run
else if(level.zombie_move_speed > 32 && RandomInt(100) < 10)
rand = 1; // walk
if( rand <= 35 )
{
self.zombie_move_speed = "walk";
}
else if( rand <= 70 )
{
self.zombie_move_speed = "run";
}
else
{
self.zombie_move_speed = "sprint";
}
}![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
I now have this, How do I make it so there are only 5 walkers per round past round 15 and no runners/joggers (so normal speed sprinters (not verruckt) and walkers but no joggers?
set_run_speed()
{
if( level.round_number > 15 )
{
if( level.walkers_this_round <= 5 && randomint(100)<10 )
{
level.walkers_this_round++;
self.zombie_move_speed = "walk";
}
else
{
self.zombie_move_speed = "sprint";
}
}
else
{
rand = randomintrange( level.zombie_move_speed, level.zombie_move_speed + 35 );
// New randomization behaviour to frequently have slower zombies in higher rounds - YaPh1l
if(level.zombie_move_speed > 64 && RandomInt(100) < 10)
rand = 42; // run
else if(level.zombie_move_speed > 32 && RandomInt(100) < 10)
rand = 1; // walk
if( rand <= 35 )
{
self.zombie_move_speed = "walk";
}
else if( rand <= 70 )
{
self.zombie_move_speed = "run";
}
else
{
self.zombie_move_speed = "sprint";
}
}
}
reset_walkers_count()
{
while(1)
{
level.walkers_this_round = 0;
level waittill( "between_round_over" );
}
}

![]() | Has released one or more maps to the UGX-Mods community. |
maps\_zombiemode::main();
level thread reset_walkers_count();
maps\_mc_thundergun::init();
level thread maps\ugx_easy_fx::fx_start();![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() Oil Rig Beta Access |
It is giving me unknown function "level thread reset_walkers_count()"
Everything is in the right place, your script is in zombiemode spawner and my mapname looks like this:
There are a few other things in there aswell but they wont affect it
reset_walkers_count()
{
while(1)
{
level.walkers_this_round = 0;
level waittill( "between_round_over" );
}
}

![]() | Has released one or more maps to the UGX-Mods community. |
+1