ACTOR 100SmallFireFocusSpawnerz: BarrelExplosionSmokeColumn
{
States
{
Spawn:
TNT1 A 1
TNT1 A 0 A_SpawnItemEx("ExplosionSimpleSmokeColumn",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
TNT1 A 0 A_SpawnItemEx("SmallFireFocus24",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
Stop
}
}

ACTOR 12SmallFireFocusSpawnerz: BarrelExplosionSmokeColumn
{
States
{
Spawn:
TNT1 A 1
TNT1 A 0 A_Jump(128, 4)
TNT1 A 0 A_SpawnItemEx("ExplosionSimpleSmokeColumn",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
TNT1 A 0 A_SpawnItemEx("SmallFireFocus24",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
TNT1 AAAA 0
Stop
}
}

ACTOR FlameTrails
{
	Game Doom
	Radius 1
	Height 1
	Speed 3
    PROJECTILE
	+NOGRAVITY
	+FORCEXYBILLBOARD
    +CLIENTSIDEONLY
	+NONETID
	+THRUACTORS
	+DOOMBOUNCE
	+RANDOMIZE
	RenderStyle Add
    damagetype fire
    Scale 0.5
	States
	{
    Spawn:
        TNT1 A 2
        FRPR ABCDEFGH 3 BRIGHT
        Stop
	}
}

ACTOR BackblastFlames1: FlameTrails
{
    Scale 0.6
	Speed 20
	Alpha 1.0
	-DOOMBOUNCE
	-BOUNCEONWALLS
	States
	{
    Spawn:
		tnt1 A 0
		TNT1 A 3
        EXPL ABCDEFGHI 1 BRIGHT
        Stop
	}
}

ACTOR BackblastFlames2: BackblastFlames1
{
    Scale 0.7
	Speed 25
}

ACTOR BackblastFlames3: BackblastFlames1
{
    Scale 0.8
	Speed 30
}

ACTOR BackblastFlames4: BackblastFlames1
{
    Scale 0.9
	Speed 35
}

ACTOR BlueFlameTrails: FlameTrails
{
	States
	{
    Spawn:
        TNT1 A 2
        FRPB CDEFGH 1 BRIGHT
        Stop
	}
}

ACTOR CoolandNewFlameTrails: FlameTrails
{
    Scale 0.4
	Speed 4
	States
	{
    Spawn:
		TNT1 A 2
        FIR3 LMNOP 1 BRIGHT
        Stop
	}
}

ACTOR CoolandNewFlameTrailsMedium: FlameTrails
{
    Scale 0.6
	Speed 4
	States
	{
    Spawn:
		TNT1 A 2
        FIR3 GHIJKLMNOP 1 BRIGHT
        Stop
	}
}

ACTOR ExplosionFlames: FlameTrails
{
Scale 2.2
Speed 4
+DOOMBOUNCE
	States
	{
    Spawn:
        EXPL AA 3 BRIGHT
		EXPL AA 0 A_CustomMissile ("ExplosionSmokeHD", 0, 0, random (0, 360), 2, random (0, 360))
        EXPL BCDEFGH 3 BRIGHT
        Stop
	}
}

ACTOR ExplosionFlamesBig: ExplosionFlames
{
Scale 6.2
Speed 4
	States
	{
    Spawn:
        EXPL AA 6 BRIGHT
		EXPL AA 0 A_CustomMissile ("ExplosionSmokeHDLarge", 0, 0, random (0, 360), 2, random (0, 360))
        EXPL BCDEFGGH 6 BRIGHT
		EXPL HHHHHHHHHHHHHHHHHHHHHHHHH 2 BRIGHT A_FadeOut(0.06)
        Stop
	}
}

ACTOR ExplosionFlamesBig2: ExplosionFlames
{
Scale 4.2
Speed 4
	States
	{
    Spawn:
        EXPL AA 6 BRIGHT
		EXPL AA 0 A_CustomMissile ("ExplosionSmokeHDLarge", 0, 0, random (0, 360), 2, random (0, 360))
        EXPL ABCDEFGHII 6 BRIGHT
		EXPL HHHHHHHHHHHHHHHHHHHHHHHHH 2 BRIGHT A_FadeOut(0.06)
        Stop
	}
}

ACTOR ExplosionFlamesGiant: ExplosionFlames
{
Scale 9.2
Speed 4
	States
	{
    Spawn:
        EXPL AAA 8 BRIGHT
        EXPL BCDEFGGGGH 10 BRIGHT
		EXPL HHHHHHHHHHHHHHHHHHHHHHHHH 2 BRIGHT A_FadeOut(0.06)
        Stop
	}
}

ACTOR FireBallExplosion: FlameTrails
{
Scale 1.6
	States
	{
    Spawn:
        FX98 ABCDEFGHIJKL 1 BRIGHT
        FX98 MNOPQ 1
        Stop
	}
}

ACTOR FireballExplosionFlames: FlameTrails
{
    Scale 0.8
	Speed 4
	States
	{
    Spawn:
        FIR3 CDEFGHIJKLMNOP 1 BRIGHT
        Stop
	}
}

ACTOR FireballExplosionFlamesBig: FlameTrails
{
    Scale 1.6
	Speed 4
	States
	{
    Spawn:
        FIR3 CDEFGHIJKLMNOP 1 BRIGHT
		TNT1 A 0 A_CustomMissile("ExplosionSmoke", 15, 0, random (0, 360), 2, random (50, 130))
        Stop
	}
}

ACTOR FireballExplosionFlamesM: FlameTrails
{
    Scale 0.8
	Speed 4
	States
	{
    Spawn:
        FIR4 LMNOP 1 BRIGHT
        Stop
	}
}

ACTOR FireballExplosionFlamesMedium: FlameTrails
{
    Scale 1.1
	Speed 4
	States
	{
    Spawn:
        FIR3 GHIJKLMNOP 1 BRIGHT
        Stop
	}
}

ACTOR FireballExplosionFlamesSmall: FlameTrails
{
    Scale 0.8
	Speed 4
	States
	{
    Spawn:
        FIR3 LMNOP 1 BRIGHT
        Stop
	}
}

ACTOR Flames
{
	Radius 6
	Height 8
	Speed 30
	Damage 1
	Projectile
	+RANDOMIZE
	+FORCEXYBILLBOARD
    +RIPPER
    +BLOODLESSIMPACT
	RenderStyle Add
    DamageType Flames
    Scale 2.0
	Alpha 1
	SeeSound "fatso/attack"
	DeathSound "fatso/shotx"
    Decal "BigScorch"
	States
	{
    Spawn:
        TNT1 C 6
        Goto See
	See:
        FLMG A 0 A_Explode (15, 40)
        FRFX C 2 BRIGHT
        FLMG A 0 A_Explode (15, 40)
        FRFX C 2 BRIGHT
        FLMG A 0 A_Explode (15, 40)
	    EXPL AA 0 A_CustomMissile ("ExplosionSmoke", 32, 0, random (0, 360), 2, random (0, 360))
        FLMG A 0 A_Explode (15, 40)
        FRFX FGHIJKLMNOPG 2 BRIGHT
		Goto Death
	Death:
	    EXPL AA 0 A_CustomMissile ("ExplosionSmoke", 32, 0, random (0, 360), 2, random (0, 360))
	    FLMG A 0
		Stop
	}
}

ACTOR FlamethrowerBurningStuff
{
    Radius 12
    Height 12
    Speed 5
	PROJECTILE
	+MISSILE
    +NOTELEPORT
    +BLOODLESSIMPACT
	+THRUGHOST
	+NODAMAGETHRUST
	+NOGRAVITY
	+FLOAT
	+DONTFALL
	+FORCERADIUSDMG
	+DONTSPLASH
	damagetype Fire
	Renderstyle Add
	Gravity 0.2
	Mass 0
    States
    {
    Spawn:
	TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")

	TNT1 A 0 A_Jump(255, "Spawn1", "Spawn2", "Spawn3", "Spawn4", "live")
	Goto Spawn1

	Spawn1:
		TNT1 A 0 A_SetScale(0.9, 1.3)
		Goto Live

	Spawn2:
		TNT1 A 0 A_SetScale(-0.9, 0.8)
		Goto Live

	Spawn3:
		TNT1 A 0 A_SetScale(-1.1, 0.9)
		Goto Live

	Spawn4:
		TNT1 A 0 A_SetScale(1.2, 1.1)
		Goto Live

	Live:
		tnt1 A 10
		Stop
	XDeath:
		TNT1 A 0
		TNT1 A 0 A_ChangeFlag("NOGRAVITY", 0)
	Death:
	TNT1 A 0 A_Playsound("props/redfire", 1)
  	TNT1 A 0 A_Jump(32, "TurnOff")
	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF4R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 64)

	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF4R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 64)
	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF4R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 64)
	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF4R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 64)

	TNT1 A 0 A_Jump(32, "TurnOff")
	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF4R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 64)

	TNT1 A 0 A_Jump(32, "TurnOff")
	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF4R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 64)

	TNT1 A 0 A_Jump(32, "TurnOff")
	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF4R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 64)

	TNT1 A 0 A_Jump(32, "TurnOff")
	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF4R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 64)

	TurnOff:
	NF4R QRSTUV 1 BRIGHT
	TNT1 A 0 A_checkFloor("Smoke")
	Stop
     Underwater:
	 Splash:
	    TNT1 A 0
        Stop

		Smoke:
			TNT1 A 0
			TNT1 A 0 A_SpawnItemEx("ExplosionSimpleSmokeColumn",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
			Stop
    }
}

