Point spotlight: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (clean-up description)
mNo edit summary
Line 1: Line 1:
{{wrongtitle|title=point_spotlight}}
{{wrongtitle|title=point_spotlight}}
{{base_point}}
== Entity description ==
== Entity description ==
This point-based entity is a [[light_dynamic]] with two glow sprite effects: a ''beam'' effect for viewers outside the light cone and a ''halo'' effect for viewers inside the cone.  
This point-based entity is a [[light_dynamic]] with two glow sprite effects: a ''beam'' effect for viewers outside the light cone and a ''halo'' effect for viewers inside the cone.  
*If the 'No Dynamic Light' spawn flag is checked this entity will just provide a sprite effects, and will not illuminate other objects.
*If the 'No Dynamic Light' spawn flag is checked this entity will just provide a sprite effects, and will not illuminate other objects.
* See also [[Lighting]]


== Keyvalues ==
== Keyvalues ==
Line 38: Line 41:
== Outputs ==
== Outputs ==
* {{o targetname}}
* {{o targetname}}
== See also ==
* [[light_spot]]
* [[npc_spotlight]]
[[Category:Entities]]

Revision as of 15:49, 12 April 2008

Template:Wrongtitle Template:Base point

Entity description

This point-based entity is a light_dynamic with two glow sprite effects: a beam effect for viewers outside the light cone and a halo effect for viewers inside the cone.

  • If the 'No Dynamic Light' spawn flag is checked this entity will just provide a sprite effects, and will not illuminate other objects.
  • See also Lighting

Keyvalues

  • spotlightlength
<integer> Length of the spotlight beam.
  • spotlightwidth
<integer> Width of the spotlight beam.
  • rendercolor
#000000 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

Outputs