BasicExplosion is an actor that can be inherited from to get an actor that will receive projectile team colors, but will not collide on terrain or other actors, making it ideal for handling explosion effects with graphics.

DECORATE Definition

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

actor BasicExplosion : ProjSpawnFuncActor
{
    Obituary "%o told %k they forgot the obituary. (BasicExplosion)"
    DamageType "Normal"
    +MISSILE
    +NOTELEPORT
    -SOLID
    +NOCLIP
    +DONTBLAST
    +NOGRAVITY
    +RIPPER
    +SKYEXPLODE
    +NOINTERACTION
    +DONTSPLASH
    +THRUGHOST
    +THRUACTORS
    +DONTREFLECT
    Damage (0)
    radius 2
    height 2
    scale 2.5
    Speed 0
    States
    {
    Spawn:
        TNT1 A 0
        TNT1 A 1 A_Explode(5000,32,0)
        stop
    Death:
        TNT1 A 1
        stop
    }
}

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


This is the actor spawned by Top Spin in MM8BDM for its damage dealing.

actor TopRadius : BasicExplosion
{
	damagetype "TopSpin"
	Obituary "$OB_TOPSPIN"

	States
	{
		Spawn:
			TNT1 A 0
			TOPS A 2 A_Explode(15,90,0)
			stop
	}
}