![]() |
#11
|
|||
|
|||
![]()
You use a stationary ship object to generate coordinates for the ship route and then cut and paste text to convert the stationary objects to a moving ship.
Step 1 - You need to know the correct format for the ships you intend to use so load a map with open sea and create a mission using each ship which you will want. Plot two waypoints for each ship and save the mission. In the [Chiefs] section of the *.mis file you will find the text you will need. For may example with two gunboats: Code:
[Chiefs] 0_Chief Ships.MO4 1 0 2 1.0 1_Chief Ships.MO4 1 0 2 1.0 [0_Chief_Road] 90579.69 88397.05 120.00 0 2 8.333333969116211 94456.00 88430.18 120.00 [1_Chief_Road] 90132.42 88363.92 120.00 0 2 8.333333969116211 94074.99 88397.05 120.00 Code:
[NStationary] 0_Static ships.Ship$G5 1 15716.96 38834.82 360.00 0.0 0 2 1.0 1_Static ships.Ship$G5 1 16157.25 38508.16 360.00 0.0 0 2 1.0 2_Static ships.Ship$G5 1 16973.91 37924.54 360.00 0.0 0 2 1.0 3_Static ships.Ship$G5 1 17456.81 37350.63 360.00 0.0 0 2 1.0 4_Static ships.Ship$G5 1 17549.12 37180.20 360.00 0.0 0 2 1.0 5_Static ships.Ship$G5 1 17546.43 36823.04 360.00 0.0 0 2 1.0 6_Static ships.Ship$G5 1 17642.13 36729.56 360.00 0.0 0 2 1.0 7_Static ships.Ship$G5 1 17860.25 36722.88 360.00 0.0 0 2 1.0 8_Static ships.Ship$G5 1 19785.79 36720.41 360.00 0.0 0 2 1.0 9_Static ships.Ship$G5 1 28848.74 36718.71 360.00 0.0 0 2 1.0 10_Static ships.Ship$G5 1 29288.04 36873.40 360.00 0.0 0 2 1.0 11_Static ships.Ship$G5 1 29313.46 36957.68 360.00 0.0 0 2 1.0 12_Static ships.Ship$G5 1 29306.77 37417.53 360.00 0.0 0 2 1.0 Now paste in the code you previously saved for the moving ships: Code:
[Chiefs] 0_Chief Ships.MO4 1 0 2 1.0 1_Chief Ships.MO4 1 0 2 1.0 [0_Chief_Road] 90579.69 88397.05 120.00 0 2 8.333333969116211 94456.00 88430.18 120.00 [1_Chief_Road] 90132.42 88363.92 120.00 0 2 8.333333969116211 94074.99 88397.05 120.00 [NStationary] 0_Static ships.Ship$G5 1 15716.96 38834.82 360.00 0.0 0 2 1.0 1_Static ships.Ship$G5 1 16157.25 38508.16 360.00 0.0 0 2 1.0 2_Static ships.Ship$G5 1 16973.91 37924.54 360.00 0.0 0 2 1.0 3_Static ships.Ship$G5 1 17456.81 37350.63 360.00 0.0 0 2 1.0 4_Static ships.Ship$G5 1 17549.12 37180.20 360.00 0.0 0 2 1.0 5_Static ships.Ship$G5 1 17546.43 36823.04 360.00 0.0 0 2 1.0 6_Static ships.Ship$G5 1 17642.13 36729.56 360.00 0.0 0 2 1.0 7_Static ships.Ship$G5 1 17860.25 36722.88 360.00 0.0 0 2 1.0 8_Static ships.Ship$G5 1 19785.79 36720.41 360.00 0.0 0 2 1.0 9_Static ships.Ship$G5 1 28848.74 36718.71 360.00 0.0 0 2 1.0 10_Static ships.Ship$G5 1 29288.04 36873.40 360.00 0.0 0 2 1.0 11_Static ships.Ship$G5 1 29313.46 36957.68 360.00 0.0 0 2 1.0 12_Static ships.Ship$G5 1 29306.77 37417.53 360.00 0.0 0 2 1.0 Code:
[Chiefs] 0_Chief Ships.MO4 1 0 2 1.0 1_Chief Ships.MO4 1 0 2 1.0 [0_Chief_Road] 15716.96 38834.82 360.00 0 2 8.333333969116211 16157.25 38508.16 360.00 0 2 8.333333969116211 16973.91 37924.54 360.00 0 2 8.333333969116211 17456.81 37350.63 360.00 0 2 8.333333969116211 17549.12 37180.20 360.00 0 2 8.333333969116211 17546.43 36823.04 360.00 0 2 8.333333969116211 17642.13 36729.56 360.00 0 2 8.333333969116211 17860.25 36722.88 360.00 0 2 8.333333969116211 19785.79 36720.41 360.00 0 2 8.333333969116211 28848.74 36718.71 360.00 0 2 8.333333969116211 29288.04 36873.40 360.00 0 2 8.333333969116211 29313.46 36957.68 360.00 0 2 8.333333969116211 29306.77 37417.53 360.00 [1_Chief_Road] 15616.96 38934.82 360.00 0 2 8.333333969116211 16057.25 38608.16 360.00 0 2 8.333333969116211 16923.91 37954.54 360.00 0 2 8.333333969116211 17456.81 37350.63 360.00 0 2 8.333333969116211 17549.12 37180.20 360.00 0 2 8.333333969116211 17546.43 36823.04 360.00 0 2 8.333333969116211 17642.13 36729.56 360.00 0 2 8.333333969116211 17860.25 36722.88 360.00 0 2 8.333333969116211 19785.79 36720.41 360.00 0 2 8.333333969116211 28848.74 36718.71 360.00 0 2 8.333333969116211 29288.04 36873.40 360.00 0 2 8.333333969116211 29313.46 36957.68 360.00 0 2 8.333333969116211 29306.77 37317.53 360.00 [NStationary] [Buildings] [StaticCamera] 16331 39044 100 16862 38766 100 17279 38390 100 20849 36400 100 24940 37423 100 29170 36292 100 [Bridge] [House] To try it out create any mission on the NW Europe map and paste my final text into the [Chief] section. You will see the boats if you use the static cameras. Last edited by Asheshouse; 11-06-2011 at 07:34 PM. |
|
|