mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 09:11:17 +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)
92 lines
1.5 KiB
Text
92 lines
1.5 KiB
Text
|
|
// Default actor for unregistered doomednums -------------------------------
|
|
|
|
ACTOR Unknown
|
|
{
|
|
Radius 32
|
|
Height 56
|
|
+NOGRAVITY
|
|
+NOBLOCKMAP
|
|
+DONTSPLASH
|
|
States
|
|
{
|
|
Spawn:
|
|
UNKN A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Route node for monster patrols -------------------------------------------
|
|
|
|
ACTOR PatrolPoint 9024
|
|
{
|
|
Radius 8
|
|
Height 8
|
|
Mass 10
|
|
+NOGRAVITY
|
|
+NOBLOCKMAP
|
|
+DONTSPLASH
|
|
RenderStyle None
|
|
}
|
|
|
|
// A special to execute when a monster reaches a matching patrol point ------
|
|
|
|
ACTOR PatrolSpecial 9047
|
|
{
|
|
Radius 8
|
|
Height 8
|
|
Mass 10
|
|
+NOGRAVITY
|
|
+NOBLOCKMAP
|
|
+DONTSPLASH
|
|
RenderStyle None
|
|
}
|
|
|
|
// Map spot ----------------------------------------------------------------
|
|
|
|
ACTOR MapSpot 9001
|
|
{
|
|
+NOBLOCKMAP
|
|
+NOSECTOR
|
|
+NOGRAVITY
|
|
+DONTSPLASH
|
|
RenderStyle None
|
|
}
|
|
|
|
// Map spot with gravity ---------------------------------------------------
|
|
|
|
ACTOR MapSpotGravity : MapSpot 9013
|
|
{
|
|
-NOBLOCKMAP
|
|
-NOSECTOR
|
|
-NOGRAVITY
|
|
}
|
|
|
|
// Bloody gibs -------------------------------------------------------------
|
|
|
|
ACTOR RealGibs
|
|
{
|
|
+DROPOFF
|
|
+CORPSE
|
|
+NOTELEPORT
|
|
+DONTGIB
|
|
States
|
|
{
|
|
Spawn:
|
|
POL5 A -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Gibs that can be placed on a map. ---------------------------------------
|
|
//
|
|
// These need to be a separate class from the above, in case someone uses
|
|
// a deh patch to change the gibs, since ZDoom actually creates a gib actor
|
|
// for actors that get crushed instead of changing their state as Doom did.
|
|
|
|
ACTOR Gibs : RealGibs 24
|
|
{
|
|
Game Doom
|
|
SpawnID 146
|
|
ClearFlags
|
|
}
|