Mdflags

From EDukeWiki
Revision as of 16:48, 17 June 2009 by Hendricks266 (talk | contribs)
Jump to navigation Jump to search

mdflags <value>

Sets flags for how to draw an actor's model. These flags never affect the actual gameplay, and as such do not have to be synchronized. Maphacks are the primary users of this. Since mdflags is a bitfield, add together all wanted flag values, and use the result for the value.

Mdflags is available for the spriteext and wall structs.

Flag values for mdflags are:

1 - Make sprite be displayed as sprite, instead of a model
2 - No model animation.
4 - away1 (?)
8 - away2 (?)
16 - Process in EVENT_ANIMATESPRITES