Template:Hl1 kv light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(same as Source (and Source 2, and Quake, and Doom, and…))
No edit summary
Line 3: Line 3:
:{{note|Negative brightness will suck out the amount of lighting that the equivalent positive brightness would cast.}}
:{{note|Negative brightness will suck out the amount of lighting that the equivalent positive brightness would cast.}}
}}
}}
{{KV|Appearance|intn=style|choices|Various Custom Appearance presets.}}
{{KV|Appearance (lightstyle)|intn=style|choices|Various lightstyle presets.}}
{{Light appearances}}
{{Light appearances}}
{{KV|Custom Appearance|intn=pattern|string|A string of english letters, like a sequence of piano keys, that define a pattern of brightness. '''a''' is 0%, '''m''' is 100%, and '''z''' is 200%. Applies only to lights with a [[targetname]].}}
{{KV|Custom Appearance|intn=pattern|string|A string of english letters, like a sequence of piano keys, that define a pattern of brightness. '''a''' is 0%, '''m''' is 100%, and '''z''' is 200%. Applies only to lights with a [[targetname]].}}

Revision as of 16:12, 4 September 2024

Light:

Brightness (_light) <color255 + int>
The RGB color and brightness of the light. Colors must be between 0 and 255; brightness can be anything.
Note.pngNote:Negative brightness will suck out the amount of lighting that the equivalent positive brightness would cast.
Appearance (lightstyle) (style) <choices>
Various lightstyle presets.

Template:Light appearances

Custom Appearance (pattern) <string>
A string of english letters, like a sequence of piano keys, that define a pattern of brightness. a is 0%, m is 100%, and z is 200%. Applies only to lights with a targetname.