Hi, Samppa!
There are some questions.
1.
What mean and how to define values "setUnitSpawnCoordinates" and "setUnitAngle" for the ports (and piers) located in any place of a world map?
2. As well on these parameters from a tradeareas.txt (they have identical values only at homeports):
portCam_x = -214.0
portCam_y = 30.0
portCam_z = 7.2
portCam_beta = 34
portCam_dir = 257.0
3. How to resolve an input in homeports of other nations?
There are some questions.
1.
So, make the following changes and save the file:
setUnitIdString uid_town_new
setUnitSpawnCoordinates s,-220.0,-1025.0
setUnitAngle 65
…
Then open Data\Missions\Generic02\generic02_units.dhps again and add this below your new port stuff at the bottom of the file.
addUnit uPIER
addUnitRootPart pPIER_01
setUnitIdString uid_pier_new
setUnitSpawnCoordinates s,-265.0,-1050.0
setUnitAngle 335
What mean and how to define values "setUnitSpawnCoordinates" and "setUnitAngle" for the ports (and piers) located in any place of a world map?
2. As well on these parameters from a tradeareas.txt (they have identical values only at homeports):
portCam_x = -214.0
portCam_y = 30.0
portCam_z = 7.2
portCam_beta = 34
portCam_dir = 257.0
3. How to resolve an input in homeports of other nations?