Thread: Searchlight?
View Single Post
Old 08-21-12, 06:47 AM   #52
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by The General View Post
Ok, thanks gap. Can you tell me which folder SearchLightEffect is in and I'll have a fiddle? With the paramteres I mean
data/Library/ShipParts/guns_radars_01.sim

Under SearchLightEffect controller, Atenuation group, there are two parameters called A and B. Light intensity at any given distance from the reflector is calculated as:

Light intensity = 1 / (A + B*<distance>)

Try to match the visual beam's luminosity with the Range parameter, found within the same controller. Based on sparse information on common naval reflector ranges I've found on the web, I have set it to 800 mt (stock setting was: 200 mt), but you might want to further finetune it.

Within the same controller there are two other parameters for adjusting beams color (I've set it to a shade of violet) and cone angle.

Another controller you might want to fiddle with is WaterReflection, found in the same sim file, though I don't fully understand all of its parameters.

Keep us informed on any progress you will be doing!

EDIT: beam's shape and gradient transition (from bright to dark) could be affected as well by two dds textures found in data/Textures/TNormal/tex: raza_reflector_1.dds and raza_reflector_2.dds. To fully understand them you should look at their alpha channel.

Last edited by gap; 08-21-12 at 06:59 AM.
gap is offline   Reply With Quote