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

Reply
 
Thread Tools Display Modes
Old 08-23-09, 05:40 PM   #1
pythos
Grey Wolf
 
Join Date: May 2005
Location: Somewhere over there
Posts: 834
Downloads: 46
Uploads: 0
Default

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.
pythos is offline   Reply With Quote
Old 08-23-09, 06:12 PM   #2
JU_88
Silent Hunter
 
Join Date: Jan 2006
Location: Spain
Posts: 3,529
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
Old 08-23-09, 07:14 PM   #3
Mittelwaechter
Ace of the Deep
 
Join Date: Apr 2007
Posts: 1,135
Downloads: 35
Uploads: 0
Default

Do these AI Uboats have to 'exist'?

The imagination would be good enough for me.

Let the AI radio a convoy and when I'm close and in position I send my ok and the wolfpack leader orders to attack.

Or I radio the convoy position and have to shadow it. After a while I get response of two comrades at the other side of the convoy to be in position and I start the attack.

The convoy has some random chosen ships with 'torpedo damage function' - they'll be hit by 'magnetic eels of the imaginary comrades'.
Two DDs leave the screen and start to DC an area somewhere on the other side of the convoy...

I even scripted a single player mission like that (U42 Wolfpack) back in 2005.
__________________


10 happy wolves rear 90 blinded, ensnared sheep. 90 happy sheep banish the wolves.

Arrest the 1% - https://www.youtube.com/watch?v=dQ6hg1oNeGE
Mittelwaechter is offline   Reply With Quote
Old 08-24-09, 05:38 AM   #4
JU_88
Silent Hunter
 
Join Date: Jan 2006
Location: Spain
Posts: 3,529
Downloads: 11
Uploads: 0
Default

Quote:
Originally Posted by Mittelwaechter View Post
Do these AI Uboats have to 'exist'?

The imagination would be good enough for me.
Yes they need to actually exist just like all the other units actually exist. If you are prepared to go down the 'imagination' route where do you stop?
Would you be ok if they scrapped aircraft or destoyers and we just 'imagined' there were there instead?

If I want some imagination, Ill just switch off the PC, sit in a dark corner 'imagining' being a Uboat comander .

Quote:
Originally Posted by Arclight View Post
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.
Come now, it not as if an AI sub has never been done before, as i said - far more complex thing have been coded than this, Ai subs need not be much more complicated that Ai for an aircraft in a flight sim.

In reply to your first point, I wasnt suggesting for a second that the Sub actually 'pings' the ocean floor. All that matters is that it can determine the depth. Just an aircraft can determine where the ground is with out needing to physically do anything special.

As you say above DW has AI subs, it is NOT an unrealistic expectation at all.
It is no more unrealistic than expecting a full 3d sub interior with crew going about their business. - that would have been much harder to code than a poxy AI sub.
(And they have managed that just fine.)

If not enough people support the inclusion of Wolf packs for SHV - or say they dont care - then no, the devs definatley wont bother....
__________________
JU_88 is offline   Reply With Quote
Old 08-24-09, 06:05 AM   #5
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,373
Downloads: 53
Uploads: 10
Default

Quote:
Originally Posted by JU_88 View Post
Yes they need to actually exist just like all the other units actually exist. If you are prepared to go down the 'imagination' route where do you stop?
Would you be ok if they scrapped aircraft or destoyers and we just 'imagined' there were there instead?

If I want some imagination, Ill just switch off the PC, sit in a dark corner 'imagining' being a Uboat comander .



Come now, it not as if an AI sub has never been done before, as i said - far more complex thing have been coded than this, Ai subs need not be much more complicated that Ai for an aircraft in a flight sim.

In reply to your first point, I wasnt suggesting for a second that the Sub actually 'pings' the ocean floor. All that matters is that it can determine the depth. Just an aircraft can determine where the ground is with out needing to physically do anything special.

As you say above DW has AI subs, it is NOT an unrealistic expectation at all.
It is no more unrealistic than expecting a full 3d sub interior with crew going about their business. - that would have been much harder to code than a poxy AI sub.
(And they have managed that just fine.)

If not enough people support the inclusion of Wolf packs for SHV - or say they dont care - then no, the devs definatley wont bother....
Airplanes, or rather pilots, can see the ground, subs/captains can't see the bottom. For a (AI) sub to determine depth, without cheating, it needs to use active sonar for depth sounding.

Why do people want wolfpacks/AI subs, but don't want them properly simulated? Is it more important to have wolfpacks/AI subs than an authentic, realistic simulation?

