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 |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{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 5: | Line 5: | ||
* 1 : Inverse Linear | * 1 : Inverse Linear | ||
* 2 : Inverse Square | * 2 : Inverse Square | ||
{{kv|Texlight (VHLT+)|intn=_tex|texture| | {{#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. See [[light_surface]] page for additional relevant KVs.}} | |||
}} | |||
{{#if:{{{sun|}}}| | |||
{{kv|intn=_diffuse_light|Ambient (ZHLT+)|color255+int}} | |||
{{kv|intn=_diffuse_light2|Ambient 2 (ZHLT+)|color255+int}} | |||
{{kv|intn=_spread|Sun spread angle|int}} | |||
{{kv|intn=_fake|Model lighting only (VHLT v16+)|boolean|Treat this entity as an [[info_sunlight]], causing it to not affect lightmaps.}} | |||
|}}</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}} | |||
; <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> |
Latest revision as of 07:36, 22 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