Hi TDW
I know you are busy with the importer so please just note this post for later.
I have been looking at the tactics for the AI U-Boats and trying to understand how they work. Looking at merchants first.
When a U-Boat is within 20,000 of a merchant and is daytime (does this mean there is also a night tactic?)
I'm guessing it will do the following:-
Set engines to full speed if sub is undamaged and
If merchant is more than 14km away but under 20km it will check ship speed.
If Boat speed is faster than ship speed it will head to ship on surface if not it will follow its waypoints. (not chase)
When closer than 14km but further than 7.5km (7.5 = visual range?)
Run on surface.
This one Im not sure about what does stilltarget mean is it that it still thinks of it as a target?
If damaged set depth 40m
When distance is less than 7.5km but more than 3.5km attack with deck gun (this does not work btw gun does not fire)
But if damaged goto 40m and stay at full speed.
When boat is between 2km and 3.5km turn towards target set speed to 3/4 and dive to 11.5m (could this be changed to 13 or 14m? a lot of the scope sticks out the water. also could it be set to only raise scope for 30 seconds and raise again after a minute or two?)
Head to target trajectory I guess this is where to point for firing at a zero gyro?
Fire torps.
If boat gets to under 2km but over 1km reduce speed to 1/4 point and shoot.
When boat gets under 1km set speed full and goto 31.5m
Does these steps repeat until torps run out?
When watching all these steps in the game I can see them following this process.
But sometimes something goes wrong and the boat will surface when they are too close.