Bouncing projectiles cause infighting
Posted: Thu May 22, 2025 6:50 am
I gave imps a bouncing fireball in zscript and when it hits another imp it causes them to infight despite being the same species.
Here's a test wad:
http://heisanevilgenius.com/dl/test.pk3
Here's a test wad:
http://heisanevilgenius.com/dl/test.pk3
Code: Select all
Class BounceImpBall : DoomImpBall replaces DoomImpBall
{
Default
{
DamageFunction 1;
BounceType "Hexen";
BounceFactor 1;
WallBounceFactor 1;
+ALLOWBOUNCEONACTORS;
+BOUNCEONACTORS;
-NOGRAVITY;
BounceSound "imp/shotx";
BounceCount 60;
}
}