E key set thrust to Idle, add Help
This commit is contained in:
parent
15527d603d
commit
40d9057ffd
5 changed files with 87 additions and 5 deletions
|
@ -5,6 +5,13 @@
|
||||||
<sim>
|
<sim>
|
||||||
|
|
||||||
<author>Joshua Davidson (it0uchpods/411)</author>
|
<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>
|
<model>
|
||||||
<pushback>
|
<pushback>
|
||||||
|
@ -645,6 +652,16 @@
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</key>
|
</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">
|
<key n="2">
|
||||||
<name>Ctrl-b</name>
|
<name>Ctrl-b</name>
|
||||||
<desc>Cycle speedbrake setting</desc>
|
<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_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 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 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");
|
var fbw_dlg = gui.Dialog.new("sim/gui/dialogs/acconfig/fbw/dialog", "Aircraft/A320Family/AircraftConfig/fbw.xml");
|
||||||
init_dlg.open();
|
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>
|
||||||
<button>
|
<button>
|
||||||
<halign>center</halign>
|
<halign>center</halign>
|
||||||
<legend>Aircraft Tutorial</legend>
|
<legend>Aircraft Help</legend>
|
||||||
<pref-width>140</pref-width>
|
<pref-width>140</pref-width>
|
||||||
<enable>
|
|
||||||
<property>/systems/unused/unusedthing</property>
|
|
||||||
</enable>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
# Blank for now
|
acconfig.help_dlg.open();
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</button>
|
</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 #
|
# Reverse Thrust System #
|
||||||
#########################
|
#########################
|
||||||
|
|
Reference in a new issue