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:
@ -69,7 +69,7 @@
|
|||||||
|
|
||||||
## Zombies
|
## Zombies
|
||||||
* Health capped at 100,000
|
* 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
|
* Attracted towards points of interest immediately
|
||||||
* Removed walkers in high rounds
|
* Removed walkers in high rounds
|
||||||
* Removed headless zombies
|
* Removed headless zombies
|
||||||
|
@ -7,6 +7,39 @@
|
|||||||
#include maps\mp\zombies\_zm;
|
#include maps\mp\zombies\_zm;
|
||||||
#include maps\mp\zm_buried_ffotd;
|
#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()
|
spawned_life_triggers()
|
||||||
{
|
{
|
||||||
// remove
|
// remove
|
||||||
|
@ -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_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::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_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_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_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);
|
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.allowpain = 0;
|
||||||
self.zombie_path_bad = 0;
|
self.zombie_path_bad = 0;
|
||||||
self thread maps\mp\zm_buried_distance_tracking::escaped_zombies_cleanup_init();
|
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)
|
buried_special_weapon_magicbox_check(weapon)
|
||||||
|
@ -76,7 +76,7 @@ zombie_init_done()
|
|||||||
}
|
}
|
||||||
self.health = self.maxhealth;
|
self.health = self.maxhealth;
|
||||||
}
|
}
|
||||||
self setphysparams( 15, 0, 64 );
|
self setphysparams( 15, 0, 60 );
|
||||||
}
|
}
|
||||||
|
|
||||||
highrise_special_weapon_magicbox_check(weapon)
|
highrise_special_weapon_magicbox_check(weapon)
|
||||||
|
@ -15,7 +15,7 @@ zombie_init_done()
|
|||||||
{
|
{
|
||||||
self thread maps\mp\zm_nuked::zombie_crater_locomotion();
|
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)
|
nuked_special_weapon_magicbox_check(weapon)
|
||||||
|
@ -90,7 +90,7 @@ init()
|
|||||||
zombie_init_done()
|
zombie_init_done()
|
||||||
{
|
{
|
||||||
self.allowpain = 0;
|
self.allowpain = 0;
|
||||||
self setphysparams( 15, 0, 64 );
|
self setphysparams( 15, 0, 60 );
|
||||||
}
|
}
|
||||||
|
|
||||||
check_for_special_weapon_limit_exist(weapon)
|
check_for_special_weapon_limit_exist(weapon)
|
||||||
|
@ -97,7 +97,7 @@ zombie_init_done()
|
|||||||
{
|
{
|
||||||
self.allowpain = 0;
|
self.allowpain = 0;
|
||||||
self thread maps\mp\zm_tomb_distance_tracking::escaped_zombies_cleanup_init();
|
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)
|
tomb_special_weapon_magicbox_check(weapon)
|
||||||
|
@ -117,7 +117,7 @@ grief_include_weapons()
|
|||||||
zombie_init_done()
|
zombie_init_done()
|
||||||
{
|
{
|
||||||
self.allowpain = 0;
|
self.allowpain = 0;
|
||||||
self setphysparams( 15, 0, 64 );
|
self setphysparams( 15, 0, 60 );
|
||||||
}
|
}
|
||||||
|
|
||||||
transit_special_weapon_magicbox_check(weapon)
|
transit_special_weapon_magicbox_check(weapon)
|
||||||
|
Reference in New Issue
Block a user