mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-17 09:41:21 +00:00
c7644ca34e
- Added DECORATE support for setting an actor's args. If this is done it will also disable the actor's special that can be set in a map. This is for actors that want to use A_CountdownArg or similar functions that use the args for something different than the special's parameters. - Converted a_sharedmisc.cpp to DECORATE. - Added a new NActorIterator that can search for classes specified by name. - Added a new constructor to TThinkerIterator that can search for DECORATE defined subclasses that are not represented by a real C++ class. - Fixed: BuildInfoDefaults must set the parent symbol table so that all actors can get to the global symbols stored in AActor. - Fixed some minor inconsistencies in the Arch-Vile's DECORATE definition. - Fixed: A_VileAttack moved the flame without relinking it into the sector lists. It also forgot to set the z-position correctly. (original Doom bug.) - Fixed: The Doom 2 cast finale didn't work with the dynamic state name handling. SVN r401 (trunk)
85 lines
1.5 KiB
Text
85 lines
1.5 KiB
Text
//===========================================================================
|
|
//
|
|
// Arch Vile
|
|
//
|
|
//===========================================================================
|
|
|
|
ACTOR Archvile 64
|
|
{
|
|
Game Doom
|
|
SpawnID 111
|
|
Health 700
|
|
Radius 20
|
|
Height 56
|
|
Mass 500
|
|
Speed 15
|
|
PainChance 10
|
|
Monster
|
|
+QUICKTORETALIATE
|
|
+SHORTMISSILERANGE
|
|
+FLOORCLIP
|
|
+NOTARGET
|
|
SeeSound "vile/sight"
|
|
PainSound "vile/pain"
|
|
DeathSound "vile/death"
|
|
ActiveSound "vile/active"
|
|
MeleeSound "vile/stop"
|
|
Obituary "$OB_VILE"
|
|
States
|
|
{
|
|
Spawn:
|
|
VILE AB 10 A_Look
|
|
Loop
|
|
See:
|
|
VILE AABBCCDDEEFF 2 A_VileChase
|
|
Loop
|
|
Missile:
|
|
VILE G 0 BRIGHT A_VileStart
|
|
VILE G 10 BRIGHT A_FaceTarget
|
|
VILE H 8 BRIGHT A_VileTarget
|
|
VILE IJKLMN 8 BRIGHT A_FaceTarget
|
|
VILE O 8 BRIGHT A_VileAttack
|
|
VILE P 20 BRIGHT
|
|
Goto See
|
|
Heal:
|
|
VILE "[\]" 10 BRIGHT
|
|
Goto See
|
|
Pain:
|
|
VILE Q 5
|
|
VILE Q 5 A_Pain
|
|
Goto See
|
|
Death:
|
|
VILE Q 7
|
|
VILE R 7 A_Scream
|
|
VILE S 7 A_NoBlocking
|
|
VILE TUVWXY 7
|
|
VILE Z -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
|
|
//===========================================================================
|
|
//
|
|
// Arch Vile Fire
|
|
//
|
|
//===========================================================================
|
|
|
|
ACTOR ArchvileFire
|
|
{
|
|
+NOBLOCKMAP +NOGRAVITY
|
|
RenderStyle Add
|
|
Alpha 1
|
|
States
|
|
{
|
|
Spawn:
|
|
FIRE A 2 BRIGHT A_StartFire
|
|
FIRE BAB 2 BRIGHT A_Fire
|
|
FIRE C 2 BRIGHT A_FireCrackle
|
|
FIRE BCBCDCDCDEDED 2 BRIGHT A_Fire
|
|
FIRE E 2 BRIGHT A_FireCrackle
|
|
FIRE FEFEFGHGHGH 2 BRIGHT A_Fire
|
|
Stop
|
|
}
|
|
}
|
|
|