mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-26 13:51:01 +00:00
SERVER: Adjust velocity and radius of Grenade Launcher weapons
This commit is contained in:
parent
c941d43cc1
commit
7ec6758f5b
2 changed files with 3 additions and 2 deletions
|
@ -43,7 +43,7 @@ void(float side) W_FireGrenade =
|
||||||
|
|
||||||
makevectors (self.v_angle);
|
makevectors (self.v_angle);
|
||||||
|
|
||||||
nade.velocity = v_forward*1000;
|
nade.velocity = v_forward*3000;
|
||||||
nade.avelocity = '50 -50 50';
|
nade.avelocity = '50 -50 50';
|
||||||
|
|
||||||
nade.touch = GrenadeExplode;
|
nade.touch = GrenadeExplode;
|
||||||
|
|
|
@ -1526,7 +1526,7 @@ void() GrenadeExplode =
|
||||||
if (self.classname == "grenade")
|
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...
|
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
|
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
|
#ifdef FTE
|
||||||
|
|
||||||
|
@ -1538,6 +1538,7 @@ void() GrenadeExplode =
|
||||||
|
|
||||||
SUB_Remove ();
|
SUB_Remove ();
|
||||||
};
|
};
|
||||||
|
|
||||||
void() NadeStraighten =
|
void() NadeStraighten =
|
||||||
{
|
{
|
||||||
self.angles_x = (self.angles_x > 0) ? 90 : -90;
|
self.angles_x = (self.angles_x > 0) ? 90 : -90;
|
||||||
|
|
Loading…
Reference in a new issue