From f945ae4fd0d51a4bdf2c0587311f0a5219039f71 Mon Sep 17 00:00:00 2001 From: terencehill Date: Mon, 24 May 2021 12:50:02 +0200 Subject: [PATCH] Shorten bold messages definitions --- qcsrc/common/notifications/all.inc | 127 +++++++++++++++-------------- 1 file changed, 66 insertions(+), 61 deletions(-) diff --git a/qcsrc/common/notifications/all.inc b/qcsrc/common/notifications/all.inc index 3c5684989..514440dbb 100644 --- a/qcsrc/common/notifications/all.inc +++ b/qcsrc/common/notifications/all.inc @@ -87,6 +87,11 @@ If you send a notification with mismatching arguments, Send_Notification() will error. */ +// NOTE: leaving BOLD_OPERATOR outside of translatable messages has 2 advantages: +// 1. translators don't have to deal with it +// 2. messages can be changed to bold / normal without the need to translate them again +#define BOLD(translatable_msg) strcat(BOLD_OPERATOR, translatable_msg) + // default value for annce notification cvars (notification_ANNCE_*): // 0: off, 1: announce only if gentle mode is off, 2: announce always #define N___NEVER 0 @@ -547,10 +552,10 @@ string multiteam_info_sprintf(string input, string teamname) { return ((input != MSG_CENTER_NOTIF(CTF_PASS_REQUESTING, N_ENABLE, 1, 0, "s1", CPID_CTF_PASS, "0 0", _("^BGRequesting %s^BG to pass you the flag"), "") MULTITEAM_CENTER(CTF_PASS_SENT, N_ENABLE, 1, 0, "s1", CPID_CTF_PASS, "0 0", _("^BGYou passed the ^TC^TT^BG flag to %s"), "", FLAG) MSG_CENTER_NOTIF(CTF_PASS_SENT_NEUTRAL, N_ENABLE, 1, 0, "s1", CPID_CTF_PASS, "0 0", _("^BGYou passed the flag to %s"), "") - MULTITEAM_CENTER(CTF_PICKUP, N_ENABLE, 0, 0, "", CPID_CTF_LOWPRIO, "0 0", strcat(BOLD_OPERATOR, _("^BGYou got the ^TC^TT^BG flag!")), "", FLAG) - MSG_CENTER_NOTIF(CTF_PICKUP_NEUTRAL, N_ENABLE, 0, 0, "", CPID_CTF_LOWPRIO, "0 0", strcat(BOLD_OPERATOR, _("^BGYou got the flag!")), "") - MSG_CENTER_NOTIF(CTF_PICKUP_RETURN, N_ENABLE, 1, 0, "s1", CPID_CTF_LOWPRIO, "0 0", strcat(BOLD_OPERATOR, _("^BGYou got your %steam^BG's flag, return it!")), "") - MSG_CENTER_NOTIF(CTF_PICKUP_RETURN_ENEMY, N_ENABLE, 1, 0, "s1", CPID_CTF_LOWPRIO, "0 0", strcat(BOLD_OPERATOR, _("^BGYou got the %senemy^BG's flag, return it!")), "") + MULTITEAM_CENTER(CTF_PICKUP, N_ENABLE, 0, 0, "", CPID_CTF_LOWPRIO, "0 0", BOLD(_("^BGYou got the ^TC^TT^BG flag!")), "", FLAG) + MSG_CENTER_NOTIF(CTF_PICKUP_NEUTRAL, N_ENABLE, 0, 0, "", CPID_CTF_LOWPRIO, "0 0", BOLD(_("^BGYou got the flag!")), "") + MSG_CENTER_NOTIF(CTF_PICKUP_RETURN, N_ENABLE, 1, 0, "s1", CPID_CTF_LOWPRIO, "0 0", BOLD(_("^BGYou got your %steam^BG's flag, return it!")), "") + MSG_CENTER_NOTIF(CTF_PICKUP_RETURN_ENEMY, N_ENABLE, 1, 0, "s1", CPID_CTF_LOWPRIO, "0 0", BOLD(_("^BGYou got the %senemy^BG's flag, return it!")), "") MSG_CENTER_NOTIF(CTF_PICKUP_ENEMY, N_ENABLE, 1, 0, "s1", CPID_CTF_LOWPRIO, "0 0", _("^BGThe %senemy^BG got your flag! Retrieve it!"), "") MSG_CENTER_NOTIF(CTF_PICKUP_ENEMY_VERBOSE, N_ENABLE, 2, 0, "s1 s2 s1", CPID_CTF_LOWPRIO, "0 0", _("^BGThe %senemy (^BG%s%s)^BG got your flag! Retrieve it!"), "") MSG_CENTER_NOTIF(CTF_PICKUP_ENEMY_NEUTRAL, N_ENABLE, 1, 0, "s1", CPID_CTF_LOWPRIO, "0 0", _("^BGThe %senemy^BG got the flag! Retrieve it!"), "") @@ -568,37 +573,37 @@ string multiteam_info_sprintf(string input, string teamname) { return ((input != #define VERBOSE_MURDER(type) strcat(MURDER_##type, "^BG%s") - #define MURDER_FRAG strcat(BOLD_OPERATOR, _("^K3%sYou fragged ^BG%s")) - #define MURDER_FRAG2 strcat(BOLD_OPERATOR, _("^K3%sYou scored against ^BG%s")) - #define MURDER_FRAGGED strcat(BOLD_OPERATOR, _("^K1%sYou were fragged by ^BG%s")) - #define MURDER_FRAGGED2 strcat(BOLD_OPERATOR, _("^K1%sYou were scored against by ^BG%s")) + #define MURDER_FRAG BOLD(_("^K3%sYou fragged ^BG%s")) + #define MURDER_FRAG2 BOLD(_("^K3%sYou scored against ^BG%s")) + #define MURDER_FRAGGED BOLD(_("^K1%sYou were fragged by ^BG%s")) + #define MURDER_FRAGGED2 BOLD(_("^K1%sYou were scored against by ^BG%s")) MSG_CENTER_NOTIF(DEATH_MURDER_FRAG, N_ENABLE, 1, 1, "spree_cen s1", CPID_Null, "0 0", MURDER_FRAG, MURDER_FRAG2 ) MSG_CENTER_NOTIF(DEATH_MURDER_FRAGGED, N_ENABLE, 1, 1, "spree_cen s1", CPID_Null, "0 0", MURDER_FRAGGED, MURDER_FRAGGED2 ) MSG_CENTER_NOTIF(DEATH_MURDER_FRAGGED_VERBOSE, N_ENABLE, 1, 4, "spree_cen s1 frag_stats", CPID_Null, "0 0", VERBOSE_MURDER(FRAGGED), VERBOSE_MURDER(FRAGGED2) ) MSG_CENTER_NOTIF(DEATH_MURDER_FRAG_VERBOSE, N_ENABLE, 1, 2, "spree_cen s1 frag_ping", CPID_Null, "0 0", VERBOSE_MURDER(FRAG), VERBOSE_MURDER(FRAG2) ) - #define MURDER_FRAG_FIRE strcat(BOLD_OPERATOR, _("^K3%sYou burned ^BG%s")) - #define MURDER_FRAG_FIRE2 strcat(BOLD_OPERATOR, _("^K3%sYou scored against ^BG%s")) - #define MURDER_FRAGGED_FIRE strcat(BOLD_OPERATOR, _("^K1%sYou were burned by ^BG%s")) - #define MURDER_FRAGGED_FIRE2 strcat(BOLD_OPERATOR, _("^K1%sYou were scored against by ^BG%s")) + #define MURDER_FRAG_FIRE BOLD(_("^K3%sYou burned ^BG%s")) + #define MURDER_FRAG_FIRE2 BOLD(_("^K3%sYou scored against ^BG%s")) + #define MURDER_FRAGGED_FIRE BOLD(_("^K1%sYou were burned by ^BG%s")) + #define MURDER_FRAGGED_FIRE2 BOLD(_("^K1%sYou were scored against by ^BG%s")) MSG_CENTER_NOTIF(DEATH_MURDER_FRAG_FIRE, N_ENABLE, 1, 1, "spree_cen s1", CPID_Null, "0 0", MURDER_FRAG_FIRE, MURDER_FRAG_FIRE2 ) MSG_CENTER_NOTIF(DEATH_MURDER_FRAGGED_FIRE, N_ENABLE, 1, 1, "spree_cen s1", CPID_Null, "0 0", MURDER_FRAGGED_FIRE, MURDER_FRAGGED_FIRE2 ) MSG_CENTER_NOTIF(DEATH_MURDER_FRAGGED_FIRE_VERBOSE, N_ENABLE, 1, 4, "spree_cen s1 frag_stats", CPID_Null, "0 0", VERBOSE_MURDER(FRAGGED_FIRE), VERBOSE_MURDER(FRAGGED_FIRE2) ) MSG_CENTER_NOTIF(DEATH_MURDER_FRAG_FIRE_VERBOSE, N_ENABLE, 1, 2, "spree_cen s1 frag_ping", CPID_Null, "0 0", VERBOSE_MURDER(FRAG_FIRE), VERBOSE_MURDER(FRAG_FIRE2) ) - #define MURDER_FRAG_FREEZE strcat(BOLD_OPERATOR, _("^K3%sYou froze ^BG%s")) - #define MURDER_FRAG_FREEZE2 strcat(BOLD_OPERATOR, _("^K3%sYou scored against ^BG%s")) - #define MURDER_FRAGGED_FREEZE strcat(BOLD_OPERATOR, _("^K1%sYou were frozen by ^BG%s")) - #define MURDER_FRAGGED_FREEZE2 strcat(BOLD_OPERATOR, _("^K1%sYou were scored against by ^BG%s")) + #define MURDER_FRAG_FREEZE BOLD(_("^K3%sYou froze ^BG%s")) + #define MURDER_FRAG_FREEZE2 BOLD(_("^K3%sYou scored against ^BG%s")) + #define MURDER_FRAGGED_FREEZE BOLD(_("^K1%sYou were frozen by ^BG%s")) + #define MURDER_FRAGGED_FREEZE2 BOLD(_("^K1%sYou were scored against by ^BG%s")) MSG_CENTER_NOTIF(DEATH_MURDER_FRAG_FREEZE, N_ENABLE, 1, 1, "spree_cen s1", CPID_Null, "0 0", MURDER_FRAG_FREEZE, MURDER_FRAG_FREEZE2 ) MSG_CENTER_NOTIF(DEATH_MURDER_FRAGGED_FREEZE, N_ENABLE, 1, 1, "spree_cen s1", CPID_Null, "0 0", MURDER_FRAGGED_FREEZE, MURDER_FRAGGED_FREEZE2 ) MSG_CENTER_NOTIF(DEATH_MURDER_FRAGGED_FREEZE_VERBOSE, N_ENABLE, 1, 4, "spree_cen s1 frag_stats", CPID_Null, "0 0", VERBOSE_MURDER(FRAGGED_FREEZE), VERBOSE_MURDER(FRAGGED_FREEZE2)) MSG_CENTER_NOTIF(DEATH_MURDER_FRAG_FREEZE_VERBOSE, N_ENABLE, 1, 2, "spree_cen s1 frag_ping", CPID_Null, "0 0", VERBOSE_MURDER(FRAG_FREEZE), VERBOSE_MURDER(FRAG_FREEZE2) ) - #define MURDER_TYPEFRAG strcat(BOLD_OPERATOR, _("^K1%sYou typefragged ^BG%s")) - #define MURDER_TYPEFRAG2 strcat(BOLD_OPERATOR, _("^K1%sYou scored against ^BG%s^K1 while they were typing")) - #define MURDER_TYPEFRAGGED strcat(BOLD_OPERATOR, _("^K1%sYou were typefragged by ^BG%s")) - #define MURDER_TYPEFRAGGED2 strcat(BOLD_OPERATOR, _("^K1%sYou were scored against by ^BG%s^K1 while typing")) + #define MURDER_TYPEFRAG BOLD(_("^K1%sYou typefragged ^BG%s")) + #define MURDER_TYPEFRAG2 BOLD(_("^K1%sYou scored against ^BG%s^K1 while they were typing")) + #define MURDER_TYPEFRAGGED BOLD(_("^K1%sYou were typefragged by ^BG%s")) + #define MURDER_TYPEFRAGGED2 BOLD(_("^K1%sYou were scored against by ^BG%s^K1 while typing")) MSG_CENTER_NOTIF(DEATH_MURDER_TYPEFRAG, N_ENABLE, 1, 1, "spree_cen s1", CPID_Null, "0 0", MURDER_TYPEFRAG, MURDER_TYPEFRAG2 ) MSG_CENTER_NOTIF(DEATH_MURDER_TYPEFRAGGED, N_ENABLE, 1, 1, "spree_cen s1", CPID_Null, "0 0", MURDER_TYPEFRAGGED, MURDER_TYPEFRAGGED2 ) MSG_CENTER_NOTIF(DEATH_MURDER_TYPEFRAGGED_VERBOSE, N_ENABLE, 1, 4, "spree_cen s1 frag_stats", CPID_Null, "0 0", VERBOSE_MURDER(TYPEFRAGGED), VERBOSE_MURDER(TYPEFRAGGED2) ) @@ -607,47 +612,47 @@ string multiteam_info_sprintf(string input, string teamname) { return ((input != MSG_CENTER_NOTIF(NADE_THROW, N_ENABLE, 0, 0, "nade_key", CPID_NADES, "0 0", _("^BGPress ^F2%s^BG again to toss the nade!"), "") MSG_CENTER_NOTIF(NADE_BONUS, N_ENABLE, 0, 0, "", CPID_NADES, "0 0", _("^F2You got a ^K1BONUS GRENADE^F2!"), "") - MSG_CENTER_NOTIF(DEATH_SELF_AUTOTEAMCHANGE, N_ENABLE, 0, 1, "death_team", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^BGYou have been moved into a different team\nYou are now on: %s")), "") - MSG_CENTER_NOTIF(DEATH_SELF_BETRAYAL, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were punished for attacking your team mates!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_CAMP, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1Die camper!")), strcat(BOLD_OPERATOR, _("^K1Reconsider your tactics, camper!"))) - MSG_CENTER_NOTIF(DEATH_SELF_CHEAT, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You unfairly eliminated yourself!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_CUSTOM, N_ENABLE, 2, 0, "s2", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were %s")), "") - MSG_CENTER_NOTIF(DEATH_SELF_DROWN, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You couldn't catch your breath!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_FALL, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You hit the ground with a crunch!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_FIRE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You got a little bit too crispy!")), strcat(BOLD_OPERATOR, _("^K1You felt a little too hot!"))) - MSG_CENTER_NOTIF(DEATH_SELF_GENERIC, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You fragged yourself!")), strcat(BOLD_OPERATOR, _("^K1You need to be more careful!"))) - MSG_CENTER_NOTIF(DEATH_SELF_LAVA, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You couldn't stand the heat!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_MONSTER, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were killed by a monster!")), strcat(BOLD_OPERATOR, _("^K1You need to watch out for monsters!"))) - MSG_CENTER_NOTIF(DEATH_SELF_NADE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You forgot to put the pin back in!")), strcat(BOLD_OPERATOR, _("^K1Tastes like chicken!"))) - MSG_CENTER_NOTIF(DEATH_SELF_NADE_NAPALM, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1Hanging around a napalm explosion is bad!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_NADE_ICE_FREEZE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You got a little bit too cold!")), strcat(BOLD_OPERATOR, _("^K1You felt a little chilly!"))) - MSG_CENTER_NOTIF(DEATH_SELF_NADE_HEAL, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1Your Healing Nade is a bit defective")), "") - MSG_CENTER_NOTIF(DEATH_SELF_NOAMMO, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were killed for running out of ammo...")), strcat(BOLD_OPERATOR, _("^K1You are respawning for running out of ammo..."))) - MSG_CENTER_NOTIF(DEATH_SELF_ROT, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You grew too old without taking your medicine")), strcat(BOLD_OPERATOR, _("^K1You need to preserve your health"))) - MSG_CENTER_NOTIF(DEATH_SELF_SHOOTING_STAR, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You became a shooting star!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_SLIME, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You melted away in slime!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_SUICIDE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You committed suicide!")), strcat(BOLD_OPERATOR, _("^K1You ended it all!"))) - MSG_CENTER_NOTIF(DEATH_SELF_SWAMP, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You got stuck in a swamp!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_TEAMCHANGE, N_ENABLE, 0, 1, "death_team", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^BGYou are now on: %s")), "") - MSG_CENTER_NOTIF(DEATH_SELF_TOUCHEXPLODE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You died in an accident!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_TURRET, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were fragged by a turret!")), strcat(BOLD_OPERATOR, _("^K1You had an unfortunate run in with a turret!"))) - MSG_CENTER_NOTIF(DEATH_SELF_TURRET_EWHEEL, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were fragged by an eWheel turret!")), strcat(BOLD_OPERATOR, _("^K1You had an unfortunate run in with an eWheel turret!"))) - MSG_CENTER_NOTIF(DEATH_SELF_TURRET_WALK, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were fragged by a Walker turret!")), strcat(BOLD_OPERATOR, _("^K1You had an unfortunate run in with a Walker turret!"))) - MSG_CENTER_NOTIF(DEATH_SELF_VH_BUMB_DEATH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You got caught in the blast of a Bumblebee explosion!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_VH_CRUSH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were crushed by a vehicle!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_VH_RAPT_BOMB, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were caught in a Raptor cluster bomb!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_VH_RAPT_DEATH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You got caught in the blast of a Raptor explosion!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_VH_SPID_DEATH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You got caught in the blast of a Spiderbot explosion!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_VH_SPID_ROCKET, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were blasted to bits by a Spiderbot rocket!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_VH_WAKI_DEATH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You got caught in the blast of a Racer explosion!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_VH_WAKI_ROCKET, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You couldn't find shelter from a Racer rocket!")), "") - MSG_CENTER_NOTIF(DEATH_SELF_VOID, N_ENABLE, 0, 0, "", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1Watch your step!")), "") - - MSG_CENTER_NOTIF(DEATH_TEAMKILL_FRAG, N_ENABLE, 1, 0, "s1", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1Traitor! You team killed ^BG%s")), strcat(BOLD_OPERATOR, _("^K1Traitor! You betrayed team mate ^BG%s"))) - MSG_CENTER_NOTIF(DEATH_TEAMKILL_FRAGGED, N_ENABLE, 1, 0, "s1", CPID_Null, "0 0", strcat(BOLD_OPERATOR, _("^K1You were team killed by ^BG%s")), strcat(BOLD_OPERATOR, _("^K1You were betrayed by team mate ^BG%s"))) - - MSG_CENTER_NOTIF(DISCONNECT_IDLING, N_ENABLE, 0, 1, "", CPID_IDLING, "1 f1", strcat(BOLD_OPERATOR, _("^K1Stop idling!\n^BGDisconnecting in ^COUNT...")), "") - MSG_CENTER_NOTIF(MOVETOSPEC_IDLING, N_ENABLE, 0, 1, "", CPID_IDLING, "1 f1", strcat(BOLD_OPERATOR, _("^K1Stop idling!\n^BGMoving to spectators in ^COUNT...")), "") + MSG_CENTER_NOTIF(DEATH_SELF_AUTOTEAMCHANGE, N_ENABLE, 0, 1, "death_team", CPID_Null, "0 0", BOLD(_("^BGYou have been moved into a different team\nYou are now on: %s")), "") + MSG_CENTER_NOTIF(DEATH_SELF_BETRAYAL, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You were punished for attacking your team mates!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_CAMP, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1Die camper!")), BOLD(_("^K1Reconsider your tactics, camper!"))) + MSG_CENTER_NOTIF(DEATH_SELF_CHEAT, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You unfairly eliminated yourself!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_CUSTOM, N_ENABLE, 2, 0, "s2", CPID_Null, "0 0", BOLD(_("^K1You were %s")), "") + MSG_CENTER_NOTIF(DEATH_SELF_DROWN, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You couldn't catch your breath!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_FALL, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You hit the ground with a crunch!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_FIRE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You got a little bit too crispy!")), BOLD(_("^K1You felt a little too hot!"))) + MSG_CENTER_NOTIF(DEATH_SELF_GENERIC, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You fragged yourself!")), BOLD(_("^K1You need to be more careful!"))) + MSG_CENTER_NOTIF(DEATH_SELF_LAVA, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You couldn't stand the heat!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_MONSTER, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You were killed by a monster!")), BOLD(_("^K1You need to watch out for monsters!"))) + MSG_CENTER_NOTIF(DEATH_SELF_NADE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You forgot to put the pin back in!")), BOLD(_("^K1Tastes like chicken!"))) + MSG_CENTER_NOTIF(DEATH_SELF_NADE_NAPALM, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1Hanging around a napalm explosion is bad!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_NADE_ICE_FREEZE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You got a little bit too cold!")), BOLD(_("^K1You felt a little chilly!"))) + MSG_CENTER_NOTIF(DEATH_SELF_NADE_HEAL, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1Your Healing Nade is a bit defective")), "") + MSG_CENTER_NOTIF(DEATH_SELF_NOAMMO, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You were killed for running out of ammo...")), BOLD(_("^K1You are respawning for running out of ammo..."))) + MSG_CENTER_NOTIF(DEATH_SELF_ROT, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You grew too old without taking your medicine")), BOLD(_("^K1You need to preserve your health"))) + MSG_CENTER_NOTIF(DEATH_SELF_SHOOTING_STAR, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You became a shooting star!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_SLIME, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You melted away in slime!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_SUICIDE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You committed suicide!")), BOLD(_("^K1You ended it all!"))) + MSG_CENTER_NOTIF(DEATH_SELF_SWAMP, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You got stuck in a swamp!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_TEAMCHANGE, N_ENABLE, 0, 1, "death_team", CPID_Null, "0 0", BOLD(_("^BGYou are now on: %s")), "") + MSG_CENTER_NOTIF(DEATH_SELF_TOUCHEXPLODE, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You died in an accident!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_TURRET, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You were fragged by a turret!")), BOLD(_("^K1You had an unfortunate run in with a turret!"))) + MSG_CENTER_NOTIF(DEATH_SELF_TURRET_EWHEEL, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You were fragged by an eWheel turret!")), BOLD(_("^K1You had an unfortunate run in with an eWheel turret!"))) + MSG_CENTER_NOTIF(DEATH_SELF_TURRET_WALK, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You were fragged by a Walker turret!")), BOLD(_("^K1You had an unfortunate run in with a Walker turret!"))) + MSG_CENTER_NOTIF(DEATH_SELF_VH_BUMB_DEATH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You got caught in the blast of a Bumblebee explosion!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_VH_CRUSH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You were crushed by a vehicle!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_VH_RAPT_BOMB, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You were caught in a Raptor cluster bomb!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_VH_RAPT_DEATH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You got caught in the blast of a Raptor explosion!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_VH_SPID_DEATH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You got caught in the blast of a Spiderbot explosion!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_VH_SPID_ROCKET, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You were blasted to bits by a Spiderbot rocket!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_VH_WAKI_DEATH, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You got caught in the blast of a Racer explosion!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_VH_WAKI_ROCKET, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1You couldn't find shelter from a Racer rocket!")), "") + MSG_CENTER_NOTIF(DEATH_SELF_VOID, N_ENABLE, 0, 0, "", CPID_Null, "0 0", BOLD(_("^K1Watch your step!")), "") + + MSG_CENTER_NOTIF(DEATH_TEAMKILL_FRAG, N_ENABLE, 1, 0, "s1", CPID_Null, "0 0", BOLD(_("^K1Traitor! You team killed ^BG%s")), BOLD(_("^K1Traitor! You betrayed team mate ^BG%s"))) + MSG_CENTER_NOTIF(DEATH_TEAMKILL_FRAGGED, N_ENABLE, 1, 0, "s1", CPID_Null, "0 0", BOLD(_("^K1You were team killed by ^BG%s")), BOLD(_("^K1You were betrayed by team mate ^BG%s"))) + + MSG_CENTER_NOTIF(DISCONNECT_IDLING, N_ENABLE, 0, 1, "", CPID_IDLING, "1 f1", BOLD(_("^K1Stop idling!\n^BGDisconnecting in ^COUNT...")), "") + MSG_CENTER_NOTIF(MOVETOSPEC_IDLING, N_ENABLE, 0, 1, "", CPID_IDLING, "1 f1", BOLD(_("^K1Stop idling!\n^BGMoving to spectators in ^COUNT...")), "") MSG_CENTER_NOTIF(DOOR_LOCKED_NEED, N_ENABLE, 1, 0, "s1", CPID_Null, "0 0", _("^BGYou need %s^BG!"), "") MSG_CENTER_NOTIF(DOOR_LOCKED_ALSONEED, N_ENABLE, 1, 0, "s1", CPID_Null, "0 0", _("^BGYou also need %s^BG!"), "") -- 2.39.2