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
|
|
@ -209,6 +209,7 @@ Class FlakChunk : Actor
|
|||
}
|
||||
action void A_HandleBounce()
|
||||
{
|
||||
bHITOWNER = true;
|
||||
A_SprayDecal("WallCrack",-8);
|
||||
int numpt = Random[Flak](2,3);
|
||||
if ( frame < 10 )
|
||||
|
|
@ -399,6 +400,7 @@ Class FlakSlug : Actor
|
|||
for ( int i=0; i<6; i++ )
|
||||
{
|
||||
p = Spawn("FlakChunk",pos);
|
||||
p.bHITOWNER = true;
|
||||
a = FRandom[Flak](0,360);
|
||||
s = FRandom[Flak](0,0.2);
|
||||
Vector3 dir = (x+y*cos(a)*s+z*sin(a)*s).unit();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue