Info texlights (GoldSrc): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Changed description.)
m (Link VHLT; this isn't 2002)
Line 1: Line 1:
{{stub}}
{{stub}}
{{HL1}} '''info_texlights''' is a point entity available with [[ZHLT|Zoner's Half-Life Tools]].
{{HL1}} '''info_texlights''' is a point entity available with [[ZHLT|Zoner's Half-Life Tools]] and modern forks such as [[VHLT|Vluzacn's Half-Life Tools]].


== Entity description ==
== Entity description ==
It works similarly to a [[lights.rad]] file by allowing textures to emit light. Texture lights are defined through its key values, where the key is the name of the texture to emit light from, and the value is the color and intensity of the light. For example, a keyvalue pair with the key <code>LIGHT1</code> and the value <code>255 0 0 200</code> would make the texture ''LIGHT1'' emit a red light.
It works similarly to a [[lights.rad]] file by allowing textures to emit light. Texture lights are defined through its key values, where the key is the name of the texture to emit light from, and the value is the color and intensity of the light. For example, a keyvalue pair with the key {{mono|LIGHT1}} and the value {{mono|255 0 0 200}} would make the texture ''LIGHT1'' emit a red light.


[[Category:Entities]]
[[Category:Entities]]

Revision as of 13:15, 29 May 2023

Stub

This article or section is a stub. You can help by expanding it.

Half-Life info_texlights is a point entity available with Zoner's Half-Life Tools and modern forks such as Vluzacn's Half-Life Tools.

Entity description

It works similarly to a lights.rad file by allowing textures to emit light. Texture lights are defined through its key values, where the key is the name of the texture to emit light from, and the value is the color and intensity of the light. For example, a keyvalue pair with the key LIGHT1 and the value 255 0 0 200 would make the texture LIGHT1 emit a red light.