Point spotlight: Difference between revisions
Jump to navigation
Jump to search
Angry Beaver (talk | contribs) m (→See Also) |
m (ep1 add) |
||
Line 7: | Line 7: | ||
* {{kv targetname}} | * {{kv targetname}} | ||
* {{kv parentname}} | * {{kv parentname}} | ||
* {{kv renderfields}} | |||
* {{kv angles}} | * {{kv angles}} | ||
* {{kv hdrcolorscale}} | |||
* '''spotlightlength''' | * '''spotlightlength''' | ||
Line 30: | Line 30: | ||
==Inputs== | ==Inputs== | ||
*{{i targetname}} | |||
* {{i targetname}} | *{{i parentname}} | ||
*{{i renderfields}} | |||
* {{i | |||
* '''LightOn''' | * '''LightOn''' |
Revision as of 15:39, 5 August 2006
Entity Description
An entity to draw a spotlight. Will draw a beam when the player views it side on, and a halo when it's facing towards the player. Unless the 'No Dynamic Light' spawnflag is checked, it will also create a dynamic light wherever the end of the spotlight rests.
Keyvalues
- Template:Kv targetname
- Template:Kv parentname
- Template:Kv renderfields
- Template:Kv angles
- Template:Kv hdrcolorscale
- spotlightlength
- <integer> Length of the spotlight beam.
- spotlightwidth
- <integer> Width of the spotlight beam.
- rendercolor
- ⇆#000000rgb(0,0,0)⇆ The color of the spotlight cone.
Flags
- 1 : Start On
- Sets the point_spotlight to be turned on when it spawns.
- 2 : No Dynamic Light
- Prevents a dynamic light from being generated by the point_spotlight. Dynamic lights can be costly for performance, so this flag should be checked to improve framerate.
Inputs
- LightOn
- LightOff