BasicBouncer when inherited from will create a projectile that can receive projectile team colors and that can bounce on floors, ceilings, walls, and water floors as well.

Unlike normal projectiles, if your projectile must bounce but goes over 60 speed, you cannot use BasicFastProjectile or FastProjectile inherited actors, because they cannot bounce. Your projectile will just have to be subject to phasing through people at odd angles.

DECORATE Definition

<aside> 🚨 Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:

actor BasicBouncer : BasicProjectile
{
    +BOUNCEONFLOORS
    +BOUNCEONWALLS
    +BOUNCEONCEILINGS
    +CANBOUNCEWATER
}

Custom Properties

These are user variables that can be added to the actor for various effects. You do not need to give them a value, they just must be defined.

Example


Here is a simplified version of the Triple Blade projectile from MM8BDM. Note that it is using user_PierceRipper with a finetuned limit, so it will only be able to damage the same person 3 times, totaling for 15 damage.

actor SimpleTripleBlade : BasicBouncer
{
	+RIPPER
	+DONTBLAST
	-BOUNCEONWALLS
	bouncecount 2
	Obituary "$OB_TRIPLEBLADE"
	damagetype "TripleBlade"
	Radius 16
	Height 5
	Damage (5)
	Speed 30
	var int user_PierceRipper;
	States
	{
		Spawn:
			TNT1 A 0
			TNT1 A 0 A_GiveInventory("PierceRipperLimit", 3)
			TBL1 E 1
			wait
		Death:
			TNT1 A 0
			stop
	}
}