mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-16 17:31:23 +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)
63 lines
1.1 KiB
Text
63 lines
1.1 KiB
Text
|
|
//===========================================================================
|
|
//
|
|
// Cyberdemon
|
|
//
|
|
//===========================================================================
|
|
ACTOR Cyberdemon 16
|
|
{
|
|
Game Doom
|
|
SpawnID 114
|
|
Health 4000
|
|
Radius 40
|
|
Height 110
|
|
Mass 1000
|
|
Speed 16
|
|
PainChance 20
|
|
Monster
|
|
MinMissileChance 160
|
|
+BOSS
|
|
+MISSILEMORE
|
|
+FLOORCLIP
|
|
+NORADIUSDMG
|
|
+DONTMORPH
|
|
+BOSSDEATH
|
|
SeeSound "cyber/sight"
|
|
PainSound "cyber/pain"
|
|
DeathSound "cyber/death"
|
|
ActiveSound "cyber/active"
|
|
Obituary "$OB_CYBORG"
|
|
States
|
|
{
|
|
Spawn:
|
|
CYBR AB 10 A_Look
|
|
Loop
|
|
See:
|
|
CYBR A 3 A_Hoof
|
|
CYBR ABBCC 3 A_Chase
|
|
CYBR D 3 A_Metal
|
|
CYBR D 3 A_Chase
|
|
Loop
|
|
Missile:
|
|
CYBR E 6 A_FaceTarget
|
|
CYBR F 12 A_CyberAttack
|
|
CYBR E 12 A_FaceTarget
|
|
CYBR F 12 A_CyberAttack
|
|
CYBR E 12 A_FaceTarget
|
|
CYBR F 12 A_CyberAttack
|
|
Goto See
|
|
Pain:
|
|
CYBR G 10 A_Pain
|
|
Goto See
|
|
Death:
|
|
CYBR H 10
|
|
CYBR I 10 A_Scream
|
|
CYBR JKL 10
|
|
CYBR M 10 A_NoBlocking
|
|
CYBR NO 10
|
|
CYBR P 30
|
|
CYBR P -1 A_BossDeath
|
|
Stop
|
|
}
|
|
}
|
|
|