gzdoom-gles/wadsrc/static/actors/strife/stalker.txt
Christoph Oelckers 6b3325b358 - Converted the rest of a_strifestuff.cpp to DECORATE.
- Fixed: AStalker::CheckMeleeRange did not perform all checks of AActor::CheckMeleeRange.
  I replaced this virtual override with a new flag MF5_NOVERTICALMELEERANGE so that
  this feature can also be used by other actors.
- Converted Strife's Stalker to DECORATE.
- Converted ArtiTeleport to DECORATE.


SVN r1126 (trunk)
2008-08-07 20:16:07 +00:00

78 lines
1.4 KiB
Text

// Stalker ------------------------------------------------------------------
ACTOR Stalker 186
{
Game Strife
ConversationID 92,-1,-1
Health 80
Painchance 40
Speed 16
Radius 31
Height 25
Monster
+NOGRAVITY
+DROPOFF
+NOBLOOD
+SPAWNCEILING
+INCOMBAT
+NOVERTICALMELEERANGE
MaxDropOffHeight 32
MinMissileChance 150
SeeSound "stalker/sight"
AttackSound "stalker/attack"
PainSound "stalker/pain"
DeathSound "stalker/death"
ActiveSound "stalker/active"
HitObituary "$OB_STALKER"
action native A_StalkerLookInit ();
action native A_StalkerChaseDecide ();
action native A_StalkerWalk ();
action native A_StalkerDrop ();
action native A_StalkerAttack ();
states
{
Spawn:
STLK A 1 A_StalkerLookInit
Loop
LookCeiling:
STLK A 10 A_Look
Loop
LookFloor:
STLK J 10 A_Look
Loop
See:
STLK A 1 A_StalkerChaseDecide
STLK ABB 3 A_Chase
STLK C 3 A_StalkerWalk
STLK C 3 A_Chase
Loop
Melee:
STLK J 3 A_FaceTarget
STLK K 3 A_StalkerAttack
SeeFloor:
STLK J 3 A_StalkerWalk
STLK JKK 3 A_Chase
STLK L 3 A_StalkerWalk
STLK L 3 A_Chase
Loop
Pain:
STLK L 1 A_Pain
Goto See
Drop:
STLK C 2 A_StalkerDrop
STLK IHGFED 3
Goto SeeFloor
Death:
STLK O 4
STLK P 4 A_Scream
STLK QRST 4
STLK U 4 A_NoBlocking
STLK VW 4
STLK "XYZ[" 4 Bright
Stop
}
}