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