Light spot: Difference between revisions
Jump to navigation
Jump to search
Note:When using this entity, it is often necessary to turn the brightness value up significantly for the effects of the light to be visible. Values of 3000-4000 are sometimes necessary for light sources like streetlights.
m (→See Also: oops; unrelated tut) |
m (http://sourcemapping.org/akg/tutorials/wiseLight.asp -- Link Broken at time of Edit) |
||
Line 48: | Line 48: | ||
* [[List_of_entities#Light_Entities|Light entities]] | * [[List_of_entities#Light_Entities|Light entities]] | ||
* '''Tutorial:''' [http://www.editlife.net/tutorials.php?id=15 Quadratic/Linear/Constant in Lights] | * '''Tutorial:''' [http://www.editlife.net/tutorials.php?id=15 Quadratic/Linear/Constant in Lights] | ||
[[Category:Entities]] | [[Category:Entities]] |
Revision as of 23:18, 13 February 2007
Entity Description
A cone-shaped, invisible light source. Can be turned on and off through inputs, though switchable lights may cause lightmap errors. This is a static spotlight that can be pointed at another entity.

Keyvalues
- Template:Kv targetname The targetname value for a spotlight will point the light at the entity named. If no targetname is available, the entity will point with it's angles paramater.
- Template:Kv angles This will control the direction the light points at, if no targetname is specified.
- _inner_cone
- <integer> This is the inner focus of the light, or the edge of the brightest part of the light. It will fade from here out to the
- _cone
- <integer>
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.