ACTOR FlamethrowerFireParticles
{
	Game Doom
	Radius 1
	Height 1
	Speed 2
	Damage 0
    +NOBLOCKMAP
    +NOTELEPORT
    +DONTSPLASH
	+MISSILE
    +CLIENTSIDEONLY
	+NONETID
    +NOINTERACTION
	+NOCLIP
	+FORCEXYBILLBOARD
	damagetype fire
	Renderstyle Add
    Scale 2.0
	Alpha 1.0
	Gravity 0
	States
	{
    Spawn:
	    TNT1 A 0
        FIR3 ABCD 1 BRIGHT
		TNT1 A 0 A_CustomMissile ("BigBlackSmoke", 40, 0, random (0, 360), 2, random (40, 160))
		FIR3 EFGHIJKLMNOP 1 BRIGHT
	    Stop
	}
}

ACTOR FlamethrowerFireParticlesM : FlamethrowerFireParticles
{
	States
	{
    Spawn:
	    TNT1 A 0
        FIR4 ABCD 1 BRIGHT
		TNT1 A 0 A_CustomMissile ("BigBlackSmoke", 40, 0, random (0, 360), 2, random (40, 160))
		FIR4 EFGHIJKLMNOP 1 BRIGHT
	    Stop
	}
}

ACTOR FlamethrowerFireTrail
{
	Game Doom
	Radius 1
	Height 1
	Speed 2
	Damage 0
    +NOBLOCKMAP
    +NOTELEPORT
    +DONTSPLASH
	+MISSILE
    +NOCLIP
	+FORCEXYBILLBOARD
	+FORCERADIUSDMG
	damagetype fire
	Renderstyle Add
    Scale 1.0
	Alpha 1.0
	Gravity 0
	States
	{
    Spawn:
	    TNT1 A 0
		TNT1 A 0 A_CustomMissile ("FireBallExplosionFlames", 1, 0, random (0, 360), 2, random (0, 360))
        FIR3 ABCDEFGHIJKLMNOP 1 BRIGHT
	    Stop
	}
}

