Template:Hl1 kv zhlt point: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Removed redirect to Template:Hl1 kv zhlt light source)
Tag: Removed redirect
No edit summary
Line 3: Line 3:
{{kv|Copy lighting from (VHLT+)|intn=zhlt_copylight|target_destination|Copies the lighting from the named entity to the nearest lightmap luxel below this entity's origin.}}
{{kv|Copy lighting from (VHLT+)|intn=zhlt_copylight|target_destination|Copies the lighting from the named entity to the nearest lightmap luxel below this entity's origin.}}
: {{tip|To avoid having the copied lighting visibly affecting the brush lighting, put a 16x16x1 [[func_detail (GoldSrc)|func_detail]] with {{code|zhlt_noclip}} enabled directly below this model's origin. Texture the top face with {{code|black_HIDDEN}}, and the rest of the faces with {{code|SKIP}}.}}
: {{tip|To avoid having the copied lighting visibly affecting the brush lighting, put a 16x16x1 [[func_detail (GoldSrc)|func_detail]] with {{code|zhlt_noclip}} enabled directly below this model's origin. Texture the top face with {{code|black_HIDDEN}}, and the rest of the faces with {{code|SKIP}}.}}
{{kv|Model shadows (UMHLT, SDHLT)|intn=zhlt_studioshadow|boolean}}
{{kv|Model shadow mode (SDHLT)|intn=zhlt_shadowmode|choices}}
:0 - Use Bounding Box
:1 - Use triangles (default)
:2 - Use Bounding boxes of triangles
</onlyinclude>
</onlyinclude>
[[Category:Keyvalue templates]]
[[Category:Keyvalue templates]]

Revision as of 09:35, 31 August 2024

ZHLT:

Copy lighting from (VHLT+) (zhlt_copylight) <targetname>
Copies the lighting from the named entity to the nearest lightmap luxel below this entity's origin.
Tip.pngTip:To avoid having the copied lighting visibly affecting the brush lighting, put a 16x16x1 func_detail with zhlt_noclip enabled directly below this model's origin. Texture the top face with black_HIDDEN, and the rest of the faces with SKIP.
Model shadows (UMHLT, SDHLT) (zhlt_studioshadow) <boolean>
Model shadow mode (SDHLT) (zhlt_shadowmode) <choices>
0 - Use Bounding Box
1 - Use triangles (default)
2 - Use Bounding boxes of triangles