Jump to content
The simFlight Network Forums

TRodick

new Members
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About TRodick

  • Rank
    Newbie
  • Birthday 06/02/1993

Profile Information

  • Gender
    Male
  • Location
    Liberty, MO, USA
  1. You said round down to an integer. Are you saying follow the standard math rounding rules, or a simple truncation?
  2. Hi all, I'm working with Jason Fayre on the Talking Flight Monitor project, the accessibility add-on for FSX and Prepar3d. One of our users asked for the ability to set spoilers/speedbrakes to an arbitrary percentage; in the sim, the keyboard command (slash key by default) either sets them to full or off, with no way to fine-tune their extension. The notes for the offset (0BD0) say that a value of 4800 is armed, but that 5620 is the minimum you can set that actually causes extension. 5620 is 7% extended, and 16383 is 100%. I'm fairly good at math, but I'm confused by the snippet that says: "The percentage extension is the proportion of the distance in the range 4800 to 16383..." I can't figure out, for the life of me, a good formula that can be used to convert an arbitrary percentage value into the value to write to the offset. I consider myself a decent coder, but the way FSUIPC and SimConnect represent things can sure make for some difficult calculations. :) Any help would be greatly appreciated. Thanks, Tyler
×
×
  • 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.