From DoomWiki.org
(More information on Thing flags) |
(No difference)
|
Revision as of 06:33, 19 September 2016
There's a discussion about creating/updating Thing data tables by compiling the source code's INFO.C (and friends) into a working C program to extract the information directly from the mobjinfo, state, sprite and sound tables. Here's more information that's too voluminous for that main topic.
Thing Flags
In Doom, things/mobj's have one Flags field. This table lists their numbers and descriptions:
Flag | DHE description | Source enum | DMINFO description |
---|---|---|---|
0 | Can be picked up | MF_SPECIAL | Can Be Picked Up |
1 | Obstacle | MF_SOLID | Obstacle |
2 | Shootable | MF_SHOOTABLE | Shootable |
3 | Total invisibility | MF_NOSECTOR | No Sector Links (Invisible) |
4 | Can't be hit | MF_NOBLOCKMAP | No Blocklinks (Inert) |
5 | Semi-deaf | MF_AMBUSH | Ambush (Semi-deaf) |
6 | In pain | MF_JUSTHIT | Just Hit (In Pain) |
7 | Steps before attack | MF_JUSTATTACKED | Just Attacked (Step First) |
8 | Hangs from ceiling | MF_SPAWNCEILING | Hangs From Ceiling |
9 | No gravity | MF_NOGRAVITY | No Gravity |
10 | Travels over cliffs | MF_DROPOFF | Drops Off Ledges |
11 | Picks up items | MF_PICKUP | Picks Up Items |
12 | No clipping | MF_NOCLIP | No Clipping |
13 | Slides along walls | MF_SLIDE | Sliding Along Walls |
14 | Floating | MF_FLOAT | Floating |
15 | Semi-no clipping | MF_TELEPORT | No Line Crossing |
16 | Projectiles | MF_MISSILE | Projectile |
17 | Disappearing weapon | MF_DROPPED | Dropped by Enemy |
18 | Partial invisibilty | MF_SHADOW | Partial Invisibility |
19 | Puffs (vs. bleeds) | MF_NOBLOOD | Puffs vs. Blood |
20 | Sliding helpless | MF_CORPSE | Sliding Corpse |
21 | No auto-leveling | MF_INFLOAT | No Auto-leveling |
22 | Affects Kill % | MF_COUNTKILL | Affects Kill % |
23 | Affects Item % | MF_COUNTITEM | Affects Item % |
24 | Running | MF_SKULLFLY | Flying Skull |
25 | Not in deathmatch | MF_NOTDMATCH | Not in Deathmatch |
Heretic has a second Flags field:
Flag | HHE description | Source enum | HTINFO description |
---|---|---|---|
0 | Subject to Inertia | MF2_LOGRAV | Alternate Gravity |
1 | Blown by Wind | MF2_WINDTHRUST | Wind Can Thrust |
2 | Bounces | MF2_FLOORBOUNCE | Bounces Off Floor |
3 | Goes Through Invis | MF2_THRUGHOST | Missile Passes Thru Ghosts |
4 | Pushable Up Cliffs | MF2_FLY | Flying |
5 | Walks In Liquids | MF2_FOOTCLIP | Feet Can Be Clipped |
6 | Starts on Floor | MF2_SPAWNFLOAT | Spawn Random Float Height |
7 | Does Not Teleport | MF2_NOTELEPORT | No Teleport |
8 | Dragon Claw Spikes | MF2_RIP | Missile Rips Thru Solid |
9 | Pushable | MF2_PUSHABLE | Pushable |
10 | Only Hits Monsters | MF2_SLIDE | Slide Against Walls |
11 | Unknown | MF2_ONMOBJ | On Top of Mobj |
12 | Unknown | MF2_PASSMOBJ | Pass Over/Under Mobj |
13 | Particles | MF2_CANNOTPUSH | Cannot Push Other Pushables |
14 | Unknown | MF2_FEETARECLIPPED | Feet Are Being Clipped |
15 | Varying Damage | MF2_BOSS | Major Boss |
16 | Causes Burning Death | MF2_FIREDAMAGE | Fire Damage |
17 | Does Not Push Things | MF2_NODMGTHRUST | No Damage Thrust |
18 | Telefrags | MF2_TELESTOMP | Can Stomp (Telefrag) |
19 | Bobbing | MF2_FLOATBOB | Float Bobbing Movement |
20 | Unknown | MF2_DONTDRAW | No Vissprite |
The descriptions used in DMINFO/HTINFO sometimes deviate from the old, reverse-engineered DHE/HHE ones because the enum names and comments in the source files helped to make them more accurate and, err, descriptive.