Modme Forums
Menu:

HELP Zombie Spawn preferences

Game Modding | Call of Duty: Black Ops 3 | Scripting


ModmeBot:

Thread By: ReKleSs

Hello, im making a hard challengue and i want to make fast map. I want to always spawn 24 zombies in 1 second if its is pissible like WaW.

I add this code for edit Spawn Delay Interval in a function in mapname.gsc

zombie_utility::set_zombie_var( "zombie_spawn_delay", 				0.001, true);



I want to add zombie very sprinters. For Example the zombie run more than player. I use this script for make zoombies runers but not Very Sprinters:

function new_zombie_speed()
{
    level flag::wait_till( "initial_blackscreen_passed" );
    zombie_utility::set_zombie_var( "zombie_move_speed_multiplier",       500,   false );    //  Multiply by the round number to give the base speed value.  0-40 = walk, 41-70 = run, 71+ = sprint
    zombie_utility::set_zombie_var( "zombie_move_speed_multiplier_easy",  500,   false );    //  Multiply by the round number to give the base speed value.  0-40 = walk, 41-70 = run, 71+ = sprint
}



Thanks for helping ;)

ReKleSs.


ModmeBot:

Reply By: natesmithzombies

// Paste the below in your mapname.gsc
 
function increase_zom_sprint_speed()
{
    level.nsz_custom_zombie_speed_rate = 1.25; // change this to any number where 1 is normal speed, 0.5 is half, and 2 is double speed
   
    if( !isDefined( level._zombie_custom_spawn_logic ) )
        level._zombie_custom_spawn_logic = [];
   
    level._zombie_custom_spawn_logic[ level._zombie_custom_spawn_logic.size ] = &change_zom_anim_rate;
}
 
function change_zom_anim_rate()
{
    // iprintlnbold( "^2Increased Move Speed Scale" );
    rate = level.nsz_custom_zombie_speed_rate;
    self ASMSetAnimationRate( rate );
   
    while(1)
    {
        if( isDefined( self.b_widows_wine_slow ) && self.b_widows_wine_slow )
        {
            wait(0.1);
            continue;
        }
        else
            self ASMSetAnimationRate( rate );
        wait(0.1);
    }
   
}
 
// add this in your function main
 
increase_zom_sprint_speed();


ModmeBot:

Reply By: ReKleSs

natesmithzombies
// Paste the below in your mapname.gsc
 
function increase_zom_sprint_speed()
{
    level.nsz_custom_zombie_speed_rate = 1.25; // change this to any number where 1 is normal speed, 0.5 is half, and 2 is double speed
   
    if( !isDefined( level._zombie_custom_spawn_logic ) )
        level._zombie_custom_spawn_logic = [];
   
    level._zombie_custom_spawn_logic[ level._zombie_custom_spawn_logic.size ] = &change_zom_anim_rate;
}
 
function change_zom_anim_rate()
{
    // iprintlnbold( "^2Increased Move Speed Scale" );
    rate = level.nsz_custom_zombie_speed_rate;
    self ASMSetAnimationRate( rate );
   
    while(1)
    {
        if( isDefined( self.b_widows_wine_slow ) && self.b_widows_wine_slow )
        {
            wait(0.1);
            continue;
        }
        else
            self ASMSetAnimationRate( rate );
        wait(0.1);
    }
   
}
 
// add this in your function main
 
increase_zom_sprint_speed();

Okay Thanks, Man You are incredible. This Works perfect. Can you make that 24 zombies spawn at the same time? Thats very important for the map. Thanks.

ReKleSs. =)


ModmeBot:

Reply By: ReKleSs

ReKleSs
natesmithzombies
// Paste the below in your mapname.gsc
 
function increase_zom_sprint_speed()
{
    level.nsz_custom_zombie_speed_rate = 1.25; // change this to any number where 1 is normal speed, 0.5 is half, and 2 is double speed
   
    if( !isDefined( level._zombie_custom_spawn_logic ) )
        level._zombie_custom_spawn_logic = [];
   
    level._zombie_custom_spawn_logic[ level._zombie_custom_spawn_logic.size ] = &change_zom_anim_rate;
}
 
