From: LegendaryGuard Date: Sat, 26 Nov 2022 17:42:54 +0000 (+0100) Subject: Improve g_invisibility_luma and g_speed_luma and add new invisible and speed HUD... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0ce55e8b943942836de423370169747a2c74f94a;p=xonotic%2Fxonotic-data.pk3dir.git Improve g_invisibility_luma and g_speed_luma and add new invisible and speed HUD icons --- diff --git a/gfx/hud/luma/invisible.tga b/gfx/hud/luma/invisible.tga new file mode 100644 index 000000000..a4e9d311c Binary files /dev/null and b/gfx/hud/luma/invisible.tga differ diff --git a/gfx/hud/luma/speed.tga b/gfx/hud/luma/speed.tga new file mode 100644 index 000000000..f718dcb53 Binary files /dev/null and b/gfx/hud/luma/speed.tga differ diff --git a/models/items/g_invisibility_luma.tga b/models/items/g_invisibility_luma.tga index cfe5fe3d7..0bb3a5a9b 100644 Binary files a/models/items/g_invisibility_luma.tga and b/models/items/g_invisibility_luma.tga differ diff --git a/models/items/g_speed_luma.tga b/models/items/g_speed_luma.tga index 5b134cea7..61a211ae9 100644 Binary files a/models/items/g_speed_luma.tga and b/models/items/g_speed_luma.tga differ diff --git a/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh b/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh index f9712296b..312dd08d6 100644 --- a/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh +++ b/qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh @@ -43,7 +43,7 @@ REGISTER_ITEM(Invisibility, Powerup) { #endif this.netname = "invisibility"; this.m_name = _("Invisibility"); - this.m_icon = "buff_invisible"; + this.m_icon = "invisible"; this.m_color = '0.5 0.5 1'; this.m_waypoint = _("Invisibility"); this.m_waypointblink = 2; @@ -55,6 +55,6 @@ CLASS(Invisibility, Powerups) ATTRIB(Invisibility, netname, string, "invisibility"); ATTRIB(Invisibility, m_name, string, _("Invisibility")); ATTRIB(Invisibility, m_color, vector, '0.5 0.5 1'); - ATTRIB(Invisibility, m_icon, string, "buff_invisible"); + ATTRIB(Invisibility, m_icon, string, "invisible"); ENDCLASS(Invisibility) REGISTER_STATUSEFFECT(Invisibility, NEW(Invisibility)); diff --git a/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh b/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh index 7d8b23a75..52798a77a 100644 --- a/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh +++ b/qcsrc/common/mutators/mutator/powerups/powerup/speed.qh @@ -44,7 +44,7 @@ REGISTER_ITEM(Speed, Powerup) { #endif this.netname = "speed"; this.m_name = _("Speed"); - this.m_icon = "buff_speed"; + this.m_icon = "speed"; this.m_color = '0.1 1 0.84'; this.m_waypoint = _("Speed"); this.m_waypointblink = 2; @@ -56,6 +56,6 @@ CLASS(Speed, Powerups) ATTRIB(Speed, netname, string, "speed"); ATTRIB(Speed, m_name, string, _("Speed")); ATTRIB(Speed, m_color, vector, '0.1 1 0.84'); - ATTRIB(Speed, m_icon, string, "buff_speed"); + ATTRIB(Speed, m_icon, string, "speed"); ENDCLASS(Speed) REGISTER_STATUSEFFECT(Speed, NEW(Speed)); diff --git a/qcsrc/common/notifications/all.inc b/qcsrc/common/notifications/all.inc index 360a3439a..3aa6d30b1 100644 --- a/qcsrc/common/notifications/all.inc +++ b/qcsrc/common/notifications/all.inc @@ -405,9 +405,9 @@ string multiteam_info_sprintf(string input, string teamname) { return ((input != MULTITEAM_INFO(ONSLAUGHT_GENDESTROYED, N_CONSOLE, 0, 0, "", "", "", _("^TC^TT^BG generator has been destroyed"), "", GENERATOR) MULTITEAM_INFO(ONSLAUGHT_GENDESTROYED_OVERTIME, N_CONSOLE, 0, 0, "", "", "", _("^TC^TT^BG generator spontaneously combusted due to overtime!"), "", GENERATOR) - MSG_INFO_NOTIF(POWERUP_INVISIBILITY, N_CONSOLE, 1, 0, "s1", "s1", "buff_invisible", _("^BG%s^K1 picked up Invisibility"), "") + MSG_INFO_NOTIF(POWERUP_INVISIBILITY, N_CONSOLE, 1, 0, "s1", "s1", "invisible", _("^BG%s^K1 picked up Invisibility"), "") MSG_INFO_NOTIF(POWERUP_SHIELD, N_CONSOLE, 1, 0, "s1", "s1", "shield", _("^BG%s^K1 picked up Shield"), "") - MSG_INFO_NOTIF(POWERUP_SPEED, N_CONSOLE, 1, 0, "s1", "s1", "buff_speed", _("^BG%s^K1 picked up Speed"), "") + MSG_INFO_NOTIF(POWERUP_SPEED, N_CONSOLE, 1, 0, "s1", "s1", "speed", _("^BG%s^K1 picked up Speed"), "") MSG_INFO_NOTIF(POWERUP_STRENGTH, N_CONSOLE, 1, 0, "s1", "s1", "strength", _("^BG%s^K1 picked up Strength"), "") MSG_INFO_NOTIF(QUIT_DISCONNECT, N_CHATCON, 1, 0, "s1", "", "", _("^BG%s^F3 disconnected"), "")