Floorstat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
floorstat bits 128 and 256 are very well used
Jblade (talk | contribs)
m Added some extra bits
Line 14: Line 14:
:'''256''' = Bit 8: Translucent Masked Floor
:'''256''' = Bit 8: Translucent Masked Floor
:'''384''' = Bit 7&8: Reverse Translucent Masked Floor
:'''384''' = Bit 7&8: Reverse Translucent Masked Floor
:'''512''' = Bit 16: Floor blocks movement (for TROR)
:'''1024''' = Bit 32: Floor is a TROR floor
:'''2048''' = Bit 64: Floor blocks projectiles (for TROR)


See [[ceilingstat]].
See [[ceilingstat]].

Revision as of 00:06, 31 May 2012

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

The known values are below:

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

See ceilingstat.