]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Improve g_invisibility_luma and g_speed_luma and add new invisible and speed HUD...
authorLegendaryGuard <rootuser999@gmail.com>
Sat, 26 Nov 2022 17:42:54 +0000 (18:42 +0100)
committerLegendaryGuard <rootuser999@gmail.com>
Sat, 26 Nov 2022 17:42:54 +0000 (18:42 +0100)
gfx/hud/luma/invisible.tga [new file with mode: 0644]
gfx/hud/luma/speed.tga [new file with mode: 0644]
models/items/g_invisibility_luma.tga
models/items/g_speed_luma.tga
qcsrc/common/mutators/mutator/powerups/powerup/invisibility.qh
qcsrc/common/mutators/mutator/powerups/powerup/speed.qh
qcsrc/common/notifications/all.inc

diff --git a/gfx/hud/luma/invisible.tga b/gfx/hud/luma/invisible.tga
new file mode 100644 (file)
index 0000000..a4e9d31
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 (file)
index 0000000..f718dcb
Binary files /dev/null and b/gfx/hud/luma/speed.tga differ
index cfe5fe3d7c287281fb02b38d21f0e72b1e3af751..0bb3a5a9b16e187021ae27033ccf9c55732a048e 100644 (file)
Binary files a/models/items/g_invisibility_luma.tga and b/models/items/g_invisibility_luma.tga differ
index 5b134cea7cc3af5ba8ee8dc65d181e5b6e6e9f73..61a211ae9c28a1a73105ccd3cc84b38c320fed6f 100644 (file)
Binary files a/models/items/g_speed_luma.tga and b/models/items/g_speed_luma.tga differ
index f9712296b494d9b4601bea19c05f61a4a7673c65..312dd08d6b2aee87d192a29613a238990b3cc670 100644 (file)
@@ -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));
index 7d8b23a75ab0c2eb1158065553b27c2cc4368396..52798a77a0db89f93fed64f73b485817c1d1b221 100644 (file)
@@ -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));
index 360a3439a61478ac7d649a0c2e26ad247239c37f..3aa6d30b1a762cac3d42fed1f0b42e2f5012ee12 100644 (file)
@@ -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"), "")