Hello
A new try
Improved ship movement.
Reason:
Try to eliminate ships moving through each other as much as possible.
Workings:
Ship looks on new tile and one further to see if there is ship.
If encountered speed is divided by 4.
Only if plain water tiles are available on new tile, and on next tile if new track would be followed, the ship will change course.
The ship will then turn extra 45º from original course.
If there is no space to move out of the way, normal direction is maintained, albeit with reduced speed.
This forces player to choose placing of buoy's and dock's more carefully.
Very large amounts of ships requires more maneuvering space.
In that case it is advised to create route with buoy's for both directions.
If ships encounter each other in narrow channels (1 tile), or there is no space to turn away (coast or end of map etc.), speed will be reduced and they will glide over each other (old behavior).
This is done to avoid loop situation. (Ships endlessly turning in circle)
3 tiles from destination tile (buoy, dock etc.) ships have "normal" behavior.
This is done for game play.
Some time penalty is a result of all these changes so maybe some tinkering in ships earnings/costs is desirable.
If ship is stopped it will not be detected by other ships. (Avoid sabotage)
When ship has TRACK_BIT_WORMHOLE (Aqua ducts) this patch has no effect.
I had nicest results with NPF but YAPF is best option.
Resolved:
This time no desyncs problems.
Bugs:
Not known.
Path finder is not affected by this patch because rectification to direction are made after the pathfinder is called.
(I may be wrong here so please correct me if so.)
At this moment the new behavior is active when 90º turns are forbidden for trains and ships.
(See _settings_game.pf.forbid_90_deg line in patch)
You can change it in advanced settings, vehicles, routing, Forbid trains and ships to make 90º turns.
Please have fun and report any problems.
Regards
P.S. Wouldn't it be nice to earn some money with ships
EDIT: This post was edited to improve story.
and will be the place to find most up to date patch