Jump to content

Recommended Posts

Posted

Hi, not sure of the best way to explain this, but for switches 17-21 (upper left), how do I reprogram those with Axis & Ohs? I want to be able to choose one, and then use 13/14 (plus/minus) to adjust the values. Specifically I'm looking to program Com 1 frequencies with the top 2 buttons, 20/21. I'm very new to the product, so sure I'm just missing something, any help would be appreciated.

  • Commercial Member
Posted (edited)

AAO is basically hardware agnostic. It doesn't care what controller is sending the signals, and it simply translates them into the simulators SDK assets.

I would do this with RPN scripts. Use the switches to set an LVar to specific values and bind two larger scripts to the plus/minus that do different things for the different values of the LVar.

Scripts would look something like this (I just invented the LVar name, it doesn't matter what you call it)
- on the switches
1 (>L:PMSelector)
and
2 (>L:PMSelector)
etc.

- the Plus script would be for example

(L:PMSelector)·s0·
l0·1·==·if{·1·(>K:COM_RADIO_FRACT_INC_CARRY)·}·
l0·2·==·if{·1·(>K:NAV1_RADIO_FRACT_INC_CARRY)·}·

etc.

Be mindful that the plus/minus scripts may look different for different aircraft. Especially in MSFS the default SDK events and variables (which is what you see on the treelists in the app)  are not used very often.

Edited by Lorby_SI

LORBY-SI

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
  • 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...