Template:Hl1 kv zhlt light source: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
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+)|intn=_diffuse_light|color255+int}}
{{kv|intn=_diffuse_light|Ambient (ZHLT+)|color255+int}}
{{kv|Ambient 2 (ZHLT+)|intn=_diffuse_light2|color255+int}}
{{kv|intn=_diffuse_light2|Ambient 2 (ZHLT+)|color255+int}}
{{kv|Sun spread angle|intn=_spread|int}}
{{kv|intn=_spread|Sun spread angle|int}}
{{kv|Model lighting only (VHLT v16+)|intn=_fake|boolean|Treat this entity as an [[info_sunlight]], causing it to not affect lightmaps.}}
{{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:

ZHLT Fade <float>
ZHLT Falloff <integer>
  • 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:

ZHLT Fade <float>
ZHLT Falloff <integer>
  • 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>
Ambient 2 (ZHLT+) (_diffuse_light2) <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:

ZHLT Fade <float>
ZHLT Falloff <integer>
  • 0 : Default
  • 1 : Inverse Linear
  • 2 : Inverse Square