This repository has been archived on 2021-09-26. You can view files and clone it, but cannot push or open issues or pull requests.
IDG-A32X/AircraftConfig/main.xml

323 lines
7.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<!-- A3XX Aircraft Config Dialog -->
<PropertyList>
<name>aircraft-config</name>
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<text>
<halign>left</halign>
2017-05-20 04:13:07 +00:00
<label>Aircraft Configuration V1.3.0</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>hbox</layout>
<group>
<layout>vbox</layout>
<group>
<layout>vbox</layout>
<button>
<halign>center</halign>
<legend>Welcome</legend>
<pref-width>140</pref-width>
<binding>
<command>nasal</command>
<script>
acconfig.welcome_dlg.open();
</script>
</binding>
</button>
<button>
<halign>center</halign>
<legend>Select Livery</legend>
<pref-width>140</pref-width>
<binding>
<command>nasal</command>
<script>
aircraft.livery.dialog.toggle();
</script>
</binding>
</button>
<button>
<halign>center</halign>
2017-05-16 14:04:25 +00:00
<legend>Aircraft Help</legend>
<pref-width>140</pref-width>
<binding>
<command>nasal</command>
<script>
2017-05-16 14:04:25 +00:00
acconfig.help_dlg.open();
</script>
</binding>
</button>
</group>
<group>
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
<text>
2017-05-20 04:13:07 +00:00
<label>Load Panel State</label>
</text>
<hrule>
<stretch type="bool">true</stretch>
</hrule>
</group>
<group>
<layout>vbox</layout>
<button>
<halign>center</halign>
<legend>Cold and Dark</legend>
<pref-width>140</pref-width>
<enable>
<not><property>/systems/acconfig/autoconfig-running</property></not>
</enable>
<binding>
<command>nasal</command>
<script>acconfig.colddark();</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<halign>center</halign>
<legend>Ready to Start Eng</legend>
<pref-width>140</pref-width>
<enable>
<not><property>/systems/acconfig/autoconfig-running</property></not>
</enable>
<binding>
<command>nasal</command>
<script>acconfig.beforestart();</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<halign>center</halign>
<legend>Ready for Taxi</legend>
<pref-width>140</pref-width>
<enable>
<not><property>/systems/acconfig/autoconfig-running</property></not>
</enable>
<binding>
<command>nasal</command>
<script>acconfig.taxi();</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
<button>
<halign>center</halign>
<legend>Ready for Takeoff</legend>
<pref-width>140</pref-width>
<enable>
<not><property>/systems/acconfig/autoconfig-running</property></not>
</enable>
<binding>
<command>nasal</command>
<script>acconfig.takeoff();</script>
</binding>
<binding>
<command>dialog-close</command>
</binding>
</button>
</group>
</group>
</group>
<vrule/>
<group>
<layout>vbox</layout>
<checkbox>
<label>Enable De-icing Truck</label>
<halign>left</halign>
<enable>
<property>/systems/unused/unusedthing</property>
</enable>
<property>services/deicing_truck/enable</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<button>
<legend>De-ice Aircraft</legend>
<halign>center</halign>
<padding>5</padding>
<enable>
<property>/systems/unused/unusedthing</property>
</enable>
<binding>
<command>nasal</command>
<script>
if (getprop("services/deicing_truck/enable") == 1) {
setprop("/services/deicing_truck/de-ice", 1);
screen.log.write("Starting De-icing Process...", 1, 1, 1);
} else
screen.log.write("Please Enable the De-icing truck first", 1, 0, 0);
</script>
</binding>
</button>
2017-05-20 04:13:07 +00:00
<checkbox>
<label>Enable Baggage Ramp</label>
<halign>left</halign>
<enable>
<property>/systems/unused/unusedthing</property>
</enable>
<property>services/baggage/enable</property>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
2017-05-20 04:13:07 +00:00
</checkbox>
<checkbox>
2017-05-20 04:13:07 +00:00
<label>Enable External Power Box</label>
<halign>left</halign>
2017-05-20 04:13:07 +00:00
<property>/controls/switches/cart</property>
<binding>
2017-05-20 04:13:07 +00:00
<command>property-assign</command>
<property>/controls/electrical/switches/gen-ext</property>
<value>0</value>
</binding>
<enable>
<and>
<equals>
<property>/controls/gear/brake-parking</property>
<value>1</value>
</equals>
<less-than>
<property>/velocities/groundspeed-kt</property>
<value>2</value>
</less-than>
</and>
</enable>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
2017-05-20 04:13:07 +00:00
<label>Enable External Air</label>
<halign>left</halign>
2017-05-20 04:13:07 +00:00
<property>/controls/pneumatic/switches/groundair</property>
<binding>
2017-05-20 04:13:07 +00:00
<command>property-toggle</command>
<property>/controls/pneumatic/switches/groundair</property>
</binding>
<enable>
<and>
<equals>
<property>/controls/gear/brake-parking</property>
<value>1</value>
</equals>
<less-than>
<property>/velocities/groundspeed-kt</property>
<value>2</value>
</less-than>
</and>
</enable>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<hrule/>
<checkbox>
<label>Skip IRS Alignment</label>
<halign>left</halign>
2017-04-20 14:41:32 +00:00
<property>/controls/adirs/skip</property>
<binding>
<command>property-toggle</command>
<property>/controls/adirs/skip</property>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>Always Show Sidestick Position</label>
<halign>left</halign>
<property>/options/pfd/sidestick-pos</property>
<binding>
<command>property-toggle</command>
<property>/options/pfd/sidestick-pos</property>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<checkbox>
<label>Always Show Sidestick Position</label>
<halign>left</halign>
<property>/options/pfd/sidestick-pos</property>
<binding>
<command>property-toggle</command>
<property>/options/pfd/sidestick-pos</property>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<button>
<legend>FBW Settings</legend>
<halign>center</halign>
<padding>5</padding>
<binding>
<command>nasal</command>
<script>
acconfig.fbw_dlg.open();
</script>
</binding>
</button>
</group>
</group>
</PropertyList>