Classes:EntitySecond

From ZDoom Wiki

Jump to: navigation, search
Alien sub-entity
Actor type Monster Game
DoomEd Number None Class Name EntitySecond
Conversation ID 75 Puzzle Item ID N/A

Classes: SpectralMonsterEntitySecond

This actor needs a description.

DECORATE definition

ACTOR EntitySecond : SpectralMonster
{
  ConversationID 75,-1,-1
  Health 990
  Painchance 255
  Speed 14
  Radius 130
  Height 200
  FloatSpeed 5
  Mass 1000
  Monster
  +SPECIAL
  +NOGRAVITY
  +FLOAT
  +SHADOW
  +NOTDMATCH
  +DONTMORPH
  +NOBLOCKMONST
  +INCOMBAT
  +LOOKALLAROUND
  +SPECTRAL
  +NOICEDEATH
  MinMissileChance 150
  RenderStyle Translucent
  Alpha 0.25
  SeeSound "alienspectre/sight"
  AttackSound "alienspectre/blade"
  PainSound "alienspectre/pain"
  DeathSound "alienspectre/death"
  ActiveSound "alienspectre/active"
  Obituary "$OB_ENTITY" // "%o felt the wrath of The One God."

  action native A_SubEntityDeath ();

  States
  {
  Spawn:
    MNAL R 10 Bright A_Look
    Loop
  See:
    MNAL R 5 Bright A_SentinelBob
    MNAL ST 5 Bright A_Chase
    MNAL U 5 Bright A_SentinelBob
    MNAL V 5 Bright A_Chase
    MNAL W 5 Bright A_SentinelBob
    Loop
  Melee:
    MNAL S 4 Bright A_FaceTarget
    MNAL R 4 Bright A_CustomMeleeAttack((random[SpectreMelee](0,255)&9)*5)
    MNAL T 4 Bright A_SentinelBob
    Goto See+1
  Missile:
    MNAL W 4 Bright A_FaceTarget
    MNAL U 4 Bright A_CustomMissile("SpectralLightningH3",32,0)
    MNAL V 4 Bright A_SentinelBob
    Goto See+4
  Pain:
    MNAL R 2 Bright A_Pain
    Goto See
  Death:
    MDTH A 3 Bright A_Scream
    MDTH B 3 Bright A_TossGib
    MDTH C 3 Bright A_NoBlocking
    MDTH DEFGHIJKLMN 3 Bright A_TossGib
    MDTH O 3 Bright A_SubEntityDeath
    Stop
  }
}
Personal tools