mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-11 23:57:59 -05:00
MOTD: unlink first room doors
This commit is contained in:
@ -602,6 +602,7 @@
|
|||||||
* Electric chairs appear immediately after crashing at the Golden Gate Bridge
|
* Electric chairs appear immediately after crashing at the Golden Gate Bridge
|
||||||
* Zombies spawn sooner after crashing at the Golden Gate Bridge
|
* Zombies spawn sooner after crashing at the Golden Gate Bridge
|
||||||
* Key no longer shows on HUD
|
* Key no longer shows on HUD
|
||||||
|
* Opening one of the starting room doors no longer opens the other one
|
||||||
* Brutus no longer spawns if no doors have been opened
|
* Brutus no longer spawns if no doors have been opened
|
||||||
* Acid Trap: kills on any round (normally stops killing after round 158 on PC)
|
* Acid Trap: kills on any round (normally stops killing after round 158 on PC)
|
||||||
* Acid Trap: kills zombies instantly
|
* Acid Trap: kills zombies instantly
|
||||||
|
@ -68,6 +68,8 @@ main()
|
|||||||
replaceFunc(maps\mp\zombies\_zm_weap_tomahawk::tomahawk_attack_zombies, scripts\zm\replaced\_zm_weap_tomahawk::tomahawk_attack_zombies);
|
replaceFunc(maps\mp\zombies\_zm_weap_tomahawk::tomahawk_attack_zombies, scripts\zm\replaced\_zm_weap_tomahawk::tomahawk_attack_zombies);
|
||||||
replaceFunc(maps\mp\zombies\_zm_weap_tomahawk::tomahawk_return_player, scripts\zm\replaced\_zm_weap_tomahawk::tomahawk_return_player);
|
replaceFunc(maps\mp\zombies\_zm_weap_tomahawk::tomahawk_return_player, scripts\zm\replaced\_zm_weap_tomahawk::tomahawk_return_player);
|
||||||
replaceFunc(maps\mp\zombies\_zm_zonemgr::manage_zones, ::manage_zones);
|
replaceFunc(maps\mp\zombies\_zm_zonemgr::manage_zones, ::manage_zones);
|
||||||
|
|
||||||
|
door_changes();
|
||||||
}
|
}
|
||||||
|
|
||||||
init()
|
init()
|
||||||
@ -90,6 +92,23 @@ init()
|
|||||||
level thread grief_brutus_spawn_after_time();
|
level thread grief_brutus_spawn_after_time();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
door_changes()
|
||||||
|
{
|
||||||
|
num = 0;
|
||||||
|
targets = getentarray( "cellblock_start_door", "targetname" );
|
||||||
|
zombie_doors = getentarray( "zombie_door", "targetname" );
|
||||||
|
for ( i = 0; i < zombie_doors.size; i++ )
|
||||||
|
{
|
||||||
|
if ( isdefined( zombie_doors[i].target ) && zombie_doors[i].target == "cellblock_start_door" )
|
||||||
|
{
|
||||||
|
zombie_doors[i].target += num;
|
||||||
|
targets[num].targetname += num;
|
||||||
|
targets[num + 2].targetname += num;
|
||||||
|
num++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
zombie_init_done()
|
zombie_init_done()
|
||||||
{
|
{
|
||||||
self.allowpain = 0;
|
self.allowpain = 0;
|
||||||
|
Reference in New Issue
Block a user