View source for Cstat - EDukeWiki

# View source for Cstat

← Cstat

You do not have permission to edit this page, for the following reasons:

- The action you have requested is limited to users in the group: Users.
- You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

'''cstat''' <number> A [[bitfield]] for how to draw an actor, as well as a few flags for interaction. Add all together all wanted flag values, and use that as <number>. Similarly, you can set the value to '''0''' to disable everything listed below. Cstat is available for [[sprite]] structs and for [[Members of the wall structure|wall]] structs. See [[cstat(wall)]]. Flag values for sprite cstat are: :'''1''' - Make sprite blockable :'''2''' - Make sprite transparent :'''4''' - Flip sprite around x-axis :'''8''' - Flip sprite around y-axis :'''16''' - Draw sprite as vertically flat (wall aligned) :'''32''' - Draw sprite as horizontally flat (floor aligned) :'''64''' - Make sprite one sided :'''128''' - Half submerged :'''256''' - Make sprite able to be hit by weapons :'''512''' - Second transparency level (combine with cstat 2) :'''1024''' - Sprite will take priority being drawn over other sprites (may be subject to change) :'''2048''' - Sprite will not be forced to take shade of sector :'''8192''' - Sprite will not cast a Polymer shadow :'''16384''' - Sprite will be invisible but will still cast a Polymer shadow :'''32768''' - Invisible Also see [[cstator]]. [[Category:Bitfields]] [[Category:Duke3D 1.3/1.5 commands]] [[Category:Sprite manipulation]]

Return to Cstat.

Retrieved from "http://wiki.eduke32.com/wiki/Cstat"