mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-24 11:20:54 +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)
61 lines
1.1 KiB
Text
61 lines
1.1 KiB
Text
//===========================================================================
|
|
//
|
|
// Spider boss
|
|
//
|
|
//===========================================================================
|
|
ACTOR SpiderMastermind 7
|
|
{
|
|
Game Doom
|
|
SpawnID 7
|
|
Health 3000
|
|
Radius 100
|
|
Height 100
|
|
Mass 1000
|
|
Speed 12
|
|
PainChance 40
|
|
Monster
|
|
MinMissileChance 160
|
|
+BOSS
|
|
+MISSILEMORE
|
|
+FLOORCLIP
|
|
+NORADIUSDMG
|
|
+DONTMORPH
|
|
+BOSSDEATH
|
|
SeeSound "spider/sight"
|
|
AttackSound "spider/attack"
|
|
PainSound "spider/pain"
|
|
DeathSound "spider/death"
|
|
ActiveSound "spider/active"
|
|
Obituary "$OB_SPIDER"
|
|
States
|
|
{
|
|
Spawn:
|
|
SPID AB 10 A_Look
|
|
Loop
|
|
See:
|
|
SPID A 3 A_Metal
|
|
SPID ABB 3 A_Chase
|
|
SPID C 3 A_Metal
|
|
SPID CDD 3 A_Chase
|
|
SPID E 3 A_Metal
|
|
SPID EFF 3 A_Chase
|
|
Loop
|
|
Missile:
|
|
SPID A 20 BRIGHT A_FaceTarget
|
|
SPID G 4 BRIGHT A_SPosAttackUseAtkSound
|
|
SPID H 4 BRIGHT A_SposAttackUseAtkSound
|
|
SPID H 1 BRIGHT A_SpidRefire
|
|
Goto Missile+1
|
|
Pain:
|
|
SPID I 3
|
|
SPID I 3 A_Pain
|
|
Goto See
|
|
Death:
|
|
SPID J 20 A_Scream
|
|
SPID K 10 A_NoBlocking
|
|
SPID LMNOPQR 10
|
|
SPID S 30
|
|
SPID S -1 A_BossDeath
|
|
Stop
|
|
}
|
|
}
|