diff --git a/README.md b/README.md index f5582d6b..200e3ec3 100644 --- a/README.md +++ b/README.md @@ -470,6 +470,7 @@ * Zombies spawn in the Docks Gates zone when in the Docks zone * Grief: added Smoke Grenades to the Mystery Box * Grief: added Richtofen Head meat powerup model +* Grief: Brutus spawns every 4-6 minutes #### Docks * Added Grief game mode diff --git a/scripts/zm/zm_prison/zm_prison_reimagined.gsc b/scripts/zm/zm_prison/zm_prison_reimagined.gsc index 359e6fb1..b7fca6f1 100644 --- a/scripts/zm/zm_prison/zm_prison_reimagined.gsc +++ b/scripts/zm/zm_prison/zm_prison_reimagined.gsc @@ -52,6 +52,7 @@ init() level thread plane_auto_refuel(); level thread updatecraftables(); + level thread grief_brutus_spawn_after_time(); } zombie_init_done() @@ -615,6 +616,27 @@ craftabletrigger_update_prompt( player ) 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 ) { level.zone_manager_init_func = ::working_zone_init;