Trim key bindings work when they shouldn't
-
On the Black Square TBM 850 v0.1.0, when I pull the relevant circuit breaker, I'm still able to use controller buttons bound to aileron trim left/right to set trim, but trim rocker in the virtual cockpit stops working as expected. Same for other (elevator, rudder) trim controls.
Is there a better way for external trim control, that will use the same logic as the VC trim controls?
Or is there a way to query for power to the trim system (an LVar maybe?) that would allow me to implement my own logic for the controller bindings?
I have to note that this is a very minor issue for me, I'm enjoying the TBM very much :) -
Yes, there is a way. But you do need additional software like Axis And Ohs, spad.next, MobiFlight, ... to mimic the correct behavior.
All trimming depends on connection of a circuit to bus 6 (BUS3). PitchTrim (Circuit 5), AileronTrim (Circuit 6) RudderTrim (Circuit 7). All of them need enough voltage on bus 6 too.
You do check the connection with:
6 (>A:BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:5, Bool)
6 (>A:BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:6, Bool)
6 (>A:BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:7, Bool)and the voltage with
(A:ELECTRICAL MAIN BUS VOLTAGE:6, Volts) 22 >The complete code for Pitch Trim would be
6 (>A:BUS LOOKUP INDEX, Number) (A:CIRCUIT CONNECTION ON:5, Bool)
(A:ELECTRICAL MAIN BUS VOLTAGE:6, Volts) 22 > and if{
...
}I've written scripts for Axis And Ohs which are implementing this behavior. You can find them here:
https://flightsim.to/file/61922/blacksquare-tbm-850-scripts-for-lorby-s-axis-and-ohs-aao -