Reply To: [4.1] Autopilot Bank MODE

#1109
Bjoern
Participant

I think I’ve fixed it.

Tom (and anyone else willing to edit .xml files):

In styraut.xml, add the following lines above “(A:PLANE BANK DEGREES,degrees) 180 >”:

[quote] (L:AutoBankSet,number) 0 !=
if{ (>K:AP_WING_LEVELER_OFF) }[/quote]

In styraut_panel_vc.xml, add the following behind “0 (>L:AutoBankSet,number)”:
[quote](>K:AP_WING_LEVELER_ON)[/quote]

This basically disengages the wing leveler submode of FSX’ attitude hold whenever the SVANG knob is not centered and reengages it when the knob is recentered.