SERVER: Adjust velocity and radius of Grenade Launcher weapons

This commit is contained in:
cypress 2023-07-16 12:16:26 -04:00
parent c941d43cc1
commit 7ec6758f5b
2 changed files with 3 additions and 2 deletions

View file

@ -43,7 +43,7 @@ void(float side) W_FireGrenade =
makevectors (self.v_angle);
nade.velocity = v_forward*1000;
nade.velocity = v_forward*3000;
nade.avelocity = '50 -50 50';
nade.touch = GrenadeExplode;

View file

@ -1526,7 +1526,7 @@ void() GrenadeExplode =
if (self.classname == "grenade")
DamgageExplode (self, self.owner, 225, 75, 128);//was 256 inch radius, kicked it down to 128 because 21 feet exploding radius is... a bit overkill...
else
DamgageExplode (self, self.owner, 1200, 1000, 128); //explosive weapons are more powerful :)
DamgageExplode (self, self.owner, 1200, 1000, 75); //explosive weapons are more powerful :)
#ifdef FTE
@ -1538,6 +1538,7 @@ void() GrenadeExplode =
SUB_Remove ();
};
void() NadeStraighten =
{
self.angles_x = (self.angles_x > 0) ? 90 : -90;