ACTOR FlamethrowerMissile
{
	Game Doom
	Radius 8
	Height 8
	Speed 35
	Damage (random (12, 12))
    +NOBLOCKMAP
    +NOTELEPORT
    +DONTSPLASH
	+MISSILE
	+FORCEXYBILLBOARD
	+NOBLOOD
	+NOBLOODDECALS
	+BLOODLESSIMPACT
	-BLOODSPLATTER
	+NODAMAGETHRUST
	-NOGRAVITY
	+MTHRUSPECIES
	RenderStyle Add
    DamageType Fire
	Decal "FlamethrowerScorch"
    Scale 0.3
	Alpha 1.0
	Gravity 1.0
	States
	{
    Spawn:
	    TNT1 A 1
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		FIR3 AB 1 BRIGHT A_SpawnItem ("SmallFlameTrails")
		TNT1 A 0 A_Explode(32, 32, 0, 0, 1)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		FIR3 AB 1 BRIGHT A_SpawnItem ("SmallFlameTrails")
		TNT1 A 0 A_Explode(32, 64, 0, 0, 1)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_CustomMissile ("BigBlackSmoke", 0, 0, random (0, 360), 2, random (40, 160))
        FIR3 BCD 2 BRIGHT A_CustomMissile ("FlamethrowerFireTrail", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_Explode(42, 128, 1, 0, 1)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_CustomMissile ("BigBlackSmoke", 0, 0, random (0, 360), 2, random (40, 160))
        FIR3 EFG 2 BRIGHT A_CustomMissile ("FlamethrowerFireParticles", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_Explode(48, 196, 1, 0, 1)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		EXPL A 0 A_CustomMissile ("FlamethrowerFireParticles", 6, 0, random (0, 360), 2, random (10, 90))
		FIR3 GGG 2 BRIGHT A_CustomMissile ("FlamethrowerFireParticles", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_Explode(48, 196, 1, 0, 1)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		EXPL A 0 A_CustomMissile ("FlamethrowerFireParticles", 6, 0, random (0, 360), 2, random (10, 90))
		FIR3 GGGGG 2 BRIGHT A_CustomMissile ("FlamethrowerFireParticles", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_Explode(48, 196, 1, 0, 1)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		EXPL A 0 A_CustomMissile ("FlamethrowerFireParticles", 6, 0, random (0, 360), 2, random (10, 90))
		Stop
	Death:
	TNT1 A 0
	TNT1 A 0 A_ChangeFlag("FORCERADIUSDMG", 1)
	TNT1 A 0 A_Explode(32, 128, 1, 0, 1)
	TNT1 A 0 A_CustomMissile("FlamethrowerBurningStuff", random (-32, 0), random (-32, 32), random (-32, 32), 2, random (-32, 32))
	EXPL A 0 A_CustomMissile ("FlamethrowerFireParticles", 6, 0, random (0, 360), 2, random (10, 90))
	Stop
	}
}

Actor FlamethrowerMissile2: FlamethrowerMissile
{
+RIPPER
+THRUACTORS
}

Actor FlamethrowerMissile3: FlamethrowerMissile
{
+RIPPER
+THRUACTORS
Decal "BigScorch"
}

ACTOR FlamethrowerMissileFatso: FlamethrowerMissile
{
	-DOOMBOUNCE
	-MTHRUSPECIES
	Speed 35
	FastSpeed 40
	Damage (random(8,8))
	Species "Fatso"
	States
	{
    Spawn:
	    TNT1 A 2
        FIR3 A 1 BRIGHT A_SetScale(0.6, 0.6)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 B 1 BRIGHT A_SetScale(0.7, 0.7)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 C 1 BRIGHT A_SetScale(0.8, 0.8)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 D 1 BRIGHT A_SetScale(0.9, 0.9)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 E 1 BRIGHT A_SetScale(1.0, 1.0)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 F 1 BRIGHT A_SetScale(1.1, 1.1)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 G 1 BRIGHT A_SetScale(1.2, 1.2)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 H 1 BRIGHT A_SetScale(1.3, 1.3)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 I 1 BRIGHT A_SetScale(1.4, 1.4)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 J 1 BRIGHT A_SetScale(1.6, 1.6)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 K 1 BRIGHT A_SetScale(1.8, 1.8)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 L 1 BRIGHT A_SetScale(2.0, 2.0)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		TNT1 A 0 A_ChangeFlag("DOOMBOUNCE", 1)
		TNT1 A 0 A_CustomMissile ("BigBlackSmoke", 0, 0, random (0, 360), 2, random (40, 160))
		TNT1 A 0 A_CustomMissile ("ExplosionParticleHeavy", 0, 0, random (-30, 30), 2, random (40, 160))
		FIR3 M 1 BRIGHT A_SetScale(2.3, 2.3)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 N 1 BRIGHT A_SetScale(2.6, 2.6)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 O 1 BRIGHT A_SetScale(2.9, 2.9)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		FIR3 P 1 BRIGHT A_SetScale(3.5, 3.5)
		TNT1 A 0 A_JumpIf(waterlevel > 0, "Death")
		TNT1 A 0 A_SpawnItem ("SmallFlameTrails")
		TNT1 A 0 A_CustomMissile ("BigBlackSmoke", 0, 0, random (0, 360), 2, random (40, 160))
		Stop
	Death:
	TNT1 A 0
	TNT1 A 0 A_ChangeFlag("FORCERADIUSDMG", 1)
	TNT1 A 0 A_Explode(5, 86, 1, 0, 1)
	TNT1 A 0 A_SpawnItemEx("TinyBurningPiece2", random (-25, 25), random (-15, 15))
	TNT1 A 0 A_SpawnItemEx("TinyBurningPiece", random (-15, 15), random (-15, 15))
	EXPL AA 0 A_CustomMissile ("FlamethrowerFireParticles", 6, 0, random (0, 360), 2, random (10, 90))
	Stop
	}
}

ACTOR FlamethrowerMissileNoLight: FlamethrowerMissile
{
States
	{
		Death:
		TNT1 A 0
		TNT1 A 0 A_ChangeFlag("FORCERADIUSDMG", 1)
		TNT1 A 0 A_Explode(32, 128, 1, 0, 1)
		EXPL A 0 A_CustomMissile ("FlamethrowerFireParticles", 6, 0, random (0, 360), 2, random (10, 90))
		Stop
	}
}

ACTOR FlamethrowerMissileProper: FlamethrowerMissile
{
	Speed 40
}

ACTOR FlyingBurningFuel
{
    Radius 8
    Height 8
    Speed 11
    XScale 1.4
	Yscale 0.9
	Mass 1
	Damage 3
    +NOBLOCKMAP
	+MISSILE
    +NOTELEPORT
    +MOVEWITHSECTOR
    +BLOODLESSIMPACT
	+DONTSPLASH
	+THRUGHOST
	+NODAMAGETHRUST
	damagetype Fire
	Decal Decal
	Renderstyle Add
	Mass 1
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        TNT1 A 2 A_CustomMissile ("FlameTrails", 0, 0, random (0, 360), 2, random (0, 180))
        Loop
    Death:
	TNT1 AAAAAA 0 A_CustomMissile ("FlameTrails", 0, 0, random (0, 360), 2, random (0, 180))

	TNT1 A 0 A_Playsound("props/redfire", 1)

	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF3R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 128, 0)

	TNT1 A 0 A_SpawnItemEx("ExplosionSimpleSmokeColumn",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF3R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 128, 0)

	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF3R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 96, 0)

	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF3R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 80, 0)

	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF3R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 80, 0)

	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF3R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 80, 0)

	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF3R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 80, 0)

	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF3R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_Explode(16, 80, 0)
	TNT1 A 0 A_SetScale(1.4, 0.7)

	TNT1 A 0 A_CustomMissile ("RealisticFireSparks1", 10, 0, random (0, 140), 2, random (0, 160))
	NF3R ABCDFEGHIJKLMNOP 1 BRIGHT
	TNT1 A 0 A_SetScale(1.2, 0.6)
	TNT1 A 0 A_Explode(8, 40, 0)
	NF3R ACEGIKMO 1 BRIGHT
	TNT1 A 0 A_SetScale(1.2, 0.5)
	NF3R ACEGIKMO 1 BRIGHT
	TNT1 A 0 A_SetScale(1.0, 0.4)
	NF3R ACEGIKMO 1 BRIGHT
	TNT1 A 0 A_SetScale(1.0, 0.3)
	NF3R ACEGIKMO 1 BRIGHT
	TNT1 A 0 A_SetScale(1.0, 0.2)
	Stop
     Underwater:
	 Splash:
	    TNT1 A 0
        Stop
    }
}

