mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-26 13:51:01 +00:00
SERVER: Change M2 Flamethrower trajectory, use new flamer.spr name
This commit is contained in:
parent
6df8c971e8
commit
e45b74eaed
2 changed files with 4 additions and 4 deletions
|
@ -124,7 +124,7 @@ void() Flame_Drop =
|
||||||
|
|
||||||
drop.owner = self.owner;
|
drop.owner = self.owner;
|
||||||
|
|
||||||
setmodel(drop, "models/sprites/flame.spr");
|
setmodel(drop, "models/sprites/flamer.spr");
|
||||||
setsize(drop, '0 0 0', '0 0 0');
|
setsize(drop, '0 0 0', '0 0 0');
|
||||||
setorigin(drop, self.origin);
|
setorigin(drop, self.origin);
|
||||||
|
|
||||||
|
@ -190,7 +190,7 @@ void() W_FireFlame =
|
||||||
flamespr.nextthink = time + 0.01;
|
flamespr.nextthink = time + 0.01;
|
||||||
flamespr.touch = Flame_Touch;
|
flamespr.touch = Flame_Touch;
|
||||||
|
|
||||||
setmodel(flamespr, "models/sprites/flame.spr");
|
setmodel(flamespr, "models/sprites/flamer.spr");
|
||||||
setorigin(flamespr, self.origin + self.view_ofs - v_up*10 + v_forward*30);
|
setorigin(flamespr, self.origin + self.view_ofs - v_up*5 + v_forward*10);
|
||||||
setsize(flamespr, '0 0 0', '0 0 0');
|
setsize(flamespr, '0 0 0', '0 0 0');
|
||||||
}
|
}
|
|
@ -3404,7 +3404,7 @@ void(float weptype) precache_extra =
|
||||||
break;
|
break;
|
||||||
case W_M2:
|
case W_M2:
|
||||||
precache_sound("sounds/weapons/m2flame/flamethrower.wav");
|
precache_sound("sounds/weapons/m2flame/flamethrower.wav");
|
||||||
precache_model("models/sprites/flame.spr");
|
precache_model("models/sprites/flamer.spr");
|
||||||
break;
|
break;
|
||||||
case W_MP40:
|
case W_MP40:
|
||||||
case W_AFTERBURNER:
|
case W_AFTERBURNER:
|
||||||
|
|
Loading…
Reference in a new issue