diff --git a/README.md b/README.md index e98834b1..240455b4 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ ## Zombies * Health capped at 100,000 -* Changed height to 64 on all maps (normally either 48 or 72) +* Changed height to 60 on all maps (normally either 48 or 72) * Attracted towards points of interest immediately * Removed walkers in high rounds * Removed headless zombies diff --git a/scripts/zm/replaced/zm_buried_ffotd.gsc b/scripts/zm/replaced/zm_buried_ffotd.gsc index dbfee870..a7896b6b 100644 --- a/scripts/zm/replaced/zm_buried_ffotd.gsc +++ b/scripts/zm/replaced/zm_buried_ffotd.gsc @@ -7,6 +7,39 @@ #include maps\mp\zombies\_zm; #include maps\mp\zm_buried_ffotd; +jail_traversal_fix() +{ + self endon( "death" ); + window_pos = ( -837, 496, 8 ); + fix_dist = 64; + + while ( true ) + { + dist = distancesquared( self.origin, window_pos ); + + if ( dist < fix_dist ) + { + node = self getnegotiationstartnode(); + + if ( isdefined( node ) ) + { + if ( node.animscript == "zm_jump_down_48" && node.type == "Begin" ) + { + self setphysparams( 25, 0, 60 ); + wait 1; + + if ( is_true( self.has_legs ) ) + self setphysparams( 15, 0, 60 ); + else + self setphysparams( 15, 0, 24 ); + } + } + } + + wait 0.25; + } +} + spawned_life_triggers() { // remove diff --git a/scripts/zm/zm_buried/zm_buried_reimagined.gsc b/scripts/zm/zm_buried/zm_buried_reimagined.gsc index a90c40de..362f3d15 100644 --- a/scripts/zm/zm_buried/zm_buried_reimagined.gsc +++ b/scripts/zm/zm_buried/zm_buried_reimagined.gsc @@ -31,6 +31,7 @@ main() replaceFunc(maps\mp\zm_buried_buildables::watch_cell_open_close, scripts\zm\replaced\zm_buried_buildables::watch_cell_open_close); replaceFunc(maps\mp\zm_buried_gamemodes::init, scripts\zm\replaced\zm_buried_gamemodes::init); replaceFunc(maps\mp\zm_buried_gamemodes::buildbuildable, scripts\zm\replaced\zm_buried_gamemodes::buildbuildable); + replaceFunc(maps\mp\zm_buried_ffotd::jail_traversal_fix, scripts\zm\replaced\zm_buried_ffotd::jail_traversal_fix); replaceFunc(maps\mp\zm_buried_ffotd::spawned_life_triggers, scripts\zm\replaced\zm_buried_ffotd::spawned_life_triggers); replaceFunc(maps\mp\zm_buried_fountain::transport_player_to_start_zone, scripts\zm\replaced\zm_buried_fountain::transport_player_to_start_zone); replaceFunc(maps\mp\zm_buried_sq::sq_metagame, scripts\zm\replaced\zm_buried_sq::sq_metagame); @@ -97,7 +98,7 @@ zombie_init_done() self.allowpain = 0; self.zombie_path_bad = 0; self thread maps\mp\zm_buried_distance_tracking::escaped_zombies_cleanup_init(); - self setphysparams( 15, 0, 64 ); + self setphysparams( 15, 0, 60 ); } buried_special_weapon_magicbox_check(weapon) diff --git a/scripts/zm/zm_highrise/zm_highrise_reimagined.gsc b/scripts/zm/zm_highrise/zm_highrise_reimagined.gsc index 28133f8a..d6a510d3 100644 --- a/scripts/zm/zm_highrise/zm_highrise_reimagined.gsc +++ b/scripts/zm/zm_highrise/zm_highrise_reimagined.gsc @@ -76,7 +76,7 @@ zombie_init_done() } self.health = self.maxhealth; } - self setphysparams( 15, 0, 64 ); + self setphysparams( 15, 0, 60 ); } highrise_special_weapon_magicbox_check(weapon) diff --git a/scripts/zm/zm_nuked/zm_nuked_reimagined.gsc b/scripts/zm/zm_nuked/zm_nuked_reimagined.gsc index 3507f363..cf31dd23 100644 --- a/scripts/zm/zm_nuked/zm_nuked_reimagined.gsc +++ b/scripts/zm/zm_nuked/zm_nuked_reimagined.gsc @@ -15,7 +15,7 @@ zombie_init_done() { self thread maps\mp\zm_nuked::zombie_crater_locomotion(); } - self setphysparams( 15, 0, 64 ); + self setphysparams( 15, 0, 60 ); } nuked_special_weapon_magicbox_check(weapon) diff --git a/scripts/zm/zm_prison/zm_prison_reimagined.gsc b/scripts/zm/zm_prison/zm_prison_reimagined.gsc index 3747742b..64f4df72 100644 --- a/scripts/zm/zm_prison/zm_prison_reimagined.gsc +++ b/scripts/zm/zm_prison/zm_prison_reimagined.gsc @@ -90,7 +90,7 @@ init() zombie_init_done() { self.allowpain = 0; - self setphysparams( 15, 0, 64 ); + self setphysparams( 15, 0, 60 ); } check_for_special_weapon_limit_exist(weapon) diff --git a/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc b/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc index 2a2b3d70..dd7e8483 100644 --- a/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc +++ b/scripts/zm/zm_tomb/zm_tomb_reimagined.gsc @@ -97,7 +97,7 @@ zombie_init_done() { self.allowpain = 0; self thread maps\mp\zm_tomb_distance_tracking::escaped_zombies_cleanup_init(); - self setphysparams( 15, 0, 64 ); + self setphysparams( 15, 0, 60 ); } tomb_special_weapon_magicbox_check(weapon) diff --git a/scripts/zm/zm_transit/zm_transit_reimagined.gsc b/scripts/zm/zm_transit/zm_transit_reimagined.gsc index 9ac17d13..3b9ac853 100644 --- a/scripts/zm/zm_transit/zm_transit_reimagined.gsc +++ b/scripts/zm/zm_transit/zm_transit_reimagined.gsc @@ -117,7 +117,7 @@ grief_include_weapons() zombie_init_done() { self.allowpain = 0; - self setphysparams( 15, 0, 64 ); + self setphysparams( 15, 0, 60 ); } transit_special_weapon_magicbox_check(weapon)