Actor FlyingBurningFuel2: FlyingBurningFuel
{
speed 8
}

Actor FlyingBurningFuel3: FlyingBurningFuel
{
speed 15
}

ACTOR FlyingLava: FlyingBurningFuel
{
    Renderstyle ADd
	Alpha 1.0
	Gravity 1.0
	Speed 9
	Scale 0.1
	Radius 14
	Height 14
	+NODAMAGETHRUST
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVA A 1
		LAVA A 1 A_SetScale(0.2, 0.2)
		LAVA A 1 A_SetScale(0.3, 0.3)
		LAVA A 1 A_SetScale(0.4, 0.4)
		LAVA A 1 A_SetScale(0.5, 0.5)
		LAVA A 1 A_SetScale(0.6, 0.6)
		LAVA A 1 A_SetScale(0.7, 0.7)
		LAVA A 1 A_SetScale(0.8, 0.8)
		LAVA A 1 A_SetScale(0.9, 0.9)
		LAVA A 1 A_SetScale(1.0, 1.0)
	Fly:
		LAVA A 2
        Loop
	Death:
		TNT1 A 0
		TNT1 A 0 A_Explode(32, 120, 1, 120)
		EXPL AAAA 0 A_CustomMissile ("FireBallExplosionFlames", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_SpawnItemEx("TinyBurningPiece3", random (-5, 5), random (-5, 5))
		Stop
    }
}

ACTOR FlyingLava1b: FlyingLava
{
	Speed 12
	Scale -0.4
	Damage 10
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVA A 2
        Loop
    }
}

ACTOR FlyingLava1c: FlyingLava1b
{
	Speed 8
	Scale 0.3
	+THRUACTORS
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVA C 2
        Loop
	Death:
		TNT1 A 0
		TNT1 A 0 A_Explode(4, 32, 1)
		EXPL AA 0 A_CustomMissile ("FireBallExplosionFlames", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_SpawnItemEx("TinyBurningPiece3", random (-5, 5), random (-5, 5))
		Stop
    }
}

ACTOR FlyingLava1d: FlyingLava1c
{
	Speed 8
	Scale 0.3
	Damagetype "Fire"
	-THRUACTORS
	Damage 2
    States
    {
    Spawn:
	    LAVA A 2
		Goto Death
    }
}

ACTOR FlyingLava2: FlyingLava
{
	Speed 10
	Scale 0.2
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVA B 1
		LAVA B 1 A_SetScale(0.3, 0.3)
		LAVA B 1 A_SetScale(0.4, 0.4)
		LAVA B 1 A_SetScale(0.5, 0.5)
		LAVA B 1 A_SetScale(0.6, 0.6)
		LAVA B 1 A_SetScale(0.7, 0.7)
		LAVA B 1 A_SetScale(0.8, 0.8)
		LAVA B 1 A_SetScale(0.9, 0.9)
		LAVA B 1 A_SetScale(1.0, 1.0)
		LAVA B 1 A_SetScale(1.1, 1.1)
		LAVA B 1 A_SetScale(1.2, 1.2)
	Fly:
		LAVA A 2
        Loop
    }
}

ACTOR FlyingLava2b: FlyingLava1b
{
	Speed 14
	Scale -0.6
	Damage 10
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVA B 2
        Loop
    }
}

ACTOR FlyingLava2c: FlyingLava1c
{
	Speed 8
	Scale 0.3
	+THRUACTORS
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVA B 2
        Loop
    }
}

ACTOR FlyingMagenta: FlyingBurningFuel
{
    Renderstyle ADd
	Alpha 1.0
	Gravity 1.0
	Speed 9
	Scale 0.1
	Radius 14
	Height 14
	+NODAMAGETHRUST
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVM A 1
		LAVM A 1 A_SetScale(0.2, 0.2)
		LAVM A 1 A_SetScale(0.3, 0.3)
		LAVM A 1 A_SetScale(0.4, 0.4)
		LAVM A 1 A_SetScale(0.5, 0.5)
		LAVM A 1 A_SetScale(0.6, 0.6)
		LAVM A 1 A_SetScale(0.7, 0.7)
		LAVM A 1 A_SetScale(0.8, 0.8)
		LAVM A 1 A_SetScale(0.9, 0.9)
		LAVM A 1 A_SetScale(1.0, 1.0)
	Fly:
		LAVM A 2
        Loop
	Death:
		TNT1 A 0
		TNT1 A 0 A_Explode(32, 120, 1, 120)
		EXPL AAAA 0 A_CustomMissile ("FireBallExplosionFlamesM", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_SpawnItemEx("TinyBurningPiece3M", random (-5, 5), random (-5, 5))
		Stop
    }
}

ACTOR FlyingMagenta1b: FlyingMagenta
{
	Speed 12
	Scale -0.4
	Damage 10
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVM A 2
        Loop
    }
}

ACTOR FlyingMagenta1c: FlyingMagenta1b
{
	Speed 8
	Scale 0.3
	+THRUACTORS
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVM C 2
        Loop
	Death:
		TNT1 A 0
		TNT1 A 0 A_Explode(4, 32, 1)
		EXPL AA 0 A_CustomMissile ("FireBallExplosionFlamesM", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_SpawnItemEx("TinyBurningPiece3M", random (-5, 5), random (-5, 5))
		Stop
    }
}

ACTOR FlyingMagenta1d: FlyingMagenta1c
{
	Speed 8
	Scale 0.3
	Damagetype "Fire"
	-THRUACTORS
	Damage 2
    States
    {
    Spawn:
	    LAVM A 2
		Goto Death
    }
}

