Thread: AI Wolfpacks?
View Single Post
Old 08-24-09, 01:55 AM   #22
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Quote:
Originally Posted by JU_88 View Post
NOt going below crush depth is easy, you just give them a max depth of say 160 - 200 m, just as aircraft have minimum altitude so they dont hit the sea.

However hitting the bottom at shallower depths would present a bigger challenge as the sub has to have a sensor to detect how deep the water is.
That is kinda already in place - the the player can order the CE to report depth under keel - so such a sensor already exsists, I dont know how it works, but it does.

Ai sub needs to be forced to do this check before they dive then respond in a predetermined way. for example:

if depth = 250 -1000 they can go to down to max depth
if depth = 110 - 249 they and go to 90
if depth = 50 -109 they go to 40
if depth = 0 - 49 they go no deeper than peri depth.

Abit tricky but not impossible, far more complex things have been programmed in the past.
No one expects it to be perfect - just reasonable.
Problem is depth-sounding is done with active sonar. An AI sub taking a depth reading regularly would alert any escorts in the area.

I think it's a more realistic expectation to have wolfpacks in multiplayer only, I just don't think any AI is capable of effectively commanding a sub.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote