From The Depths - Forum
Should the Naval AI be simpler? - Printable Version

+- From The Depths - Forum (http://www.fromthedepthsgame.com/forum)
+-- Forum: Alpha (/forumdisplay.php?fid=9)
+--- Forum: Suggestions (/forumdisplay.php?fid=11)
+--- Thread: Should the Naval AI be simpler? (/showthread.php?tid=32088)



Should the Naval AI be simpler? - Shaun - 2017-12-11 10:07 PM

I've been driven over the edge. Trying my best to make a craft constantly broadside is such a pain, as is getting a ship to head straight to the target!

As such, I've came up with an idea for a simpler naval AI:
  • The AI has a selection of; Broadside, Attack and Retreat, or Ram.
  • Broadside allows the selection of a fixed broadside distance. The craft will try its best to keep this distance. A second slider could select the maximum angle for correction, allowing a semi-broadside or straight on sail until the broadside distance is met.
  • Attack and Retreat is very simple. Attack distance is the distance at which the craft turns straight towards the enemy. Retreat distance is the distance from the enemy at which the craft retreats.
  • Ram needs no explanation or sliders. Your ship will simply head straight towards the selected target.



RE: Should the Naval AI be simpler? - Richard Dastardly - 2017-12-12 03:07 AM

That is actually making it more complicated... what needs changing is it to actually obey the order you give it, so it won't sail directly at it's target ( or directly away ) if you give it an angle that should make it broadside. It's surely not actually meant to do that Tongue

Also, I don't want a fixed broadside distance, I want my ship weaving.


RE: Should the Naval AI be simpler? - MizarLuke - 2017-12-13 02:28 PM

Terrain avoidance, and possibly friendly avoidance are also needed. I typically get the naval AI to work, particularly for thrustercraft. Naval AI works good for fast, fast-turning things.