Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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

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

Posted
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?¿

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.