Enable HITOWNER on bounce for grenades (small hack was required), flak shrapnel, ripper blades.
Enable HITOWNER on biosludge after colliding with a surface. Not needed, but just done for the sake of it. Enable HITOWNER on guided redeemer missiles after they're far away from the shooter.
This commit is contained in:
parent
27017feed2
commit
0c8a16807f
6 changed files with 14 additions and 1 deletions
|
|
@ -192,6 +192,7 @@ Class UTGrenade : UTRocket
|
|||
Default
|
||||
{
|
||||
DamageType 'GrenadeDeath';
|
||||
Damage 1; // needs to be nonzero for self-hit to work (might send a PR to fix this later)
|
||||
-NOGRAVITY;
|
||||
+USEBOUNCESTATE;
|
||||
-BOUNCEAUTOOFF;
|
||||
|
|
@ -229,6 +230,7 @@ Class UTGrenade : UTRocket
|
|||
rollvel = FRandom[Eightball](-16,16);
|
||||
pitchvel = FRandom[Eightball](-16,16);
|
||||
anglevel = FRandom[Eightball](-16,16);
|
||||
bHITOWNER = true;
|
||||
}
|
||||
Goto Spawn;
|
||||
Death:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue