Template:I Source 2 Light2: Difference between revisions
Jump to navigation
Jump to search
(Create IO input template for the Next-Gen lights from lights2.fgd) |
m (→top: Substituted IO templates) |
||
Line 1: | Line 1: | ||
{{ScrollBox|title=Source 2 Light2| | {{ScrollBox|title=Source 2 Light2| | ||
{{ | {{I|Enable|Turn on the light.|param=void}} | ||
{{ | {{I|Disable|Turn off the light.|param=void}} | ||
{{ | {{I|Toggle|Toggle the light.|param=void}} | ||
{{ | {{I|SetColor|Set the light's color.|param=color255}} | ||
{{ | {{I|SetColorTemperature|Set the light's color temperature in Kelvin.|param=float}} | ||
{{ | {{I|SetBrightness|Set the light's brightness in EV.|param=float}} | ||
{{ | {{I|SetBrightnessScale|Set the light's brightness multiplier, which defaults to 1.|param=float}} | ||
{{ | {{I|SetStyle|separated list of styles from light_styles.vdata to play in sequence. The last entry will loop. The last style can be 'on'/'off' to enable/disable the light with no light style.|param=string}} | ||
{{ | {{I|SetFogStrength|Set the fog strength.|param=float}} | ||
{{ | {{I|SetFogScale|Set the fog multiplier, which defaults to 1.|param=float}}}} | ||
<noinclude> | <noinclude> | ||
[[Category:Input Templates|Source 2 Light2]] | [[Category:Input Templates|Source 2 Light2]] | ||
</noinclude> | </noinclude> |
Latest revision as of 12:56, 21 April 2025
Source 2 Light2:
- Enable <void>
- Turn on the light.
- Disable <void>
- Turn off the light.
- Toggle <void>
- Toggle the light.
- SetColor <color255>
- Set the light's color.
- SetColorTemperature <float>
- Set the light's color temperature in Kelvin.
- SetBrightness <float>
- Set the light's brightness in EV.
- SetBrightnessScale <float>
- Set the light's brightness multiplier, which defaults to 1.
- SetStyle <string>
- separated list of styles from light_styles.vdata to play in sequence. The last entry will loop. The last style can be 'on'/'off' to enable/disable the light with no light style.
- SetFogStrength <float>
- Set the fog strength.
- SetFogScale <float>
- Set the fog multiplier, which defaults to 1.