Ground Services: Difference between revisions

Jump to navigation Jump to search
Line 145: Line 145:


== Installation ==
== Installation ==
As of release 0.3.0 this module is an addon. So installation differs.
As of release 0.3.0 this module is an addon and as of release 0.5.0 it fully complies to the FlightGear addon infrastructure available as of 2018.2.1. It is recommended to use at least release 0.5.0 of this addon with at least FlightGear 2018.2.1.  


=== up to 0.2.0 ===
The addon is installed just like any other addon as described in [[Addons]]. No manual steps are needed any more.
GroundServices is installed by just unpacking the zip file into a FG_ROOT folder. You might backup the folder previously, because there is no real uninstall.
Choose a "no overwrite" option for avoiding overwriting existing files, though no name conflicts are known currently.
 
In {{Preferences.xml}} an entry is required for AI/groundservices.xml:
<syntaxhighlight lang="xml">
  <ai>
      ...
      <groundnet-cache type="bool">true</groundnet-cache>
      <tankers include="AI/tankers.xml"/>
      <groundservices include="AI/groundservices.xml"/>   
  </ai>
</syntaxhighlight>
 
and in menubar.xml in the AI section (eg. below of the jetway entry):
<syntaxhighlight lang="xml">
  <item>
        <name>GroundServices</name>
        <enabled>true</enabled>
        <binding>
            <command>dialog-show</command>
            <dialog-name>groundservices</dialog-name>
        </binding>
  </item>
</syntaxhighlight>
 
=== as of 0.3.0 ===
The addon is installed just like any other addon as described in [[Addons]]. Despite being an addon, the menu item still needs to be installed manually in menubar.xml as in previous releases (however, the menu item is optional) and the file LOCATIONOFADDON/gui/dialogs/groundservices.xml be copied to $FG_ROOT/gui/dialogs.
 
For displaying a map from the gui menu, the four files in LOCATIONOFADDON/Nasal/canvasmap need to be copied to $FG_ROOT/Nasal/canvas/map.


== Running ==
== Running ==
183

edits

Navigation menu