Template:Hl1 kv light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Put the values in numerical order)
No edit summary
Line 1: Line 1:
{{ScrollBox|title=Light|
{{minititleLight}}
; Brightness <code><[[color255]] + [[int]]></code>
; Brightness <code><[[color255]] + [[int]]></code>
: The RGB color and brightness of the light. Colors must be between 0 and 255; brightness can be anything.
: The RGB color and brightness of the light. Colors must be between 0 and 255; brightness can be anything.
Line 17: Line 17:
; Custom Appearance <code><[[string]]></code>
; Custom Appearance <code><[[string]]></code>
: A string of characters, like a sequence of piano keys, that define a pattern of brightness. ''a'' is dark and ''z'' is full intensity. Applies only to lights with a targetname.  
: A string of characters, like a sequence of piano keys, that define a pattern of brightness. ''a'' is dark and ''z'' is full intensity. Applies only to lights with a targetname.  
}}
[[Category:Lighting]]
[[Category:Lighting]]
<noinclude>
<noinclude>
[[Category:Keyvalue Templates]]
[[Category:Keyvalue Templates]]
</noinclude>
</noinclude>

Revision as of 23:02, 26 July 2024

Template:MinititleLight

Brightness <color255 + int>
The RGB color and brightness of the light. Colors must be between 0 and 255; brightness can be anything.
Appearance <integer>
  • 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 <string>
A string of characters, like a sequence of piano keys, that define a pattern of brightness. a is dark and z is full intensity. Applies only to lights with a targetname.