Cstat (wall): Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m Reverted edits by 189.32.93.140 (Talk) to last version by Hunter byte
No edit summary
Line 1: Line 1:
Sets flags for how to draw an wall, as well as a few flags for interaction. Add all together all wanted flag values.
Sets flags for how to draw an wall, as well as a few flags for interaction. Add all together all wanted flag values.  This is because cstat is a bitfield.


Flag values for wall cstat are:
Flag values for wall cstat are:

Revision as of 20:25, 18 November 2008

Sets flags for how to draw an wall, as well as a few flags for interaction. Add all together all wanted flag values. This is because cstat is a bitfield.

Flag values for wall cstat are:

1 - Make wall blockable
2 - Make bottoms of invisible walls swapped
4 - Align picture on bottom
8 - Flip wall around y-axis
16 - Make masking wall
32 - Make wall one sided
64 - Make wall able to be hit by weapons
128 - Make wall transparent
256 - Flip wall around x-axis
512 - Second transparency level (combine with cstat 128)