Jump to content
The simFlight Network Forums
Sign in to follow this  
gfd

AI Lights

Recommended Posts

Greetings

 

You will roll your eyes when you read this. I am harping about the lack of AI lights in the sky, using P3D version 2. I realize there is nothing to be done about it, if anything, until your version for P3D 2 is ready. Do you anticipate being able to give us aircraft lights back in the sky? Perhaps the lack of AI lights is a deliberate move on LM's part to prevent degradation of performance. Your thoughts would be instructive.

 

Thanks,

Graham

Share this post


Link to post
Share on other sites

P3DV2 does not display lights of aircraft that are further than 8.5 miles away, when the model gets loaded, also not on stock P3D aircraft, so I',m afraid we cannot do anything about this.

Share this post


Link to post
Share on other sites

They issue with the lights on p3d is that they are not defined in the aircraft cfg, in the path MyTraffic\Aircraft there is a small add-ons called Manage_Aircraft_Config.exe , which leads me to believe that the lights are hardcoded in the MDL of the airplane itself, as it also appears in ModelConverterX.

 

The only lights in the aircraft cfg that I could find there is

 

[lights]
light.0 = 2,0.0,    0.00,  0.0, fx_strobeh ,

 

When it should look something like that

[lights]
//(non-winglet lights)
//Types: 1=beacon, 2=strobe, 3=navigation, 4=cockpit, 5=landing

light.0 = 3, -18.51, -54.9, 5.16, fx_navred
light.1 = 3, -18.51, 54.90, 5.16, fx_navgre
light.2 = 2, -19.98, -55.45, 5.23, fx_strobe
light.3 = 2, -19.98, 55.45, 5.23, fx_strobe
light.4 = 1, -3.7, 0.01, -3.73, fx_beacon
light.5 = 1, 4.00, 0, 10.18, fx_beacon
light.6 = 3, -24.04, 56.39, 5.09, fx_navwhi
light.7 = 3, -24.04, -56.39, 5.09, fx_navwhi
light.8 = 2, -55.00, 0, 8.32, fx_strobe

Share this post


Link to post
Share on other sites

It should for user planes - it must not for AI planes.

 

Lights in the aircraft.config are visible from far, they are tracked all over the reality bubble. Your example would mean that every AI aircraft within 150 miles would make 8 draw calls.

 

The maximal number highest end hardware can handle are about 2000 before performance breaks down. Take half of them for AI, this means that we limit the number of AI aircraft to 125 ( less since some are near and generate more draw calls) - which is far to little, in many areas wie have 500 or more aircraft around us. Somple math tells us NOT to place more than one light into the config file for AI aircraft.

Share this post


Link to post
Share on other sites

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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy 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.