henre Posted April 20, 2004 Report Posted April 20, 2004 Hi all , Can someone give me an example of code that how can i read the offsets in fsuipc ? For example getting departure or arrival points or the fuel used information etc.. only one of them for example thanks ..
Pete Dowson Posted April 20, 2004 Report Posted April 20, 2004 Can someone give me an example of code that how can i read the offsets in fsuipc ? There's a simple example in several languages, including VB, in the FSUIPC SDK (get it from http://www.schiratti.com/dowson). For example getting departure or arrival points or the fuel used information etc.. Departure and arrival points? These are not aircraft values you'd normally be able to read. Do you mean the routing for AI traffic -- you can, in FS2004, get the departure and arrival airport ICAO ids for all operating AI aircraft in range? There is some information you can read from the GPS if you've got a flight plan loaded -- not departure and arrival, though, only last and next waypoint IDs. Fuel used isn't a value maintained by anything internal either. You'd need to keep track of that yourself by reading the fuel tank capacities and levels from time to time. There are no overall totals, just separate values for each tank - up to 10 of them! 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