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

P3D v3 AI traffic limiting system/program

Messages
8
Country
unitedkingdom
Hello guys

My first post on here so if it's in the wrong place then by all means I apologise and please move it to it's correct location.

I am attempting to create an AI Traffic limiter in C# - I am fairly confident with C# and have written a ACARS system, among other things.

I did attempt my task using FSUIPC, but due to the 3nm Ground Traffic range limit, I was not able to complete it. I asked the FSUIPC man if he could make the range editible, but he did not seem interested in helping.

So, here's the problem. I am flying Barcelona to Gatwick. I use AI Traffic. When I get to Gatwick, it is incredibly laggy - not because of Gatwick, but because of nearby Heathrow. All the AI is loaded for Heathrow (and everywhere else in the reality bubble for that matter) and really slows down the sim - yet I don't even see it while at Gatwick!

So I'd like to make something which will remove AI Traffic which IS NOT arriving or departing out of either my departure or arrival airports. Basically, say I am flying Barcelona to Gatwick, I would like all of the traffic unrealated to either Barcelona or Gatwick to be deleted. I know how to delete AI using FSUIPC. But anything which is either taking off or landing at Gatwick, or taking off or landing at Barcelona, to be kept in the sim - (poorly explained I know, sorry!).

I am a little stuck at pulling SimConnect information from the sim and sorting it. I have no experience with SimConnect at all, so some guidance would be greatly appreciated. I have tried the examples before, but I don't think I managed too well - maybe i'll try again.

If anyone could point me in the direction of something which pulls ALL of the traffic and, for example puts it in a table, in any coding language, I'm sure I could modify it to do what I need. Any help is welcomed.


As I said I use C#.

Cheers
Callum
 
Top