Classes:FireDemon

From ZDoom Wiki

Jump to: navigation, search
Afrit
Actor type Monster Game
DoomEd Number 10060 Class Name FireDemon
Spawn ID 5 Identifier T_FIREGARGOYLE

Classes: FireDemon

A close cousin of the gargoyles from Heretic, the afrit looks like a small black gargoyles wreathed in flames. It is more aggressive and mobile than the gargoyles, though, and often sends volleys of fireballs while strafing.

DECORATE definition

ACTOR FireDemon 10060
{
   Game Hexen
   SpawnID 5
   Health 80
   ReactionTime 8
   PainChance 1
   Speed 13
   Radius 20
   Height 68
   Mass 75
   Damage 1
   Monster
   +DROPOFF
   +NOGRAVITY
   +FLOAT
   +FLOORCLIP
   +INVULNERABLE
   +TELESTOMP
   SeeSound "FireDemonSpawn"
   PainSound "FireDemonPain"
   DeathSound "FireDemonDeath"
   ActiveSound "FireDemonActive"
   Obituary "$OB_FIREDEMON" // "%o tasted an Afrit's fire."

   action native A_FiredRocks();
   action native A_FiredChase();
   action native A_FiredAttack();
   action native A_FiredSplotch();

   States
   {
   Spawn:
       FDMN X 5 Bright
       FDMN EFG 10 Bright A_Look
       Goto Spawn + 1
   See:
       FDMN E 8 Bright
       FDMN F 6 Bright
       FDMN G 5 Bright
       FDMN F 8 Bright
       FDMN E 6 Bright
       FDMN G 7 Bright A_FiredRocks
       FDMN HI 5 Bright
       FDMN J 5 Bright A_UnSetInvulnerable
   Chase:
       FDMN ABC 5 Bright A_FiredChase
       Loop
   Pain:
       FDMN D 6 Bright A_Pain
       Goto Chase
   Missile:
       FDMN K 3 Bright A_FaceTarget
       FDMN KKK 5 Bright A_FiredAttack
       Goto Chase
   Crash:
   XDeath:
       FDMN M 5 A_FaceTarget
       FDMN N 5 A_NoBlocking
       FDMN O 5 A_FiredSplotch
       Stop
   Death:
       FDMN D 4 Bright A_FaceTarget
       FDMN L 4 Bright A_Scream
       FDMN L 4 Bright A_NoBlocking
       FDMN L 200 Bright
       Stop
   Ice:
       FDMN R 5 A_FreezeDeath
       FDMN R 1 A_FreezeDeathChunks
       Wait
   }
}
Personal tools