1
0
mirror of https://github.com/JezuzLizard/BO2-Reimagined.git synced 2025-07-02 18:10:26 -05:00

Grief: add intro text

This commit is contained in:
Jbleezy
2021-12-17 15:59:49 -08:00
parent e8408dcccc
commit 4810cf3388
2 changed files with 27 additions and 0 deletions

View File

@ -266,6 +266,7 @@
* Added player downed and bled out icons on scoreboard
* Removed Monkey Bombs from the Mystery Box
* Meat powerup is able to drop when players are down
* Added intro text
* Announcer audio always plays
* Last player alive audio only plays for the player who is alive instead of every player on the team
* Enemies remaining audio and text displays when enemy players down instead of when enemy players bleed out

View File

@ -204,11 +204,20 @@ on_player_spawned()
level endon("end_game");
self endon( "disconnect" );
self.grief_initial_spawn = true;
while(1)
{
self waittill( "spawned_player" );
self.statusicon = "";
if(self.grief_initial_spawn)
{
self.grief_initial_spawn = false;
self thread grief_intro_text();
}
}
}
@ -621,6 +630,23 @@ update_players_on_disconnect(excluded_player)
}
}
grief_intro_text()
{
flag_wait( "initial_blackscreen_passed" );
self iPrintLn("Welcome to Grief!");
wait 3;
self iPrintLn("Your goal is to get all enemy players down.");
wait 3;
self iPrintLn("Shooting enemy players slows them down.");
wait 3;
self iPrintLn("Meleeing enemy players pushes them.");
wait 3;
self iPrintLn("First team to win 3 rounds wins the game.");
wait 3;
self iPrintLn("Good luck!");
}
show_grief_hud_msg( msg, msg_parm, offset, delay )
{
if(!isDefined(delay))