mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-06-10 23:27:57 -05:00
Nuketown: play alarm sound on end game
This commit is contained in:
@ -2806,15 +2806,19 @@ end_game()
|
||||
{
|
||||
level waittill("end_game");
|
||||
maps\mp\zombies\_zm::check_end_game_intermission_delay();
|
||||
clientnotify("zesn");
|
||||
|
||||
if (isDefined(level.sndgameovermusicoverride))
|
||||
if (level.script != "zm_nuked")
|
||||
{
|
||||
level thread maps\mp\zombies\_zm_audio::change_zombie_music(level.sndgameovermusicoverride);
|
||||
}
|
||||
else
|
||||
{
|
||||
level thread maps\mp\zombies\_zm_audio::change_zombie_music("game_over");
|
||||
clientnotify("zesn");
|
||||
|
||||
if (isDefined(level.sndgameovermusicoverride))
|
||||
{
|
||||
level thread maps\mp\zombies\_zm_audio::change_zombie_music(level.sndgameovermusicoverride);
|
||||
}
|
||||
else
|
||||
{
|
||||
level thread maps\mp\zombies\_zm_audio::change_zombie_music("game_over");
|
||||
}
|
||||
}
|
||||
|
||||
players = get_players();
|
||||
|
@ -129,6 +129,11 @@ moon_rocket_follow_path()
|
||||
|
||||
sndgameend()
|
||||
{
|
||||
level waittill("end_game");
|
||||
|
||||
playsoundatposition("zmb_perks_incoming_quad_front", (0, 0, 0));
|
||||
playsoundatposition("zmb_perks_incoming_alarm", (-2198, 486, 327));
|
||||
|
||||
level waittill("intermission");
|
||||
|
||||
wait 7.5;
|
||||
|
Reference in New Issue
Block a user