mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-10 07:11:51 +00:00
Railgun back to original speed (whoops) and another tweak
This commit is contained in:
parent
92f5683426
commit
f9515fb630
1 changed files with 5 additions and 1 deletions
|
@ -62,6 +62,7 @@ void() LaserBolt_Think =
|
|||
newmis.solid = SOLID_TRIGGER;
|
||||
newmis.movetype = MOVETYPE_FLYMISSILE;
|
||||
newmis.touch = LaserBolt_Touch;
|
||||
newmis.blocked = LaserBolt_Touch;
|
||||
newmis.real_owner = self.owner;
|
||||
newmis.owner = self;
|
||||
newmis.heat = self.heat;
|
||||
|
@ -114,6 +115,9 @@ void() LaserBolt_Touch =
|
|||
}
|
||||
|
||||
|
||||
setorigin(self, self.owner.origin);
|
||||
self.velocity = self.owner.velocity;
|
||||
|
||||
if (other == self.real_owner || other == self.enemy)
|
||||
return; // don't explode on same person twice
|
||||
|
||||
|
@ -159,7 +163,7 @@ void() W_FireLaser =
|
|||
setorigin (newmis, org + '0 0 16');
|
||||
|
||||
newmis.velocity = '0 0 0';
|
||||
newmis.oldorigin = vec*800;
|
||||
newmis.oldorigin = vec*1500;
|
||||
newmis.angles = vectoangles(newmis.oldorigin);
|
||||
|
||||
newmis.heat = time + 5;
|
||||
|
|
Loading…
Reference in a new issue