Code: Select all
ACTOR ThrownRedShell
{
Radius 11
Height 8
Speed 12
Damage 13
Mass 100
Projectile
+SEEKERMISSILE
-NOGRAVITY
+NOEXPLODEFLOOR
+NOEXTREMEDEATH
+CANPASS
+DONTGIB
SeeSound "SHLTHRW"
DeathSound "SHELLHIT"
RenderStyle Normal
States
{
Spawn:
RSHL A 0 NoDelay A_PlaySound("RedShellSpin", CHAN_WEAPON, 1, 1)
RSHL ABCDEFGHIJKL 2 A_SeekerMissile(100, 60, SMF_LOOK)
Loop
Death:
TNT1 A 0 A_Changeflag (NOGRAVITY,1)
TNT1 A 0 A_NoBlocking
TNT1 A 0 Bright A_StopSound(CHAN_WEAPON)
TNT1 B 0 A_Spawnitem("ShellPieces")
FIRX ABCD 2 bright
Stop
}
}