Jump to content
Sign in to follow this  
Guest maccas

FSUIPC Reading Engine Type

Recommended Posts

Guest maccas

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

>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


Win10: 22H2 19045.2728
CPU: 9900KS at 5.5GHz
Memory: 32Gb at 3800 MHz.
GPU:  RTX 24Gb Titan
2 x 2160p projectors at 25Hz onto 200 FOV curved screen

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  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...