Ramp Marshall: Difference between revisions

Jump to navigation Jump to search
Added a Installation page and added some more phrases for more clarification
(→‎Related content: + Walk view; +template:Forum link; +- Found archived versions of the Git repositories; +cat: Aircraft enhancement)
(Added a Installation page and added some more phrases for more clarification)
Line 7: Line 7:
{{#ev:youtube | c_KEbyv_h5A}} {{#ev:youtube | Hz4WU8nsdls}}
{{#ev:youtube | c_KEbyv_h5A}} {{#ev:youtube | Hz4WU8nsdls}}


== Installation ==
=== How to install the ramp marshaller ===
# Download [https://github.com/RenanMsV/ramp-marshall this GitHub] and unzip it.
# Download this [https://archive.softwareheritage.org/browse/origin/directory/?origin_url=https://gitorious.org/fg/omega95s-fgdata.git&path=Nasal '''ramp_marshall.nas''']
# Put the '''Ramp''' Folder (can be found under Models/Airports in the GitHub) in $FG-ROOT\Models\Airport
# Put the '''ramp-marshall-dlg.xml''' (can be found under gui/dialogs in the GitHub) into $FG-ROOT\gui\dialogs
# Put every File which is not under any folder in the GitHub in your addons folder (see: [[Addon|how to install addons in FlightGear]])
# Now put the [https://archive.softwareheritage.org/browse/origin/directory/?origin_url=https://gitorious.org/fg/omega95s-fgdata.git&path=Nasal '''ramp_marhsall.nas'''] and the '''addon-main.nas''' (which can be found under the GitHub) in $FG-ROOT\Nasal


== Using the ramp marshaller ==
== Using the ramp marshaller ==
Line 51: Line 61:
# Start up FlightGear with the UFO at the airport you want to place ramp marshallers.
# Start up FlightGear with the UFO at the airport you want to place ramp marshallers.
# Hit the {{key press|L}} key on the keyboard to bring up the model selection dialog and select <tt>[[$FG_ROOT]]/Models/Airport/Ramp/ramp.xml</tt>. Using the ufo's scenery editing tools, place (and adjust) ramp marshallers everywhere you want. To make it simpler, click on the exact position you want the airplane to come to a stop. This will usually be at the end of a parking ramp's taxiway lines. Then, you will only have to change the heading.
# Hit the {{key press|L}} key on the keyboard to bring up the model selection dialog and select <tt>[[$FG_ROOT]]/Models/Airport/Ramp/ramp.xml</tt>. Using the ufo's scenery editing tools, place (and adjust) ramp marshallers everywhere you want. To make it simpler, click on the exact position you want the airplane to come to a stop. This will usually be at the end of a parking ramp's taxiway lines. Then, you will only have to change the heading.
# Once you've finished placing all the models, hit the {{key press|D}} key to dump the stg lines onto the console. (Do not close FlightGear yet) Copy the stg lines into a blank file. (name does not matter)
# Once you've finished placing all the models, hit the {{key press|D}} key to dump the stg lines onto the console. (Do not close FlightGear yet) Copy the stg lines into a blank file. (name does not matter) And save it somewhere on your PC ($FG-HOME is a good place for that).
# Open up the Nasal console and execute the following function.
# Open up the Nasal console and execute the following function.
#: <syntaxhighlight lang="javascript">ramp_marshall.convert_stg();</syntaxhighlight>
#: <syntaxhighlight lang="javascript">ramp_marshall.convert_stg();</syntaxhighlight>
# Choose the stg file you pasted the dumped stg lines in to convert the file into a readable xml ramp position file. The converted file can be found <tt>[[$FG_HOME]]/Export</tt>.
# Choose the stg file you pasted the dumped stg lines in to convert the file into a readable xml ramp position file. If you get following error: <code>(unauthorized directory - authorization no longer follows symlinks; to authorize reading additional directories, pass them to --allow-nasal-read)</code>, type in Command line in the Launcher following phrase: <code>--allow-nasal-read=/path/to/directory</code>. The converted file can be found <tt>[[$FG_HOME]]/Export</tt> or under the Roaming folder in Windows.
# Copy the exported file (it will be called '''ramps-export.xml''') to <tt>[[$FG_ROOT]]/AI/Airports/<icao>/ramps.xml</tt>. For example, if you want these ramps at Singapore Changi Intl. Airport (WSSS), you'd put it in <tt>[[$FG_ROOT]]/AI/Airports/<icao>/WSSS.xml</tt>.
# Copy the exported file (it will be called '''ramps-export.xml''') to <tt>[[$FG_ROOT]]/AI/Airports/<icao>/ramps.xml</tt>. For example, if you want these ramps at Singapore Changi Intl. Airport (WSSS), you'd put it in <tt>[[$FG_ROOT]]/AI/Airports/WSSS/ramps.xml</tt>. (you have to rename the '''ramps-export.xml''' into '''ramps.xml'''). If there is no folder for your Airport, just create a new one with the icao of your Airport.


== Contributing to the module ==
== Contributing to the module ==
13

edits

Navigation menu