Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

LAT/LON of AI or Multiplayer planes via Simconnect ?

Featured Replies

Hi, I'd like to analyse and display the LAT/LON of Multiplayer / AI airplanes around the current position of the plane and via Simconnect. Any suggestion where to start ? Is there an Index of the AI/MP planes in the simulation ? and a Function to retrieve the position as well as IAS, HDG etc ? Thanks for any answer guys and happy xmasrudolf

I believe the FSX SDK provides the traffic toolbox that can display the AI aircraft. You need to activate it.I don't believe AI aircraft are available during Multiplayer. I don't know of any simconnect addon(s) available for use in the manner you desire.W. Sieffert

Bill Sieffert

I think the SimConnect function you are looking for is:SimConnect_RequestDataOnSimObjectTypeThis will return objects of a given type (or all objects) within a specified radius of the users plane. I don't know if it works in multiplayer but it does work fine in standalone mode. Once you have made this request, you need to repeatedly check the SimConnect message queue to get the objects.I have used this at an airport to get all the objects within a 200m radius and it works fine. I haven't tested it out to 200km as mentioned in the SDK docs.The associated SimConnect_AddToDataDefinition example shows you how to use this function to get some of the information you mentioned.Hope this helps

>I think the SimConnect function you are looking for is:>>SimConnect_RequestDataOnSimObjectType>>This will return objects of a given type (or all objects)>within a specified radius of the users plane. I don't know if>it works in multiplayer but it does work fine in standalone>mode. Once you have made this request, you need to repeatedly>check the SimConnect message queue to get the objects.>>I have used this at an airport to get all the objects within a>200m radius and it works fine. I haven't tested it out to>200km as mentioned in the SDK docs.>>The associated SimConnect_AddToDataDefinition example shows>you how to use this function to get some of the information>you mentioned.>>Hope this helps>>Funny - I found this function in the Simconnect SDK documentation yesterday and it works great !It delivers all aircraft, helicopter, ground object information in the range of up to 200 km. It is just what was required. Thanks for the reply !rudolf

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.