mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-12-18 08:31:03 +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)
51 lines
963 B
Text
51 lines
963 B
Text
//===========================================================================
|
|
//
|
|
// Lost Soul
|
|
//
|
|
//===========================================================================
|
|
ACTOR LostSoul 3006
|
|
{
|
|
Game Doom
|
|
SpawnID 110
|
|
Health 100
|
|
Radius 16
|
|
Height 56
|
|
Mass 50
|
|
Speed 8
|
|
Damage 3
|
|
PainChance 256
|
|
Monster
|
|
+FLOAT +NOGRAVITY +MISSILEMORE +DONTFALL +NOICEDEATH
|
|
AttackSound "skull/melee"
|
|
PainSound "skull/pain"
|
|
DeathSound "skull/death"
|
|
ActiveSound "skull/active"
|
|
RenderStyle SoulTrans
|
|
Obituary "$OB_SKULL"
|
|
States
|
|
{
|
|
Spawn:
|
|
SKUL AB 10 BRIGHT A_Look
|
|
Loop
|
|
See:
|
|
SKUL AB 6 BRIGHT A_Chase
|
|
Loop
|
|
Missile:
|
|
SKUL C 10 BRIGHT A_FaceTarget
|
|
SKUL D 4 BRIGHT A_SkullAttack
|
|
SKUL CD 4 BRIGHT
|
|
Goto Missile+2
|
|
Pain:
|
|
SKUL E 3 BRIGHT
|
|
SKUL E 3 BRIGHT A_Pain
|
|
Goto See
|
|
Death:
|
|
SKUL F 6 BRIGHT
|
|
SKUL G 6 BRIGHT A_Scream
|
|
SKUL H 6 BRIGHT
|
|
SKUL I 6 BRIGHT A_NoBlocking
|
|
SKUL J 6
|
|
SKUL K 6
|
|
Stop
|
|
}
|
|
}
|