Jump to content

Home

Targeting light entities


lauser

Recommended Posts

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" ??

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...