mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-12 15:44:24 +00:00
8c2f651bdb
- After doing some tests with state label scopes I had to conclude that using '.' both for separating sub-state-labels and scope resolution identifiers does not work reliably unless all actor class names were prohibited from being used as state labels. Since that is undesirable the only solution is to change the scope resolution operator. Fortunately no WADs so far have used it so implementing such a breaking change isn't a major issue. Now it uses '::', like C++ for this purpose. - Converted Revenant, Mancubus and Pain Elemental to DECORATE. SVN r375 (trunk)
117 lines
2 KiB
Text
117 lines
2 KiB
Text
//===========================================================================
|
|
//
|
|
// Revenant
|
|
//
|
|
//===========================================================================
|
|
ACTOR Revenant 66
|
|
{
|
|
Game Doom
|
|
SpawnID 20
|
|
Health 300
|
|
Radius 20
|
|
Height 56
|
|
Mass 500
|
|
Speed 10
|
|
PainChance 100
|
|
Monster
|
|
+LONGMELEERANGE
|
|
+MISSILEMORE
|
|
+FLOORCLIP
|
|
SeeSound "skeleton/sight"
|
|
PainSound "skeleton/pain"
|
|
DeathSound "skeleton/death"
|
|
ActiveSound "skeleton/active"
|
|
MeleeSound "skeleton/melee"
|
|
HitObituary "$OB_UNDEADHIT"
|
|
Obituary "$OB_UNDEAD"
|
|
States
|
|
{
|
|
Spawn:
|
|
SKEL AB 10 A_Look
|
|
Loop
|
|
See:
|
|
SKEL AABBCCDDEEFF 2 A_Chase
|
|
Loop
|
|
Melee:
|
|
SKEL G 1 A_FaceTarget
|
|
SKEL G 6 A_SkelWhoosh
|
|
SKEL H 6 A_FaceTarget
|
|
SKEL I 6 A_SkelFist
|
|
Goto See
|
|
Missile:
|
|
SKEL J 1 BRIGHT A_FaceTarget
|
|
SKEL J 9 BRIGHT A_FaceTarget
|
|
SKEL K 10 A_SkelMissile
|
|
SKEL K 10 A_FaceTarget
|
|
Goto See
|
|
Pain:
|
|
SKEL L 5
|
|
SKEL L 5 A_Pain
|
|
Goto See
|
|
Death:
|
|
SKEL LM 7
|
|
SKEL N 7 A_Scream
|
|
SKEL O 7 A_NoBlocking
|
|
SKEL P 7
|
|
SKEL Q -1
|
|
Stop
|
|
Raise:
|
|
SKEL Q 5
|
|
SKEL PONML 5
|
|
Goto See
|
|
}
|
|
}
|
|
|
|
|
|
//===========================================================================
|
|
//
|
|
// Revenant Tracer
|
|
//
|
|
//===========================================================================
|
|
ACTOR RevenantTracer
|
|
{
|
|
Game Doom
|
|
SpawnID 53
|
|
Radius 11
|
|
Height 8
|
|
Speed 10
|
|
Damage 10
|
|
Projectile
|
|
+SEEKERMISSILE
|
|
+RANDOMIZE
|
|
SeeSound "skeleton/attack"
|
|
DeathSound "skeleton/tracex"
|
|
RenderStyle Add
|
|
States
|
|
{
|
|
Spawn:
|
|
FATB AB 2 BRIGHT A_Tracer
|
|
Loop
|
|
Death:
|
|
FBXP A 8 BRIGHT
|
|
FBXP B 6 BRIGHT
|
|
FBXP C 4 BRIGHT
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
//===========================================================================
|
|
//
|
|
// Revenant Tracer Smoke
|
|
//
|
|
//===========================================================================
|
|
ACTOR RevenantTracerSmoke
|
|
{
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+NOTELEPORT
|
|
RenderStyle Translucent
|
|
Alpha 0.5
|
|
States
|
|
{
|
|
Spawn:
|
|
PUFF ABABC 4
|
|
Stop
|
|
}
|
|
}
|