From ab2a5067ec3c34831db641915ac1b808216af09a Mon Sep 17 00:00:00 2001 From: terencehill Date: Sun, 20 Aug 2023 01:10:59 +0200 Subject: [PATCH] Change the minigame icon format from iqm to sprite so that it no longer appears oversized above player's head (author: Mario) --- models/misc/minigame_busy.spr | Bin 0 -> 1086 bytes .../minigame_busy.spr_0.tga} | Bin qcsrc/common/models/all.inc | 2 +- qcsrc/server/client.qc | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 models/misc/minigame_busy.spr rename models/{sprites/minigame_busy.tga => misc/minigame_busy.spr_0.tga} (100%) diff --git a/models/misc/minigame_busy.spr b/models/misc/minigame_busy.spr new file mode 100644 index 0000000000000000000000000000000000000000..33063d438bbaeeb92984e8ba93766a610a9a275b GIT binary patch literal 1086 zcmeIxJxIeq6bJBBBvh~fJvLqu}R%8V!imIqcRf(b!l^{Yiq9IMwiKc5h(siooRHukirc*{4V$7k; zVGeQ}mpQKEBGmg<%wgQ5c~pilZ2kL~#-)C`r;d zNs|<%={QNp&>>~Z#u>`834oL>pX4adi@ZQZF)gN$8Gw{+KAX+U@HyvPfRp<7cTPYM zKH#rb;YKWO2rPdbad=}I-%oY#4>qj9&SGPUk*;;z+!6av_AYGN?1h+Tjds6d(qWBr zvA6wf4iDIcVI1z&dGl`2YTBzU+jzY_+1upS+xauy->w;S)NeJ`xosLIIc#iI4Ek^? Ya&DQU(e+USUc7Sj^+}6f;qrI+1P%@C4gdfE literal 0 HcmV?d00001 diff --git a/models/sprites/minigame_busy.tga b/models/misc/minigame_busy.spr_0.tga similarity index 100% rename from models/sprites/minigame_busy.tga rename to models/misc/minigame_busy.spr_0.tga 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"; } -- 2.39.2