You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
flightgear-addon-aerotow-ev.../addon-config.xml

91 lines
4.7 KiB

2 years ago
<?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>
<wpts>
<description type="string">Default route around the start location</description>
<max-alt-agl type="double"></max-alt-agl>
</wpts>
<total>
<distance>0</distance>
<alt>0</alt>
</total>
</route>
<sound>
<enable type="bool">false</enable>
</sound>
<help-text type="string">=== How to start? ===
2 years ago
From the top menu, select "Aerotow Everywhere" -> "Call for Piper J3 Cub aircraft", "Robin DR400", "Cessna 182" or "Douglas C-47". (Yes, you can choose from many aircrafts.)
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.
2 years ago
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, after having flown the entire given route, it lands at the airport from which it took off or when start in the bush turns in an unknown direction and flies at a constant altitude. If the aircraft lands at the airport, the scenario starts again, i.e. the aircraft respawn to take-off again.
2 years ago
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".
2 years ago
=== 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>