Template:Hl1 kv zhlt light source: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{minititle|ZHLT light source}}
 
<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 6:
* 1 : Inverse Linear
* 1 : Inverse Linear
* 2 : Inverse Square
* 2 : Inverse Square
{{#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.}}
}}
{{#if:{{{sun|}}}|
{{#if:{{{sun|}}}|
{{kv|Ambient (ZHLT+)|intn=_diffuse_light|color255+int}}
{{kv|Ambient (ZHLT+)|intn=_diffuse_light|color255+int}}
Line 11: Line 14:
{{kv|Sun spread angle|intn=_spread|int}}
{{kv|Sun spread angle|intn=_spread|int}}
{{kv|Model lighting only (VHLT v16+)|intn=_fake|boolean|Treat this entity as an [[info_sunlight]], causing it to not affect lightmaps.}}
{{kv|Model lighting only (VHLT v16+)|intn=_fake|boolean|Treat this entity as an [[info_sunlight]], causing it to not affect lightmaps.}}
|}}
|}}</onlyinclude>
<noinclude>
<noinclude>
{{hl1 kv zhlt light source|sun=1}}
{{hl1 kv zhlt light source|sun=1}}
[[Category:Keyvalue Templates]]
[[Category:Keyvalue Templates]]
</noinclude>
</noinclude>

Revision as of 06:57, 19 September 2024

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.


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.
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.