Yes, I'd like to see wolfpacks, all I'm saying is don't get your hopes up untill we have some official word. If it's really that simply as people suggest, they would have been there already.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 08-24-09, 06:31 AM   #6
JU_88
Silent Hunter
 
Join Date: Jan 2006
Location: Spain
Posts: 3,529
Downloads: 11
Uploads: 0
Default

Dont matter if the Ai subs 'cheat' to determine depth,
The Escort/merchent AI cheats all the time anyway,
One example is that they can see you though land mass, and look at the speed at which they can 'stop' or accelarate when they need to avoid collision
Anyone remember the AIs 'Vampire vision' at night?

It doesn't need to be perfect, just so long as its THERE and works to a reasonable level.
- if need be modders can tweak it.

Id rather have AI subs that crash in to the ocean floor at shallow depths - than none at all.
At least you will get to see them working properly far out to sea (where the player will mostly be operating anyway.)
__________________
JU_88 is offline   Reply With Quote
Old 08-24-09, 07:44 AM   #7
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,373
Downloads: 53
Uploads: 10
Default

Quote:
Originally Posted by JU_88 View Post
Dont matter if the Ai subs 'cheat' to determine depth,
The Escort/merchent AI cheats all the time anyway,
One example is that they can see you though land mass, and look at the speed at which they can 'stop' or accelarate when they need to avoid collision
Anyone remember the AIs 'Vampire vision' at night?

It doesn't need to be perfect, just so long as its THERE and works to a reasonable level.
- if need be modders can tweak it.

Id rather have AI subs that crash in to the ocean floor at shallow depths - than none at all.
At least you will get to see them working properly far out to sea (where the player will mostly be operating anyway.)
Alright. Its the perfectionist in me that drives me to expect perfection. When scripting an airstrike in Arma for example, I dont spawn a plane in mid-air, have it fly over the target and then spawn a bomb on target. I put a plane in the mission at an airstrip, have it take off and make an actual bombing run at the target. Sure, its the end result that matters, but I dont consider shortcuts and AI cheating a good approach to solving a problem.

Better something flawed that works than something perfect that doesnt, I guess.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 08-24-09, 06:39 AM   #8
DarkFish
Sea Lord
 
Join Date: Aug 2008
Location: Stinking drunk in Eindhoven, the Netherlands
Posts: 1,785
Downloads: 28
Uploads: 0
Default

Quote:
Originally Posted by Arclight View Post
Airplanes, or rather pilots, can see the ground, subs/captains can't see the bottom. For a (AI) sub to determine depth, without cheating, it needs to use active sonar for depth sounding.
yes, for an accurate depth determination, but don't forget we've got nav maps. If I see on my nav map I'm in shallow waters I don't set my depth to 300 m. So if we can guesstimate the depth ourselves, why would it be cheating if an AI sub did the same thing?

Besides I don't think it would be that hard to code. We've got controllers for merchants/DD's/BB's etc. already, take one of those and add a depth controller, e.g. as soon as the AI sub can pick up enemy sonar it dives to 200 m, when the AI can't hear any more ships on its hydrophones it resurfaces.

Quote:
Originally Posted by Annatar View Post
The problem is not and (I suspect) has never been AI routines, but rather with certain hard coded issuse - like spawning torpedo entities which always head North. (Or was it South?)
nah, I don't think this is a big problem. They can spawn DC's and shells all heading into the right direction so why would it be so hard to do the same thing with torpedoes? calculating a right solution would be the only problem, but since the game has got code already for doing this for the player sub this shouldn't be too hard to overcome either.
Besides, I already solved the problem of AI launched torpedoes always heading north. check this thread: http://subsim.com/radioroom/showthread.php?t=154068. don't expect a wunderwaffe but at least they don't head north.
__________________

DarkFish is offline   Reply With Quote
Old 08-24-09, 08:15 AM   #9
Lanzfeld
Grey Wolf
 
Join Date: Jan 2002
Location: New Tripoli, PA
Posts: 988
Downloads: 64
Uploads: 0
Default

Quote:
Originally Posted by Mittelwaechter View Post
Do these AI Uboats have to 'exist'?

The imagination would be good enough for me.

Let the AI radio a convoy and when I'm close and in position I send my ok and the wolfpack leader orders to attack.

Or I radio the convoy position and have to shadow it. After a while I get response of two comrades at the other side of the convoy to be in position and I start the attack.

The convoy has some random chosen ships with 'torpedo damage function' - they'll be hit by 'magnetic eels of the imaginary comrades'.
Two DDs leave the screen and start to DC an area somewhere on the other side of the convoy...

