From: terencehill Date: Sat, 19 Aug 2023 23:10:59 +0000 (+0200) Subject: Change the minigame icon format from iqm to sprite so that it no longer appears overs... X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ab2a5067ec3c34831db641915ac1b808216af09a;p=xonotic%2Fxonotic-data.pk3dir.git Change the minigame icon format from iqm to sprite so that it no longer appears oversized above player's head (author: Mario) --- diff --git a/models/misc/minigame_busy.spr b/models/misc/minigame_busy.spr new file mode 100644 index 000000000..33063d438 Binary files /dev/null and b/models/misc/minigame_busy.spr differ diff --git a/models/misc/minigame_busy.spr_0.tga b/models/misc/minigame_busy.spr_0.tga new file mode 100644 index 000000000..c896b2a4e Binary files /dev/null and b/models/misc/minigame_busy.spr_0.tga differ diff --git a/models/sprites/minigame_busy.tga b/models/sprites/minigame_busy.tga deleted file mode 100644 index c896b2a4e..000000000 Binary files a/models/sprites/minigame_busy.tga and /dev/null differ diff --git a/qcsrc/common/models/all.inc b/qcsrc/common/models/all.inc index b8fc08f38..c2f511eaf 100644 --- a/qcsrc/common/models/all.inc +++ b/qcsrc/common/models/all.inc @@ -335,7 +335,7 @@ MODEL(VEH_SPIDERBOT_TOP, "models/vehicles/spiderbot_top.dpm"); MODEL(VEH_SPIDERBOT_VIEW, "models/vehicles/spiderbot_cockpit.dpm"); MODEL(CHAT, "models/misc/chatbubble.spr"); -MODEL(CHAT_MINIGAME, "models/sprites/minigame_busy.iqm"); +MODEL(CHAT_MINIGAME, "models/misc/minigame_busy.spr"); MODEL(0, "models/sprites/0.spr32"); MODEL(1, "models/sprites/1.spr32"); diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 00063bba2..577b781e5 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -1304,7 +1304,7 @@ void ChatBubbleThink(entity this) if ( !IS_DEAD(this.owner) && IS_PLAYER(this.owner) ) { if ( CS(this.owner).active_minigame && PHYS_INPUT_BUTTON_MINIGAME(this.owner) ) - this.mdl = "models/sprites/minigame_busy.iqm"; + this.mdl = "models/misc/minigame_busy.spr"; else if (PHYS_INPUT_BUTTON_CHAT(this.owner)) this.mdl = "models/misc/chatbubble.spr"; }