Modme Forums

Round 1 Sprinters

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


minebuillder13:

Please help im trying to make a decent hard map and i would like to know how to make sprinters from round 1 to infinite


KillJoy:

level thread new_zombie_speed();

function new_zombie_speed()
{
    //Health  
    zombie_utility::set_zombie_var( "zombie_health_increase",             150,    false);    //    cumulatively add this to the zombies' starting health each round (up to round 10)
    zombie_utility::set_zombie_var( "zombie_health_increase_multiplier",        0.1,     true );    //    after round 10 multiply the zombies' starting health by this amount
    zombie_utility::set_zombie_var( "zombie_health_start",                 150,    false);    //    starting health of a zombie at round 1
    zombie_utility::set_zombie_var( "zombie_spawn_delay",                 2.0,    true );    // Time to wait between spawning zombies.  This is modified based on the round number.
    zombie_utility::set_zombie_var( "zombie_new_runner_interval",              35,    false);    //    Interval between changing walkers who are too far away into runners

    zombie_utility::set_zombie_var( "zombie_max_ai",                 24,        false );    //    CAP IS 64
    zombie_utility::set_zombie_var( "zombie_ai_per_player",             6,        false     );    //    additional zombie modifier for each player in the game
    zombie_utility::set_zombie_var( "below_world_check",                 -1000 );                    //    Check height to see if a zombie has fallen through the world.

    // Round  
    zombie_utility::set_zombie_var( "spectators_respawn",                 true );        // Respawn in the spectators in between rounds
    zombie_utility::set_zombie_var( "zombie_use_failsafe",                 true );        // Will slowly kill zombies who are stuck

    //Speed
    zombie_utility::set_zombie_var( "zombie_move_speed_multiplier",       12,   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",  12,   false );    //  CAP IS 99
    level.zombie_move_speed         = level.round_number * level.zombie_vars["zombie_move_speed_multiplier"];
}


minebuillder13:

level thread new_zombie_speed();

function new_zombie_speed()
{
    //Health 
    zombie_utility::set_zombie_var( "zombie_health_increase",             150,    false);    //    cumulatively add this to the zombies' starting health each round (up to round 10)
    zombie_utility::set_zombie_var( "zombie_health_increase_multiplier",        0.1,     true );    //    after round 10 multiply the zombies' starting health by this amount
    zombie_utility::set_zombie_var( "zombie_health_start",                 150,    false);    //    starting health of a zombie at round 1
    zombie_utility::set_zombie_var( "zombie_spawn_delay",                 2.0,    true );    // Time to wait between spawning zombies.  This is modified based on the round number.
    zombie_utility::set_zombie_var( "zombie_new_runner_interval",              35,    false);    //    Interval between changing walkers who are too far away into runners

    zombie_utility::set_zombie_var( "zombie_max_ai",                 24,        false );    //    CAP IS 64
    zombie_utility::set_zombie_var( "zombie_ai_per_player",             6,        false     );    //    additional zombie modifier for each player in the game
    zombie_utility::set_zombie_var( "below_world_check",                 -1000 );                    //    Check height to see if a zombie has fallen through the world.

    // Round 
    zombie_utility::set_zombie_var( "spectators_respawn",                 true );        // Respawn in the spectators in between rounds
    zombie_utility::set_zombie_var( "zombie_use_failsafe",                 true );        // Will slowly kill zombies who are stuck

    //Speed
    zombie_utility::set_zombie_var( "zombie_move_speed_multiplier",       12,   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",  12,   false );    //  CAP IS 99
    level.zombie_move_speed         = level.round_number * level.zombie_vars["zombie_move_speed_multiplier"];
}

under gsc csc or zone


minebuillder13:

also what i put it under


KillJoy:

in gsc under usermap main put
level thread new_zombie_speed();

then put the function at the bottom of the gsc


Pedrehitor74:

in gsc under usermap main put
level thread new_zombie_speed();

then put the function at the bottom of the gsc

make the zombies start running in round 5


Harry Bo21:

....