ACTOR FlyingMagenta2: FlyingMagenta
{
	Speed 10
	Scale 0.2
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVM B 1
		LAVM B 1 A_SetScale(0.3, 0.3)
		LAVM B 1 A_SetScale(0.4, 0.4)
		LAVM B 1 A_SetScale(0.5, 0.5)
		LAVM B 1 A_SetScale(0.6, 0.6)
		LAVM B 1 A_SetScale(0.7, 0.7)
		LAVM B 1 A_SetScale(0.8, 0.8)
		LAVM B 1 A_SetScale(0.9, 0.9)
		LAVM B 1 A_SetScale(1.0, 1.0)
		LAVM B 1 A_SetScale(1.1, 1.1)
		LAVM B 1 A_SetScale(1.2, 1.2)
	Fly:
		LAVM A 2
        Loop
    }
}

ACTOR FlyingMagenta2b: FlyingMagenta1b
{
	Speed 14
	Scale -0.6
	Damage 10
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVM B 2
        Loop
    }
}

ACTOR FlyingMagenta2c: FlyingMagenta1c
{
	Speed 8
	Scale 0.3
	+THRUACTORS
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        LAVM B 2
        Loop
    }
}

ACTOR FlyingYava: FlyingBurningFuel
{
    Renderstyle ADd
	Alpha 1.0
	Gravity 1.0
	Speed 9
	Scale 0.1
	Radius 14
	Height 14
	+NODAMAGETHRUST
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        YAVA A 1
		YAVA A 1 A_SetScale(0.2, 0.2)
		YAVA A 1 A_SetScale(0.3, 0.3)
		YAVA A 1 A_SetScale(0.4, 0.4)
		YAVA A 1 A_SetScale(0.5, 0.5)
		YAVA A 1 A_SetScale(0.6, 0.6)
		YAVA A 1 A_SetScale(0.7, 0.7)
		YAVA A 1 A_SetScale(0.8, 0.8)
		YAVA A 1 A_SetScale(0.9, 0.9)
		YAVA A 1 A_SetScale(1.0, 1.0)
	Fly:
		YAVA A 2
        Loop
	Death:
		TNT1 A 0
		TNT1 A 0 A_Explode(32, 120, 1, 120)
		EXPL AAAA 0 A_CustomMissile ("FireBallExplosionFlames", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_SpawnItemEx("TinyBurningPiece3Y", random (-5, 5), random (-5, 5))
		Stop
    }
}

ACTOR FlyingYava1b: FlyingYava
{
	Speed 12
	Scale -0.4
	Damage 10
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        YAVA A 2
        Loop
    }
}

ACTOR FlyingYava1c: FlyingYava1b
{
	Speed 8
	Scale 0.3
	+THRUACTORS
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        YAVA C 2
        Loop
	Death:
		TNT1 A 0
		TNT1 A 0 A_Explode(4, 32, 1)
		EXPL AA 0 A_CustomMissile ("FireBallExplosionFlames", 1, 0, random (0, 360), 2, random (0, 360))
		TNT1 A 0 A_SpawnItemEx("TinyBurningPiece3Y", random (-5, 5), random (-5, 5))
		Stop
    }
}

ACTOR FlyingYava1d: FlyingYava1c
{
	Speed 8
	Scale 0.3
	Damagetype "Fire"
	-THRUACTORS
	Damage 2
    States
    {
    Spawn:
	    YAVA A 2
		Goto Death
    }
}

ACTOR FlyingYava2: FlyingYava
{
	Speed 10
	Scale 0.2
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        YAVA B 1
		YAVA B 1 A_SetScale(0.3, 0.3)
		YAVA B 1 A_SetScale(0.4, 0.4)
		YAVA B 1 A_SetScale(0.5, 0.5)
		YAVA B 1 A_SetScale(0.6, 0.6)
		YAVA B 1 A_SetScale(0.7, 0.7)
		YAVA B 1 A_SetScale(0.8, 0.8)
		YAVA B 1 A_SetScale(0.9, 0.9)
		YAVA B 1 A_SetScale(1.0, 1.0)
		YAVA B 1 A_SetScale(1.1, 1.1)
		YAVA B 1 A_SetScale(1.2, 1.2)
	Fly:
		YAVA A 2
        Loop
    }
}

ACTOR FlyingYava2b: FlyingYava1b
{
	Speed 14
	Scale -0.6
	Damage 10
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        YAVA B 2
        Loop
    }
}
ACTOR FlyingYava2c: FlyingYava1c
{
	Speed 8
	Scale 0.3
	+THRUACTORS
    States
    {
    Spawn:
	    TNT1 A 0 A_JumpIf(waterlevel > 1, "Underwater")
        YAVA B 2
        Loop
    }
}

ACTOR GreenExplosionFlameTrail: ExplosionFlames
{
Scale 0.5
	States
	{
    Spawn:
	    TNT1 A 2
        EXPG CDEFG 1 BRIGHT
        Stop
	}
}

ACTOR GreenFlameTrails: FlameTrails
{
	Scale 0.6
	States
	{
    Spawn:
	    TNT1 A 2
        FRPG ABCDEFGH 1 BRIGHT
        Stop
	}
}

ACTOR GreenFlameTrailsBig: GreenFlameTrails
{
	Scale 0.8
}

ACTOR HighExplosiveFlames: FlameTrails
{
    Scale 2.4
	Speed 4
	Alpha 1.0
	States
	{
    Spawn:
		tnt1 A 0
		TNT1 A 2
        X003 AABBCDEFGHIJKLMNOP 1 BRIGHT
		TNT1 AA 0 A_CustomMissile ("ExplosionSmokeHDLarge", 0, 0, random (0, 360), 2, random (0, 360))
		X003 QRSTUVWXYZ 1 BRIGHT
        Stop
	}
}

ACTOR HighExplosiveFlames2: FlameTrails
{
    Scale 2.4
	Speed 4
	Alpha 1.0
	States
	{
    Spawn:
		tnt1 A 0
		TNT1 A 1
		TNT1 A 0 A_PlaySound("FAREXPL")
        X003 AABBCDEFGHIJKLMNOPQRSTUVWX 1 BRIGHT
		EXPL A 0 A_CustomMissile ("BigBlackSmokeLarger", 0, 0, random (0, 360), 2, random (20, 90))
		X003 YZ 1 BRIGHT
        Stop
	}
}

