Page 1 of 1

Bouncing projectiles cause infighting

Posted: Thu May 22, 2025 6:50 am
by Heisanevilgenius
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

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;		
	}
}

Re: Bouncing projectiles cause infighting

Posted: Fri May 23, 2025 1:09 pm
by Rachael
This possibly might require version-gating in order to fix.

And if so, gzdoom.pk3 would need to use something like an "OldProjectile" flag group instead of a regular "Projectile" flag group so that old versions of the Projectile flag group get a special flag to re-enable the old behavior.