Ceilingstat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
LordMisfit (talk | contribs)
mNo edit summary
LordMisfit (talk | contribs)
mNo edit summary
Line 3: Line 3:
The known values are below
The known values are below


:'''1''' = Ceiling is a parallax sky/texture
:'''1''' = Bit 0: Ceiling is a parallax sky/texture
:'''2''' = ? (needs to be disciphered by someone)
:'''2''' = Bit 1: Ceiling is sloped
:'''4''' = ? (needs to be disciphered by someone)
:'''4''' = Bit 2: Ceiling Texture's x & y is swapped
:'''8''' = Ceiling Texture Expansion is on ["E" key in Build/Mapster32]
:'''8''' = Bit 3: Ceiling Texture Expansion is on ["E" key in Build/Mapster32]
:'''16''' = ? (needs to be disciphered by someone)
:'''16''' = Bit 4: Ceiling Texture's x is flipped
:'''32''' = ? (needs to be disciphered by someone)
:'''32''' = Bit 5: Ceiling Texture's y is flipped
:'''64''' = Ceiling Texture Relativity is on ["R" key in Build/Mapster32]
:'''64''' = Bit 6: Ceiling Texture Relativity is on ["R" key in Build/Mapster32]
:'''128''' = Ceiling Transparency Level 1 [?]
 
:'''256''' = Ceiling Transparency Level 2 [?]
:'''128''' = Bit 7: Masked Ceiling [?, Unused in Source Code & Game]
:'''256''' = Bit 8: Translucent Masked Ceiling [?, Unused in Source Code & Game]
:'''384''' = Bit 7&8: Reverse Translucent Masked Ceiling [?, Unused in Source Code & Game]


''See also [[floorstat]].''
''See also [[floorstat]].''


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

Revision as of 02:04, 2 November 2007

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 [?, Unused in Source Code & Game]
256 = Bit 8: Translucent Masked Ceiling [?, Unused in Source Code & Game]
384 = Bit 7&8: Reverse Translucent Masked Ceiling [?, Unused in Source Code & Game]

See also floorstat.