2022-08-13 23:19:24 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
#
|
|
|
|
# Aerotow Everywhere - Add-on for FlightGear
|
|
|
|
#
|
|
|
|
# Written and developer by Roman Ludwicki (PlayeRom, SP-ROM)
|
|
|
|
#
|
|
|
|
# Copyright (C) 2022 Roman Ludwicki
|
|
|
|
#
|
|
|
|
# Aerotow Everywhere is an Open Source project and it is licensed
|
|
|
|
# under the GNU Public License v3 (GPLv3)
|
|
|
|
#
|
|
|
|
-->
|
|
|
|
|
|
|
|
<!--
|
|
|
|
2018-12 WARNING:
|
|
|
|
PUI menu items must have a globally unique label to make bindings work
|
|
|
|
correctly. Bindings of all items with the same label will be triggered
|
|
|
|
if any of them is selected from the menu.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<PropertyList>
|
|
|
|
<meta>
|
|
|
|
<file-type type="string">FlightGear add-on menu bar items</file-type>
|
|
|
|
<format-version type="int">1</format-version>
|
|
|
|
</meta>
|
|
|
|
<menubar-items>
|
|
|
|
<menu>
|
|
|
|
<label>Aerotow Everywhere</label>
|
|
|
|
<enabled type="bool">true</enabled>
|
|
|
|
|
2022-08-17 07:55:10 +08:00
|
|
|
<item>
|
|
|
|
<label>Aerotow Route</label>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>route-aerotow</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
2022-08-13 23:19:24 +08:00
|
|
|
<item>
|
|
|
|
<label>Call for Piper J3 Cub aircraft</label>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/addons/by-id/org.flightgear.addons.Aerotow/addon-devel/ai-model</property>
|
|
|
|
<value type="string">Cub</value>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<label>Call for Robin DR400 aircraft</label>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/addons/by-id/org.flightgear.addons.Aerotow/addon-devel/ai-model</property>
|
|
|
|
<value type="string">DR400</value>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<label>Call for Cessna 182 aircraft</label>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/addons/by-id/org.flightgear.addons.Aerotow/addon-devel/ai-model</property>
|
|
|
|
<value type="string">c182</value>
|
|
|
|
</binding>
|
2022-08-19 13:42:45 +08:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<label>Call for Douglas C-47 aircraft</label>
|
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/addons/by-id/org.flightgear.addons.Aerotow/addon-devel/ai-model</property>
|
|
|
|
<value type="string">C47</value>
|
|
|
|
</binding>
|
2022-08-13 23:19:24 +08:00
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<label>Disable tow aircraft</label>
|
2022-08-18 17:39:22 +08:00
|
|
|
<binding>
|
|
|
|
<command>property-assign</command>
|
|
|
|
<property>/addons/by-id/org.flightgear.addons.Aerotow/addon-devel/sound/enable</property>
|
|
|
|
<value type="bool">false</value>
|
|
|
|
</binding>
|
2022-08-13 23:19:24 +08:00
|
|
|
<binding>
|
|
|
|
<command>nasal</command>
|
2022-08-19 01:17:26 +08:00
|
|
|
<script><![CDATA[
|
|
|
|
# Run stopAerotow() with a delay to ensure that the engine sound turns off
|
|
|
|
var timer = maketimer(1, func () {
|
2022-08-19 08:36:36 +08:00
|
|
|
aerotow.g_Aerotow.stopAerotow();
|
2022-08-19 01:17:26 +08:00
|
|
|
});
|
|
|
|
timer.singleShot = 1;
|
|
|
|
timer.start();
|
|
|
|
]]></script>
|
2022-08-13 23:19:24 +08:00
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
<item>
|
2022-08-16 09:27:37 +08:00
|
|
|
<label>---------------------</label>
|
|
|
|
<enabled>false</enabled>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<label>Add thermal</label>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>add-thermal</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<label>---------------------</label>
|
2022-08-13 23:19:24 +08:00
|
|
|
<enabled>false</enabled>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<label>Help</label>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>help-aerotow</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<label>About</label>
|
|
|
|
<binding>
|
|
|
|
<command>dialog-show</command>
|
|
|
|
<dialog-name>about-aerotow</dialog-name>
|
|
|
|
</binding>
|
|
|
|
</item>
|
|
|
|
|
|
|
|
<!--
|
|
|
|
FOR DEVELOPMENT ONLY!
|
|
|
|
trigger reload of addon-main.nas
|
|
|
|
1) This item should be REMOVED for release versions.
|
|
|
|
2) Ensure the label is unique
|
|
|
|
3) replace addon ID to match your addon
|
|
|
|
-->
|
|
|
|
<!-- <item>
|
|
|
|
<label>Reload Add-on</label>
|
|
|
|
<binding>
|
|
|
|
<command>addon-reload</command>
|
|
|
|
<id>org.flightgear.addons.Aerotow</id>
|
|
|
|
</binding>
|
|
|
|
</item> -->
|
|
|
|
</menu>
|
|
|
|
</menubar-items>
|
|
|
|
</PropertyList>
|