Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Good day Pete, or to any other forum admin,

I try to convert an older piece of code, which uses the FSUIPC Offset 0x0BB2 Elevator Axis position to set the elevator.

Well i tried now to do same with the ELEVATOR POSITION either as trigger_key_event or via SimConnect.

Beside that the value is flipped (*-1), aerodynamic behaviour of elevator is different.

Was/is there any postprocessing of the value set to 0x0BB2 beside writing it to the elevator position?

kind regards

Thank you for the answer,

Florian Praxmarer

 

Posted
7 hours ago, Florian Praxmarer said:

I try to convert an older piece of code, which uses the FSUIPC Offset 0x0BB2 Elevator Axis position to set the elevator.

Well i tried now to do same with the ELEVATOR POSITION either as trigger_key_event or via SimConnect.

Beside that the value is flipped (*-1), aerodynamic behaviour of elevator is different.

Was/is there any postprocessing of the value set to 0x0BB2 beside writing it to the elevator position?

It IS that SimVar, with the sign reversed and the value scaled to the same range as that offset used to have in earlier versions of FS. Possibly you need ELEVATOR DEFLECTION PCT instead (the value in 0BB4)?

If you write to it, then read it back, do you see something different?

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.