function change_zom_anim_rate()
{
    // iprintlnbold( "^2Increased Move Speed Scale" );
    rate = level.nsz_custom_zombie_speed_rate;
    self ASMSetAnimationRate( rate );
   
    while(1)
    {
        if( isDefined( self.b_widows_wine_slow ) && self.b_widows_wine_slow )
        {
            wait(0.1);
            continue;
        }
        else
            self ASMSetAnimationRate( rate );
        wait(0.1);
    }
   
}
 
// add this in your function main
 
increase_zom_sprint_speed();

Okay Thanks, Man You are incredible. This Works perfect. Can you make that 24 zombies spawn at the same time? Thats very important for the map. Thanks.

ReKleSs. =)

I have this:

This works for remove spawn delay:

zombie_utility::set_zombie_var( "zombie_spawn_delay", 				0.001, false);


ModmeBot:

Reply By: natesmithzombies

ReKleSs
ReKleSs
natesmithzombies
// Paste the below in your mapname.gsc
 
function increase_zom_sprint_speed()
{
    level.nsz_custom_zombie_speed_rate = 1.25; // change this to any number where 1 is normal speed, 0.5 is half, and 2 is double speed
   
    if( !isDefined( level._zombie_custom_spawn_logic ) )
        level._zombie_custom_spawn_logic = [];
   
    level._zombie_custom_spawn_logic[ level._zombie_custom_spawn_logic.size ] = &change_zom_anim_rate;
}
 
function change_zom_anim_rate()
{
    // iprintlnbold( "^2Increased Move Speed Scale" );
    rate = level.nsz_custom_zombie_speed_rate;
    self ASMSetAnimationRate( rate );
   
    while(1)
    {
        if( isDefined( self.b_widows_wine_slow ) && self.b_widows_wine_slow )
        {
            wait(0.1);
            continue;
        }
        else
            self ASMSetAnimationRate( rate );
        wait(0.1);
    }
   
}
 
// add this in your function main
 
increase_zom_sprint_speed();

Okay Thanks, Man You are incredible. This Works perfect. Can you make that 24 zombies spawn at the same time? Thats very important for the map. Thanks.

ReKleSs. =)

I have this:

This works for remove spawn delay:

zombie_utility::set_zombie_var( "zombie_spawn_delay", 				0.001, false);

I dont understand what you are getting at. You seem to have it solved then?


ModmeBot:

Reply By: ReKleSs

ReKleSs
ReKleSs
natesmithzombies
// Paste the below in your mapname.gsc
 
function increase_zom_sprint_speed()
{
    level.nsz_custom_zombie_speed_rate = 1.25; // change this to any number where 1 is normal speed, 0.5 is half, and 2 is double speed
   
    if( !isDefined( level._zombie_custom_spawn_logic ) )
        level._zombie_custom_spawn_logic = [];
   
    level._zombie_custom_spawn_logic[ level._zombie_custom_spawn_logic.size ] = &change_zom_anim_rate;
}
 
function change_zom_anim_rate()
{
    // iprintlnbold( "^2Increased Move Speed Scale" );
    rate = level.nsz_custom_zombie_speed_rate;
    self ASMSetAnimationRate( rate );
   
    while(1)
    {
        if( isDefined( self.b_widows_wine_slow ) && self.b_widows_wine_slow )
        {
            wait(0.1);
            continue;
        }
        else
            self ASMSetAnimationRate( rate );
        wait(0.1);
    }
   
}
 
// add this in your function main
 
increase_zom_sprint_speed();

Okay Thanks, Man You are incredible. This Works perfect. Can you make that 24 zombies spawn at the same time? Thats very important for the map. Thanks.

ReKleSs. =)

I have this:

This works for remove spawn delay:

zombie_utility::set_zombie_var( "zombie_spawn_delay", 				0.001, false);

But it works in the firs round after is normal spawn delay and i cant changue it, maybe NSZ you can. Thanks


ModmeBot:

Reply By: natesmithzombies

// add this to your mapname function main 
level.func_get_zombie_spawn_delay = &fastest_delay;

// paste this at the bottom of you mapname.gscc 
function fastest_delay( round_num )
{
	return 0.05; 
}


ModmeBot:

Reply By: Lokii
I know i'm replying to a dead post, but is there a way to make a custom round that only has super sprinters, or is there a way i can add tranzit sprinters into my map only for a few zombies but not for all?