$ignorez: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Reworded and documented the fact that Valve actually went out of their way to disable it in "competitive games".)
m (Nesciuse moved page $ignorez/en to $ignorez without leaving a redirect: Move en subpage to basepage)
 
(18 intermediate revisions by 7 users not shown)
Line 1: Line 1:
'''<code>$ignorez</code>''' (as in "ignore the Z axis") is a [[boolean]] setting available in almost all {{source|4}} games that enables [[cheap]] [[sorting]]. It is mostly used for interface materials, which will always be rendered in front of the 3D world, and skybox materials, which will always be behind.
{{LanguageBar|title = $ignorez}}


{{note|$ignorez can be used on any textures or models, which means that, if the server allows custom files, it can be used to create a wallhack cheat. This has only been fixed, by disabling it entirely, in {{dods|4}}, {{tf2|4}}, {{css|4}} and {{hl2dm|4}}. Attempting to use it in those games will print the next error message in the console: "Ignoring material flag $ignorez".}}
{{Code|select=1|$ignorez}} {{Code|style=2|(as in "ignore the Z axis")}} is a [[boolean]] setting available in almost all {{source|4}} games that enables [[cheap]] [[sorting]]. It is mostly used for interface materials, which will always be rendered in front of the 3D world, and skybox materials, which will always be behind.


[[Category:List of Shader Parameters|I]]
{{note|$ignorez can be used on any textures or models, which means that, if the server allows custom files, it can be used to create a wallhack cheat. In {{dods|4}}, {{tf2|4}}, {{css|4}} and {{hl2dm|4}}, this is fixed by being disabled for models only, and attempting to use it on a model will print this error message into the console: "Ignoring material flag '$ignorez' on material 'X'".}}
 
==Preview==
<gallery>
File:$ignorez disabled.png|512px|$ignorez disabled
File:$ignorez enabled.png|512px|$ignorez enabled
</gallery>
 
[[Category:Shader parameters|ignorez]]

Latest revision as of 03:38, 12 July 2024

English (en)Русский (ru)Translate (Translate)

$ignorez (as in "ignore the Z axis") is a boolean setting available in almost all Source Source games that enables cheap sorting. It is mostly used for interface materials, which will always be rendered in front of the 3D world, and skybox materials, which will always be behind.

Note.pngNote:$ignorez can be used on any textures or models, which means that, if the server allows custom files, it can be used to create a wallhack cheat. In Day of Defeat: Source Day of Defeat: Source, Team Fortress 2 Team Fortress 2, Counter-Strike: Source Counter-Strike: Source and Half-Life 2: Deathmatch Half-Life 2: Deathmatch, this is fixed by being disabled for models only, and attempting to use it on a model will print this error message into the console: "Ignoring material flag '$ignorez' on material 'X'".

Preview