1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-06-21 04:30:32 -05:00

Encounter on MOTD: Brutus spawns after time

This commit is contained in:
Jbleezy
2023-03-22 16:52:37 -07:00
parent fcd95bfb36
commit 9515b32b6b
2 changed files with 23 additions and 0 deletions

View File

@ -470,6 +470,7 @@
* Zombies spawn in the Docks Gates zone when in the Docks zone * Zombies spawn in the Docks Gates zone when in the Docks zone
* Grief: added Smoke Grenades to the Mystery Box * Grief: added Smoke Grenades to the Mystery Box
* Grief: added Richtofen Head meat powerup model * Grief: added Richtofen Head meat powerup model
* Grief: Brutus spawns every 4-6 minutes
#### Docks #### Docks
* Added Grief game mode * Added Grief game mode

View File

@ -52,6 +52,7 @@ init()
level thread plane_auto_refuel(); level thread plane_auto_refuel();
level thread updatecraftables(); level thread updatecraftables();
level thread grief_brutus_spawn_after_time();
} }
zombie_init_done() zombie_init_done()
@ -615,6 +616,27 @@ craftabletrigger_update_prompt( player )
return can_use; return can_use;
} }
grief_brutus_spawn_after_time()
{
if ( !is_gametype_active( "zgrief" ) )
{
return;
}
level endon("end_game");
level waittill("restart_round_start");
while (1)
{
time = randomIntRange(240, 360);
wait time;
level notify( "spawn_brutus", 1 );
}
}
manage_zones( initial_zone ) manage_zones( initial_zone )
{ {
level.zone_manager_init_func = ::working_zone_init; level.zone_manager_init_func = ::working_zone_init;