SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 5
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-23-09, 06:12 PM   #11
JU_88
Silent Hunter
 
Join Date: Jan 2006
Location: UK
Posts: 3,813
Downloads: 11
Uploads: 0
Default

Quote:
Originally Posted by pythos View Post
I think one of the problems with AI subs is when they dive, how deep do they go? This would be more of a factor for an AI enemy sub that is attacking you. Sure they could at first be at periscope depth, but what about when they want to avoid a torpedo solution from you being successful?

But when evading other ships, how deep to go without A0hitting the bottom, and B) going below crush depth.

These I think would cause quite a bit of headache when it comes to AI subs.
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.
JU_88 is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 07:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.