Quote:
Originally Posted by W_clear
Hi @TDW
I've tested new AI MOD.Destroyer is not an accurate search for submarines,Therefore, it is still blind launch DC.
Thanks 
|
after your comment above I decided to do some testing....and the results of that testing was that I found a bug in my ship AI script. It's not a bug as in typo or anything - it's a timing bug. Here's the problem:
you are detected by a ship. If the ship is outside the range of the full throttle range then it goes to full throttle heading to your last known position. Once inside the full throttle range it drops back to the DC setup speed and if you are still detected it starts maneuvering to your position. Once it's in the DC setup distance range it goes to DC run speed. It stays at DC run speed (dropping depth charges) until it goes DC run distance. Now here is where the bug rears it's ugly head. Once it's at DC run speed and passes over you it's lost contact with you. The bug is then it immediately switches to a spiral search pattern. Not what I intended the AI to do! So I had to add a timer to give the ship time to complete it's DC run and turn around. When that timer expires if the ship hasn't redetected you then it goes into a spiral search pattern.
The consequences of fixing this bug are the AI is even more deadly now with their DC attacks. Sorry

fix will be in v0.0.11 which I'll have available soon.