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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 07-01-13, 02:34 PM   #1
vanjast
Sea Lord
 
Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,797
Downloads: 1214
Uploads: 4
Default

Quote:
Originally Posted by gap View Post
I have a problem with the B-25 bomber: in single mission she only fires a few shots of her front guns before dropping her bombs, (or during her first attack run, I don't remember exactly right now). Then, no matter how much rounds are left, she won't fire them again (even though guns keep tracking the target) and she keeps circling around my U-boat forever.
Maybe it's modeled 'correctly' where the plane circles out of gun range while calling a destroyer in (that's if this tactic is really modeled).
If you dive, maybe it might attack again - try this.

IIRC.. it was rare for a bomber to attack a U-boat more than once, unless they were sure they had done some good damage - an aircraft is very vulnerable.. especially in the middle of the ocean. All attacks, if possible, were based on tracking and surprise - after the first attack is was generally suicidal to attack again.
vanjast is offline   Reply With Quote
Old 07-01-13, 03:48 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
Try setting the maximum speed of the unit to a larger value in it's .cfg file.

The torpedo problem is a sign of hitting a collision sphere or box on the unit. Lower the torpedo's hardpoint (do a drastic lowering) and see if it doesn't cure the problem. There is a minimum distance (arming distance - 300m) the torpedo must travel before it's able to detonate. If the torpedo 'hits' something before this 300m then it acts like a dud (which is what you are seeing).
Okay, I will do as you are suggesting I will let you know

On your end, please keep me informed on anything wrong you may find about the gun issue.

Quote:
Originally Posted by vanjast View Post
Maybe it's modeled 'correctly' where the plane circles out of gun range while calling a destroyer in (that's if this tactic is really modeled).
If you dive, maybe it might attack again - try this.
No, as per IRAI settings, planes keep diving on their target until the last gun round. Or forever, if for some reason they can't fire their weapons.

Quote:
Originally Posted by vanjast View Post
IIRC.. it was rare for a bomber to attack a U-boat more than once, unless they were sure they had done some good damage - an aircraft is very vulnerable.. especially in the middle of the ocean. All attacks, if possible, were based on tracking and surprise - after the first attack is was generally suicidal to attack again.
I agree. A while back I suggested TDW to make planes to end their attack once they drop their bombs. Unfortunately, there are many limitations to what can be done with aircraft AI.
gap is offline   Reply With Quote
Old 07-01-13, 06:27 PM   #3
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
I agree. A while back I suggested TDW to make planes to end their attack once they drop their bombs. Unfortunately, there are many limitations to what can be done with aircraft AI.
That is how IRAI used to be. People complained so I changed it. Here's the problem: say said plane attacks another unit and drops it bombs. That unit submerges and hides. Plane continues on waypoints. Plane encounters another enemy unit. If IRAI is setup so that planes don't attack anymore if they have no bombs or torpedoes then said plane continues on with it's waypoints. Here in is where people complained airplanes never attack. What is the plane has no bombs or torpedoes from the start? Then it never attacks anything.
TheDarkWraith is offline   Reply With Quote
Old 07-01-13, 06:46 PM   #4
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by TheDarkWraith View Post
That is how IRAI used to be. People complained so I changed it. Here's the problem: say said plane attacks another unit and drops it bombs. That unit submerges and hides. Plane continues on waypoints. Plane encounters another enemy unit. If IRAI is setup so that planes don't attack anymore if they have no bombs or torpedoes then said plane continues on with it's waypoints. Here in is where people complained airplanes never attack. What is the plane has no bombs or torpedoes from the start? Then it never attacks anything.
I wasn't suggesting that IRAI settings are wrong; I was rather pointing that they are a forced compromise between contrasting needs. I have a good example, taken from my research on the B-25:

- dorsal and tail turrets an waist guns where obviously meant for self defense rather than as attack armament. Even in game, I doubt that planes will ever get the chance to fire them against a vessel. Therefore, with current IRAI settings bombers will hang around forever, unless they get the chance to fire their remaining bullets against another plane, they get destroyed, or their target(s) is sunk by another unit. This would be a good reason for making them to cease their attack once they fired their last bomb / depth charge / torpedo.

- the same B-25 was issued in a series of strafing versions, that had guns as their main or sole armament. If you make IRAI to ignore gun ammo for deciding if a plane will attack or leave, strafing planes would be totally pointless in game...

so, what is the best solution? I wish AI strategies were more elastic, but unfortunately they are not and, as you noted many times, there insn't much that you can do for it

EDIT: if only you could make the game to read current loadout Type from file, and to adopt different AI strategies depending on it and on UnitType...

Last edited by gap; 07-01-13 at 07:03 PM.
gap is offline   Reply With Quote
Old 07-01-13, 08:33 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,959
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by gap View Post
EDIT: if only you could make the game to read current loadout Type from file, and to adopt different AI strategies depending on it and on UnitType...
The AI DLLs I haven't even dove into yet. Still concentrating on the main files: sh5.exe, shcollisions.act, shsim.act, simdata.act, shcontrollers.act, and enginemission acts/dlls
TheDarkWraith 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 10:22 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.