2008-10-11 23:17:23 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
|
|
|
|
<default>
|
|
|
|
<menu n="10">
|
|
|
|
<label>Cessna C172P</label>
|
|
|
|
<enabled type="bool">true</enabled>
|
|
|
|
<item>
|
2012-09-21 21:59:27 +00:00
|
|
|
<name>select-livery</name>
|
2008-10-11 23:17:23 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>aircraft.livery.dialog.toggle()</script>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
<item>
|
2012-09-21 21:59:27 +00:00
|
|
|
<name>immatriculation</name>
|
2008-10-11 23:17:23 +00:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>c172p.immat_dialog.toggle()</script>
|
|
|
|
</binding>
|
|
|
|
</item>
|
2009-11-19 22:35:43 +00:00
|
|
|
<item>
|
2012-09-21 21:59:27 +00:00
|
|
|
<name>show-hide-yokes</name>
|
2009-11-19 22:35:43 +00:00
|
|
|
<binding>
|
|
|
|
<command>property-toggle</command>
|
|
|
|
<property>sim/model/hide-yoke</property>
|
|
|
|
</binding>
|
|
|
|
</item>
|
2013-01-24 21:45:01 +00:00
|
|
|
<item>
|
|
|
|
<name>autostart</name>
|
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
|
|
|
<script>
|
|
|
|
if (getprop("/engines/engine/running")) {
|
|
|
|
gui.popupTip("Engine already running.", 5);
|
|
|
|
|
|
|
|
} else {
|
|
|
|
setprop("/controls/engines/engine/magnetos", 3);
|
|
|
|
setprop("/controls/engines/engine/throttle", 0.2);
|
|
|
|
setprop("/controls/engines/engine/mixture", 1.0);
|
|
|
|
|
|
|
|
setprop("/controls/flight/elevator-trim", -0.19);
|
|
|
|
|
|
|
|
setprop("/controls/lighting/nav-lights", 1);
|
|
|
|
setprop("/controls/lighting/strobe", 1);
|
|
|
|
setprop("/controls/lighting/beacon", 1);
|
|
|
|
|
|
|
|
setprop("/consumables/fuel/tank[0]/selected", 1);
|
|
|
|
setprop("/consumables/fuel/tank[1]/selected", 1);
|
|
|
|
|
|
|
|
|
|
|
|
# Set the altimeter
|
|
|
|
setprop("/instrumentation/altimeter/setting-inhg", getprop("/environment/pressure-sea-level-inhg"));
|
|
|
|
|
|
|
|
gui.popupTip("Hold down \"s\" to start the engine.", 5);
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</binding>
|
|
|
|
</item>
|
2008-10-11 23:17:23 +00:00
|
|
|
</menu>
|
|
|
|
</default>
|
|
|
|
|
|
|
|
</PropertyList>
|
|
|
|
|