Heliports on earth and on buildings can be easily set up by entering the corresponding absolute coordinates into the tsc file as position. Basically this also works for ships.
However, the absolute position of a ship are bad as position for the heliport, if you rotate the ship in alignment and/or position it on a different latitude. In both cases it is necessary to recalculate each absolute position. It would be better to enter the direction and the distance relative to the basic positioning in the tsc file (see line 9 in the code).
Since I did not find anything in the Wiki and with the search function, I ask here the question whether and how this works.
For a better understanding I have attached a tsc-file as an example with the ship USNS Patuxent:
- line 9:
this is the position of the tsc-file
- line 20:
in this case is the center of the ship in the same position as the tsc-file so the absolute coordinates are no problem
- line 32:
on equator is the heliport 100 m east of the center of the ship
on 45 °N is the heliport only 71 m east of the centre of the ship
on both poles is the heliport in the center of the ship
- <[string8][sname][USNS Patuxent]>
- <[string8][lname][USNS Patuxent T-AO-201]>
- <[vector2_float64][position][0.000000 0.000000]>
- <[vector2_float64][tower_position][0 0]>
- <[vector3_float64][position][0.000000 0.000000 0.0]>
- <[float64][orientation][0.0]> //ship-orientation: west ahead
- <[vector2_float64][position][0.000898 0.000000]> //heliport is 100 m east of ship-center
- <[float64][heading][-90.0]> //heli-orientation: west ahead