Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Targeting light entities

Page: 1 of 1
 lauser
02-06-2004, 7:21 PM
#1
Well I decided to start a new thread so here goes....

What can I do with lights? How can I target them and in what applications? I'm asking about it first before I go screwing up my maps. I have a test map that I use for stuff like this too.

For instance: Can I target lights to a moving platform or even a func_train? Or is this the old "You can't assign more than one entity to a feature in a map....type thing" ??
 WadeV1589
02-07-2004, 11:16 AM
#2
AFAIK lights have the following for how they work/look:

target - create a spotlight

targetname - trigger the light to make it switch on and off....or using the style and/or style_off keys, toggle the style effect of the light.

style - make the light flash in a variety of ways

style_off - as above but activates once the light is toggled 'off'

_style - I believe the underscore means use the value in the worldspawn instead of a default value, you can specify _style1rgbgen in worldspawn with a wave value to create your own effect.

_deviance - angle to diffuse the light by around shadows (also known as penumbra) - often using a value of 2

_samples - smooths out the shadows using an x-tap filter - most commonly set to 16 - useful in conjunction with _deviance
Page: 1 of 1