diff --git a/README.md b/README.md index c79ff68c..e6447ba1 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ * All body shot kills award 50 points ### Denizens -* Changed maximum amount that can be spawned at once from 2 total to 1 per player in the fog +* Changed max amount that can be spawned at once from 2 total to 1 per player in the fog * Decreased number of melees to kill from 5 to 3 * Decreased number of melees to kill with Bowie Knife from 3 to 2 * Decreased number of melees to kill with Galvaknuckles from 2 to 1 @@ -225,6 +225,7 @@ ### Paralyzer * Kills on any round +* Decreased max player fly height ### Blundergat * Kills on any round diff --git a/scripts/zm/replaced/_zm_weap_slowgun.gsc b/scripts/zm/replaced/_zm_weap_slowgun.gsc index 5f1c7ca4..4be9d870 100644 --- a/scripts/zm/replaced/_zm_weap_slowgun.gsc +++ b/scripts/zm/replaced/_zm_weap_slowgun.gsc @@ -91,6 +91,25 @@ zombie_paralyzed( player, upgraded ) self zombie_slow_for_time( 0.2 ); } +player_slow_for_time( time ) +{ + self notify( "player_slow_for_time" ); + self endon( "player_slow_for_time" ); + self endon( "disconnect" ); + + if ( !is_true( self.slowgun_flying ) ) + self thread player_fly_rumble(); + + self setclientfieldtoplayer( "slowgun_fx", 1 ); + self set_anim_rate( 0.2 ); + + wait( time ); + + self set_anim_rate( 1.0 ); + self setclientfieldtoplayer( "slowgun_fx", 0 ); + self.slowgun_flying = 0; +} + watch_reset_anim_rate() { self set_anim_rate( 1 ); diff --git a/scripts/zm/zm_buried/zm_buried_reimagined.gsc b/scripts/zm/zm_buried/zm_buried_reimagined.gsc index 2c68c881..1c4449fa 100644 --- a/scripts/zm/zm_buried/zm_buried_reimagined.gsc +++ b/scripts/zm/zm_buried/zm_buried_reimagined.gsc @@ -32,6 +32,7 @@ main() replaceFunc(maps\mp\zombies\_zm_perk_vulture::_is_player_in_zombie_stink, scripts\zm\replaced\_zm_perk_vulture::_is_player_in_zombie_stink); replaceFunc(maps\mp\zombies\_zm_weap_slowgun::init, scripts\zm\replaced\_zm_weap_slowgun::init); replaceFunc(maps\mp\zombies\_zm_weap_slowgun::zombie_paralyzed, scripts\zm\replaced\_zm_weap_slowgun::zombie_paralyzed); + replaceFunc(maps\mp\zombies\_zm_weap_slowgun::player_slow_for_time, scripts\zm\replaced\_zm_weap_slowgun::player_slow_for_time); replaceFunc(maps\mp\zombies\_zm_weap_slowgun::watch_reset_anim_rate, scripts\zm\replaced\_zm_weap_slowgun::watch_reset_anim_rate); replaceFunc(maps\mp\zombies\_zm_banking::init, scripts\zm\replaced\_zm_banking::init); replaceFunc(maps\mp\zombies\_zm_banking::bank_deposit_box, scripts\zm\replaced\_zm_banking::bank_deposit_box);