light

From Valve Developer Community
Jump to: navigation, search

<Half-Life> light is a point entity available in all GoldSource engine games. It's an invisible static light source.

Key Values

Target:

Target <target_destination>
The targetname of an entity this entity will trigger when activated.

Targetname:

Name <target_source>
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
  • 10 : Flourescent Flicker
  • 2 : Slow, strong pulse
  • 11 : Slow pulse, noblack
  • 5 : Gentle pulse
  • 1 : Flicker A
  • 6 : Flicker B
  • 3 : Candle A
  • 7 : Candle B
  • 8 : Candle C
  • 4 : Fast strobe
  • 9 : Slow strobe
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.

ZHLT Point:

ZHLT Fade <float>
ZHLT Falloff <integer>
  • 0 : Default
  • 1 : Inverse Linear
  • 2 : Inverse Square


Flags

  • 1 : Initially dark