ACTOR HighExplosiveFlamesBig: FlameTrails
{
    Scale 3.0
	Speed 3
	Alpha 1.0
	States
	{
    Spawn:
		tnt1 A 0
        X003 AABBCDEFGHIJKLMNOPQRSTUVWX 2 BRIGHT
		EXPL A 0 A_CustomMissile ("BigBlackSmokeLarger", 0, 0, random (0, 360), 2, random (20, 90))
		X003 YZ 2 BRIGHT
        Stop
	}
}

ACTOR HighExplosiveFlamesHuge: FlameTrails
{
    Scale 5.0
	Speed 4
	Alpha 1.0
	States
	{
    Spawn:
		tnt1 A 0
        X003 AABBCDEFGHIJKLMNOPQRSTUVWX 2 BRIGHT
		EXPL A 0 A_CustomMissile ("BigBlackSmokeLarger", 0, 0, random (0, 360), 2, random (20, 90))
		X003 YZ 1 BRIGHT
        Stop
	}
}

ACTOR HighExplosiveFlamesSmall: FlameTrails
{
    Scale 1.0
	Speed 1
	Alpha 1.0
	States
	{
    Spawn:
		tnt1 A 0
        X003 AABBCDEFGHIJKLMNOPQRSTUVWX 1 BRIGHT
		X003 YZ 1 BRIGHT
        Stop
	}
}

ACTOR HugeBackblastFlames1
{
    Scale 1.0
	Speed 10
	Alpha 1.0
	+MISSILE
	PROJECTILE
	Radius 24
	Height 42
	Renderstyle Add
	+THRUACTORS
	+CLIENTSIDEONLY
	+NONETID
	+DOOMBOUNCE
	States
	{
    Spawn:
		tnt1 A 0
		TNT1 A 4
        X003 AAABBBCCCDEFGHIJKLMNOP 1 BRIGHT
		EXPL A 0 A_CustomMissile ("BigBlackSmokeLarger", random (0, 10), 0, random (0, 360), 2, random (20, 90))
        X003 QRSTUVWXYZ 1 BRIGHT
		Stop
	}
}

ACTOR HugeBackblastFlames2: HugeBackblastFlames1
{
    Scale 1.5
	Speed 15
}

ACTOR HugeBackblastFlames3: HugeBackblastFlames1
{
    Scale 2.0
	Speed 20
}

ACTOR HugeBackblastFlames4: HugeBackblastFlames1
{
    Scale 2.5
	Speed 25
}

ACTOR ImpBallGettingReady: FlameTrails
{
	+NOINTERACTION
	+NOCLIP
    Scale 0.5
	Speed 1
	States
	{
    Spawn:
        BLHD AB 1 BRIGHT A_SpawnItem("FireballFlare")
        Stop
	}
}

ACTOR BallGettingReadyGreen: ImpBallGettingReady
{
Speed 0
-FORCEXYBILLBOARD
Alpha 1.0
Renderstyle Add
    Scale 1.6
	States
	{
    Spawn:
        FRPG JK 3 BRIGHT  A_SpawnItem("GreenFlareSmall")
        Stop
	}
}

ACTOR MarineFlameThrower : FlamethrowerMissile
{
	DamageType "FriendBullet"
	+MTHRUSPECIES
	+THRUSPECIES
	+DONTHARMSPECIES
}

ACTOR MarineFlameThrowerNoLight : FlamethrowerMissileNoLight
{
	DamageType "FriendBullet"
	+MTHRUSPECIES
	+THRUSPECIES
	+DONTHARMSPECIES
}

ACTOR MediumExplosionFlames: ExplosionFlames
{
Scale 1.3
Speed 4
	States
	{
    Spawn:
        EXPL AA 2 BRIGHT
		EXPL AA 0 A_CustomMissile ("ExplosionSmokeHD", 0, 0, random (0, 360), 2, random (0, 360))
        EXPL BCDEF 1 BRIGHT
        EXPL GHHH 1 BRIGHT
        Stop
	}
}

ACTOR NuclearFlames: ExplosionFlames
{
Scale 5.2
Speed 6
	States
	{
    Spawn:
        X003 ABCDEFGHIJKLMNOPQRSTUVWXYZ 4 BRIGHT
        Stop
	}
}

ACTOR NuclearFlamesBig: ExplosionFlames
{
Scale 12.2
Speed 3
	States
	{
    Spawn:
        X003 ABCDEFGHIJKLMNOPQRSTUVWXYZ 4 BRIGHT
        Stop
	}
}

ACTOR NuclearFlamesImpact: ExplosionFlames
{
Scale 12.2
Speed 30
-CLIENTSIDEONLY
+FORCERADIUSDMG
Damagetype "Fire"
	States
	{
    Spawn:
        EXPL ABCDFGH 2 BRIGHT A_Explode
		EXPL IIIIIIIIII 1 BRIGHT A_FAdeout(0.1)
        Stop
	}
}

ACTOR PentagramSpawner
{
    +NOBLOCKMAP
    +NOTELEPORT
    +DONTSPLASH
	+FORCEXYBILLBOARD
    +CLIENTSIDEONLY
	+NONETID
    +NOCLIP
	-NOGRAVITY
	RenderStyle Add
	Alpha 1
	Gravity 1
	Radius 1
	Height 1
	States
	{
    Spawn:
        TNT1 A 0
		TNT1 A 1 A_SpawnItem("BurningPentagram")
		TNT1 A 1 A_SpawnItem("PentagramFlare")
		TNT1 A 50
		TNT1 A 1 A_SpawnItem("PentagramOff")
		TNT1 A 1
        Stop
	}
}

ACTOR PentagramSpawnerBig : PentagramSpawner
{
	States
	{
    Spawn:
        TNT1 A 0
		TNT1 A 1 A_SpawnItem("BurningPentagramBig")
		TNT1 A 1 A_SpawnItem("PentagramFlarebig")
		TNT1 A 50
		TNT1 A 1 A_SpawnItem("PentagramOffbig")
		TNT1 A 1
        Stop
	}
}

ACTOR BurningPentagram: PentagramSpawner
{
	Scale 0.5
	Alpha 0.0
	States
	{
    Spawn:
		PNTG AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 1 A_FadeIn(0.02)
		PNTG AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 1 A_FadeOut(0.02)
        Stop
	}
}

ACTOR BurningPentagramBig : PentagramSpawner
{
	Scale 0.75
	Alpha 0.0
	States
	{
    Spawn:
		PNTG AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 1 A_FadeIn(0.02)
		PNTG AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 1 A_FadeOut(0.02)
        Stop
	}
}

