mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-07 05:20:38 +00:00
bf4e17703d
- Changed the definition of several typedef'd structs so that they are properly named. - Limited DEHSUPP lump lookup to search zdoom.pk3 only. It will no longer be possible to load DEHSUPP lumps from user WADs. - Brought back the text-based DEHSUPP parser and changed it to be able to reference states by label. Also changed label names of DoomUnusedStates and added proper labels to all states that were previously forced to be the first state of an actor so that the old (limited) method could access them. This was done to address the following bug: - Fixed: The player's death states calling A_PlayerSkinCheck should not be part of the state set that is accessible by Dehacked. These will produce error messages when mapped to non-players. SVN r1512 (trunk)
81 lines
1.3 KiB
Text
81 lines
1.3 KiB
Text
// The barrel of green goop ------------------------------------------------
|
|
|
|
ACTOR ExplosiveBarrel 2035
|
|
{
|
|
Game Doom
|
|
SpawnID 125
|
|
Health 20
|
|
Radius 10
|
|
Height 34
|
|
+SOLID
|
|
+SHOOTABLE
|
|
+NOBLOOD
|
|
+ACTIVATEMCROSS
|
|
+DONTGIB
|
|
+NOICEDEATH
|
|
+OLDRADIUSDMG
|
|
DeathSound "world/barrelx"
|
|
Obituary "$OB_BARREL"
|
|
States
|
|
{
|
|
Spawn:
|
|
BAR1 AB 6
|
|
Loop
|
|
Death:
|
|
BEXP A 5 BRIGHT
|
|
BEXP B 5 BRIGHT A_Scream
|
|
BEXP C 5 BRIGHT
|
|
BEXP D 5 BRIGHT A_Explode
|
|
BEXP E 10 BRIGHT
|
|
BEXP E 1050 BRIGHT A_BarrelDestroy
|
|
BEXP E 5 A_Respawn
|
|
Wait
|
|
}
|
|
}
|
|
|
|
// Bullet puff -------------------------------------------------------------
|
|
|
|
ACTOR BulletPuff
|
|
{
|
|
Game Doom
|
|
SpawnID 131
|
|
+NOBLOCKMAP
|
|
+NOGRAVITY
|
|
+ALLOWPARTICLES
|
|
+RANDOMIZE
|
|
RenderStyle Translucent
|
|
Alpha 0.5
|
|
VSpeed 1
|
|
Mass 5
|
|
States
|
|
{
|
|
Spawn:
|
|
PUFF A 4 Bright
|
|
PUFF B 4
|
|
Melee:
|
|
PUFF CD 4
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Container for an unused state -------------------------------------------
|
|
|
|
/* Doom defined the states S_STALAG, S_DEADTORSO, and S_DEADBOTTOM but never
|
|
* actually used them. For compatibility with DeHackEd patches, they still
|
|
* need to be kept around. This actor serves that purpose.
|
|
*/
|
|
|
|
ACTOR DoomUnusedStates
|
|
{
|
|
States
|
|
{
|
|
Label1:
|
|
SMT2 A -1
|
|
stop
|
|
Label2:
|
|
PLAY N -1
|
|
stop
|
|
PLAY S -1
|
|
stop
|
|
}
|
|
}
|