From e45b74eaed178a771d4816e6b36a77c8d3f04e1c Mon Sep 17 00:00:00 2001 From: Steam Deck User Date: Tue, 28 Mar 2023 22:44:37 -0400 Subject: [PATCH] SERVER: Change M2 Flamethrower trajectory, use new flamer.spr name --- source/server/weapons/flamethrower.qc | 6 +++--- source/shared/weapon_defines.qc | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/server/weapons/flamethrower.qc b/source/server/weapons/flamethrower.qc index b31f12e..8b6bf70 100644 --- a/source/server/weapons/flamethrower.qc +++ b/source/server/weapons/flamethrower.qc @@ -124,7 +124,7 @@ void() Flame_Drop = drop.owner = self.owner; - setmodel(drop, "models/sprites/flame.spr"); + setmodel(drop, "models/sprites/flamer.spr"); setsize(drop, '0 0 0', '0 0 0'); setorigin(drop, self.origin); @@ -190,7 +190,7 @@ void() W_FireFlame = flamespr.nextthink = time + 0.01; flamespr.touch = Flame_Touch; - setmodel(flamespr, "models/sprites/flame.spr"); - setorigin(flamespr, self.origin + self.view_ofs - v_up*10 + v_forward*30); + setmodel(flamespr, "models/sprites/flamer.spr"); + setorigin(flamespr, self.origin + self.view_ofs - v_up*5 + v_forward*10); setsize(flamespr, '0 0 0', '0 0 0'); } \ No newline at end of file diff --git a/source/shared/weapon_defines.qc b/source/shared/weapon_defines.qc index 2b66551..510d8ec 100644 --- a/source/shared/weapon_defines.qc +++ b/source/shared/weapon_defines.qc @@ -3404,7 +3404,7 @@ void(float weptype) precache_extra = break; case W_M2: precache_sound("sounds/weapons/m2flame/flamethrower.wav"); - precache_model("models/sprites/flame.spr"); + precache_model("models/sprites/flamer.spr"); break; case W_MP40: case W_AFTERBURNER: