Dynamic Lighting Effects


(emPulse) #1

questions:

  1. Is it possible to create a rotating light (like that on a police car) using this engine? ie- a red ocillating strobing warning light once enemy advances past a certain point.

  2. I sit possible to create lighting that exists inside a building/structure that is normal (looks normal and intact) that could be affected by Airstrike going off above it, or grenade/explosion going off in room causing the light to operate in a second destroyed state. ie- airstrike goes off above bunker and the room shakes and the glass in the lights (not all) breaks and the lighting changes. You know how in old war movies when the bombs hit the lights dim and dust falls and some go out.

I think these things could add more realism to the maps. just wondering if possible and maybe someone could generate an example, via scripting etc.

thanx fer your time,

Chris / emPulse


(opus) #2

well… you could possibly script something so that when air raids hit, the light go off… if they’re entity light i know you can use triggers to do all kind of crap with them.


(SCDS_reyalP) #3

You can use dlight entities for dynamic lighting, but you wont get nice crisp shadows like normal lights give you, and they have a fairly large effect on framerate.

There is also the lightstyle stuff ydnar just put into q3map2… see the q3map2 forum for that.

Finally, you can fake some dynamic lighting using decals and func_static or script_mover.


(system) #4

Using the decals to simulate that is a god way.

I did some shootble lights but if people turned dynamic lighting off in their settings the won’t see the effects.