Hi Paco - looking good so far

Some point to consider:-
[BUFFERZONE]
2000,0,2,3,1000,3,2,1
Here the first param is the detection radius for a warning message
You could use this as your lookout calling a contact. If you set this at say 5000 or 6000 and then set param 3 to 2 and param 4 to 9999 - the result would be:-
A ship within 5 to 6km will cause TC to drop to x1 and a message to display and speed to remain the same.
This could be a nice way to let us retake control of the boat if the ship is a target
Quote:
I think it works fine, but I cannot travel with a TC above 512. The game misses the next waypoint and Your sub goes straight ahead until You will stop it
|
To get around this you can (and I have done this many times) just add extra waypoints in between so that they are smaller leg runs.
An easy way to get the coords is to run your script with the game in windowed mode. At the same time run dbview as it will give you lots of info anout what navigation is doing. So as each leg runs through - dbview will give you constant feedback as to how far to the next way point check (x4 for non precision). When you are at the halfway point - get a new fix from the nav officer and insert that into your script.
Do try to run dbview at the same time as it helps a lot