Classes:KnightGhost

From ZDoom Wiki
Revision as of 09:35, 21 August 2007 by Kenon (talk | contribs) (New page: The Undead Warriors are enemies from Heretic. They look like skeletons in armor with horned helmets and red capes. When attacking from a distance, they throw green enchanted axes, or blood...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Undead Warriors are enemies from Heretic. They look like skeletons in armor with horned helmets and red capes. When attacking from a distance, they throw green enchanted axes, or bloody red axes that deal extra damage. At close range, they slash with their axe. There is also a ghost version, which throws only red axes. When killed, Undead Warriors sometimes drop Ethereal Arrows.

Some source ports refer to the Undead Warrior as "Knight" or "Skeleton".

ACTOR FKnightGhost 3001
{
   Health 200
   Radius 24 
   Height 78
   Mass 150
   Speed 12
   PainChance 33
   MONSTER
   +GHOST
   SeeSound "Knight/sight"
   AttackSound "Knight/attack"
   PainSound "Knight/pain"
   DeathSound "Knight/death"
   ActiveSound "Knight/active"
   States
   {
   Spawn:
       KNIG A 5 A_Look
       KNIG B 5 A_Look
       Loop
   See:
       KNIG A 4 A_CHASE
       KNIG B 4 A_CHASE
       KNIG C 4 A_CHASE
       KNIG D 4 A_CHASE
       Loop
   Missile:
       KNIG E 10 A_FACETARGET
       KNIG F 8 A_FACETARGET
       KNIG G 0 A_Jump(43, 3)
       KNIG G 8 A_CustomMissile("GreenAxe",32,0,0,0)
       goto see
   //GreenAxe
       KNIG G 8  A_CustomMissile("GreenAxe",32,0,0,0)
       goto see
   //RedAxe
       KNIG G 8  A_CustomMissile("RedAxe",32,0,0,0)
       goto see
   Pain:
       KNIG H 3
       KNIG H 3 A_PlaySound("knight/pain")
       goto see
   Death:
       KNIG I 6 A_PlaySound("knight/death")
       KNIG J 6
       KNIG K 6
       KNIG L 6 A_NoBlocking
       KNIG M 6
       KNIG N 6
       KNIG O -1
       Stop
   }
}