Template:Wall cstat: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude>{{Template}}</noinclude> | |||
The following values are used with wall [[cstat (wall)|cstat]]. | The following values are used with wall [[cstat (wall)|cstat]]. | ||
Line 24: | Line 26: | ||
| No || 512 || CSTAT_WALL_TRANS_FLIP || Second transparency level (combine with cstat '''128''') | | No || 512 || CSTAT_WALL_TRANS_FLIP || Second transparency level (combine with cstat '''128''') | ||
|- | |- | ||
| No || 16384 || CSTAT_WALL_BLOCK_ACTOR || | | No || 1024 || CSTAT_WALL_YAX_UPWALL || | ||
|- | |||
| No || 2048 || CSTAT_WALL_YAX_DOWNWALL || | |||
|- | |||
| No || 4096 || CSTAT_WALL_ROTATE_90 || Rotate texture by 90 degrees counter-clockwise. (3D-mode hotkey 'R' in mapster32) | |||
|- | |||
| No || 16384 || CSTAT_WALL_BLOCK_ACTOR || Only used in Shadow Warrior | |||
|- | |- | ||
| No || 32768 || CSTAT_WALL_WARP_HITSCAN || | | No || 32768 || CSTAT_WALL_WARP_HITSCAN || Only used in Shadow Warrior | ||
|- | |- | ||
|} | |} | ||
{| {{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 40: | Line 52: | ||
define CSTAT_WALL_YFLIP 0x00000100 | define CSTAT_WALL_YFLIP 0x00000100 | ||
define CSTAT_WALL_TRANS_FLIP 0x00000200 | define CSTAT_WALL_TRANS_FLIP 0x00000200 | ||
define CSTAT_WALL_YAX_UPWALL 0x00000400 | |||
define CSTAT_WALL_YAX_DOWNWALL 0x00000800 | |||
define CSTAT_WALL_ROTATE_90 0x00001000 | |||
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> |
Latest revision as of 15:58, 12 September 2021
This page is a template. This page was created to be included in other pages. |
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 | 1024 | CSTAT_WALL_YAX_UPWALL | ||
No | 2048 | CSTAT_WALL_YAX_DOWNWALL | ||
No | 4096 | CSTAT_WALL_ROTATE_90 | Rotate texture by 90 degrees counter-clockwise. (3D-mode hotkey 'R' in mapster32) | |
No | 16384 | CSTAT_WALL_BLOCK_ACTOR | Only used in Shadow Warrior | |
No | 32768 | CSTAT_WALL_WARP_HITSCAN | Only used in Shadow Warrior |
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_YAX_UPWALL 0x00000400 define CSTAT_WALL_YAX_DOWNWALL 0x00000800 define CSTAT_WALL_ROTATE_90 0x00001000 define CSTAT_WALL_BLOCK_ACTOR 0x00004000 define CSTAT_WALL_WARP_HITSCAN 0x00008000 |