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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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..