I even scripted a single player mission like that (U42 Wolfpack) back in 2005.
This idea sounds the best to me. Why tax the system with complex A.I. when the end result (distracted DD's) is what we want?

Really.....and the response about imagination I dont think fits here because as a U-boat captain I would never really see or physically interact with my fellow U-boats in a wolfpack. All I am interested in is that there is SOME way to distract a portion of the screen so I can find a hole to attack. With respect to programming investment this makes the most sense to me.
Lanzfeld is offline   Reply With Quote
Old 08-24-09, 08:30 AM   #10
JU_88
Silent Hunter
 
Join Date: Jan 2006
Location: Spain
Posts: 3,529
Downloads: 11
Uploads: 0
Default

Quote:
Originally Posted by Lanzfeld View Post
This idea sounds the best to me. Why tax the system with complex A.I. when the end result (distracted DD's) is what we want?

Really.....and the response about imagination I dont think fits here because as a U-boat captain I would never really see or physically interact with my fellow U-boats in a wolfpack. All I am interested in is that there is SOME way to distract a portion of the screen so I can find a hole to attack. With respect to programming investment this makes the most sense to me.
Well, i disagree (of course)
I gotta say that on the face of it, this sounds like it would actually be just as complicated as just giving some AI routines to Submarines - yet it would be no where near as good.

Might as well port the Virtual torpeedo mod instead, I feel that would actually offer better solution than the above suggestion - sorry.
__________________
JU_88 is offline   Reply With Quote
Old 08-29-09, 10:46 AM   #11
tomoose
Grey Wolf
 
Join Date: Aug 2005
Posts: 930
Downloads: 23
Uploads: 0
Default

Quote:
Originally Posted by Mittelwaechter View Post
Do these AI Uboats have to 'exist'?

The imagination would be good enough for me.

Let the AI radio a convoy and when I'm close and in position I send my ok and the wolfpack leader orders to attack.

Or I radio the convoy position and have to shadow it. After a while I get response of two comrades at the other side of the convoy to be in position and I start the attack.

The convoy has some random chosen ships with 'torpedo damage function' - they'll be hit by 'magnetic eels of the imaginary comrades'.
Two DDs leave the screen and start to DC an area somewhere on the other side of the convoy...

I even scripted a single player mission like that (U42 Wolfpack) back in 2005.
BINGO! Well said Mittelwaechter! I couldn't agree more. As long as the effect of the Wolfpack is simulated I'm sold (i.e. the convoys react to a NPC U-boat and can be attacked by a NPC U-boat etc while you are trying to link up and join the fray). No requirement for anything else regarding Wolfpacks except the comms to and fro between the U-boats (while surfaced obviously) to zero in on contacts etc. No fancy graphics really required at all except for eye candy.
tomoose is offline   Reply With Quote
Old 08-29-09, 10:52 AM   #12
JU_88
Silent Hunter
 
Join Date: Jan 2006
Location: Spain
Posts: 3,529
Downloads: 11
Uploads: 0
Default

Quote:
Originally Posted by tomoose View Post
BINGO! Well said Mittelwaechter! I couldn't agree more. As long as the effect of the Wolfpack is simulated I'm sold (i.e. the convoys react to a NPC U-boat and can be attacked by a NPC U-boat etc while you are trying to link up and join the fray). No requirement for anything else regarding Wolfpacks except the comms to and fro between the U-boats (while surfaced obviously) to zero in on contacts etc. No fancy graphics really required at all except for eye candy.

Sure, but please consider this:
http://www.subsim.com/radioroom/show...0&postcount=75
__________________
JU_88 is offline   Reply With Quote
Old 08-29-09, 01:00 PM   #13
Wild_skipper
Electrician's Mate
 
Join Date: Mar 2007
Location: belgium
Posts: 140
Downloads: 96
Uploads: 0
Default

You want wolfpacks : <---- there you go wolfpacks ! ( it even contains an interview with karl dönitz after the war lol )
__________________

GWX 3.0 gold


Wild_skipper is offline   Reply With Quote
Old 08-29-09, 01:54 PM   #14
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,373
Downloads: 53
Uploads: 10
Default

Thanks, that was an hour well spend.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 08-29-09, 05:49 PM   #15
longam
Admiral
 
Join Date: Jun 2005
Posts: 2,004
Downloads: 26
Uploads: 0
Default

Quote:
Originally Posted by Wild_skipper View Post
You want wolfpacks : <---- there you go wolfpacks ! ( it even contains an interview with karl dönitz after the war lol )
Great show...

Looks like wolf packs were only effective early on, just like the uboat itself.
longam is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 11:19 PM.


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