Template:Hl1 kv zhlt light source: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{minititle|ZHLT light source}}
<includeonly><onlyinclude>{{minititle|ZHLT light source}}
; ZHLT Fade <code><[[float]]></code>
; ZHLT Fade <code><[[float]]></code>
Line 18: Line 17:
; <nowiki>{{hl1 kv zhlt light source}}</nowiki>
; <nowiki>{{hl1 kv zhlt light source}}</nowiki>
{{hl1 kv zhlt light source|}}
{{hl1 kv zhlt light source|}}


; <nowiki>{{hl1 kv zhlt light source|sun=1}}</nowiki>
; <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>
; <nowiki>{{hl1 kv zhlt light source|light_surface=1}}</nowiki>

Latest revision as of 07:36, 22 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