light_spot
(Redirected from Light spot (GoldSource Engine))
light_spot
is a point entity available in all GoldSrc games.
Description
A cone-shaped, invisible light source. Can be turned on and off through targets, though switchable lights may cause lightmap errors. This is a static spotlight that can be pointed at another entity.
Note:Use an info_null entity to have your light_spot point to a certain spot.
Key values
Targetname:
- Name
(targetname)
<targetname> - The targetname that other entities refer to this entity by.
Light:
- Brightness
<color255 + int>
- The RGB color and brightness of the light. Colors must be between 0 and 255; brightness can be anything.
- Appearance
<integer>
- 0 : Normal
- 1 : Flicker A
- 2 : Slow, strong pulse
- 3 : Candle A
- 4 : Fast strobe
- 5 : Gentle pulse
- 6 : Flicker B
- 7 : Candle B
- 8 : Candle C
- 9 : Slow strobe
- 10 : Flourescent Flicker
- 11 : Slow pulse, noblack
- Custom Appearance
<string>
- A string of characters, like a sequence of piano keys, that define a pattern of brightness. a is dark and z is full intensity. Applies only to lights with a targetname.
- Inner (bright) angle
<integer>
- The angles of the inner spotlight beam.
- Outer (fading) angle
<integer>
- The angles of the outer spotlight beam.
- Is Sky
<integer>
- Whether or not this light should be used as sunlight cast from sky brushes. Identical to light_environment.
- 0 : No
- 1 : Yes
- Target
<target_destination>
- The name of an entity in the map that the spotlight will point at. This will override the spotlight's angles.
Angles:
- Pitch Yaw Roll (Y Z X)
(angles)
<angle> - This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
- Pitch
<angle>
- Overrides the pitch value in Angles, even if left at 0, so it needs to be specified. Contrary to Angles, the rotation of this pitch is measured counter-clockwise from the horizontal, so that 90 is straight up, while -90 is straight down. (It's simply the negative of a normal pitch value.)
ZHLT Point:
Spawnflags
- 1 : Initially dark