further changes to the menu structure
split AI carrier options to its own menu moved "advanced" menu items to Debug removed several redundant items rationalised the placement of some items started adding keyboard shortcuts TODO: reinstate AI Scenario menu item (position to be conmfirmed) get feedback add more : keyboard shortcuts
This commit is contained in:
parent
e78c042724
commit
821fae4a03
6 changed files with 2653 additions and 129 deletions
221
gui/dialogs/AIcarrier.xml
Normal file
221
gui/dialogs/AIcarrier.xml
Normal file
|
@ -0,0 +1,221 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>AIcarrier</name>
|
||||||
|
<modal>false</modal>
|
||||||
|
<layout>vbox</layout>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- AI Carrier options -->
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>AI Carrier</label>
|
||||||
|
<color>
|
||||||
|
<red>0.9</red>
|
||||||
|
<green>0.9</green>
|
||||||
|
<blue>0.9</blue>
|
||||||
|
<alpha>1</alpha>
|
||||||
|
</color>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<empty>
|
||||||
|
<pref-width>10</pref-width>
|
||||||
|
</empty>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>vbox</layout>
|
||||||
|
|
||||||
|
<radio>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Turn to launch course</label>
|
||||||
|
<property>/ai/models/carrier/controls/turn-to-launch-hdg</property>
|
||||||
|
<live>true</live>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var v = getprop("/ai/models/carrier/controls/turn-to-launch-hdg");
|
||||||
|
foreach (var c; props.globals.getNode("/ai/models").getChildren("carrier")){
|
||||||
|
c.getNode("controls/turn-to-launch-hdg").setBoolValue(v);
|
||||||
|
c.getNode("controls/turn-to-recovery-hdg").setBoolValue(0);
|
||||||
|
c.getNode("controls/turn-to-base-course").setBoolValue(0);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</radio>
|
||||||
|
|
||||||
|
<radio>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Turn to recovery course</label>
|
||||||
|
<property>/ai/models/carrier/controls/turn-to-recovery-hdg</property>
|
||||||
|
<live>true</live>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var v = getprop("/ai/models/carrier/controls/turn-to-recovery-hdg");
|
||||||
|
foreach (var c; props.globals.getNode("/ai/models").getChildren("carrier")){
|
||||||
|
c.getNode("controls/turn-to-recovery-hdg").setBoolValue(v);
|
||||||
|
c.getNode("controls/turn-to-launch-hdg").setBoolValue(0);
|
||||||
|
c.getNode("controls/turn-to-base-course").setBoolValue(0);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</radio>
|
||||||
|
|
||||||
|
<radio>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Turn to base course</label>
|
||||||
|
<property>/ai/models/carrier/controls/turn-to-base-course</property>
|
||||||
|
<live>true</live>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var v = getprop("/ai/models/carrier/controls/turn-to-base-course");
|
||||||
|
foreach (var c; props.globals.getNode("/ai/models").getChildren("carrier")){
|
||||||
|
c.getNode("controls/turn-to-base-course").setBoolValue(v);
|
||||||
|
c.getNode("controls/turn-to-recovery-hdg").setBoolValue(0);
|
||||||
|
c.getNode("controls/turn-to-launch-hdg").setBoolValue(0);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</radio>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Operate Deck Elevators</label>
|
||||||
|
<property>/ai/models/carrier/controls/elevators</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var v = getprop("/ai/models/carrier/controls/elevators");
|
||||||
|
foreach (var c; props.globals.getNode("/ai/models").getChildren("carrier"))
|
||||||
|
c.getNode("controls/elevators").setBoolValue(v);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Enable LSO Communications</label>
|
||||||
|
<property>/sim/current-view/lso-commentary</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Enable Deck Park</label>
|
||||||
|
<property>/sim/current-view/deck-park</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Deck Lights</label>
|
||||||
|
<property>/ai/models/carrier/controls/lighting/deck-lights</property>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var v = getprop("/ai/models/carrier/controls/lighting/deck-lights");
|
||||||
|
foreach (var c; props.globals.getNode("/ai/models").getChildren("carrier"))
|
||||||
|
c.getNode("controls/lighting/deck-lights",1).setBoolValue(v);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Discrete Flightdeck Floodlights (Red)</label>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<slider>
|
||||||
|
<halign>left</halign>
|
||||||
|
<width>75</width>
|
||||||
|
<height>25</height>
|
||||||
|
<property>/ai/models/carrier/controls/lighting/flood-lights-red-norm</property>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var v = getprop("/ai/models/carrier/controls/lighting/flood-lights-red-norm");
|
||||||
|
foreach (var c; props.globals.getNode("/ai/models").getChildren("carrier"))
|
||||||
|
c.getNode("controls/lighting/flood-lights-red-norm",1).setDoubleValue(v);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</slider>
|
||||||
|
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<empty>
|
||||||
|
<stretch>true</stretch>
|
||||||
|
</empty>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<default-padding>6</default-padding>
|
||||||
|
<empty>
|
||||||
|
<stretch>true</stretch>
|
||||||
|
</empty>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>OK</legend>
|
||||||
|
<default>true</default>
|
||||||
|
<equal>true</equal>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-close</command>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Apply</legend>
|
||||||
|
<equal>true</equal>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-apply</command>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Reset</legend>
|
||||||
|
<equal>true</equal>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-update</command>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>Cancel</legend>
|
||||||
|
<equal>true</equal>
|
||||||
|
<key>Esc</key>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-close</command>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<empty>
|
||||||
|
<stretch>true</stretch>
|
||||||
|
</empty>
|
||||||
|
</group>
|
||||||
|
</PropertyList>
|
74
gui/dialogs/ai.xml
Normal file
74
gui/dialogs/ai.xml
Normal file
|
@ -0,0 +1,74 @@
|
||||||
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
|
<!-- General ATC/AI options -->
|
||||||
|
|
||||||
|
<PropertyList>
|
||||||
|
<name>ai</name>
|
||||||
|
<modal>false</modal>
|
||||||
|
<layout>vbox</layout>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<button>
|
||||||
|
<legend>-</legend>
|
||||||
|
<pref-width>16</pref-width>
|
||||||
|
<pref-height>16</pref-height>
|
||||||
|
<halign>right</halign>
|
||||||
|
<border>2</border>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-close</command>
|
||||||
|
</binding>
|
||||||
|
</button>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<!-- <label>ATC/AI Options</label> -->
|
||||||
|
<label>AI Options</label>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<hrule/>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
<empty>
|
||||||
|
<pref-width>10</pref-width>
|
||||||
|
</empty>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>vbox</layout>
|
||||||
|
|
||||||
|
<!-- <checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Enable ATC</label>
|
||||||
|
<property>/sim/atc/enabled</property>
|
||||||
|
</checkbox> -->
|
||||||
|
|
||||||
|
<checkbox>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>Enable AI traffic</label>
|
||||||
|
<property>/sim/ai-traffic/enabled</property>
|
||||||
|
</checkbox>
|
||||||
|
|
||||||
|
<group>
|
||||||
|
<layout>hbox</layout>
|
||||||
|
|
||||||
|
<text>
|
||||||
|
<halign>left</halign>
|
||||||
|
<label>AI traffic density:</label>
|
||||||
|
</text>
|
||||||
|
|
||||||
|
<combo>
|
||||||
|
<halign>left</halign>
|
||||||
|
<property>/sim/ai-traffic/level</property>
|
||||||
|
<value>1</value>
|
||||||
|
<value>2</value>
|
||||||
|
<value>3</value>
|
||||||
|
</combo>
|
||||||
|
</group>
|
||||||
|
|
||||||
|
</group>
|
||||||
|
|
||||||
|
<empty>
|
||||||
|
<stretch>true</stretch>
|
||||||
|
</empty>
|
||||||
|
</group>
|
||||||
|
</PropertyList>
|
318
gui/menubar.xml
318
gui/menubar.xml
|
@ -4,7 +4,7 @@
|
||||||
<label>File</label>
|
<label>File</label>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Load</label>
|
<label>Load Flight (Shift-F1)</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>gui.load_flight()</script>
|
<script>gui.load_flight()</script>
|
||||||
|
@ -12,33 +12,42 @@
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Save</label>
|
<label>Save Flight (Shift-F2)</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>gui.save_flight()</script>
|
<script>gui.save_flight()</script>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Scenario</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>scenario</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Reset</label>
|
<label>Reset (Shift-Esc)</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>reset</command>
|
<command>reset</command>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<!-- <item>
|
||||||
<label>High-Res Snapshot</label>
|
<label>High-Res Snapshot</label>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
<binding>
|
<binding>
|
||||||
<command>hires-screen-capture</command>
|
<command>hires-screen-capture</command>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
-->
|
||||||
<item>
|
<item>
|
||||||
<label>Snapshot</label>
|
<label>Snapshot</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
|
gui.popdown();
|
||||||
var success = fgcommand("screen-capture");
|
var success = fgcommand("screen-capture");
|
||||||
var path = getprop("/sim/paths/screenshot-last");
|
var path = getprop("/sim/paths/screenshot-last");
|
||||||
if (success)
|
if (success)
|
||||||
|
@ -48,9 +57,22 @@
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
<!--
|
||||||
|
<item>
|
||||||
|
<label>Last snapshot</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var path = getprop("/sim/paths/screenshot-last");
|
||||||
|
if (path != nil) gui.popupTip(...) else gui.popupTip("no screenshots yet in this session")
|
||||||
|
|
||||||
|
gui.popupTip("Screenshot written to '" ~ path ~ "'");
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
-->
|
||||||
<item>
|
<item>
|
||||||
<label>Print Screen</label>
|
<label>Print Screen (F3)</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>old-print-dialog</command>
|
<command>old-print-dialog</command>
|
||||||
</binding>
|
</binding>
|
||||||
|
@ -65,23 +87,7 @@
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Browse Internal Properties</label>
|
<label>Quit (Esc)</label>
|
||||||
<binding>
|
|
||||||
<command>nasal</command>
|
|
||||||
<script>gui.property_browser()</script>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
<item>
|
|
||||||
<label>Logging</label>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>logging</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
<item>
|
|
||||||
<label>Quit</label>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-show</command>
|
<command>dialog-show</command>
|
||||||
<dialog-name>exit</dialog-name>
|
<dialog-name>exit</dialog-name>
|
||||||
|
@ -109,7 +115,7 @@
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>View Options</label>
|
<label>Configure Views </label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-show</command>
|
<command>dialog-show</command>
|
||||||
<dialog-name>view</dialog-name>
|
<dialog-name>view</dialog-name>
|
||||||
|
@ -140,30 +146,28 @@
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Toggle Glide Slope Tunnel</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var p = "/sim/rendering/glide-slope-tunnel";
|
||||||
|
setprop(p, var i = !getprop(p));
|
||||||
|
gui.popupTip("Glide slope tunnel " ~ (i ? "enabled" : "disabled"));
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Instant Replay</label>
|
<label>Instant Replay (Ctrl-R)</label> <item>
|
||||||
|
<label> ------------- </label>
|
||||||
|
</item>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-show</command>
|
<command>dialog-show</command>
|
||||||
<dialog-name>replay</dialog-name>
|
<dialog-name>replay</dialog-name>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
</menu>
|
||||||
<item>
|
|
||||||
<label>Adjust LOD Ranges</label>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>static-lod</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
<item>
|
|
||||||
<label>OSG Display Settings</label>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>osg-display-settings</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
</menu>
|
|
||||||
|
|
||||||
<menu>
|
<menu>
|
||||||
<label>Location</label>
|
<label>Location</label>
|
||||||
|
@ -193,7 +197,7 @@
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Random Attitude</label>
|
<label>Random Attitude</label>H
|
||||||
<binding>
|
<binding>
|
||||||
<command>property-assign</command>
|
<command>property-assign</command>
|
||||||
<property>/sim/presets/trim</property>
|
<property>/sim/presets/trim</property>
|
||||||
|
@ -234,7 +238,7 @@
|
||||||
<name>autopilot</name>
|
<name>autopilot</name>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Autopilot Settings</label>
|
<label>Autopilot Settings (F11)</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-show</command>
|
<command>dialog-show</command>
|
||||||
<dialog-name>autopilot</dialog-name>
|
<dialog-name>autopilot</dialog-name>
|
||||||
|
@ -265,7 +269,7 @@
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<!-- <item>
|
||||||
<label>Set Lat/Lon Format</label>
|
<label>Set Lat/Lon Format</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
|
@ -274,15 +278,9 @@
|
||||||
setprop(d, f < 0 ? 0 : f > 2 ? 0 : f);
|
setprop(d, f < 0 ? 0 : f > 2 ? 0 : f);
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item> -->
|
||||||
|
|
||||||
<item>
|
|
||||||
<label>Map</label>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>map</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu>
|
<menu>
|
||||||
|
@ -312,14 +310,6 @@
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
|
||||||
<label>Time Settings</label>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>timeofday</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Rain/Snow Settings</label>
|
<label>Rain/Snow Settings</label>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -328,14 +318,6 @@
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
|
||||||
<label>Wildfire Settings</label>
|
|
||||||
<binding>
|
|
||||||
<command>nasal</command>
|
|
||||||
<script>wildfire.dialog.show()</script>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Local Weather</label>
|
<label>Local Weather</label>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -351,11 +333,45 @@
|
||||||
<dialog-name>local_weather_tiles</dialog-name>
|
<dialog-name>local_weather_tiles</dialog-name>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Time Settings</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>timeofday</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Wildfire Settings</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>wildfire.dialog.show()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu>
|
<menu>
|
||||||
<label>Equipment</label>
|
<label>Equipment</label>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Map</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>map</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Stopwatch</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>stopwatch-dialog</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Fuel and Payload</label>
|
<label>Fuel and Payload</label>
|
||||||
<name>fuel-and-payload</name>
|
<name>fuel-and-payload</name>
|
||||||
|
@ -366,7 +382,7 @@
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Radio Settings</label>
|
<label>Radio Settings (F12)</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-show</command>
|
<command>dialog-show</command>
|
||||||
<dialog-name>radios</dialog-name>
|
<dialog-name>radios</dialog-name>
|
||||||
|
@ -389,14 +405,12 @@
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
|
||||||
<label>Stopwatch</label>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>stopwatch-dialog</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label> --- Failures ---</label>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Random Failures</label>
|
<label>Random Failures</label>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -424,24 +438,25 @@
|
||||||
|
|
||||||
<menu>
|
<menu>
|
||||||
<label>ATC/AI</label>
|
<label>ATC/AI</label>
|
||||||
|
<item>
|
||||||
|
<label>ATC Options</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>ai</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Frequencies</label>
|
<label>ATC Services in range</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>ATC-freq-search</command>
|
<command>ATC-freq-search</command>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
|
||||||
<label>Options</label>
|
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>atc-ai</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Tanker</label>
|
<label>AI Tanker</label>
|
||||||
<name>tanker</name>
|
<name>tanker</name>
|
||||||
<enabled>false</enabled>
|
<enabled>false</enabled>
|
||||||
<binding>
|
<binding>
|
||||||
|
@ -450,13 +465,14 @@
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Scenario</label>
|
<label>AI Carrier Options</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-show</command>
|
<command>dialog-show</command>
|
||||||
<dialog-name>scenario</dialog-name>
|
<dialog-name>AIcarrier</dialog-name>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu>
|
<menu>
|
||||||
|
@ -464,7 +480,7 @@
|
||||||
<name>multiplayer</name>
|
<name>multiplayer</name>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Chat</label>
|
<label>Chat Dialog</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>dialog-show</command>
|
<command>dialog-show</command>
|
||||||
<dialog-name>chat-full</dialog-name>
|
<dialog-name>chat-full</dialog-name>
|
||||||
|
@ -487,11 +503,8 @@
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
|
||||||
<label> ------------- </label>
|
|
||||||
</item>
|
|
||||||
<item>
|
<item>
|
||||||
<label>MPCarrier selection</label>
|
<label>MP Carrier selection</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>
|
<script>
|
||||||
|
@ -503,6 +516,8 @@
|
||||||
</script>
|
</script>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
<menu>
|
<menu>
|
||||||
|
@ -539,13 +554,13 @@
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Reload Network</label>
|
<label>Reload Network</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>reinit</command>
|
<command>reinit</command>
|
||||||
<subsystem>io</subsystem>
|
<subsystem>io</subsystem>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Nasal Console</label>
|
<label>Nasal Console</label>
|
||||||
|
@ -603,20 +618,60 @@
|
||||||
<step type="int">1</step>
|
<step type="int">1</step>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
</menu>
|
|
||||||
|
<item>
|
||||||
|
<label> ------------- </label>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Browse Internal Properties</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>gui.property_browser()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Logging</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>logging</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Adjust LOD Ranges</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>static-lod</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>OSG Display Settings</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>osg-display<item>
|
||||||
|
<label>About</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>about</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>-settings</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
|
||||||
<menu>
|
<menu>
|
||||||
<label>Help</label>
|
<label>Help</label>
|
||||||
|
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>About</label>
|
<label>Help (opens in browser)</label>
|
||||||
<binding>
|
|
||||||
<command>dialog-show</command>
|
|
||||||
<dialog-name>about</dialog-name>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<label>Help</label>
|
|
||||||
<binding>
|
<binding>
|
||||||
<command>old-help-dialog</command>
|
<command>old-help-dialog</command>
|
||||||
</binding>
|
</binding>
|
||||||
|
@ -632,7 +687,11 @@
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Basic Keys</label>
|
<label> --- Key Reference ---</label>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Basic Simulator Keys</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>gui.showHelpDialog("/sim/help/basic")</script>
|
<script>gui.showHelpDialog("/sim/help/basic")</script>
|
||||||
|
@ -648,24 +707,19 @@
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Aircraft Help</label>
|
<label> Current Aircraft Keys (?)</label>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>gui.showHelpDialog("/sim/help")</script>
|
<script>gui.showHelpDialog("/sim/help")</script>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Toggle Glide Slope Tunnel</label>
|
<label> ---------------------</label>
|
||||||
<binding>
|
</item>
|
||||||
<command>nasal</command>
|
|
||||||
<script>
|
|
||||||
var p = "/sim/rendering/glide-slope-tunnel";
|
|
||||||
setprop(p, var i = !getprop(p));
|
|
||||||
gui.popupTip("Glide slope tunnel " ~ (i ? "enabled" : "disabled"));
|
|
||||||
</script>
|
|
||||||
</binding>
|
|
||||||
</item>
|
|
||||||
|
|
||||||
<item>
|
<item>
|
||||||
<label>Start Tutorial</label>
|
<label>Start Tutorial</label>
|
||||||
|
@ -685,6 +739,14 @@
|
||||||
<script>tutorial.stopTutorial()</script>
|
<script>tutorial.stopTutorial()</script>
|
||||||
</binding>
|
</binding>
|
||||||
</item>
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>About</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>about</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
</menu>
|
</menu>
|
||||||
|
|
||||||
</PropertyList>
|
</PropertyList>
|
||||||
|
|
752
gui/menubar.xml~
Normal file
752
gui/menubar.xml~
Normal file
|
@ -0,0 +1,752 @@
|
||||||
|
<PropertyList>
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>File</label>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Load Flight (Shift-F1)</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>gui.load_flight()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Save Flight (Shift-F2)</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>gui.save_flight()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Scenario</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>scenario</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Reset (Shift-Esc)</label>
|
||||||
|
<binding>
|
||||||
|
<command>reset</command>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<!-- <item>
|
||||||
|
<label>High-Res Snapshot</label>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
<binding>
|
||||||
|
<command>hires-screen-capture</command>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
-->
|
||||||
|
<item>
|
||||||
|
<label>Snapshot</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
gui.popdown();
|
||||||
|
var success = fgcommand("screen-capture");
|
||||||
|
var path = getprop("/sim/paths/screenshot-last");
|
||||||
|
if (success)
|
||||||
|
gui.popupTip("Screenshot written to '" ~ path ~ "'");
|
||||||
|
else
|
||||||
|
gui.popupTip("Error writing screenshot '" ~ path ~ "'");
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
<!--
|
||||||
|
<item>
|
||||||
|
<label>Last snapshot</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var path = getprop("/sim/paths/screenshot-last");
|
||||||
|
if (path != nil) gui.popupTip(...) else gui.popupTip("no screenshots yet in this session")
|
||||||
|
|
||||||
|
gui.popupTip("Screenshot written to '" ~ path ~ "'");
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
-->
|
||||||
|
<item>
|
||||||
|
<label>Print Screen (F3)</label>
|
||||||
|
<binding>
|
||||||
|
<command>old-print-dialog</command>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Sound Configuration</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>sound-dialog</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Quit (Esc)</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>exit</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>View</label>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Display Options</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>display</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Rendering Options</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>rendering</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>View Options</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>view</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Cockpit View Options</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>cockpit-view</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Adjust View Position</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>pilot_offset</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Adjust HUD Properties</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>hud</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Toggle Glide Slope Tunnel</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var p = "/sim/rendering/glide-slope-tunnel";
|
||||||
|
setprop(p, var i = !getprop(p));
|
||||||
|
gui.popupTip("Glide slope tunnel " ~ (i ? "enabled" : "disabled"));
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Instant Replay (Ctrl-R)</label> <item>
|
||||||
|
<label> ------------- </label>
|
||||||
|
</item>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>replay</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>Location</label>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Position Aircraft (on ground)</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>location-on-ground</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Position Aircraft (in air)</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>location-in-air</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Select Airport from List</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>airports</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Random Attitude</label>H
|
||||||
|
<binding>
|
||||||
|
<command>property-assign</command>
|
||||||
|
<property>/sim/presets/trim</property>
|
||||||
|
<value>false</value>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-randomize</command>
|
||||||
|
<property>/orientation/pitch-deg</property>
|
||||||
|
<min>0</min>
|
||||||
|
<max>360</max>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-randomize</command>
|
||||||
|
<property>/orientation/roll-deg</property>
|
||||||
|
<min>0</min>
|
||||||
|
<max>360</max>
|
||||||
|
</binding>
|
||||||
|
<binding>
|
||||||
|
<command>property-randomize</command>
|
||||||
|
<property>/orientation/heading-deg</property>
|
||||||
|
<min>0</min>
|
||||||
|
<max>360</max>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Tower position</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>location-of-tower</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>Autopilot</label>
|
||||||
|
<name>autopilot</name>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Autopilot Settings (F11)</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>autopilot</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Route Manager</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>route-manager</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Previous Waypoint</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("/autopilot/route-manager/input", "@previous")</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Next Waypoint</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>setprop("/autopilot/route-manager/input", "@next")</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<!-- <item>
|
||||||
|
<label>Set Lat/Lon Format</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
var f = getprop(var d = "/sim/lon-lat-format") + 1;
|
||||||
|
setprop(d, f < 0 ? 0 : f > 2 ? 0 : f);
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</item> -->
|
||||||
|
|
||||||
|
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>Environment</label>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Weather Scenario</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>weather_scenario</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Weather Conditions</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>weather</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Clouds</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>clouds</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Rain/Snow Settings</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>rainsnow</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Local Weather</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>local_weather</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Local Weather Tiles</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>local_weather_tiles</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Time Settings</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>timeofday</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Wildfire Settings</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>wildfire.dialog.show()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>Equipment</label>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Map</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>map</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Stopwatch</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>stopwatch-dialog</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Fuel and Payload</label>
|
||||||
|
<name>fuel-and-payload</name>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>gui.showWeightDialog()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Radio Settings (F12)</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>radios</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>GPS Settings</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>gps</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Instrument Settings</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>instruments</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label> --- Failures ---</label>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Random Failures</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>random-failures</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>System Failures</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>system-failures</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Instrument Failures</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>instrument-failures</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>ATC/AI</label>
|
||||||
|
<item>
|
||||||
|
<label>ATC Options</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>ai</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>ATC Services in range</label>
|
||||||
|
<binding>
|
||||||
|
<command>ATC-freq-search</command>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>AI Tanker</label>
|
||||||
|
<name>tanker</name>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>tanker</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>AI Carrier Options</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>AIcarrier</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>Multiplayer</label>
|
||||||
|
<name>multiplayer</name>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Chat Dialog</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>chat-full</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Chat Menu</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>chat-menu</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Pilot List</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>multiplayer.dialog.show()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>MP Carrier selection</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>
|
||||||
|
if (contains(globals, "MPCarriers")) {
|
||||||
|
MPCarriers.carrier_dialog.show();
|
||||||
|
} else {
|
||||||
|
gui.popupTip("No MPCarriers around at the moment.");
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>Debug</label>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Reload GUI</label>
|
||||||
|
<binding>
|
||||||
|
<command>reinit</command>
|
||||||
|
<subsystem>gui</subsystem>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Reload Input</label>
|
||||||
|
<binding>
|
||||||
|
<command>reinit</command>
|
||||||
|
<subsystem>input</subsystem>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Reload Panel</label>
|
||||||
|
<binding>
|
||||||
|
<command>panel-load</command>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Reload Autopilot</label>
|
||||||
|
<binding>
|
||||||
|
<command>reinit</command>
|
||||||
|
<subsystem>xml-autopilot</subsystem>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Reload Network</label>
|
||||||
|
<binding>
|
||||||
|
<command>reinit</command>
|
||||||
|
<subsystem>io</subsystem>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Nasal Console</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>nasal-console</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Development Keys</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>gui.showHelpDialog("/sim/help/debug")</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Configure Development Extensions</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>devel-extensions</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Display Tutorial Marker</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>tutorial.dialog()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Dump Scene Graph</label>
|
||||||
|
<binding>
|
||||||
|
<command>dump-scenegraph</command>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Print Statistics</label>
|
||||||
|
<binding>
|
||||||
|
<command>property-assign</command>
|
||||||
|
<property>/sim/rendering/print-statistics</property>
|
||||||
|
<value>true</value>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Cycle On-Screen Statistics</label>
|
||||||
|
<binding>
|
||||||
|
<command>property-adjust</command>
|
||||||
|
<property>/sim/rendering/on-screen-statistics</property>
|
||||||
|
<step type="int">1</step>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label> ------------- </label>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Browse Internal Properties</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>gui.property_browser()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Logging</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>logging</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Adjust LOD Ranges</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>static-lod</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>OSG Display Settings</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>osg-display<item>
|
||||||
|
<label>About</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>about</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>-settings</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
|
||||||
|
<menu>
|
||||||
|
<label>Help</label>
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Help (opens in browser)</label>
|
||||||
|
<binding>
|
||||||
|
<command>old-help-dialog</command>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Joystick Information</label>
|
||||||
|
<name>joystick-info</name>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>joystick-info</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label> --- Key Reference ---</label>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Basic Simulator Keys</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>gui.showHelpDialog("/sim/help/basic")</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Common Aircraft Keys</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>gui.showHelpDialog("/sim/help/common")</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label> Current Aircraft Keys (?)</label>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>gui.showHelpDialog("/sim/help")</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label> ---------------------</label>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>Start Tutorial</label>
|
||||||
|
<name>tutorial-start</name>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>tutorial</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>End Tutorial</label>
|
||||||
|
<name>tutorial-stop</name>
|
||||||
|
<enabled>false</enabled>
|
||||||
|
<binding>
|
||||||
|
<command>nasal</command>
|
||||||
|
<script>tutorial.stopTutorial()</script>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
<item>
|
||||||
|
<label>About</label>
|
||||||
|
<binding>
|
||||||
|
<command>dialog-show</command>
|
||||||
|
<dialog-name>about</dialog-name>
|
||||||
|
</binding>
|
||||||
|
</item>
|
||||||
|
</menu>
|
||||||
|
|
||||||
|
</PropertyList>
|
|
@ -272,7 +272,7 @@ top down before the key bindings are parsed.
|
||||||
|
|
||||||
<key n="32">
|
<key n="32">
|
||||||
<name>SPACE</name>
|
<name>SPACE</name>
|
||||||
<desc>PTT - Push To Talk (via VoIP)</desc>
|
<desc>PTT - Push To Talk (via FGCom)</desc>
|
||||||
<binding>
|
<binding>
|
||||||
<command>nasal</command>
|
<command>nasal</command>
|
||||||
<script>space(1, modifiers.getValue())</script>
|
<script>space(1, modifiers.getValue())</script>
|
||||||
|
|
1415
keyboard.xml~
Normal file
1415
keyboard.xml~
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue