1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-10 07:08:06 -05:00

Zombies: change height to 60 in playable area

This commit is contained in:
Jbleezy
2023-04-23 02:21:57 -07:00
parent 43737718b6
commit 44dd3f6427
4 changed files with 13 additions and 3 deletions

View File

@ -75,7 +75,7 @@
* Health capped at 100,000
* Amount of zombies scales linearly with the amount of players
* Zombies that are deleted due to being too far away always respawn
* Changed height to 48 on all maps (normally either 48 or 72)
* Changed height to 60 (normally either 48 or 72)
* Attracted towards points of interest immediately
* Removed walkers in high rounds
* Removed headless zombies

View File

@ -107,6 +107,7 @@ main()
replaceFunc(maps\mp\zombies\_zm_spawner::zombie_gib_on_damage, scripts\zm\replaced\_zm_spawner::zombie_gib_on_damage);
replaceFunc(maps\mp\zombies\_zm_spawner::head_should_gib, scripts\zm\replaced\_zm_spawner::head_should_gib);
replaceFunc(maps\mp\zombies\_zm_spawner::zombie_can_drop_powerups, scripts\zm\replaced\_zm_spawner::zombie_can_drop_powerups);
replaceFunc(maps\mp\zombies\_zm_spawner::zombie_complete_emerging_into_playable_area, scripts\zm\replaced\_zm_spawner::zombie_complete_emerging_into_playable_area);
replaceFunc(maps\mp\zombies\_zm_ai_basic::inert_wakeup, scripts\zm\replaced\_zm_ai_basic::inert_wakeup);
replaceFunc(maps\mp\zombies\_zm_melee_weapon::change_melee_weapon, scripts\zm\replaced\_zm_melee_weapon::change_melee_weapon);
replaceFunc(maps\mp\zombies\_zm_melee_weapon::give_melee_weapon, scripts\zm\replaced\_zm_melee_weapon::give_melee_weapon);

View File

@ -414,4 +414,13 @@ zombie_can_drop_powerups( zombie )
return false;
return true;
}
zombie_complete_emerging_into_playable_area()
{
self setphysparams( 15, 0, 60 );
self.completed_emerging_into_playable_area = 1;
self notify( "completed_emerging_into_playable_area" );
self.no_powerups = 0;
self thread zombie_free_cam_allowed();
}

View File

@ -25,11 +25,11 @@ jail_traversal_fix()
{
if ( node.animscript == "zm_jump_down_48" && node.type == "Begin" )
{
self setphysparams( 25, 0, 48 );
self setphysparams( 25, 0, 60 );
wait 1;
if ( is_true( self.has_legs ) )
self setphysparams( 15, 0, 48 );
self setphysparams( 15, 0, 60 );
else
self setphysparams( 15, 0, 24 );
}