icebird4all Posted October 24, 2021 Report Posted October 24, 2021 Hello simmers! Anyone knows how to get departure and destination airport data like ICAO, height... with fsuipc7 and MSFS? I am using the stock C208 with the stock WT Mxi mod. I also cant see any HVar when trying to load them with fsuipc. maybe i cant see the wood because of the many trees 😁 thx for the help! ice
John Dowson Posted October 24, 2021 Report Posted October 24, 2021 3 hours ago, icebird4all said: I also cant see any HVar when trying to load them with fsuipc. hvars are only known to FSUIPC7 if you make them available via a *.hvar file, where the name of the file is a substring match to the aircraft name. Please see the Advanced User guide for details. 3 hours ago, icebird4all said: Anyone knows how to get departure and destination airport data like ICAO, height... with fsuipc7 and MSFS? The destination airport ID should be available if you have a flight plan active in the GPS at offset 0x6137, but no other details (height, etc) are available, and there is no way to get the departure airport as far as I am aware, sorry. John
icebird4all Posted October 24, 2021 Author Report Posted October 24, 2021 in found this page: https://docs.flightsimulator.com/html/Content_Configuration/Flights_And_Missions/Flight_Definitions.htm - What will it tell us under: [ATC_ActiveFlightPlan.N] - should this be made in the future - or do we allready have it?
John Dowson Posted October 25, 2021 Report Posted October 25, 2021 It should already be there - why don't you take a look at a saved flight file? There are also [Departure] and [Arrival] sections. I'm nor sure how this helps though... John
icebird4all Posted November 3, 2021 Author Report Posted November 3, 2021 Hello John! Thx - i see - now i get my DEP - DEST information after saving my flightplan with pilot2atc - reading the latest file with lua and thats it! Another question - is there a possibility to show ° degree symbol with wnd.text? Klaus
John Dowson Posted November 4, 2021 Report Posted November 4, 2021 8 hours ago, icebird4all said: is there a possibility to show ° degree symbol with wnd.text? Have you tried just pasting the character into the string, e,g, wnd.text(wHandle, "Its " .. todaysTemp .. "° today.") Don't see why that won't work, it is just an an ascII character after all. Or am I missing something? John
icebird4all Posted November 4, 2021 Author Report Posted November 4, 2021 Hello John! I tried to do it as you said - pasting it in - but its not showing - if i put it in between two ' ' it will show like this - with a space in between! i did this: wnd.text(wl, 11, "DEG: '°'") and it shows like this Klaus
John Dowson Posted November 4, 2021 Report Posted November 4, 2021 Then sorry, I don't know - looks like its not possible, I don't know why and don't have time to look at this. John
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now