Template:Wall cstat: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
Fox (talk | contribs)
No edit summary
Line 30: Line 30:
|}
|}


{| {{Collapse}}
| <strong>Defines</strong>
|-
|
  define CSTAT_WALL_BLOCK                0x00000001
  define CSTAT_WALL_BLOCK                0x00000001
  define CSTAT_WALL_BOTTOM_SWAP          0x00000002
  define CSTAT_WALL_BOTTOM_SWAP          0x00000002
Line 42: Line 46:
  define CSTAT_WALL_BLOCK_ACTOR          0x00004000
  define CSTAT_WALL_BLOCK_ACTOR          0x00004000
  define CSTAT_WALL_WARP_HITSCAN          0x00008000
  define CSTAT_WALL_WARP_HITSCAN          0x00008000
|}


<noinclude>[[Category:Templates]]</noinclude>
<noinclude>[[Category:Templates]]</noinclude>
<includeonly>[[Category:Pages with templates]]</includeonly>
<includeonly>[[Category:Pages with templates]]</includeonly>

Revision as of 12:18, 22 February 2020

The following values are used with wall cstat.

Exposed Value Label Description
No 1 CSTAT_WALL_BLOCK Make wall blockable
No 2 CSTAT_WALL_BOTTOM_SWAP Make bottoms of invisible walls swapped
No 4 CSTAT_WALL_ALIGN_BOTTOM Align picture on bottom
No 8 CSTAT_WALL_XFLIP Flip wall around x-axis
No 16 CSTAT_WALL_MASKED Make wall masking, two-sided
No 32 CSTAT_WALL_1WAY Make wall masking, one-sided. This disables rendering on the other side, meaning it can be used to avoid SOS glitches. However it also disables transparency on the masked wall.
No 64 CSTAT_WALL_BLOCK_HITSCAN Make wall able to be hit by weapons
No 128 CSTAT_WALL_TRANSLUCENT Make wall transparent
No 256 CSTAT_WALL_YFLIP Flip wall around y-axis
No 512 CSTAT_WALL_TRANS_FLIP Second transparency level (combine with cstat 128)
No 16384 CSTAT_WALL_BLOCK_ACTOR
No 32768 CSTAT_WALL_WARP_HITSCAN
Defines
define CSTAT_WALL_BLOCK                 0x00000001
define CSTAT_WALL_BOTTOM_SWAP           0x00000002
define CSTAT_WALL_ALIGN_BOTTOM          0x00000004
define CSTAT_WALL_XFLIP                 0x00000008
define CSTAT_WALL_MASKED                0x00000010
define CSTAT_WALL_1WAY                  0x00000020
define CSTAT_WALL_BLOCK_HITSCAN         0x00000040
define CSTAT_WALL_TRANSLUCENT           0x00000080
define CSTAT_WALL_YFLIP                 0x00000100
define CSTAT_WALL_TRANS_FLIP            0x00000200
define CSTAT_WALL_BLOCK_ACTOR           0x00004000
define CSTAT_WALL_WARP_HITSCAN          0x00008000