Sign in to follow this  
Guest maccas

FSUIPC Reading Engine Type

Recommended Posts

I am trying to use the offset listed in the documentation to read the engine type of the current aircraft. It should return a number between 0 - 5. Below is the C# code:Offset off_aircraft_engine_type = new Offset(0x0609);That should show (0x0609); Can't get rid of the emoticon... However it is returning the ATC_Type (From the aircraft.cfg). Yet in the documentation for offsets it reads0609 1 Engine type:0=Piston (and some Helo models like the Robinson)1=Jet2=Sailplane, or anything with no engines3=Helo (Bell) Turbine4=Rocket (unsupported)5=TurbopropIs it a problem with how I am calling the offset or a problem with the documentation?Regards,Maccas

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

>I am trying to use the offset listed in the documentation to>read the engine type of the current aircraft....>However it is returning the ATC_Type (From the aircraft.cfg).The ATC Type is a string, whereas the Engine type is a number. How are you viewing this string-number or whatever you are seeing? It is only one byte, hard to get a string in there!Either way, can you re-post to the FSUIPC Support forum, as documented, please, and include the FS version and the FSUIPC version numbers as well as examples of whatever it is you think you are reading.Thanks.Pete

Share this post


Link to post
Share on other sites

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
Sign in to follow this