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 5: Line 5:
* 1 : Inverse Linear
* 1 : Inverse Linear
* 2 : Inverse Square
* 2 : Inverse Square
{{kv|Texlight (VHLT+)|intn=_tex|texture|Treat this entity as an [[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}}

Revision as of 06:54, 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.