$ignorez: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 2: Line 2:
{{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.
{{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.


{{ModernNote|$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'".}}
{{ModernNote|$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==
==Preview==

Revision as of 17:51, 13 March 2023

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.

Template:ModernNote

Preview