Howto:Make a helipad: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 8: Line 8:
Right now your helipad can be landed on, but we do like to takeoff from it aswell, don't we? Therefore, we need to extend the apt.dat file, which stores all [[:Category:Airports|airport]] information. You can find it likely in <tt>[[$FG_ROOT]]/Airports</tt>. Before we can edit the file we need to unzip it first. Be sure to always make a backup before you change anything.  
Right now your helipad can be landed on, but we do like to takeoff from it aswell, don't we? Therefore, we need to extend the apt.dat file, which stores all [[:Category:Airports|airport]] information. You can find it likely in <tt>[[$FG_ROOT]]/Airports</tt>. Before we can edit the file we need to unzip it first. Be sure to always make a backup before you change anything.  


Once it's unpacked, open it with any texteditor you like (TextEdit is prefered for MAC users) and scroll down to the bottom of the file, where the heliports are listed (lines with [H]) in alphabetical order.
Once it's unpacked, open it with any texteditor you like (TextEdit is prefered for MAC users) and scroll down to the bottom of the file, where the heliports are listed (lines with [H]) in alphabetical order. Now we need to add one or two line(s) to the file, in order to add our helipad as a startup location.


As an example, the lines below are used for the helipad on the roof of a large hospital in the Netherlands.
As an example, the lines below are used for the helipad on the roof of a large hospital in the Netherlands.
Line 17: Line 17:
In the airport list of [[FlightGear Launch Control|FGrun]] it will appear as EH0001, VU medisch centrum [H] with runway H1.  
In the airport list of [[FlightGear Launch Control|FGrun]] it will appear as EH0001, VU medisch centrum [H] with runway H1.  


Now, let us take a closer look at these two lines. The first line is only neccesary when the airport/heliport does not exist yet. If that's the case, you can add the helipad with just the second line.
Let us take a closer look at these two lines. The first line is only neccesary when the airport/heliport does not exist yet. If that is the case, you can add the helipad with just the second line.


{| class="prettytable"
{| class="prettytable"
Line 71: Line 71:
To find the center of the helipad, place a model at the center of the helipad using the [[UFO]] and press d to export the location data to the console. The lat, long and alt values can be copied to the lines that you include in the apt.dat file.
To find the center of the helipad, place a model at the center of the helipad using the [[UFO]] and press d to export the location data to the console. The lat, long and alt values can be copied to the lines that you include in the apt.dat file.


Save the file after you've made your changes and pack it again, overwriting/replacing the old apt.dat.gz file.
Save the file after you've made your changes and zip it again, overwriting/replacing the old apt.dat.gz file.


==Testing==
==Testing==

Navigation menu