Nicolas Larenas Posted September 9, 2007 Report Posted September 9, 2007 Hello Pete. First I whant to thankful you for make this really good FS addon. Second: I need your help :D I am trying to make a 3rdparty program only for fun, I am experimenting whit FSUIPC options, and I want to know how can I make my program developed in c# .net 2005 ( I am not an expert ) to read in which airport I am in FS9 whit FSUIPC. Finally. is there a option to put the real time in FS using GMT time? Thank you! Saludos desde Ecuador = Grettings from Ecuador
Nicolas Larenas Posted September 12, 2007 Author Report Posted September 12, 2007 Please help, someone? anything? :(
Pete Dowson Posted September 12, 2007 Report Posted September 12, 2007 Please help, someone? anything? :( As Announced above, I was on holiday till today! Pete
Pete Dowson Posted September 12, 2007 Report Posted September 12, 2007 ... I want to know how can I make my program developed in c# .net 2005 ( I am not an expert ) to read in which airport I am in FS9 whit FSUIPC. You'd have to read the Latitude/Longitude and look up a list of airports. Finally. is there a option to put the real time in FS using GMT time? You can set the GMT time using the Zulu time offsets -- please see the FSUIPC Programmer's guide. "Zulu" and "GMT" are the same times. Regards Pete
Nicolas Larenas Posted September 12, 2007 Author Report Posted September 12, 2007 Please help, someone? anything? :( As Announced above, I was on holiday till today! Pete Sorry Pete :( I dindt read that... About your answers, I read your answer: You'd have to read the Latitude/Longitude and look up a list of airports. I can read the LAT and LONG whit FSUIPC but I whant to read the ICAO code of each airport, for example KMIA, SEQU, EGLL,etc. How I do that?¿
Pete Dowson Posted September 12, 2007 Report Posted September 12, 2007 I can read the LAT and LONG whit FSUIPC but I whant to read the ICAO code of each airport, for example KMIA, SEQU, EGLL,etc. How I do that?¿ You need to use the Lat/Lon to find the nearest airport from a file listing all of the airports with ICAO ID and Lat/Lon. There's no facility provided by FS or FSUIPC to tell you "nearest airport is ....". Sorry. My freeware program "MakeRunways", available on the usual download place and above will generate a suitable file -- the most applicable one is probably "airports.fsm" which is a binary file with all the airports in an array of 18 byte structures: struct { char szICAO[4]; float fLat; float fLon; WORD wATIS1; WORD wATIS2; WORD wATIS3; }; The ATIS values are BCD frequencies capable of giving weather information, 0x1234 meaning 112.34. The airports are sorted into alphanumeric order of ICAO id. Regards Pete
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