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

Grief: remove round number HUD

This commit is contained in:
Jbleezy
2022-01-03 19:11:43 -08:00
parent ebe8ebd57c
commit e2459311ed
2 changed files with 13 additions and 3 deletions

View File

@ -182,7 +182,6 @@ round_end(winner, force_win)
level notify( "restart_round" );
level.round_number++;
setroundsplayed(level.round_number);
level thread maps/mp/zombies/_zm_audio_announcer::leaderdialog( "grief_restarted" );
if(isDefined(winner))

View File

@ -51,8 +51,6 @@ init()
setteamscore("axis", 0);
setteamscore("allies", 0);
setroundsplayed(level.round_number); // don't show first round animation
if(isDefined(level.zombie_weapons["willy_pete_zm"]))
{
register_tactical_grenade_for_level( "willy_pete_zm" );
@ -65,6 +63,7 @@ init()
level thread set_grief_vars();
level thread round_start_wait(5, true);
level thread unlimited_zombies();
level thread remove_round_number();
level thread remove_status_icons_on_end_game();
level thread random_map_rotation();
level thread spawn_bots(7);
@ -1602,6 +1601,18 @@ func_should_drop_meat()
return 1;
}
remove_round_number()
{
level endon("end_game");
while(1)
{
level waittill("start_of_round");
setroundsplayed(0);
}
}
remove_status_icons_on_end_game()
{
level waittill("end_game");