Merge branch 'master' of https://www.github.com/it0uchpods/A320Family
This commit is contained in:
commit
f1bd026790
5 changed files with 87 additions and 5 deletions
|
@ -6,6 +6,13 @@
|
|||
|
||||
<author>Joshua Davidson (it0uchpods/411)</author>
|
||||
|
||||
<rating>
|
||||
<FDM type="int">4</FDM>
|
||||
<systems type="int">4</systems>
|
||||
<cockpit type="int">4</cockpit>
|
||||
<model type="int">4</model>
|
||||
</rating>
|
||||
|
||||
<model>
|
||||
<pushback>
|
||||
<kp type="double">1000</kp>
|
||||
|
@ -645,6 +652,16 @@
|
|||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="101">
|
||||
<name>e</name>
|
||||
<desc>Thrust Levers Idle</desc>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
systems.do_idle_thrust();
|
||||
</script>
|
||||
</binding>
|
||||
</key>
|
||||
<key n="2">
|
||||
<name>Ctrl-b</name>
|
||||
<desc>Cycle speedbrake setting</desc>
|
||||
|
|
|
@ -7,6 +7,7 @@ var welcome_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/welcome/dialog", "Air
|
|||
var ps_load_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/psload/dialog", "Aircraft/A320Family/AircraftConfig/psload.xml");
|
||||
var ps_loaded_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/psloaded/dialog", "Aircraft/A320Family/AircraftConfig/psloaded.xml");
|
||||
var init_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/init/dialog", "Aircraft/A320Family/AircraftConfig/ac_init.xml");
|
||||
var help_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/help/dialog", "Aircraft/A320Family/AircraftConfig/help.xml");
|
||||
var fbw_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/fbw/dialog", "Aircraft/A320Family/AircraftConfig/fbw.xml");
|
||||
init_dlg.open();
|
||||
|
||||
|
|
62
AircraftConfig/help.xml
Normal file
62
AircraftConfig/help.xml
Normal file
|
@ -0,0 +1,62 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
|
||||
<!-- A3XX Aircraft Config Dialog -->
|
||||
|
||||
|
||||
<PropertyList>
|
||||
|
||||
<name>aircraft-config-help</name>
|
||||
<layout>vbox</layout>
|
||||
|
||||
<group>
|
||||
<layout>hbox</layout>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Help</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>
|
||||
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Key Commands:</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>Q - Disengage/Decrease Reverse Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>W - Engage/Increase Reverse Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>E - Set Idle Thrust</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>CTRL + B - Cycle Spoilers</label>
|
||||
</text>
|
||||
<text>
|
||||
<halign>left</halign>
|
||||
<label>SHIFT + B - Toggle Parking brake</label>
|
||||
</text>
|
||||
|
||||
</group>
|
||||
|
||||
|
||||
</PropertyList>
|
|
@ -61,15 +61,12 @@
|
|||
</button>
|
||||
<button>
|
||||
<halign>center</halign>
|
||||
<legend>Aircraft Tutorial</legend>
|
||||
<legend>Aircraft Help</legend>
|
||||
<pref-width>140</pref-width>
|
||||
<enable>
|
||||
<property>/systems/unused/unusedthing</property>
|
||||
</enable>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>
|
||||
# Blank for now
|
||||
acconfig.help_dlg.open();
|
||||
</script>
|
||||
</binding>
|
||||
</button>
|
||||
|
|
|
@ -252,6 +252,11 @@ setlistener("/systems/pneumatic/start-psi", func {
|
|||
}
|
||||
});
|
||||
|
||||
var do_idle_thrust = func {
|
||||
setprop("/controls/engines/engine[0]/throttle", 0.0);
|
||||
setprop("/controls/engines/engine[1]/throttle", 0.0);
|
||||
}
|
||||
|
||||
#########################
|
||||
# Reverse Thrust System #
|
||||
#########################
|
||||
|
|
Reference in a new issue