Template:Hl1 kv zhlt: Difference between revisions
Jump to navigation
Jump to search
Tip:Always enable this for func_illusionary; VHLT does not properly strip clipnodes for this entity.
Important:The resulting textures will be renamed to have the prefix __rad; as such, any unique attributes will be lost.
Dr. Orange (talk | contribs) (Formatting) |
SirYodaJedi (talk | contribs) (add more commands) |
||
| Line 1: | Line 1: | ||
{{ScrollBox|title=ZHLT| | {{ScrollBox|title=ZHLT| | ||
{{KV|ZHLT | {{KV|ZHLT Light Flags (ZHLT 2.2+)|intn=zhlt_lightflags|choices| | ||
:Special lighting behavior. Only available if using [[ZHLT|Zoner's Half-Life Compile Tools]]. | :Special lighting behavior. Only available if using [[ZHLT|Zoner's Half-Life Compile Tools]]. | ||
:*0 : "Default" | :*0 : "Default" | ||
| Line 7: | Line 7: | ||
:*3 : "Opaque + Embedded fix" | :*3 : "Opaque + Embedded fix" | ||
:*6 : "Opaque + Concave Fix"}} | :*6 : "Opaque + Concave Fix"}} | ||
{{KV|Light Origin Target| | {{KV|Light Origin Target (ZHLT 2.2+)|intn=light_origin|target_destination|Used to define a target to sample lighting from.}} | ||
{{KV|Nonsolid (ZHLT)|intn=zhlt_noclip|boolean| | |||
Disables generation of clipnodes for all brushes on this entity, except for clip brushes. The entity may still be solid to point traces (hitscans, grenades, etc) if the brush contents are set to solid. | |||
{{tip|Always enable this for func_illusionary; [[VHLT]] does not properly strip clipnodes for this entity.}}}} | |||
{{KV|Fake Lightmap (VHLT v33+)|intn=zhlt_embedlightmap|boolean| | |||
Generates unique [[diffuse]] textures for all textured faces, then bakes lighting information directly into the generated textures. Primarily used to prevent translucent surface | |||
{{important|The resulting textures will be renamed to have the prefix {{mono|__rad}}; as such, any [[texture prefixes|unique attributes]] will be lost.}} }} | |||
{{KV|Downscale Fake Lightmap (VHLT v34+)|intn=zhlt_embedlightmapresolution|int| | |||
Downscale texture created by zhlt_embedlightmap this many times. | |||
}} | |||
}} | }} | ||
<noinclude> | <noinclude> | ||
[[Category:Keyvalue Templates|zhlt]] | [[Category:Keyvalue Templates|zhlt]] | ||
</noinclude> | </noinclude> | ||
Revision as of 10:38, 30 April 2024
ZHLT:
- ZHLT Light Flags (ZHLT 2.2+) (zhlt_lightflags) <choices>
- Special lighting behavior. Only available if using Zoner's Half-Life Compile Tools.
- 0 : "Default"
- 1 : "Embedded Fix"
- 2 : "Opaque (blocks light)"
- 3 : "Opaque + Embedded fix"
- 6 : "Opaque + Concave Fix"
- Light Origin Target (ZHLT 2.2+) (light_origin) <targetname>
- Used to define a target to sample lighting from.
- Nonsolid (ZHLT) (zhlt_noclip) <boolean>
- Disables generation of clipnodes for all brushes on this entity, except for clip brushes. The entity may still be solid to point traces (hitscans, grenades, etc) if the brush contents are set to solid.
- Fake Lightmap (VHLT v33+) (zhlt_embedlightmap) <boolean>
- Generates unique diffuse textures for all textured faces, then bakes lighting information directly into the generated textures. Primarily used to prevent translucent surface
- Downscale Fake Lightmap (VHLT v34+) (zhlt_embedlightmapresolution) <integer>
- Downscale texture created by zhlt_embedlightmap this many times.