Classes:ShotgunGuy

From ZDoom Wiki

Jump to: navigation, search
Sergeant
Actor type Monster Game Image:MiniDoomLogoIcon.png
DoomEd Number 9 Class Name ShotgunGuy
Spawn ID 1 Identifier T_SHOTGUY

Classes: ShotgunGuy
 →StealthShotgunGuy
 →DeadShotgunGuy


The Shotgun Zombie, more commonly known as Sergeants or Shotgunners, are zombies with a shotgun. They can be particularly dangerous to the player at close range.


DECORATE definition

actor ShotgunGuy 9
{
  spawnid 1
  obituary "%o was shot by a sergeant."
  health 30
  radius 20
  height 56
  mass 100
  speed 8
  painchance 170
  seesound "shotguy/sight"
  attacksound "shotguy/attack"
  painsound "shotguy/pain"
  deathsound "shotguy/death"
  activesound "shotguy/active"
  dropitem "Shotgun" 256
  MONSTER
  +FLOORCLIP
  states
  {
  Spawn:
    SPOS AB 10 A_Look
    loop
  See:
    SPOS AABBCCDD 3 A_Chase
    loop
  Missile:
    SPOS E 10 A_FaceTarget
    SPOS F 10 bright A_SPosAttack
    SPOS E 10
    goto See
  Pain:
    SPOS G 3
    SPOS G 3 A_Pain
    goto See
  Death:
    SPOS H 5
    SPOS I 5 A_Scream
    SPOS J 5 A_NoBlocking
    SPOS K 5
    SPOS L -1
    stop
  XDeath:
    SPOS M 5
    SPOS N 5 A_XScream
    SPOS O 5 A_NoBlocking
    SPOS PQRST 5
    SPOS U -1
    stop
  Raise:
    SPOS LKJIH 5
    goto See
  }
}
Personal tools