ACTOR PentagramOff: PentagramSpawner
{
	Scale 0.5
	States
	{
    Spawn:
        PNTG B 50
		PNTG BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 1 A_FadeOut(0.02)
        Stop
	}
}

ACTOR PentagramOffBig: PentagramSpawner
{
	Scale 0.75
	States
	{
    Spawn:
        PNTG B 50
		PNTG BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB 1 A_FadeOut(0.02)
        Stop
	}
}

ACTOR RailgunFlameTrails : FlameTrails
{
    Scale 0.4
	States
	{
    Spawn:
        FIR3 ABCDEFGHIJKLMNOP 1 BRIGHT
        Stop
	}
}

ACTOR RailgunFlameTrailsBlue : FlameTrails
{
    Scale 0.4
	States
	{
    Spawn:
        FIR5 ABCDEFGHIJKLMNOP 1 BRIGHT
        Stop
	}
}

ACTOR RealFlameTrailsSmall
{
	Game Doom
	Radius 1
	Height 1
	Speed 4
	Damage 0
    +NOBLOCKMAP
    +NOTELEPORT
    +DONTSPLASH
	+MISSILE
	+FORCEYBILLBOARD
    +CLIENTSIDEONLY
	+NONETID
    +NOINTERACTION
	+NOCLIP
	RenderStyle Add
    damagetype fire
    Scale 0.5
	Alpha 1.0
	Gravity 0
	States
	{
    Spawn:
	    TNT1 A 0
        FIR1 AABBCCDEFGHII 1 BRIGHT
        Stop
	}
}

ACTOR RealFlameTrailsMedium: RealFlameTrailsSmall
{
    Scale 1.5
	Speed 2
	States
	{
    Spawn:
	    TNT1 A 0
        FIR1 AABBCCDEFGHII 2 BRIGHT
        Stop
	}
}

ACTOR RealisticFireSparks1: ImpBallGettingReady
{
Speed 0
-FORCEXYBILLBOARD
+NOINTERACTION
+NOCLIP
Alpha 1.0
Renderstyle Add
    YScale 1.0
	XScale -1.0
	States
	{
    Spawn:
		SPFN A 1 BRIGHT NODELAY A_Jump(128, 1,2,3)//Randomize
        SPFN ABCDEFGHIJKLMNOPQRSTUVWXYZ 1 BRIGHT
		SPFM ABCDEFG 1 BRIGHT
        Stop
	}
}

ACTOR RealisticFireSparks1Blue: ImpBallGettingReady
{
Speed 0
-FORCEXYBILLBOARD
+NOINTERACTION
+NOCLIP
Alpha 1.0
Renderstyle Add
Translation "112:127=[0,255,255]:[0,31,31]"
    YScale 1.0
	XScale -1.0
	States
	{
    Spawn:
		SPGN A 1 BRIGHT NODELAY A_Jump(128, 1,2,3)//Randomize
        SPGN BCDEFGHIJKLMNOPQRSTUVWXYZ 1 BRIGHT
		SPGM ABCDEFG 1 BRIGHT
        Stop
	}
}

ACTOR RealisticFireSparks1Green: ImpBallGettingReady
{
Speed 0
-FORCEXYBILLBOARD
+NOINTERACTION
+NOCLIP
Alpha 1.0
Renderstyle Add
    YScale 1.0
	XScale -1.0
	States
	{
    Spawn:
		SPGN A 1 BRIGHT NODELAY A_Jump(128, 1,2,3)//Randomize
        SPGN BCDEFGHIJKLMNOPQRSTUVWXYZ 1 BRIGHT
		SPGM ABCDEFG 1 BRIGHT
        Stop
	}
}

ACTOR RealisticFireSparksLoop: RealisticFireSparks1
{
	States
	{
    Spawn:
        SPFN ABCDEFGHIJKLMNOPQRSTUVWXYZ 1 BRIGHT
		SPFM ABCDEFG 1 BRIGHT
        Loop
	}
}

ACTOR RealisticFireSparksLoopBig: RealisticFireSparksLoop
{
YScale 2.0
XScale -2.0
}

ACTOR RealisticFireSparksTemp: RealisticFireSparks1
{
	States
	{
    Spawn:
		TNT1 A 0 A_JumpIfInventory("BrutalCounter",16,"Extinguish")
        SPFN ABCDEFGHIJKLMNOPQRSTUVWXYZ 1 BRIGHT
		SPFM ABCDEFG 1 BRIGHT
		TNT1 A 0 A_GiveInventory("BrutalCounter",1)
        Loop
	Extinguish:
	TNT1 A 0 A_CustomMissile ("PlasmaSmoke", 30, 0, random (0, 360), 2, random (70, 110))
	Stop
	}
}

ACTOR RealisticFireSparksTempBig: RealisticFireSparksTemp
{
YScale 2.0
XScale -2.0
}

ACTOR SmallExplosionFlames: ExplosionFlames
{
Scale 0.9
Speed 3
	States
	{
    Spawn:
        EXPL AA 2 BRIGHT
        EXPL BCDEF 1 BRIGHT
        EXPL GH 1 BRIGHT
        Stop
	}
}

ACTOR SmallFireFocus24: BarrelExplosionSmokeColumn
{
	Alpha 0.9
	RenderStyle Translucent
	Scale 0.6
	States
	{
	Spawn:
	FLME ABCDEFGHIJKLMNABCDEFGHIJKLMNABCDEFGHIJKLMNABCDEFGHIJKLMN 1 BRIGHT
	FLME ABCDEFGHIJKLMNABCDEFGHIJKLMNABCDEFGHIJKLMNABCDEFGHIJKLMN 1 BRIGHT
	TNT1 A 0 BRIGHT A_SetScale(0.5, 0.5)
	FLME ABCDEFGHIJKLMN 1 BRIGHT
	TNT1 A 0 BRIGHT A_SetScale(0.4, 0.4)
	FLME ABCDEFGHIJKLMN 1 BRIGHT
	TNT1 A 0 BRIGHT A_SetScale(0.3, 0.3)
	FLME ABCDEFGHIJKLMN 1 BRIGHT
	TNT1 A 0 BRIGHT A_SetScale(0.2, 0.2)
	FLME ABCDEFGHIJKLMN 1 BRIGHT
	TNT1 A 0 BRIGHT A_SetScale(0.1, 0.1)
	FLME ABCDEFGHIJKLMN 1 BRIGHT
	Stop
    }
}

