Many of the switches in the Aerosoft Twin Otter are not controllable by Lvars or other normal Simconnect variables. They are controlled by Bvars introduced in MSFS in SU5. The Bvar switches can only be controlled by mouseclick.
Lorby's third party software Axis and Ohs (payware) has an experimental feature to map Bvars to Lvars, so the switches can be controlled by external controllers or scripts in Stream Deck etc.
I've mapped the most basic Bvar switches for you to use in your own scripts. Be aware some three-way switches (like DC Source and Fuel Boost Pumps) has 0 as the 'on' parameter which doesn't go well with the AAO Bvar mapping, so they are turned on by a Lvar value of 2 or 3.
The following essential switches has been mapped:
DC Source
DC Master
Condition/Fuel Levers (thanks to Lorby)
Engine starter
Generator left/right
Fuel Pumps fwd/aft
Standby Fuel Pumps fwd/aft
Pitot heat
Window heat
Installation:
Open AAO Bvar to Lvar mapping (without MSFS running)
Import the script
Click "activate profile" and make sure the hook is enabled
With the sim running the Bvar-lvars can be found in the scripting window under "Insert Bvar Map"
Pleas read the chapter in the AAO manual on Bvar mapping.
Enjoy
Horstunger/UnsealedKarma
paulhannover
Moin Horst, do you have - by any chance - an idea which script controls the Autopilot Altitude in the Twin Otter? The Regular Autopilot Increment Decrement Commands have no effect, neither on the Alt Alarm Dial nor on the Autopilot Altitude Dial.. I have browsed through all available commands but I am out of Ideas.
Vielen Dank und viele Grüße
Paul
horstunger author
Hello Paul
If you mean the KAP140 autopilot it should use the default commands. If you want better control of the KAP140 there is a mod at github.
If you are thinking of the "Set altitude" indicator above the altimeter then it's pretty simple.
The "Set altitude" simply reflects: (A:AUTOPILOT·ALTITUDE·LOCK·VAR,·Feet)
So, if you want to set it to e.g. 3500 the script would be:
3500·(>A:AUTOPILOT·ALTITUDE·LOCK·VAR,·Feet)
If you want to increase it by 100 feet it would look like this in Axis and Ohs:
(A:AUTOPILOT·ALTITUDE·LOCK·VAR,·Feet)·100·+·(>A:AUTOPILOT·ALTITUDE·LOCK·VAR,·Feet)
Decrease 100 feet
(A:AUTOPILOT·ALTITUDE·LOCK·VAR,·Feet)·100·-·(>A:AUTOPILOT·ALTITUDE·LOCK·VAR,·Feet)
I hope this is useful.
Happy landings
Horst/UnsealedKarma
2 years ago
TBird1608
horstunger author
I have not encountered that error. Make sure you have the latest AAO version installed and try again.
2 years ago
oesommer
Import failed: There is an error in the XML document (2.2).
ata68
excellent work! Know how hard it is to find the right mapping. Greetings
Deleted Account
Thanks for mapping these out
Thavik
I am using AAO and I'm (more or less) fine with using Lvars, Events etc. But Bvars are completly new for me and I think I will learn alot from studying your Bvar mappings. Thank you very much.