October 7, 200718 yr 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
October 7, 200718 yr Commercial Member >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
Create an account or sign in to comment