Actor ZSpecOpsShotgun
{
  Health 80
  Height 56
  Radius 20
  Speed 4
  PainChance 200
  PainChance "Fire", 256
  Monster
  +FloorClip
  +NoTarget
  +NoInfighting
  SeeSound "shotguy/Sight"
  ActiveSound "shotguy/active"
  PainSound "shotguy/Pain"
  DeathSound "shotguy/Death"
  Obituary "%o was gunned down by a ZSec Soldier."
  DropItem "Firestick"
  Tag "ZSec Soldier (Shotgun)."
  States
  {
  Spawn:
    ZSP1 AAAAA 10 A_Look
    ZSP1 A 0 A_Jump(8, 2)
    ZSP1 A 0
    Loop
    ZSP1 A 0 A_PlaySound("shotguy/breathe")
    Loop
  See:
    ZSP1 AAAABBBB 1 A_Chase
	ZSP1 C 0 A_PlaySound("Cyber/Hoof", CHAN_BODY)	
	ZSP1 CCCCDDDD 1 A_Chase
	ZSP1 A 0 A_PlaySound("Cyber/Hoof", CHAN_BODY)	
    Loop
  Missile:
    ZSP1 EEE 4 A_FaceTarget
    ZSP1 F 0 Bright A_PlayWeaponSound("Weapons/ShotGF")
    ZSP1 F 2 Bright A_CustomBulletAttack(8, 6, 7, 4, "FirestickPuff")
    ZSP1 EEE 2 A_FaceTarget
    Goto See
  Pain:
    ZSP1 G 4
    ZSP1 G 4 A_Pain
    Goto See
  Death:
	TNT1 A 0 A_Jump(256, "Death1", "Death2")
  Death1:
	TNT1 A 0 A_Jump(10, "KillTaunt1")
    ZSP1 H 5
    ZSP1 I 5 A_Scream
    ZSP1 J 5
    ZSP1 K 5 A_NoBlocking
	ZSP1 L 0 A_PlaySound("body/hitfloor")
    ZSP1 L -1
	Stop
  Death2:
	TNT1 A 0 A_Jump(10, "KillTaunt2")
    ZSP5 L 5
    ZSP5 M 5 A_Scream
    ZSP5 N 5
    ZSP5 O 5 A_NoBlocking
	ZSP5 P 0 A_PlaySound("body/hitfloor")
    ZSP5 P -1
	Stop
  KillTaunt1:
    ZSP1 H 5
    ZSP1 I 5 A_Scream
    ZSP1 J 5
    ZSP1 K 5 A_NoBlocking
	ZSP1 L 0 A_PlaySound("body/hitfloor")
	ZSP1 L 10
  	TNT1 A 0 A_PlaySound("player/killtaunt", CHAN_AUTO)
    ZSP1 L -1
	Stop
  KillTaunt2:
    ZSP5 L 5
    ZSP5 M 5 A_Scream
    ZSP5 N 5
    ZSP5 O 5 A_NoBlocking
	ZSP5 P 0 A_PlaySound("body/hitfloor")
    ZSP5 P 10
  	TNT1 A 0 A_PlaySound("player/killtaunt", CHAN_AUTO)
    ZSP5 P -1
	Stop
  XDeath:
	TNT1 A 0 A_Jump(16, "GibTaunt")
	TNT1 A 0 A_XScream
	TNT1 A 0 A_NoBlocking
	TNT1 A 0 A_SpawnDebris("SkullGib")
	TNT1 A 0 A_SpawnDebris("DukeGibs1")
	TNT1 A 0 A_SpawnDebris("DukeGibs2")
	TNT1 A 0 A_SpawnDebris("DukeGibs3")
	TNT1 A 0 A_SpawnDebris("GutsGib")
	TNT1 A 0 A_SpawnDebris("DukeGibs5")
	TNT1 A 0 A_SpawnDebris("BloodSplurt")
    Stop
  GibTaunt:
	TNT1 A 0 A_PlaySound("player/gibtaunt", CHAN_AUTO)
	TNT1 A 0 A_XScream
	TNT1 A 0 A_NoBlocking
	TNT1 A 0 A_SpawnDebris("SkullGib")
	TNT1 A 0 A_SpawnDebris("DukeGibs1")
	TNT1 A 0 A_SpawnDebris("DukeGibs2")
	TNT1 A 0 A_SpawnDebris("DukeGibs3")
	TNT1 A 0 A_SpawnDebris("GutsGib")
	TNT1 A 0 A_SpawnDebris("DukeGibs5")
	TNT1 A 0 A_SpawnDebris("BloodSplurt")
	Stop
  Raise:
    ZSP1 LKJIH 5
    Goto See
  Death.Fire:
	ZSP1 G 0 A_NoBlocking
	ZSP1 G 0 A_SpawnItem("BurningBoi")
	TNT1 A -1
	Stop
  }
}