Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // 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();
Advertisement
Add Comment
Please, Sign In to add comment