2017-04-07 18:09:40 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
|
|
|
|
|
|
|
<!-- A3XX Aircraft Config Dialog -->
|
|
|
|
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<name>aircraft-config-fbw</name>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>hbox</layout>
|
|
|
|
<text>
|
|
|
|
<halign>left</halign>
|
|
|
|
<label>FBW Settings</label>
|
|
|
|
</text>
|
|
|
|
<button>
|
|
|
|
<halign>right</halign>
|
|
|
|
<pref-width>20</pref-width>
|
|
|
|
<pref-height>20</pref-height>
|
|
|
|
<legend>X</legend>
|
|
|
|
<key>Esc</key>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-close</command>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
</group>
|
|
|
|
|
|
|
|
<hrule/>
|
|
|
|
|
|
|
|
<group>
|
|
|
|
<layout>vbox</layout>
|
|
|
|
|
2017-04-17 23:02:43 +00:00
|
|
|
<checkbox>
|
|
|
|
<label>Define Custom FBW Mode</label>
|
|
|
|
<halign>left</halign>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-apply</command>
|
|
|
|
</binding>
|
|
|
|
<live>true</live>
|
|
|
|
</checkbox>
|
2017-04-07 18:09:40 +00:00
|
|
|
<button>
|
|
|
|
<halign>center</halign>
|
|
|
|
<legend>Use NORMAL Law</legend>
|
|
|
|
<pref-width>140</pref-width>
|
2017-04-17 23:02:43 +00:00
|
|
|
<enable>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
</enable>
|
2017-04-07 18:09:40 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2017-04-17 04:10:36 +00:00
|
|
|
setprop("/it-fbw/law", 0);
|
2017-04-07 18:09:40 +00:00
|
|
|
gui.popupTip("Fly By Wire switched to NORMAL law!");
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
<button>
|
|
|
|
<halign>center</halign>
|
|
|
|
<legend>Use ALTERNATE Law</legend>
|
|
|
|
<pref-width>140</pref-width>
|
2017-04-17 23:02:43 +00:00
|
|
|
<enable>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
</enable>
|
2017-04-07 18:09:40 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2017-04-17 04:10:36 +00:00
|
|
|
setprop("/it-fbw/law", 1);
|
2017-04-07 18:09:40 +00:00
|
|
|
gui.popupTip("Fly By Wire switched to ALTERNATE law!");
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
<button>
|
|
|
|
<halign>center</halign>
|
|
|
|
<legend>Use DIRECT Law</legend>
|
|
|
|
<pref-width>140</pref-width>
|
2017-04-17 23:02:43 +00:00
|
|
|
<enable>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
</enable>
|
2017-04-07 18:09:40 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2017-04-17 04:10:36 +00:00
|
|
|
setprop("/it-fbw/law", 2);
|
2017-04-07 18:09:40 +00:00
|
|
|
gui.popupTip("Fly By Wire switched to DIRECT law!");
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
<button>
|
|
|
|
<halign>center</halign>
|
|
|
|
<legend>Use BACKUP Law</legend>
|
|
|
|
<pref-width>140</pref-width>
|
2017-04-17 23:02:43 +00:00
|
|
|
<enable>
|
|
|
|
<property>/it-fbw/override</property>
|
|
|
|
</enable>
|
2017-04-07 18:09:40 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
2017-04-17 04:10:36 +00:00
|
|
|
setprop("/it-fbw/law", 3);
|
2017-04-07 18:09:40 +00:00
|
|
|
gui.popupTip("Fly By Wire switched to MECHANICAL BACKUP law!");
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</button>
|
|
|
|
|
|
|
|
</group>
|
|
|
|
|
|
|
|
</PropertyList>
|