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

Grief: add player status icons on scoreboard

This commit is contained in:
Jbleezy
2021-12-10 13:52:55 -08:00
parent 8aff04e5df
commit 408effc4f4
2 changed files with 6 additions and 9 deletions

View File

@ -248,6 +248,7 @@
* Landing on top of an enemy player downs them
* Added kill feed (includes downs, revives, and bleedouts)
* Added player kills on scoreboard
* Added player downed and bled out icons on scoreboard
* 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

@ -23,6 +23,8 @@ init()
return;
}
precacheStatusIcon( "waypoint_revive" );
if ( getDvarInt( "zombies_minplayers" ) < 2 || getDvarInt( "zombies_minplayers" ) == "" )
{
setDvar( "zombies_minplayers", 2 );
@ -185,6 +187,7 @@ on_player_downed()
{
self waittill( "entering_last_stand" );
self.statusicon = "waypoint_revive";
self kill_feed();
self add_grief_downed_score();
level thread update_players_on_downed( self );
@ -199,6 +202,7 @@ on_player_bleedout()
{
self waittill( "bled_out" );
self.statusicon = "hud_status_dead";
self bleedout_feed();
level thread update_players_on_bleedout( self );
}
@ -212,6 +216,7 @@ on_player_revived()
{
self waittill( "player_revived", reviver );
self.statusicon = "";
self revive_feed( reviver );
}
}
@ -1585,13 +1590,4 @@ spawn_bots(num)
wait 0.4; // need wait or bots don't spawn at correct origin
}
flag_wait( "initial_blackscreen_passed" );
wait 10;
foreach(bot in level.bots)
{
bot enableInvulnerability();
}
}