ACTOR SmallFireTrail: FlameTrails
{
Scale 0.7
Speed 2
Alpha 0.7
Radius 1
Height 1
Renderstyle Add
	States
	{
    Spawn:
		TNT1 A 5
        TNT1 A 0
        FIR3 CDEFGHIJKLMNOP 2 BRIGHT
		Stop
	}
}

ACTOR SmallFireTrail324:SmallFireTrail
{
Speed 3
Alpha 0.9
	States
	{
    Spawn:
        FIR3 CDEFGHIJKLMNOP 1 BRIGHT
		Stop
	}
}

ACTOR SmallFlameTrails: FlameTrails
{
    Scale 0.3
	States
	{
    Spawn:
        TNT1 A 2
        FRPR ABCDEFGH 3 BRIGHT
        Stop
		}
}

ACTOR SmallGreenFlameTrails: GreenFlameTrails
{
    Scale 0.4
}

ACTOR TankExplosionFlames: FlameTrails
{
Scale 4.0
Speed 12
+DOOMBOUNCE
	States
	{
    Spawn:
        EXPL AAA 1 BRIGHT
        EXPL BCDEFG 1 BRIGHT
		EXPL AA 0 A_CustomMissile ("BigNeoSmoke", 0, 0, random (0, 360), 2, random (0, 360))
		EXPL HHHHHHH 1 A_FadeOut(0.1)
        Stop
	}
}

ACTOR TempHDFlamesGFX1
{
	+CLIENTSIDEONLY
	+NONETID
	+THRUACTORS
	+NOCLIP
	+NOGRAVITY
	+NOINTERACTION
	Renderstyle Add
	Alpha 1.0
	Scale 2.0
	States
	{
	Spawn:
	TNT1 A 0 A_JumpIfInventory("BrutalCounter", 62, "Extinguish")
	NF4R ABCDEFGHIJKLMNOPQ 1 BRIGHT
	TNT1 A 0 A_GiveInventory("BrutalCounter",1)
	Loop
	Extinguish:
	TNT1 A 0 A_SpawnItemEx("ExplosionSimpleSmokeColumn",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
	Stop
    }
}

ACTOR TempHDFlamesGFX1Big: TempHDFlamesGFX1
{
	XScale 3.0
	YScale 3.0
}

ACTOR TempHDFlamesGFX1Slim: TempHDFlamesGFX1
{
	XScale 1.2
	YScale 3.0
}

ACTOR TinyBurningPiece
{
	Damagetype "Fire"
    +CLIENTSIDEONLY
	+NONETID
	Alpha 0.9
	RenderStyle Add
	Scale 1.1
	Radius 0
    Height 0
    +NOBLOCKMAP
    +NOTELEPORT
    +DONTSPLASH
	Damage 0
	States
	{
	Spawn:

	CFCF ABCDEFGHIJKL 1 BRIGHT
	TNT1 A 0 A_Jump(24, "StopBurning")
	Loop

	StopBurning:
	CFCF NOP 1 BRIGHT
	Stop
    }
}

ACTOR TinyBurningPieceM
{
	Damagetype "Fire"
    +CLIENTSIDEONLY
	+NONETID
	Alpha 0.9
	RenderStyle Add
	Scale 1.1
	Radius 0
    Height 0
    +NOBLOCKMAP
    +NOTELEPORT
    +DONTSPLASH
	Damage 0
	States
	{
	Spawn:

	CFCM ABCDEFGHIJKL 1 BRIGHT
	TNT1 A 0 A_Jump(24, "StopBurning")
	Loop

	StopBurning:
	CFCM NOP 1 BRIGHT
	Stop
    }
}

ACTOR TinyBurningPieceY
{
	Damagetype "Fire"
    +CLIENTSIDEONLY
	+NONETID
	Alpha 0.9
	RenderStyle Add
	Scale 1.1
	Radius 0
    Height 0
    +NOBLOCKMAP
    +NOTELEPORT
    +DONTSPLASH
	Damage 0
	States
	{
	Spawn:

	CFCY ABCDEFGHIJKL 1 BRIGHT
	TNT1 A 0 A_Jump(24, "StopBurning")
	Loop

	StopBurning:
	CFCY NOP 1 BRIGHT
	Stop
    }
}

ACTOR TinyBurningPiece2: TinyBurningPiece
{
	Scale 0.7
	States
	{
	Spawn:

	CFCF ABCDEFGHIJKL 1 BRIGHT
	TNT1 A 0 A_Jump(24, "StopBurning")
	Loop

	StopBurning:
	CFCF NOP 1 BRIGHT
	Stop
    }
}

ACTOR TinyBurningPiece2M: TinyBurningPieceM
{
	Scale 0.7
	States
	{
	Spawn:

	CFCM ABCDEFGHIJKL 1 BRIGHT
	TNT1 A 0 A_Jump(24, "StopBurning")
	Loop

	StopBurning:
	CFCM NOP 1 BRIGHT
	Stop
    }
}

ACTOR TinyBurningPiece2Y: TinyBurningPieceY
{
	Scale 0.7
	States
	{
	Spawn:

	CFCY ABCDEFGHIJKL 1 BRIGHT
	TNT1 A 0 A_Jump(24, "StopBurning")
	Loop

	StopBurning:
	CFCY NOP 1 BRIGHT
	Stop
    }
}

ACTOR TinyBurningPiece3: TinyBurningPiece
{
	Scale 0.5
}

ACTOR TinyBurningPiece3M: TinyBurningPieceM
{
	Scale 0.5
}

ACTOR TinyBurningPiece3Y: TinyBurningPieceY
{
	Scale 0.5
}

ACTOR TinyBurningPieceInfinite: TinyBurningPiece
{
	Damagetype "Fire"
	States
	{
	Spawn:
	TNT1 A 0 A_Explode(4, 60)
	CFCF ABCDEFGHIJKLABCDEFGHIJKLABCDEFGHIJKLABCDEFGHIJKL 1 BRIGHT
	Loop
    }
}

ACTOR TinyBurningPieceTemp: TinyBurningPiece
{
	Damagetype "Fire"
	States
	{
	Spawn:
	TNT1 A 0 A_JumpIfInventory("BrutalCounter",22,"Extinguish")
	TNT1 A 0 A_Explode(4, 60)
	CFCF ABCDEFGHIJKLABCDEFGHIJKL 1 BRIGHT
	TNT1 A 0 A_GiveInventory("BrutalCounter",1)
	Loop
	Extinguish:
	TNT1 A 0 A_SpawnItem("BarrelExplosionSmokeColumn")
	Stop
    }
}