flightgear-addon-aerotow-ev.../addon-config.xml

84 lines
4.2 KiB
XML
Raw Normal View History

2022-08-13 23:19:24 +08:00
<?xml version="1.0"?>
<!--
#
# 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)
#
-->
<!--
use this addon-config.xml to create/set/publish your property tree
or override default settings from defaults.xml
Node: this file MUST be named addon-config.xml and it MUST be in the
root path of your addon/plugin.
The topmost element MUST be <PropertyList>
-->
<PropertyList>
<addons>
<by-id>
<org.flightgear.addons.Aerotow>
<addon-devel>
<ai-model type="string">Cub</ai-model>
<add-thermal>
<distance-m type="int">300</distance-m>
<distance-nm type="double">0.16</distance-nm>
<strength-fps type="double">16.0</strength-fps>
<strength-mps type="double">4.88</strength-mps>
<diameter-ft type="int">4000</diameter-ft>
<diameter-m type="int">1219</diameter-m>
<height-msl type="int">9000</height-msl>
<height-msl-m type="int">2742</height-msl-m>
</add-thermal>
<route>
<ai-model>Piper J3 Cub</ai-model>
<init-wpt>
<heading-change type="double">0</heading-change>
<distance-m type="double">0</distance-m>
<alt-change-agl-ft type="double">0</alt-change-agl-ft>
</init-wpt>
<total>
<distance>0</distance>
<alt>0</alt>
</total>
</route>
2022-08-14 09:26:03 +08:00
<help-text type="string">=== How to start? ===
2022-08-13 23:19:24 +08:00
From the top menu, select "Aerotow Everywhere" -> "Call for Piper J3 Cub aircraft", "Robin DR400" or "Cessna 182" (yes, you can choose from many aircrafts).
2022-08-13 23:21:06 +08:00
The tow aircraft will appear to your right and align to the centreline of the runway in front of you. At this time you should hook up to the aircraft, most often by `Ctrl-o` key (check help of your glider). The aircraft will begin to accelerate and take off.
2022-08-13 23:19:24 +08:00
By default, the tow plane always takes off in front of your runway and flies along the runway for 5 km, then turns back and flies downwind for 6 km, then turns back again and flies another 6 km. During this flight it is constantly gaining altitude. Then when it has completed the entire set route it simply turns right 90 degrees and flies at a constant altitude.
2022-08-13 23:19:24 +08:00
You can disconnect from the aircraft at any time, most often by pressing the `o` key.
Before start you can change route of AI aircraft by menu "Aerotow Everywhere" -> "Aerotow Route".
2022-08-13 23:19:24 +08:00
=== Troubleshotting ===
1. When I select "Aerotow Everywhere" -> "Call for Piper J3 Cub aircraft", "Robin DR400" or "Cessna 182" from menu, I see "Let's fly!" message but nothing happened. The tow plane does not appear.
Probably you didn't include the `--data` command line option with the path where FlightGear should look for additional flight plan files for AI. Unfortunately, the simulator does not inform us that there was a problem with finding the flight plan file, so everything looks like it should work but does not.
For fix it, in the file explorer of your operating system, find the directory `$FG_HOME/Export/Addons/org.flightgear.addons.Aerotow`. This path must be added by the `--data` command line option, so it will be treated as an additional FGData directory where FlightGear will find the flight plan. In Launcher go to "Settings" tab and in "Additionnal Setting" type (on the Linux system):
--data=/home/{username}/.fgfs/Export/Addons/org.flightgear.addons.Aerotow
or on the Windows:
--data=C:\Users\{username}\AppData\Roaming\flightgear.org\Export\Addons\org.flightgear.addons.Aerotow
Run simulator again, now everything should be working.
</help-text>
</addon-devel>
</org.flightgear.addons.Aerotow>
</by-id>
</addons>
</PropertyList>