Viper wrote:...I wonder how many of these you can use till it starts to slow things down?
Coool, especially the added sound makes it way better. I would adjust the settings a tiny bit, but that's just my taste.
Code: Select all
flicker:
self light 0.5 0.4 0.2 200
while(1)
{
wait (randomfloat 0.09)
self lightRadius (randomfloat 50 + 150)
wait 0.01//waitframe // don't change the light within one frame
}
end
Thanks!
Dunno whether u read about it or even have made the experience: These dynamic lights are visible from the the backside of walls they're attached to. So u won't be able to use them there. And yes, they don't improve fps

but - like most things - too many of these torches won't make a map better anyway.
edit:: After a deeper look into it, I found my old (and bad) torch shader. It will probably never die

I did a new pk3 and map of Viper's test including the better torch and additionally a demonstration of the light-through-wall effect.
Here it is