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

Cell Block: fix issues

This commit is contained in:
Jbleezy 2024-01-10 05:02:49 -08:00
parent 37a2f0dbb6
commit 3ed52dc1ff
4 changed files with 18 additions and 9 deletions

View File

@ -826,6 +826,10 @@
* Fixed being able to hit a death barrier when jumping off the Docks Bridge zone
* Fixed locked hint string not showing on Blundergat Upgrade buildable table
### Cell Block
* Zombies spawn in the Cell Block 3rd Floor zone
* Fixed the electric fence in the Warden's Office making noise when bumping into it
#### Docks
* Wallbuys: M14, Olympia, MP5, Uzi, M1927
* Perks: Juggernog

View File

@ -296,6 +296,7 @@ main()
t_warden_fence = getent("warden_fence_damage", "targetname");
t_warden_fence delete();
level setclientfield("warden_fence_down", 1);
m_plane_about_to_crash = getent("plane_about_to_crash", "targetname");
m_plane_about_to_crash delete();
m_plane_craftable = getent("plane_craftable", "targetname");

View File

@ -804,15 +804,22 @@ working_zone_init()
flag_init("always_on");
flag_set("always_on");
if (is_gametype_active("zgrief"))
if (!is_classic())
{
a_s_spawner = getstructarray("zone_cellblock_west_roof_spawner", "targetname");
spawners_to_keep = [];
foreach (spawner in a_s_spawner)
{
if (isdefined(spawner.script_parameters) && spawner.script_parameters == "zclassic_prison")
spawner structdelete();
{
continue;
}
spawners_to_keep[spawners_to_keep.size] = spawner;
}
level.struct_class_names["targetname"]["zone_cellblock_west_roof_spawner"] = spawners_to_keep;
}
if (is_classic())
@ -885,9 +892,7 @@ working_zone_init()
add_adjacent_zone("zone_cellblock_west_gondola", "zone_cellblock_west_gondola_dock", "activate_cellblock_gondola");
add_adjacent_zone("zone_cellblock_west_gondola", "zone_cellblock_west_gondola_dock", "gondola_dock_to_roof");
}
/*
else if ( is_gametype_active( "zgrief" ) )
else
{
playable_area = getentarray("player_volume", "script_noteworthy");
@ -897,7 +902,6 @@ working_zone_init()
area delete();
}
}
*/
add_adjacent_zone("zone_golden_gate_bridge", "zone_golden_gate_bridge", "activate_player_zone_bridge");