$ignorez

From Valve Developer Community
Revision as of 18:10, 1 June 2022 by Chillax (talk | contribs) (Reworded and documented the fact that Valve actually went out of their way to disable it in "competitive games".)
Jump to navigation Jump to search

$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. This has only been fixed, by disabling it entirely, 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. Attempting to use it in those games will print the next error message in the console: "Ignoring material flag $ignorez".