• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

MSFS20 Destroy AI Plane object created by Sim

Messages
497
Country
unitedstates
Been some time since I did any Simconnect programming, but I seem to remember it being an issue in FSX.

Can a Simconnect app, delete AI aircraft that are being created over time by the Sim. ?

I am trying to delete AI Planes, within a radius of the user aircraft, and then, if there are still ones left that exceed a level, delete the ones furthest from the user plane, until the numbers are reduced to a given level.

My concern is that my SimConnect program will only be able to destroy Plane objects that it, itself has created, and not be able to delete sim generated plane objects.

Before I begin, should I be able to do this AI Plane reduction via a separate Simconnect app, or might there be a better way.

=======
Reason - Currently MSFS keeps generating AI Planes within the radius of a plane, but never delete any of those aircraft, even when they are no longer in that radius.
This results in a continual increase of AI Planes, until such time that the processing load to control these planes reduces FPS down to 10 FPS as and the sim becomes servery Main Thread limited.

Hopefully ASOBO will correct this at some time in the future, but there is no telling when, so a temporary solution would greatly help.
 
You should report this to Asobo via Zendesk. Now I now why I saw 500+ AI aircraft near NYC when using AIG traffic files. While you're at it also ask them when the AI SimConnect functions will be enabled in the SDK.
 
It has been reported by many people to Zendesk - I have had up to 950 AI aircarft "TRYING" to fly around in my flights - by which time my FPS was down to what looked like a limiting 10.0 fps
maybe at that point it stopped creating more -- who knows .. (maybe Asobo)
With so many other more Pressing thing top deal with - like "Press any key to continue !!!" .. who knows when Asobo will get around to correcting the AI overload Bug.

I guess you partially answered by question .. the main point was- If the Simconnect function to destroy Plane Objects" does already exist (and work ?) , can you still delete a Object like plane, if you did not create it yourself ?

https://forums.flightsimulator.com/...ausing-fps-decrease-and-eventually-ctd/305286
 
Back
Top