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

452 lines
10 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8" ?>
<!--
2017-11-16 19:29:08 +00:00
##############################################
# Copyright (c) Joshua Davidson (it0uchpods) #
##############################################
-->
<!-- A3XX Aircraft Config Dialog -->
<PropertyList>
<name>aircraft-config</name>
<layout>vbox</layout>
<group>
<layout>hbox</layout>
<text>
<halign>left</halign>
2018-05-05 16:48:40 +00:00
<label>Aircraft Configuration V1.5.0</label>
</text>
2018-05-05 16:48:40 +00:00
<empty><stretch>1</stretch></empty>
<button>
<row>0</row>
<col>0</col>
<halign>right</halign>
<pref-width>20</pref-width>
<pref-height>20</pref-height>
<legend>?</legend>
<binding>
<command>nasal</command>
<script>
acconfig.help_dlg.open();
</script>
</binding>
</button>
<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>
2017-08-17 01:07:18 +00:00
<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>
2018-05-05 16:48:40 +00:00
<legend>DU Quality</legend>
2017-08-17 01:07:18 +00:00
<pref-width>140</pref-width>
<binding>
<command>nasal</command>
<script>
2018-05-05 16:48:40 +00:00
acconfig.du_quality.open();
2017-08-17 01:07:18 +00:00
</script>
</binding>
</button>
<button>
<halign>center</halign>
2018-05-05 16:48:40 +00:00
<legend>About Aircraft</legend>
<pref-width>140</pref-width>
<binding>
<command>nasal</command>
<script>
2018-05-05 16:48:40 +00:00
acconfig.about_dlg.open();
</script>
</binding>
</button>
2017-08-17 01:07:18 +00:00
</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>
2017-05-29 16:39:03 +00:00
<and>
<not><property>/systems/acconfig/autoconfig-running</property></not>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</and>
</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>
2017-05-29 16:39:03 +00:00
<and>
<not><property>/systems/acconfig/autoconfig-running</property></not>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</and>
</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>
2017-05-29 16:39:03 +00:00
<and>
<not><property>/systems/acconfig/autoconfig-running</property></not>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</and>
</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>
2017-05-29 16:39:03 +00:00
<and>
<not><property>/systems/acconfig/autoconfig-running</property></not>
<property>/gear/gear[0]/wow</property>
<property>/gear/gear[1]/wow</property>
<property>/gear/gear[2]/wow</property>
</and>
</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>
<button>
<legend>Ground Services</legend>
<halign>center</halign>
<padding>5</padding>
<binding>
<command>nasal</command>
<script>
acconfig.groundservices_dlg.open();
</script>
</binding>
</button>
<checkbox>
<label>Nose Gear Chock</label>
<halign>left</halign>
<property>/services/chokes/nose</property>
<binding>
<command>dialog-apply</command>
</binding>
<enable> <!-- Doesn't really do anything yet -->
<property>/systems/acconfig/unused/unused</property>
</enable>
<live>true</live>
</checkbox>
<checkbox>
<label>Main Left Gear Chock</label>
<halign>left</halign>
<property>/services/chokes/left</property>
<binding>
<command>dialog-apply</command>
</binding>
<enable> <!-- Doesn't really do anything yet -->
<property>/systems/acconfig/unused/unused</property>
</enable>
<live>true</live>
</checkbox>
<checkbox>
<label>Main Right Gear Chock</label>
<halign>left</halign>
<property>/services/chokes/right</property>
<binding>
<command>dialog-apply</command>
</binding>
<enable> <!-- Doesn't really do anything yet -->
<property>/systems/acconfig/unused/unused</property>
</enable>
<live>true</live>
</checkbox>
<checkbox>
<label>Enable External Power Box</label>
<halign>left</halign>
<property>/controls/switches/cart</property>
<binding>
<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>
<label>Enable External Air</label>
<halign>left</halign>
<property>/controls/pneumatic/switches/groundair</property>
<binding>
<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>
<checkbox>
<label>Yellow HYD Hand Pump</label>
<halign>left</halign>
<property>/controls/hydraulic/hand-pump-yellow</property>
<binding>
<command>property-toggle</command>
<property>/controls/hydraulic/hand-pump-yellow</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>
<less-than>
<property>/systems/electrical/bus/ac2</property>
<value>115</value>
</less-than>
<equals>
<property>/controls/electrical/switches/gen-ext</property>
<value>0</value>
</equals>
</and>
</enable>
<binding>
<command>dialog-apply</command>
</binding>
<live>true</live>
</checkbox>
<hrule/>
2017-09-11 15:33:01 +00:00
<checkbox>
<label>Keyboard Mode (See Aircraft Help)</label>
<halign>left</halign>
<property>/options/system/keyboard-mode</property>
<binding>
<command>property-toggle</command>
<property>/options/system/keyboard-mode</property>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>
acconfig.writeSettings();
2017-09-11 15:33:01 +00:00
</script>
</binding>
<live>true</live>
</checkbox>
2018-05-05 16:48:40 +00:00
<checkbox>
<label>Laptop Mode (See Aircraft Help)</label>
<halign>left</halign>
<enable>
<property>/systems/acconfig/extra-stuff</property>
</enable>
<property>/options/system/laptop-mode</property>
<binding>
<command>property-toggle</command>
<property>/options/system/laptop-mode</property>
</binding>
<binding>
<command>dialog-apply</command>
</binding>
<binding>
<command>nasal</command>
<script>
acconfig.writeSettings();
</script>
</binding>
<live>true</live>
</checkbox>
<checkbox>
2017-05-23 23:38:16 +00:00
<label>Skip ADIRS 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>
2017-05-23 23:38:16 +00:00
<binding>
<command>nasal</command>
<script>
acconfig.writeSettings();
2017-05-23 23:38:16 +00:00
</script>
</binding>
<live>true</live>
</checkbox>
2017-06-01 00:12:07 +00:00
<group>
<layout>hbox</layout>
<button>
<legend>FBW Settings</legend>
<halign>center</halign>
<padding>5</padding>
<binding>
<command>nasal</command>
<script>
acconfig.fbw_dlg.open();
</script>
</binding>
</button>
<button>
<legend>System Failures</legend>
<halign>center</halign>
<padding>5</padding>
<binding>
<command>nasal</command>
<script>
acconfig.fail_dlg.open();
</script>
</binding>
</button>
2017-07-29 16:50:51 +00:00
2017-06-01 00:12:07 +00:00
</group>
</group>
2017-06-01 00:12:07 +00:00
</group>
</PropertyList>