Jump to content

Recommended Posts

Posted

I´m currently looking for Infos regarding position & landing lights in SF2 aircraft.

What does the entrie "LightSrcOffset" in Data exactly mean?

And how is the color set? 

Thanks in advance!

 

Posted

Color is defined by 'Color=R,G,B' entry, each RGB component as a positive number between 0 and 1. For example  Color=0.88,0.25,0.25 (red).

If you have a picture with the color you want, you can measure the color components with Gimp 'Color Picker tool' (for example). Select the measure in RGB % then. You will get the components directly (with 1=100% of course).

For 'LightSrcOffset=', I am not sure but it seems to be an offset (in X,Y,Z coordinates and meters) to the  'Position=' entry (also in X,Y,Z AC model coordinates and meters). I don't know why there is this offset instead of only the position value and I am interested to know if someone can say  :smile:

  • Like 1
Posted

IIRC, the SRC offset is how far in front the beam is thrown. Position is where the bulb is on the aircraft.

and don't forget "attachednode=" for lights on swing or folding wings, or rudders.

  • Like 1
Posted

The light entries are working as sphere of light.

So LightSrcOffset= is the position of the sphere of light, located from the light position.
LightSrcRange= is the size of the sphere.

  • Like 3
Posted

i believe so; ive use the lod viewer to positon 'running lights' and landing lights many times.

  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use, Privacy Policy, and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..