Template:Hl1 kv light: Difference between revisions
Jump to navigation
Jump to search
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
{{minititle|Light}} | {{minititle|Light}} | ||
{{KV|Brightness|intn=_light|color255 + int|The RGB color and brightness of the light. Colors must be between 0 and 255; brightness can be anything. | |||
:{{note|Negative brightness will suck out the amount of lighting that the equivalent positive brightness would cast. Use sparingly; set falloff to linear instead of quadratic to make it more like an ordinary shadow and less like a black hole. }} | |||
; Appearance | }} | ||
* 0 : Normal | {{KV|Appearance|intn=style|choices|Various Custom Appearance presets.}} | ||
* 1 : Flicker A | :* 0 : Normal | ||
* 2 : Slow, strong pulse | :* 1 : Flicker A | ||
* 3 : Candle A | :* 2 : Slow, strong pulse | ||
* 4 : Fast strobe | :* 3 : Candle A | ||
* 5 : Gentle pulse | :* 4 : Fast strobe | ||
* 6 : Flicker B | :* 5 : Gentle pulse | ||
* 7 : Candle B | :* 6 : Flicker B | ||
* 8 : Candle C | :* 7 : Candle B | ||
* 9 : Slow strobe | :* 8 : Candle C | ||
* 10 : Flourescent Flicker | :* 9 : Slow strobe | ||
* 11 : Slow pulse, noblack | :* 10 : Flourescent Flicker | ||
:* 11 : Slow pulse, noblack | |||
{{KV|Custom Appearance|intn=pattern|string|A string of characters, 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 characters, 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]].}} | ||
[[Category:Lighting]] | [[Category:Lighting]] |
Revision as of 16:53, 3 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:Negative brightness will suck out the amount of lighting that the equivalent positive brightness would cast. Use sparingly; set falloff to linear instead of quadratic to make it more like an ordinary shadow and less like a black hole.
- Appearance (style) <choices>
- Various Custom Appearance presets.
- 0 : Normal
- 1 : Flicker A
- 2 : Slow, strong pulse
- 3 : Candle A
- 4 : Fast strobe
- 5 : Gentle pulse
- 6 : Flicker B
- 7 : Candle B
- 8 : Candle C
- 9 : Slow strobe
- 10 : Flourescent Flicker
- 11 : Slow pulse, noblack
- Custom Appearance (pattern) <string>
- A string of characters, 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.