mirror of
https://github.com/JezuzLizard/BO2-Reimagined.git
synced 2025-07-03 02:20:07 -05:00
Grief: add intro text
This commit is contained in:
@ -266,6 +266,7 @@
|
|||||||
* Added player downed and bled out icons on scoreboard
|
* Added player downed and bled out icons on scoreboard
|
||||||
* Removed Monkey Bombs from the Mystery Box
|
* Removed Monkey Bombs from the Mystery Box
|
||||||
* Meat powerup is able to drop when players are down
|
* Meat powerup is able to drop when players are down
|
||||||
|
* Added intro text
|
||||||
* Announcer audio always plays
|
* Announcer audio always plays
|
||||||
* Last player alive audio only plays for the player who is alive instead of every player on the team
|
* 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
|
* Enemies remaining audio and text displays when enemy players down instead of when enemy players bleed out
|
||||||
|
@ -204,11 +204,20 @@ on_player_spawned()
|
|||||||
level endon("end_game");
|
level endon("end_game");
|
||||||
self endon( "disconnect" );
|
self endon( "disconnect" );
|
||||||
|
|
||||||
|
self.grief_initial_spawn = true;
|
||||||
|
|
||||||
while(1)
|
while(1)
|
||||||
{
|
{
|
||||||
self waittill( "spawned_player" );
|
self waittill( "spawned_player" );
|
||||||
|
|
||||||
self.statusicon = "";
|
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 )
|
show_grief_hud_msg( msg, msg_parm, offset, delay )
|
||||||
{
|
{
|
||||||
if(!isDefined(delay))
|
if(!isDefined(delay))
|
||||||
|
Reference in New Issue
Block a user