]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Added Clan Arena scoring announcer
authorz411 <z411@omaera.org>
Mon, 3 Aug 2020 10:42:08 +0000 (06:42 -0400)
committerz411 <z411@omaera.org>
Mon, 3 Aug 2020 10:42:08 +0000 (06:42 -0400)
qcsrc/common/gamemodes/gamemode/clanarena/sv_clanarena.qc
qcsrc/common/notifications/all.inc

index 73d127bd40c707f39a29bcb7f31f0b64afa0e4a2..f712e80260631ae47c1358ea0153f8f1dc9863da 100644 (file)
@@ -87,6 +87,7 @@ float CA_CheckWinner()
        {
                Send_Notification(NOTIF_ALL, NULL, MSG_CENTER, APP_TEAM_NUM(winner_team, CENTER_ROUND_TEAM_WIN));
                Send_Notification(NOTIF_ALL, NULL, MSG_INFO, APP_TEAM_NUM(winner_team, INFO_ROUND_TEAM_WIN));
+               Send_Notification(NOTIF_ALL, NULL, MSG_ANNCE, APP_TEAM_NUM(winner_team, ANNCE_SCORES));
                TeamScore_AddToTeam(winner_team, ST_CA_ROUNDS, +1);
        }
        else if(winner_team == -1)
index 42feaea8190aac6a137b02ac038c91bf40c3c735..1665ae51580484667e4a209f6c285dc39e711e66 100644 (file)
     MSG_ANNCE_NOTIF(VOTE_FAIL,                  N__ALWAYS, "votefail",          CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
        
        MSG_ANNCE_NOTIF(LEAD_GAINED,                N__ALWAYS, "leadgained",        CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
-       MSG_ANNCE_NOTIF(LEAD_LOST,                  N__ALWAYS, "leadlost",        CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
-       MSG_ANNCE_NOTIF(LEAD_TIED,                  N__ALWAYS, "leadtied",        CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
+       MSG_ANNCE_NOTIF(LEAD_LOST,                  N__ALWAYS, "leadlost",          CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
+       MSG_ANNCE_NOTIF(LEAD_TIED,                  N__ALWAYS, "leadtied",          CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
+       
+       MSG_ANNCE_NOTIF(SCORES_RED,                 N__ALWAYS, "scoresred",         CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
+       MSG_ANNCE_NOTIF(SCORES_BLUE,                N__ALWAYS, "scoresblue",        CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
+       MSG_ANNCE_NOTIF(SCORES_YELLOW,              N__ALWAYS, "scoresyellow",      CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
+       MSG_ANNCE_NOTIF(SCORES_PINK,                N__ALWAYS, "scorespink",        CH_INFO, VOL_BASEVOICE, ATTEN_NONE)
 
 #undef N___NEVER
 #undef N_GNTLOFF