1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-11 23:57:59 -05:00

Zombies: change height to 60 on all maps

This commit is contained in:
Jbleezy
2023-04-10 13:08:53 -07:00
parent ae1d43c5f0
commit e3af893cf2
8 changed files with 41 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)