Actor flags
From ZDoom Wiki
Flags control various characteristics of your actor, varying from appearance to physical properties. Remember that you can get a basic set of flags by using the Monster or Projectile property keywords. However, you will invariably feel the need to dabble with at least a few of these flags. To use, simply specify the flag within the actor's DECORATE definition and outside the state block. You can set or clear a flag as follows:
- +FLAGNAME sets a flag
- -FLAGNAME clears a flag
| Tip: You can set any flag on or off in an actor's state using A_ChangeFlag. |
Contents |
General Flags
The following flags can be used with any actor.
Physics
- SOLID
- Set when the object should be solid (blocking). The size of the blocking is defined using the height and radius properties.
- → Automatically given by the Monster combo
- SHOOTABLE
- Object can be damaged. If health goes below 0 it enters its death state.
- → Automatically given by the Monster combo
- FLOAT
- Floating actor that can change height at will (usually used for monsters). The speed of the float can be defined with its floatspeed property. Actors will not be able to float properly unless it has NOGRAVITY set. If set with FLOORCLIP, the actor will be able to walk off edges from heights.
- NOGRAVITY
- Actor is not subject to gravity.
- → Automatically given by the Projectile combo
- WINDTHRUST
- PUSHABLE
- Actor can be pushed.
- DONTFALL
- Doesn't fall down after being killed.
- CANPASS
- Actor uses height sensitive collision detection. Use with care! This only makes sense on actors that can move by themselves. This flag is needed so that an actor can stand on sprite bridges.
- → Automatically given by the Monster combo
- ACTLIKEBRIDGE
- Uses the special collision logic for bridge things. Most importantly bridge things allow everything else to pass above and beneath regardless of the setting of the CANPASS flag.
- NOBLOCKMAP
- This object is excluded from passive collision detection. Nothing else can run into a NOBLOCKMAP object but the object itself can run into others.
- → Automatically given by the Projectile combo
- MOVEWITHSECTOR
- Actor follows sector height changes as normal. This flag is only meaningful if set on an actor with NOBLOCKMAP set.
- NOLIFTDROP
- Does not drop when a lift under it lowers.
- SLIDESONWALLS
- Actor can slide along walls. Used for players and actors that are pushed against walls.
- NODROPOFF
- Makes tall dropoffs block any movement by this actor. Normally this is only being done for monster movement but not for thrust by damage or scrolling sectors.
- NOTRIGGER (New from 2.4.1)
- Disables all line action (crossing, impacting, using, etc.) for the actor.
- BLOCKEDBYSOLIDACTORS (development version r2350+ only)
- An actor with with flag is blocked by solid actors, even if itself non-solid. If the actor does not have the CANPASS flag as well, solid things are infinitely tall for it. An effect of this flag is that PoisonCloud actors spawned from a ZPoisonShroom are stuck in the mushroom (which is solid) and unable to be pushed away by the Disc of Repulsion, whereas the same actor spawned from a PoisonBag can be blasted away.
Behavior
- AMBUSH
- Monster is set to ambush players: The monster will not wake up after hearing the player until it has a direct line of sight to him (It does not need to be facing him, however). Normally this is set in an editor on a per-object basis. Note that some editors call this flag "Deaf," but this is a misnomer. The monster can still hear the player with this flag set!
- AVOIDMELEE (New from 2.4.1)
- Monster backs away from melee combat when too near from its target, provided it has a valid Missile state. A bot with this flag needs to have a ranged weapon selected.
- BOSS
- Actor is a boss, and has the following special properties:
- Plays See sound and Death sound at full volume (regardless of distance), and play these sounds in surround mode during the cast endgame.
- Cannot be squashed (normally instant death) by Heretic's powered-up Mace.
- Cannot be teleported by Hexen's Banishment Device.
- Cannot be pushed by items such as Hexen's Disc of Repulsion, or damaged by other monsters thrown at the boss by these items.
- Takes only one-quarter of the damage from Hexen's Wraithverge spirits, burns said spirit out faster than other monsters, and reflects them against the attacker if the boss also has the REFLECTIVE flag.
- Has a chance to resist Hexen's Arcs of Death.
- Does not take fire damage when indirectly affected by Hexen's Bloodscourge's projectiles.
- Takes only 50 damage from a poison bolt, instead of instantly killed.
- NOSPLASHALERT
- This monster is not alerted by terrain splash sounds like landing in water. Splashes are defined in TERRAIN and are not always literally "splashes".
- LOOKALLAROUND
- Looks in all directions for targets, not just in front of itself when A_Look or one of its variants is called.
- STANDSTILL
- It is used to prevent inactive monsters from walking around without having something to attack. Strife's special logic for humanoids and ZDoom's friendly monsters use this.
- QUICKTORETALIATE
- Normally, when an actor acquires a target, it is prevented from switching to a new target for a set period of time (Specifically, it sets a counter at 100 and counts down by 1 for every A_Chase call the actor makes). If this flag is set, the monster is exempted from that code and is free to switch targets repeatedly. Monsters with this set will tend to turn on a new attacker immediately, rather than focusing on their current target. The Archvile uses this flag.
- DORMANT
- Actor is dormant and has to be activated with Thing_Activate. Dormant actors can't do anything and don't take damage.
- FRIENDLY
- This monster doesn't target the player. Instead it attacks other monsters. Currently friendly monsters only target unfriendly monsters when they see the Player, and unfriendly monsters will never attack friendly monsters unless they are attacked first. Also note that monsters resurrected or spawned by friendly monsters (Arch-Vile, Pain Elementals, Icon of Sin, etc.) are friendly; and inversely a dead friendly monster resurrected by an unfriendly Arch-Vile is no longer friendly.
- MISSILEMORE
- Increases the probability of a missile attack from farther away.
- MISSILEEVENMORE
- Increases the probability of a missile attack from farther away even more. Both flags can be combined for extra aggressive monsters.
- NOTARGETSWITCH
- A monster with this flag never switches its target unless its current target is dead.
- NOVERTICALMELEERANGE
- A monster with this flag ignores vertical distance to its target when checking for melee range. Used, for example, by the Strife Stalker to drop on its target from the ceiling, regardless of ceiling height.
- ALWAYSRESPAWN
- A monster with this flag will respawn in any skill level as though the skill level was set to Nightmare.
- NEVERRESPAWN
- A monster with this flag will never respawn, even in Nightmare.
(In)Abilities
- CANNOTPUSH
- This actor cannot push pushable objects.
- NOTELEPORT
- Actor cannot teleport.
- ACTIVATEIMPACT
- Upon hitting a wall this actor can activate G1/GR lines.
- → Automatically given by the Projectile combo
- CANPUSHWALLS
- CANUSEWALLS
- This actor can activate unlocked doors and lifts. (Original Doom monster behavior)
- → Automatically given by the Monster combo
- ACTIVATEMCROSS
- ACTIVATEPCROSS
- This actor can activate 'Projectile crosses' lines.
- → Automatically given by the Projectile combo
- CANTLEAVEFLOORPIC
- This actor cannot cross into a sector with a different floor texture.
- TELESTOMP
- This actor can telefrag others. Actors without this flag will fail to teleport if another actor is blocking the destination.
- STAYMORPHED
- If morphed this actor cannot revert to its original form. Does not appear to work on playerclasses.
- CANBLAST
- Can be blasted by Hexen's Disc of Repulsion. For monsters this is implicit.
- NOBLOCKMONST
- Actor can walk through monster blocking lines.
- THRUGHOST
- This actor passes through ghosts (set with the GHOST flag). Only affects missiles.
- THRUACTORS (New from 2.4.1)
- This actor passes through all other actors.
- THRUSPECIES (New from 2.4.1)
- This actor passes through other actors of the same species.
- MTHRUSPECIES (New from 2.4.1)
- A missile with this flag passes through actors of the same species as the actor that shot it, if any.
- SPECTRAL
- A monster with this flag can only be hurt by a missile that also has this flag set.
- FRIGHTENED
- Monster runs away from player (but still fights back).
- NOTARGET
- Actor cannot be targeted by other monsters. This does not prevent hostile monsters from being targeted by friendly monsters.
- NOINFIGHTING
- The inverse of NOTARGET. This actor will never turn on another monster when provoked.
- NOTIMEFREEZE
- This actor is not affected by time freeze powerups or the "freeze" console cheat.
- NOFEAR (New from 2.4.1)
- This actor is not affected by frightener powerups or the "anubis" console cheat.
- CANTSEEK
- This actor cannot be tracked by seeker missiles. See also the DONTSEEKINVISIBLE flag.
Defenses
- INVULNERABLE
- Actor cannot be hurt in normal situations, and will never enter its Pain state. Use NODAMAGE for that.
- Note: an invulnerable actor can still be hurt by damage that exceeds a very high threshold set at 1000000. This ensures that certain "instakill" attacks such the mdk console command or telefragging always work, even on invulnerable actors.
- REFLECTIVE
- Actor reflects missiles shot at it. By default projectiles are reflected at a random angle.
- SHIELDREFLECT
- Used in conjunction with the REFLECTIVE flag. It changes the reflection behavior so that only projectiles hitting the monster from the front side are reflected. With this flag the reflection angle is always +/-45 degrees.
- DEFLECT
- Used in conjunction with the REFLECTIVE flag. It changes the reflection behavior so that the reflection angle is always +/-45 degrees.
- NORADIUSDMG
- Actor cannot be hurt by radius (explosive) damage.
- DONTBLAST
- Cannot be blasted by Hexen's Disc of Repulsion.
- GHOST
- Actor is a ghost. This does not imply translucency etc. Some of Heretic's projectiles and weapons cannot attack ghosts.
- DONTMORPH
- DONTSQUASH
- This actor cannot be instantly killed by Heretic's powered up Mace. BOSS implies this flag.
- NOTELEOTHER
- Cannot be teleported by Hexen's banishment device.
- DONTHARMCLASS (New from 2.4.1)
- Prevents any monster of this kind from receiving explosive damage by a projectile fired by a monster of the exact same kind. This is recommended for monsters that shoot explosive projectiles so that they don't kill themselves. This flag was previously named DONTHURTSPECIES, which was a misleading name that could lead to believe its effect was that of DONTHARMSPECIES.
- DONTHARMSPECIES (New from 2.4.1)
- Prevents any monster belonging to the same species from receiving explosive damage by a projectile fired by a monster with this flag. This is recommended for monsters that shoot explosive projectiles who have several variants and are used in packs, so that they do not infight.
- NODAMAGE
- The actor still reacts to getting hurt but doesn't take any actual damage from the event.
- DONTRIP
- Ripping projectiles die upon hitting this actor as though they were non-ripping projectiles.
- NOTELEFRAG (New from 2.4.1)
- Actor cannot be telefragged.
Appearance & Sound
- BRIGHT
- All of the actor's frames are rendered at full-bright, as if every frame had the bright keyword present.
- INVISIBLE
- Actor is invisible. Unlike RenderStyle None this also implies invisibility to monsters.
- SHADOW
- Actor is nearly invisible. Unlike regular Doom this does not automatically imply fuzziness. For that you have to specify renderstyle Fuzzy.
- NOBLOOD
- Actor does not bleed when hurt. Additionally, an actor with this flag is immune to poison bolts. You can also specify a blood type (without this flag) using the bloodtype actor property.
- NOBLOODDECALS
- Actor does not generate blood decals when shot (but still generates blood sprites). Not needed if NOBLOOD is already specified.
- STEALTH
- Actor is a stealth monster. Stealth monsters are monsters that are visible only when they are in pain or attack; other than that, they are invisible.
- FLOORCLIP
- Actor's lower part is clipped when standing in a sector with a liquid texture (defined in the TERRAIN lump).
- SPAWNFLOAT
- Actor is spawned at a random height in the sector.
- SPAWNCEILING
- Actor is spawned hanging from the ceiling as opposed to standing on the floor. Use in conjunction with NOGRAVITY.
- FLOATBOB
- Use float bobbing z movement like Heretic/Hexen's powerups.
- NOICEDEATH
- Monster cannot be frozen, used to prevent the generic ice death.
- DONTGIB
- Actor cannot be crushed to a pile of blood by crushing ceilings.
- DONTSPLASH
- Actor does not create any terrain splashes.
- DONTOVERLAP
- Two actors with this flag cannot occupy the same x/y-position.
- RANDOMIZE
- Randomizes the duration for its first frame. Most of Doom's (but not Heretic's and Hexen's) projectiles use this.
- FIXMAPTHINGPOS
- Move thing out of walls. For torches and similar things that tend to be placed directly on a wall.
- FULLVOLACTIVE
- Plays its active sound at full volume.
- FULLVOLDEATH
- Plays its death sound at full volume. This only works for projectiles.
- NOWALLBOUNCESND
- Does not play a sound when bouncing off a wall. Normally the seesound is played in this case.
- VISIBILITYPULSE
- The actor's translucency is pulsing between 25% and fully opaque.
- ROCKETTRAIL
- This object has a rocket particle trail.
- GRENADETRAIL
- This object has a grenade particle trail (from Skulltag's grenades).
- NOBOUNCESOUND
- Don't make a bouncing sound.
- NOSKIN
- Don't allow skins for this actor. Useful only for player classes.
- DONTTRANSLATE
- Prevents this actor from being translated when used as a blood class (using the BloodType property) or when spawned from another actor using A_SpawnItem.
- On a player class, this prevents player translations from being applied. (development version r2198+ only)
- Note: Changing this flag during play (with A_ChangeFlag for example) has no effect; this flag is only checked when the actor is spawned and is not referenced afterwards.
- NOPAIN
- The actor will never enter its pain state. Note that it will still take damage, however.
- FORCEYBILLBOARD
(OpenGL only: not supported by ZDoom)
- Added for GZDoom and Skulltag compatibility. Forces the actor's sprite to "billboard" to the screen on the Y-axis when using the OpenGL renderer. Does nothing in ZDoom.
- FORCEXYBILLBOARD
(OpenGL only: not supported by ZDoom)
- Added for GZDoom and Skulltag compatibility. Forces the actor's sprite to "billboard" to the screen on the X- and Y-axes when using the OpenGL renderer. Does nothing in ZDoom.
Projectile
- MISSILE
- Actor is a projectile. Actors with this flag set will enter their death state when hitting a solid and constantly move at their speed value (without the need of any actor functions).
- → Automatically given by the Projectile combo
- RIPPER
- For projectiles that can rip through monsters and players. Ripping projectiles constantly cause their damage amount when ripping through actors, so low damage values are recommended. Bleeding actors also spew blood when being ripped.
- NOBOSSRIP (New from 2.4.1)
- Ripper projectiles with this flag will not rip through monsters with the +BOSS flag.
- NODAMAGETHRUST
- An actor with that flag does not thrust away its victims when it inflicts damage.
- DONTREFLECT
- Will not reflect off of actors with the REFLECTIVE flag set.
- FLOORHUGGER
- Defines a projectile that is moving along the floor. Floor hugging projectiles pass over all obstacles until they hit a solid wall (not a raised floor).
- CEILINGHUGGER
- Defines a projectile that is moving along the ceiling.
- BLOODLESSIMPACT
- No blood is spawned when this projectile hits something. This also prevents hitscan weapons from spawning blood.
- BLOODSPLATTER
- Spawns blood splatter sprites when hitting a bleeding actor. This can also be used for hitscan weapons.
- → Automatically given by the Projectile combo when playing Heretic or Hexen
- FOILINVUL
- Can hurt invulnerable monsters (but not players).
- SEEKERMISSILE
- Actor is a homing missile. This is only used as a hint to the game. For a homing missile to be effective it also has to use one of the seeker missile code pointers in its moving states.
- SCREENSEEKER (New from 2.4.1)
- A seeker missile with this flag can only acquire a new target (in its tracer field) if the latter is in the field of vision of the missile's shooter (more exactly, within an about 84° cone from the shooter).
- SKYEXPLODE
- Projectile explodes when hitting a sky instead of vanishing.
- NOEXPLODEFLOOR
- When hitting the floor the projectile just stops instead of exploding.
- STRIFEDAMAGE
- Strife uses a different damage calculation for its projectiles which results in lower damage. The formula is strifeDamage = damage * random( 1, 4 ).
- EXTREMEDEATH
- This projectile or puff always gibs its victim.
- NOEXTREMEDEATH
- This projectile or puff never gibs its victim.
- DEHEXPLOSION
- Draw the missile's Death state translucent or additive depending on the addrocketexplosion console variable and the 'Rocket Explosion Style' and 'Rocket Explosion Alpha' settings in DeHackEd.
- PIERCEARMOR
- The missile ignores the target's armor.
- FORCERADIUSDMG
- All actors will take radius damage from this projectile, even boss enemies that are normally immune to radius damage.
- SPAWNSOUNDSOURCE
- This projectile will play its seesound from the originating actor.
- PAINLESS
- Actors will never enter their Pain state if hit by a projectile with this flag set.
- FORCEPAIN (New from 2.4.1)
- Actors will always enter the Pain state appropriate to the type of damage received if hit by a projectile with this flag set, even if the projectile does zero damage. The PAINLESS flag has precedence (a projectile with both PAINLESS and FORCEPAIN will not cause actors to enter their Pain state), and pain cannot be forced on actors with the NOPAIN flag set.
- DONTSEEKINVISIBLE (New from 2.4.1)
- Seeker missiles with this flag will not home in on invisible actors. See also the CANTSEEK flag.
- STEPMISSILE (New from 2.4.1)
- Missiles with this flag can climb up steps.
- ADDITIVEPOISONDAMAGE (development version r2450+ only)
- Several hits from missiles or puffs with the PoisonDamage property and this flag cause the poison damage suffered by the victim to increase.
- ADDITIVEPOISONDURATION (development version r2450+ only)
- Several hits from missiles or puffs with the PoisonDamage property and this flag cause the poisoning suffered by the victim to be prolonged.
Bouncing
See also the bounce properties.
- BOUNCEONWALLS (New from 2.4.1)
- Missile bounces off of walls. Implied by Doom and Hexen bounce types.
- BOUNCEONFLOORS (New from 2.4.1)
- Missile bounces off of floors. Implied by all three bounce types.
- BOUNCEONCEILINGS (New from 2.4.1)
- Missile bounces off of ceilings. Implied by all three bounce types.
- ALLOWBOUNCEONACTORS (New from 2.4.1)
- Missile bounces off of non-bleeding actors. Implied by Doom and Hexen bounce types. Note that this needs to be set for BOUNCEONACTORS below to have any effect.
- BOUNCEAUTOOFF (New from 2.4.1)
- Missile stops bouncing if the velocity is too low. Implied by the Doom bounce type.
- BOUNCELIKEHERETIC (New from 2.4.1)
- Missile only bounces once, and never on walls, like Heretic's Firemace projectiles. Implied by Heretic bounce type.
- BOUNCEONACTORS (New from 2.4.1)
- Missile bounces off of all actors, even if they bleed and aren't reflective.
- NOWALLBOUNCESND
- Missile doesn't play a sound when hitting a wall. The Heresiarch's bouncing flaming skulls use this.
- NOBOUNCESOUND
- Missile doesn't make any sound at all when bouncing.
- EXPLODEONWATER
- Missile explodes when landing on a liquid surface. Usually they vanish in this case.
- CANBOUNCEWATER
- Missile bounces off of liquids normally. Usually they vanish in this case.
- MBFBOUNCER (New from 2.4.1)
- Missile is considered an MBF bouncer. They behave differently from normal bouncers in many situations:
- They are considered to be missiles for several tests, even if they do not have the MISSILE flag. For example, a monster with that flag is able to cross impassable linedefs that do not block missiles.
- They do not lose their bouncing properties when slowing down and coming to a rest.
Miscellaneous
- DROPPED
- Actor always acts as if it was dropped. Dropped items have two properties: They never respawn, and they will be crushed by doors and moving sectors (and polyobjects if crunching is enabled in MAPINFO).
- ISMONSTER
- CORPSE
- Actor is a corpse. For normal actors there is no need to set this but in combination with the Crash state it might be useful.
- COUNTKILL
- COUNTITEM
- Counts toward item percentage.
- NOTDMATCH
- Actor is not spawned in Deathmatch games.
- NONSHOOTABLE
- Actor cannot be hit (projectiles pass through).
- DROPOFF
- Actor can walk over ledges/taller steps. This would allow a monster to travel through a map with impunity.
- → Automatically given by the Projectile combo
- PUFFONACTORS
- Used on puff objects only. A puff with this flag is spawned even if the actor being hit bleeds. Normally in such a case only blood is spawned but no puff.
- ALLOWPARTICLES
- Used on puff and blood (New from 2.4.1) objects only. This flag allows the sprite to be replaced by particles.
- ALWAYSPUFF
- Used on puff objects only. Makes the puff appear even when nothing was hit.
- PUFFGETSOWNER
- Used on puff objects only. If set, the puff's target is set to the actor who fired the shot once it is spawned. Usually used in conjunction with A_GiveToTarget to achieve certain special effect. Note that you need to wait at least one tic before calling such a codepointer, to make sure the target field has been set. (This is considered a bug which was fixed in development versions. (development version r2128+ only))
- SYNCHRONIZED
- Normally all actors spawned at level start are slightly randomized to avoid having all of them have the exact same appearance at the same time. This flag disables that randomization.
- FASTER
- monster moves twice as fast in nightmare skill or with fast monsters on.
- ALWAYSFAST
- monster always moves twice as fast, regardless of skill level.
- NEVERFAST
- monster never moves faster than normal, regardless of skill level.
- FASTMELEE
- The melee attack of this monster is done with twice the speed in nightmare mode or with fast monsters on.
- OLDRADIUSDMG
- Use old radius damage code (for barrels and boss brain).
- USESPECIAL
- The actor's special will be triggered when the player presses use while facing this actor. The player will be considered the activator of the special.
- Note: This default behavior can be modified with the Activation property. (New from 2.4.1)
- BUMPSPECIAL (New from 2.4.1)
- The actor's special will be triggered when the player touches this actor. The player will be considered the activator of the special.
- Note: This default behavior can be modified with the Activation property. (New from 2.4.1)
- BOSSDEATH
- Makes A_FreezeDeathChunks and A_Burst call A_BossDeath.
- NOINTERACTION
- The actor is purely decorative. It will not interact with any other actor and will ignore all game physics (including solid walls and floors!), moving only according to its own momentum. (i.e. The actor will not be affected by gravity, but its movement can still be directly changed using ThrustThing.) All AI routines will ignore this actor's existance, speeding up processing time.
- PICKUP
- Tells the engine whether or not this class can pickup items. Mostly useful for preventing morphed players from using items.
- TOUCHY (New from 2.4.1)
- The actor dies at the slightest touch. This includes contact with another actor, sudden contact with the ceiling (closing door, raising elevator, floor or ceiling crusher, and so on), falling, and being blasted by an effect such as the disc of repulsion.
- VULNERABLE (New from 2.4.1)
- An actor with this flag can be affected by area-of-effect damage. Only matters for actors without the SHOOTABLE flag.
Limited Use
- SEESDAGGERS
- Strife specific flag. Any actor with this flag will react to a player using Strife's dagger which normally doesn't alert monsters. You can clear it from Strife's Acolytes though to prevent them from responding to dagger attacks.
- INCOMBAT
- Used for Strife's dialog system. An actor that has this flag set will not respond to the player's attempts to converse, even if it has a ConversationID set. Not particularly useful to have an actor spawn with, but can be set with A_ChangeFlag later if the actor should become hostile to the player.
- NOCLIP
- Actor is totally excluded from collision detection and can walk through walls etc.
- NOSECTOR
- Object is not linked into the sector. This makes it invisible and excludes it from certain physics checks. It is recommended not to use this flag due to its side effects. There are better ways to make an actor invisible, e.g. the INVISIBLE flag.
- ICECORPSE
- Actor is a frozen corpse.
- JUSTHIT
- Try to attack right back (used in monster AI, probably not particularly useful in actor definitions).
- JUSTATTACKED
- Take at least one step before attacking (also not particularly useful in an actor definition).
- TELEPORT
- Used when teleporting an actor. When something is teleported, this flag is set, it gets moved to its new position, it's checked for collision, then the flag is cleared (again, not useful for actor definition).
- BLASTED
- Actor takes temporary damage from impact. Related to the Disc of Repulsion. Not useful in actor definitions.
- EXPLOCOUNT
- A missile with this flag that should normally explode only does so if its increased special2 field is greater than its special1 field.
Deprecated flags
These flags should no longer be used. They are documented here for reference purposes.
- LOWGRAVITY (deprecated)
- Actor is subject to low gravity.
- Has been superseded by the 'gravity' Actor property. Please use 'gravity 0.125' instead.
- QUARTERGRAVITY (deprecated)
- Actor is subject to 1/4th of normal gravity.
- This flag was only added for compatibility with certain Skulltag definitions. It is equivalent to 'gravity 0.25'
- LONGMELEERANGE (deprecated)
- When closer than 192 map units to its target, this monster doesn't start its missile attacks
- This flag has been replaced by the MeleeThreshold actor property.
- SHORTMISSILERANGE (deprecated)
- Has a limited missile attack range of approx. 1000 map units.
- This flag has been replaced by the MaxTargetRange actor property.
- FIRERESIST (deprecated)
- Actor takes one half of the normal damage from fire. This is deprecated, using the DamageFactor property allows far greater possibilities.
- DONTHURTSPECIES (deprecated)
- This is an alternate name for DONTHARMCLASS. This name has been deprecated because it is misleading, as its effect is unrelated to the actual definition of Species in the ZDoom engine.
- FIREDAMAGE (deprecated)
- Actor inflicts fire damage (this flag is deprecated, use DamageType instead).
- ICEDAMAGE (deprecated)
- Actor inflicts ice damage (this flag is deprecated, use DamageType instead).
- HERETICBOUNCE (deprecated)
- Heretic style bouncing (objects only bounce off planes).
- HEXENBOUNCE (deprecated)
- Hexen style bouncing (objects bounce off planes and walls).
- DOOMBOUNCE (deprecated)
- ZDoom style bouncing (like hexen but stops when losing a certain amount of momentum).
Additional Flags
Some subclasses of Actor define their own additional flags. They are listed here:
Inventory
- INVENTORY.QUIET
- When being picked up this item doesn't make any sound.
- INVENTORY.AUTOACTIVATE
- This item activates automatically when being picked up.
- INVENTORY.UNDROPPABLE
- This item cannot be dropped once it has been picked up. Note that this also prevents the actor from being removed when ClearInventory is called.
- INVENTORY.INVBAR
- This item is placed into the visible inventory when picked up.
- INVENTORY.HUBPOWER
- This item is kept when travelling between levels of the same hub.
- INVENTORY.PERSISTENTPOWER (New from 2.4.1)
- This item is kept when travelling between levels, even outside of a hub.
- INVENTORY.INTERHUBSTRIP (deprecated)
- This item is taken away when traveling between hubs or single levels. Replaced by the more flexible Inventory.InterHubAmount property.
- INVENTORY.PICKUPFLASH (deprecated)
- When being picked up a PickupFlash actor is spawned. This is the blue effect you can observe on Heretic and Hexen. This flag has been deprecated and it is recommended that you use the Inventory.PickupFlash property instead.
- INVENTORY.ALWAYSPICKUP
- This item is always picked up no matter whether the player can use it or not. This only applies to items that activate automatically.
- INVENTORY.FANCYPICKUPSOUND
- The pickup sound is played in surround mode.
- INVENTORY.BIGPOWERUP
- Marks this item as a 'powerful' item which is controlled by the 'mega powerups respawn' dmflag option
- INVENTORY.KEEPDEPLETED
- This item will remain in the player's inventory bar even after the last one is used. If the item also has an inventory icon, it will be drawn darkened when the quantity is 0.
- INVENTORY.IGNORESKILL
- Normally, the amount of ammo picked up from an inventory item is doubled on the easiest and hardest skill levels. If this flag is set, the item will ignore the skill setting and only give the specified ammo amount. This flag is typically used on a magazine for reloading weapons so that only one round is inserted into the magazine per round of ammunition depleted from the main ammo pool.
- INVENTORY.ADDITIVETIME
- If set, when a player picks up a second powerup of this type before the first has worn off, the new powerup's duration will be added to the old, rather than overwriting it. For example, if a powerup has a duration of 60 seconds, and a player who currently has the powerup with 21 seconds left picks up a second one, normally the new powerup will override the old and the duration will be reset to 60 seconds. With this flag set, the duration would be extended to 81 seconds instead.
Weapons
- WEAPON.NOAUTOFIRE
- Does not fire when selected automatically and the fire button is still pressed. Used to prevent dangerous weapons from firing accidentally.
- WEAPON.READYSNDHALF
- The ready sound is played only with 50% probability.
- WEAPON.DONTBOB
- The weapon sprite does not bob.
- WEAPON.AXEBLOOD
- This weapon spawns the special AxeBlood type when hitting something that bleeds. This only has an effect for hitscan and melee weapons.
- WEAPON.NOALERT
- Does not alert nearby monsters when being fired.
- WEAPON.AMMO_OPTIONAL
- Tells the engine that this weapon doesn't require ammo to work.
- WEAPON.ALT_AMMO_OPTIONAL
- The same for the alternate attack.
- WEAPON.AMMO_CHECKBOTH (New from 2.4.1)
- The weapon can be selected if either the primary or the alternate fire have enough ammo. Both weapon properties Weapon.AmmoUse1 and Weapon.AmmoUse2 must have a positive value for this flag to work correctly.
- WEAPON.PRIMARY_USES_BOTH
- The primary attack uses both ammo types.
- WEAPON.WIMPY_WEAPON
- A small weapon with limited capabilities. If ammo for something better gets picked up the game will automatically switch weapons.
- WEAPON.POWERED_UP
- This is a powered up weapon. Powered up weapons cannot exist by themselves. They always are linked to a normal weapon via the weapon.sisterweapon property and are only activated by using Heretic's Tome of Power or another artifact based on PowerWeaponLevel2.
- WEAPON.STAFF2_KICKBACK
- Uses the special kickback formula of Heretic's powered up staff. Unlike normal kickback this is a fixed thrust value.
- WEAPON.EXPLOSIVE
- Signifies to bots that the weapon fires explosive projectiles.
- WEAPON.MELEEWEAPON
- Signifies to bots, and to monsters with the AVOIDMELEE flag, that the weapon is a melee weapon.
- WEAPON.BFG
- Signifies to bots that the weapon causes a lot of damage.
- WEAPON.CHEATNOTWEAPON
- Weapon is not given by the 'give weapons' cheat.
- WEAPON.NO_AUTO_SWITCH
- When the player picks this weapon up, they will never automatically switch to it.
- WEAPON.NOAUTOAIM (New from 2.4.1)
- A weapon with that flag will not adjust the aim of a projectile, no matter the player's autoaim settings. This is intended to be used only for projectiles affected by gravity, such as grenades, where the player will usually want to aim higher than in a straight line. This flag does not affect hitscan and railgun attacks.
Skulltag Specific flags
For Skulltag specific flags see Skulltag actor Flags.

