Cleanup is going to take awhile, so the site is back up but editing has been disabled.
Light spot
From HalfLife 2 Knowledge Base
Contents |
[edit]
light_spot
Source(core) Point Entity
[edit]
description
Spotlight.
[edit]
properties
- Name targetname(target_source)
The name that other entities refer to this entity by. - Pitch Yaw Roll (Y Z X) angles(angle) - default: 0 0 0
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. - Brightness _light(color255) - default: 255 255 255 200
- Appearance style(Choices)
- 0 - Normal
- 10 - Fluorescent 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 pattern(string)
Set a custom pattern of light brightness for this light. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light. - Constant _constant_attn(string) - default: 0
- Linear _linear_attn(string) - default: 0
- Quadratic _quadratic_attn(string) - default: 1
- Entity to point at target(target_destination)
The name of an entity in the map that the spotlight will point at. This will override the spotlight's angles. - Inner (bright) angle _inner_cone(integer) - default: 30
- Outer (fading) angle _cone(integer) - default: 45
- Focus _exponent(integer) - default: 1
- Maximum distance _distance(integer) - default: 0
This is the distance that light is allowed to cast, in inches. - Pitch pitch(integer) - default: -90
[edit]
spawn flags
none
[edit]
inputs
- Kill(void)
Removes this entity from the world. - KillHierarchy(void)
Removes this entity and all its children from the world. - AddOutput(string)
Adds an entity I/O connection to this entity. Format - FireUser1(void)
Causes this entity's OnUser1 output to be fired. - FireUser2(void)
Causes this entity's OnUser2 output to be fired. - FireUser3(void)
Causes this entity's OnUser3 output to be fired. - FireUser4(void)
Causes this entity's OnUser4 output to be fired. - TurnOn(void)
Turn the light on. - TurnOff(void)
The the light off. - Toggle(void)
Toggle the light's current state. - SetPattern(string)
Set a custom pattern of light brightness for this light. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light. - FadeToPattern(string)
Fades from first value in old pattern, to first value in the new given pattern. Pattern format is a string of characters, where 'a' is total darkness, 'z' fully bright. i.e. 'aaggnnttzz' would be a steppy fade in from dark to light.
[edit]
outputs
- OnUser1(void)
Fired in response to FireUser1 input. - OnUser2(void)
Fired in response to FireUser2 input. - OnUser3(void)
Fired in response to FireUser3 input. - OnUser4(void)
Fired in response to FireUser4 input.
[edit]
related tutorials
Submit your tutorial for light_spot

