Ceilingstat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
ceilingstat bits 128 and 256 are very well used
Line 11: Line 11:
:'''64''' = Bit 6: Ceiling Texture Relativity is on ["R" key in Build/Mapster32]
:'''64''' = Bit 6: Ceiling Texture Relativity is on ["R" key in Build/Mapster32]


:'''128''' = Bit 7: Masked Ceiling [?, Unused in Source Code & Game]
:'''128''' = Bit 7: Masked Ceiling (different from being clear only for TROR-extended ceilings)
:'''256''' = Bit 8: Translucent Masked Ceiling [?, Unused in Source Code & Game]
:'''256''' = Bit 8: Translucent Masked Ceiling
:'''384''' = Bit 7&8: Reverse Translucent Masked Ceiling [?, Unused in Source Code & Game]
:'''384''' = Bit 7&8: Reverse Translucent Masked Ceiling
 
See [[floorstat]].
See [[floorstat]].


[[Category:Bitfields]]
[[Category:Bitfields]]
[[Category:Sector structure members]]
[[Category:Sector structure members]]

Revision as of 09:38, 29 December 2011

Ceilingstat is a sector-structure member similar to cstat, as it is a bitfield.

The known values are below:

1 = Bit 0: Ceiling is a parallax sky/texture
2 = Bit 1: Ceiling is sloped
4 = Bit 2: Ceiling Texture's x & y is swapped
8 = Bit 3: Ceiling Texture Expansion is on ["E" key in Build/Mapster32]
16 = Bit 4: Ceiling Texture's x is flipped
32 = Bit 5: Ceiling Texture's y is flipped
64 = Bit 6: Ceiling Texture Relativity is on ["R" key in Build/Mapster32]
128 = Bit 7: Masked Ceiling (different from being clear only for TROR-extended ceilings)
256 = Bit 8: Translucent Masked Ceiling
384 = Bit 7&8: Reverse Translucent Masked Ceiling

See floorstat.