Template:Hl1 kv zhlt light source: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{minititle|ZHLT light source}} | <includeonly><onlyinclude>{{minititle|ZHLT light source}} | ||
; ZHLT Fade <code><[[float]]></code> | ; ZHLT Fade <code><[[float]]></code> | ||
; ZHLT Falloff <code><[[integer]]></code> | ; ZHLT Falloff <code><[[integer]]></code> | ||
Line 7: | Line 7: | ||
* 2 : Inverse Square | * 2 : Inverse Square | ||
{{#if:{{{light_surface|}}}|| | {{#if:{{{light_surface|}}}|| | ||
{{kv|Texlight (VHLT+)|intn=_tex|texture|[[HLCSG]] will rename this entity to [[light_surface]], using the specified texture as the emissive texture.}} | {{kv|Texlight (VHLT+)|intn=_tex|texture|[[HLCSG]] will rename this entity to [[light_surface]], using the specified texture as the emissive texture. See [[light_surface]] page for additional relevant KVs.}} | ||
}} | }} | ||
{{#if:{{{sun|}}}| | {{#if:{{{sun|}}}| | ||
{{kv|Ambient (ZHLT+) | {{kv|intn=_diffuse_light|Ambient (ZHLT+)|color255+int}} | ||
{{kv|Ambient 2 (ZHLT+) | {{kv|intn=_diffuse_light2|Ambient 2 (ZHLT+)|color255+int}} | ||
{{kv|Sun spread angle | {{kv|intn=_spread|Sun spread angle|int}} | ||
{{kv|Model lighting only (VHLT v16+) | {{kv|intn=_fake|Model lighting only (VHLT v16+)|boolean|Treat this entity as an [[info_sunlight]], causing it to not affect lightmaps.}} | ||
|}}</onlyinclude> | |}}</onlyinclude></includeonly> | ||
<noinclude> | <noinclude> | ||
; <nowiki>{{hl1 kv zhlt light source}}</nowiki> | |||
{{hl1 kv zhlt light source|}} | |||
; <nowiki>{{hl1 kv zhlt light source|sun=1}}</nowiki> | |||
{{hl1 kv zhlt light source|sun=1}} | {{hl1 kv zhlt light source|sun=1}} | ||
; <nowiki>{{hl1 kv zhlt light source|light_surface=1}}</nowiki> | |||
{{hl1 kv zhlt light source|light_surface=1}} | |||
[[Category:Keyvalue Templates]] | [[Category:Keyvalue Templates]] | ||
</noinclude> | </noinclude> |
Revision as of 12:23, 21 January 2025
- {{hl1 kv zhlt light source}}
ZHLT light source:
- 0 : Default
- 1 : Inverse Linear
- 2 : Inverse Square
- Texlight (VHLT+) (_tex) <texture>
- HLCSG will rename this entity to light_surface, using the specified texture as the emissive texture. See light_surface page for additional relevant KVs.
- {{hl1 kv zhlt light source|sun=1}}
ZHLT light source:
- 0 : Default
- 1 : Inverse Linear
- 2 : Inverse Square
- Texlight (VHLT+) (_tex) <texture>
- HLCSG will rename this entity to light_surface, using the specified texture as the emissive texture. See light_surface page for additional relevant KVs.
- Ambient (ZHLT+) (_diffuse_light) <color255 + int>
- Sun spread angle (_spread) <integer>
- Model lighting only (VHLT v16+) (_fake) <boolean>
- Treat this entity as an info_sunlight, causing it to not affect lightmaps.
- {{hl1 kv zhlt light source|light_surface=1}}
ZHLT light source:
- 0 : Default
- 1 : Inverse Linear
- 2 : Inverse Square