mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 04:50:26 +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)
42 lines
685 B
Text
42 lines
685 B
Text
//===========================================================================
|
|
//
|
|
// Commander Keen
|
|
//
|
|
//===========================================================================
|
|
ACTOR CommanderKeen 72
|
|
{
|
|
Game Doom
|
|
Health 100
|
|
Radius 16
|
|
Height 72
|
|
Mass 10000000
|
|
PainChance 256
|
|
+SOLID
|
|
+SPAWNCEILING
|
|
+NOGRAVITY
|
|
+SHOOTABLE
|
|
+COUNTKILL
|
|
+NOICEDEATH
|
|
PainSound "keen/pain"
|
|
DeathSound "keen/death"
|
|
States
|
|
{
|
|
Spawn:
|
|
KEEN A -1
|
|
Loop
|
|
Death:
|
|
KEEN AB 6
|
|
KEEN B 6
|
|
KEEN C 6 A_Scream
|
|
KEEN DEFGH 6
|
|
KEEN I 6 A_NoBlocking
|
|
KEEN J 6
|
|
KEEN K 6 A_KeenDie
|
|
KEEN L -1
|
|
Stop
|
|
Pain:
|
|
KEEN M 4
|
|
KEEN M 8 A_Pain
|
|
Goto Spawn
|
|
}
|
|
}
|