Classes:ChaingunGuy

From ZDoom Wiki

Jump to: navigation, search
Heavy Weapon Dude
Actor type Monster Game Image:MiniDoom2LogoIcon.png
DoomEd Number 65 Class Name ChaingunGuy
Spawn ID 2 Identifier T_CHAINGUY

Classes: ChaingunGuy
 →StealthChaingunGuy


The Chaingun Zombie, aka "Former Human Commando", totes a huge chaingun and can whittle a player's health down in seconds. Luckily, they can't take much damage and can be easily dispatched. They drop their chaingun when they die. They will even mow through their own ranks if you can get around them.


DECORATE definition

actor ChaingunGuy 65
{
  spawnid 2
  obituary "%o was perforated by a chaingunner."
  health 70
  radius 20
  height 56
  mass 100
  speed 8
  painchance 170
  seesound "chainguy/sight"
  attacksound "chainguy/attack"
  painsound "chainguy/pain"
  deathsound "chainguy/death"
  activesound "chainguy/active"
  dropitem "Chaingun" 256
  MONSTER
  +FLOORCLIP
  states
  {
  Spawn:
    CPOS AB 10 A_Look
    loop
  See:
    CPOS AABBCCDD 3 A_Chase
    loop
  Missile:
    CPOS E 10 A_FaceTarget
    CPOS FE 4 bright A_CPosAttack
    CPOS F 1 A_CPosRefire
    goto Missile+1
  Pain:
    CPOS G 3
    CPOS G 3 A_Pain
    goto See
  Death:
    CPOS H 5
    CPOS I 5 A_Scream
    CPOS J 5 A_NoBlocking
    CPOS KLM 5
    CPOS N -1
    stop
  XDeath:
    CPOS O 5
    CPOS P 5 A_XScream
    CPOS Q 5 A_NoBlocking
    CPOS RS 5
    CPOS T -1
    stop
  Raise:
    CPOS NMLKJIH 5
    goto See
  }
}
Personal tools