Template:Hl1 kv zhlt invisible: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(explain zhlt_hidden and zhlt_striprad)
 
Line 8: Line 8:
Which named [[info_hullshape]] entity to use for the specified clipping hull.
Which named [[info_hullshape]] entity to use for the specified clipping hull.
}}
}}
{{Kv|Mins/Maxs (VHLT+)|intn=zhlt_minsmaxs|vector{{!}}mins vector + maxs vector|
{{Kv|Mins/Maxs (VHLT+)|intn=zhlt_minsmaxs|mins vector + maxs vector|
Override this entity's [[bounding box]].}}
Override this entity's [[bounding box]].}}
{{kv|zhlt_transform|intn=zhlt_transform|}}
{{kv|zhlt_transform|intn=zhlt_transform|???|}}
{{kv|zhlt_hidden|intn=zhlt_hidden|}}
{{kv|Never visible (VHLT+)|intn=zhlt_hidden|boolean|
{{kv|zhlt_striprad|intn=zhlt_striprad|}}
Don't create marksurfaces for this entity, resulting in it being treated by VIS as never visible.}}
:{{tip|The {{code|_HIDDEN}} texture suffix does the same thing, but also works on world brushes, which are used for model lighting.}}
{{kv|Strip lightmaps after compiling (VHLT+)|intn=zhlt_striprad|boolean|
Undefines the lightmaps for brushes on this entity after compiling, resulting in the faces being fullbright and not using up [[allocblock]]. Unlike TEX_SPECIAL, faces with zhlt_striprad will still affect bounced lighting.}}
</onlyinclude>
</onlyinclude>

Latest revision as of 23:10, 2 September 2024

ZHLT:

Don't Render (ZHLT 3+) (zhlt_invisible) <boolean>
Treat all faces as if they were textured with NULL.
Tip.pngTip:Use this on triggers which use custom textures instead of AAATRIGGER or NULL, such as ladders.
Custom Hull 1 (VHLT+) (zhlt_hull1) <targetname>
Custom Hull 2 (VHLT+) (zhlt_hull2) <targetname>
Custom Hull 3 (VHLT+) (zhlt_hull3) <targetname>
Which named info_hullshape entity to use for the specified clipping hull.
Mins/Maxs (VHLT+) (zhlt_minsmaxs) <mins vector + maxs vector>
Override this entity's bounding box.
zhlt_transform (zhlt_transform) <???>
Never visible (VHLT+) (zhlt_hidden) <boolean>
Don't create marksurfaces for this entity, resulting in it being treated by VIS as never visible.
Tip.pngTip:The _HIDDEN texture suffix does the same thing, but also works on world brushes, which are used for model lighting.
Strip lightmaps after compiling (VHLT+) (zhlt_striprad) <boolean>
Undefines the lightmaps for brushes on this entity after compiling, resulting in the faces being fullbright and not using up allocblock. Unlike TEX_SPECIAL, faces with zhlt_striprad will still affect bounced lighting.