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
<[file][][]
<[tmsimulator_scenery_place][][]
<[string8][type][object]>
<[string8][sname][USNS Patuxent]>
<[string8][lname][USNS Patuxent T-AO-201]>
<[string8][icao][]>
<[string8][country][us]>
<[string8][coordinate_system][lonlat]>
<[vector2_float64][position][0.000000 0.000000]>
<[float64][height][0]>
<[float64][size][500]>
<[vector2_float64][tower_position][0 0]>
<[float64][tower_height][0]>
<[bool][autoheight][false]>
<[string8][lights][]>
<[list_tmsimulator_scenery_object][objects][]
<[tmsimulator_scenery_object][element][0]
<[string8][type][object]>
<[string8][geometry][usns_patuxent]>
<[vector3_float64][position][0.000000 0.000000 0.0]>
<[float64][orientation][0.0]> //ship-orientation: west ahead
>
>
<[list_tmsimulator_scenery_object_animated][objects_animated][]
>
<[list_tmsimulator_runway][runways][]
>
<[list_tmsimulator_helipad][helipads][]
<[tmsimulator_helipad][element][0]
<[string8][name][H1]>
<[string8][type_name][building]>
<[vector2_float64][position][0.000898 0.000000]> //heliport is 100 m east of ship-center
<[float64][radius][8]>
<[float64][heading][-90.0]> //heli-orientation: west ahead
<[float64][height][0]>
>
>
<[list_tmsimulator_startposition][start_positions][]
>
<[list_tmsimulator_parking_position][parking_positions][]
>
<[list_tmsimulator_view_position][view_positions][]
>
>
>
Display More
Bye, Michael