Added bit prefixes to view ID nodraw keyvalue

This commit is contained in:
Blixibon 2020-08-14 13:26:36 -05:00
parent 232913bf99
commit 9224c92cc5

View File

@ -270,13 +270,13 @@
viewhideflags(choices) : "View ID nodraw" : 0 : "This keyvalue can control whether an entity should only draw on things like monitors or mirrors, or the opposite. The code for this is { m_iViewHideFlags & (1 << CurrentViewID()) } and supports any combination of view IDs." =
[
0 : "Draw normally"
193 : "Hide in main view (player's eyes)" // VIEW_MAIN + VIEW_INTRO_CAMERA + VIEW_SHADOW_DEPTH_TEXTURE
36 : "Hide in cameras" // VIEW_MONITOR + VIEW_INTRO_PLAYER
24 : "Hide in mirrors/water" // VIEW_REFLECTION + VIEW_REFRACTION
60 : "Hide in cameras and mirrors/water" // VIEW_MONITOR + VIEW_INTRO_PLAYER + VIEW_REFLECTION + VIEW_REFRACTION
2 : "Hide in 3D skybox" // VIEW_3DSKY
128 : "Hide projected texture shadows" // VIEW_SHADOW_DEPTH_TEXTURE
0 : "[0] Draw normally"
193 : "[193] Hide in main view (player's eyes)" // VIEW_MAIN + VIEW_INTRO_CAMERA + VIEW_SHADOW_DEPTH_TEXTURE
36 : "[36] Hide in cameras" // VIEW_MONITOR + VIEW_INTRO_PLAYER
24 : "[24] Hide in mirrors/water" // VIEW_REFLECTION + VIEW_REFRACTION
60 : "[60] Hide in cameras and mirrors/water" // VIEW_MONITOR + VIEW_INTRO_PLAYER + VIEW_REFLECTION + VIEW_REFRACTION
2 : "[2] Hide in 3D skybox" // VIEW_3DSKY
128 : "[128] Hide projected texture shadows" // VIEW_SHADOW_DEPTH_TEXTURE
]
disablereceiveshadows(choices) : "Disable Receiving Shadows" : 0 =