Template:KV Source 2 Light Style: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Create Source 2 Light Style Keyvalue Template)
 
No edit summary
Line 1: Line 1:
{{ScrollBox|title=Source 2 Light Style|
{{ScrollBox|title=Source 2 Light Style|


{{KV|Style (light_style)|vdata_choice| Light Style.}}
{{KV|Style|intn=light_style|vdata_choice| Light Style.}}
:*0: candle_1
:*0: candle_1
:*1: candle_2
:*1: candle_2
Line 15: Line 15:
:*11: slow_strong_pulse
:*11: slow_strong_pulse


{{KV|Radiance RGB Material Variable (light_style_radiance_var)|string| Emissive RGB color for a light's material on appropriately sized geometry.}}  
{{KV|Radiance RGB Material Variable|intn=light_style_radiance_var|string| Emissive RGB color for a light's material on appropriately sized geometry.}}  
{{KV|Style RGB Material Variable (light_style_var)|string| Light style multiplier ignoring the light's actual color.}}
{{KV|Style RGB Material Variable|intn=light_style_var|string| Light style multiplier ignoring the light's actual color.}}
{{KV|Style Output Event 0 (light_style_output_event0)|vdata_choice| Name of the event that triggers the OnStyleEvent0 output.}}
{{KV|Style Output Event 0|intn=light_style_output_event0|to=Style Output Event 3|intn=light_style_output_event3|vdata_choice| Name of the event that triggers the OnStyleEvent0 to OnStyleEvent3 output.}}
:*0: buzz
:*0: buzz
:*1: flash
:*1: flash
Line 24: Line 24:
:*4: pop
:*4: pop
:*5: spark
:*5: spark
{{KV|Style Output Event 1 (light_style_output_event1)|vdata_choice| Name of the event that triggers the OnStyleEvent1 output.}}
{{KV|Style Target 0|intn=light_style_target0|to=Style Target 3|intn=light_style_target3|targetname| Apply light style to a particular entity's materials.}}
{{KV|Style Output Event 2 (light_style_output_event2)|vdata_choice| Name of the event that triggers the OnStyleEvent2 output.}}
}}
{{KV|Style Output Event 3 (light_style_output_event3)|vdata_choice| Name of the event that triggers the OnStyleEvent3 output.}}
{{KV|Style Target 0 (light_style_target0)|targetname| Apply light style to a particular entity's materials.}}
{{KV|Style Target 1 (light_style_target1)|targetname| Apply light style to a particular entity's materials.}}
{{KV|Style Target 2 (light_style_target2)|targetname| Apply light style to a particular entity's materials.}}
{{KV|Style Target 3 (light_style_target3)|targetname| Apply light style to a particular entity's materials.}}}}


<noinclude>
<noinclude>
[[Category:KeyValue Templates|Source 2 Light Style]]
[[Category:Keyvalue Templates|Source 2 Light Style]]
</noinclude>
</noinclude>

Revision as of 05:42, 8 February 2025

Source 2 Light Style:


Style (light_style) <vdata_choice>
Light Style.
  • 0: candle_1
  • 1: candle_2
  • 2: candle_3
  • 3: event_test
  • 4: fast_strobe
  • 5: flicker_1
  • 6: flicker_2
  • 7: fluorescent_flicker
  • 8: gentle_pulse
  • 9: slow_pulse_nofade
  • 10: slow_strobe
  • 11: slow_strong_pulse


Radiance RGB Material Variable (light_style_radiance_var) <string>
Emissive RGB color for a light's material on appropriately sized geometry.
Style RGB Material Variable (light_style_var) <string>
Light style multiplier ignoring the light's actual color.
Style Output Event 0 (light_style_output_event3) to Style Output Event 3 <vdata_choice>
Name of the event that triggers the OnStyleEvent0 to OnStyleEvent3 output.
  • 0: buzz
  • 1: flash
  • 2: off
  • 3: on
  • 4: pop
  • 5: spark
Style Target 0 (light_style_target3) to Style Target 3 <targetname>
Apply light style to a particular entity's materials.