Light: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Entity Description: "Light" doesn't refer to the entity.)
(Slimmed down the tutorial list, refering people who came for the light to move on.)
Line 1: Line 1:
{{wrongtitle|title=light}}
{{wrongtitle|title=light}}
{{note|For an article on light sources in general, proceed to [[Lighting]].}}


==Entity Description==
==Entity Description==
Line 7: Line 8:


==See Also==
==See Also==
* '''Tutorial:''' [[Adding Light]] - A beginners tutorial on how to set up this entity.
* '''Tutorial:''' [[Intermediate Lighting#light|Intermediate Lighting]] - A continuation on the above tutorial, further dealing with how to set up light sources in general.


* '''Tutorial:''' [[Adding Light]] - A beginners tutorial.
* '''Tutorial:''' [http://www.editlife.net/tutorials.php?id=15 Quadratic/Linear/Constant in Lights]
* '''Tutorial:''' [http://www.sdknuts.com/?sdk=tutlights Source Lighting]
* '''Tutorial:''' [[Intermediate Lighting#light|Intermediate Lighting]] - A brief tutorial on this entity, as well as other light entities.
* [[List_of_entities#Light_Entities|Light entities]] - A list of all the other light entities.


==Keyvalues==
==Keyvalues==

Revision as of 02:32, 28 September 2006

Template:Wrongtitle

Note.pngNote:For an article on light sources in general, proceed to Lighting.

Entity Description

Light.png

An invisible light source. If named, it can be turned on and off through inputs.

The light entity is basic yet essential to almost every map.

See Also

  • Tutorial: Adding Light - A beginners tutorial on how to set up this entity.
  • Tutorial: Intermediate Lighting - A continuation on the above tutorial, further dealing with how to set up light sources in general.


Keyvalues

Flags

  • 1 : Initially Off

Inputs

  • TurnOn
Turns the light on.
  • TurnOff
Turns the light off.
  • Toggle
Toggles the light on or off.
  • SetPattern
Sets the light's custom appearance to the input's parameters.
  • FadeToPattern
Fades from the light's old pattern to the new one.

Outputs