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 02-20-23, 03:02 PM   #1
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 873
Downloads: 72
Uploads: 3
Default

Hi Muckenberg, thanks for the report. Hopefully I'll get some free time during next weekend to try to experiment with plane characteristics and see how they come into play. For now thing to look into: spitfires, zigzagging, and crashing into sea.

As for second Hurricane continuing, that's a but weird - it should only behave this way if it's out of bombs...

Quote:
Originally Posted by Pascal View Post
It's strange to see some planes crashing into the sea by themselves - well, it's obviously quite unrealistic and it should be possible to simply remove this action from the script (beginner pilot removed)
If only it was so simple... avoiding crashing into water is done by following block of code:

strategy AvoidImpact(Plane)
{
precond
{
Plane:StrafingTooClose()
}
action
{
Plane:AvoidWaterImpact();
}
}


Simple, right? Problem is, we don't know how exactly StrafingTooClose() and AvoidWaterImpact() work. Their code is inside sim.act file which we can't read. So we can only experiment with adding some extra conditions for these functions - but not modify functions themselves.

Edit: only way I was able to eliminate crashing into water completely, was by switching ALL planes to "level bomber" mode and adjusting their minimum height so that they just pass high over target trying to carpet bomb it. With this approach, however, they were so inaccurate they might as well be removed from game to save some fps.
kapuhy is offline   Reply With Quote
Old 04-24-23, 11:47 AM   #2
Pascal
Captain
 
Join Date: Apr 2005
Location: Paris
Posts: 544
Downloads: 540
Uploads: 0
Default

March 41 - 2 spitfires hover over the sub gracefully; these planes do not appear to be armed and are easily shot down
__________________

My Mods
Pascal is online   Reply With Quote
Old 04-24-23, 01:46 PM   #3
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 873
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by Pascal View Post
March 41 - 2 spitfires hover over the sub gracefully; these planes do not appear to be armed and are easily shot down
Thanks!

According to game files they are armed - but these light fighter types are also the worst in terms of being able to use their weapons. In my tests Spitfires crashed into sea more often than drop bombs, unfortunately.

There's also another problem with these planes - they should be extremely rare in game (please correct me it I'm wrong, but for all I know there was not a single historical case of Spitfire or Hurricane attack on U-Boat at sea), yet from what I hear SH5 players encounter them more often than dedicated anti-submarine patrol planes.

I'm not a campaign expert, so maybe there's a reason this wasn't done but as far as I'm concerned, game would benefit from drastic reduction of light fighter planes range, to the point where player would only encounter them close to harbors.
kapuhy is offline   Reply With Quote
Old 04-24-23, 02:46 PM   #4
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 9,761
Downloads: 441
Uploads: 2


Default

Depending upon how much of SH4 is in SH5 kapuhy, look at the AirBase cfg files for the AirGroups. In SH4, there are Small, Normal and Large Type=406 AirBase sets, and the LargeGr has a 2 Group of
[AirGroup 2]
StartDate=19401226
EndDate=19420601
Squadron1Class=USFighter
Squadron1No=9
Squadron2Class=LBSUSSearchPlane
Squadron2No=10
Squadron3Class=FBHurricaneMk1
Squadron3No=9
Squadron4Class=LBWhitley
Squadron4No=2
Squadron5Class=USHeavyBomber
Squadron5No=4
Squadron6Class=FBP40Kittyhawk
Squadron6No=4
That is 38 planes altogether, which with the game's logic is about 26 planes too many... - when the player's boat is detected in SH4, the AirBase seems to send out all-available, with a bit of an AirStrike.cfg pause between each "send". From what we saw in testing in SH4, a player boat will usually cause the game to generate seven response planes, each round of the AirStrike (whatever that is set to), and they'll show up in grouping of one, two or three airplanes usually, with each grouping on a slightly different heading. btw, SH4 (and 3) has the use of DummyBomb to "fake" the airplane into attacking, and of course, on that DummyBomb attack run, the plane gets close enough to engage with it's machineguns, so it looks like a strafing run. SH5 of course, has the script files to help with that also... - so check the cfg file of the LAB_NameAirBaseCountry set of files, and see if the Spitfire and Hurricane might not be over-represented, and probably have to large of a "radius" set for them. Also, there is no such thing as "bingo fuel" to a Silent Hunter airplane...
__________________

"...and bollocks to the naysayer/s" - Jimbuna
propbeanie is offline   Reply With Quote
Old 04-25-23, 06:12 AM   #5
Pascal
Captain
 
Join Date: Apr 2005
Location: Paris
Posts: 544
Downloads: 540
Uploads: 0
Default

http://www.histoire-en-questions.fr/...is-avions.html
__________________

My Mods
Pascal is online   Reply With Quote
Old 04-25-23, 06:17 AM   #6
Pascal
Captain
 
Join Date: Apr 2005
Location: Paris
Posts: 544
Downloads: 540
Uploads: 0
Default

http://www.avionslegendaires.net/dos...astal-command/
__________________

My Mods
Pascal is online   Reply With Quote
Old 04-25-23, 05:28 PM   #7
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 873
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by propbeanie View Post
- so check the cfg file of the LAB_NameAirBaseCountry set of files, and see if the Spitfire and Hurricane might not be over-represented, and probably have to large of a "radius" set for them.
Oh I did, back when I was working on Air Force mod. Not just Spitfires and Hurricanes, but fighters in general are over-represented both in stock SH5 and in TWoS. I also browsed through uboat.net while working on that mod and basically made a list of all documented cases of either plane damaging/sinking a U-Boat or vice versa, and I'm pretty sure many fighter planes present in SH5 never attacked a U-Boat during entire war.

Fixing this, however, requires pretty big edits to campaign air groups and is beyond scope of little AI tweak tested here.
kapuhy is offline   Reply With Quote
Old 05-03-23, 03:25 AM   #8
Mister_M
Grey Wolf
 
Join Date: Feb 2021
Posts: 814
Downloads: 27
Uploads: 0


Default

Quote:
Originally Posted by kapuhy View Post
I also browsed through uboat.net while working on that mod and basically made a list of all documented cases of either plane damaging/sinking a U-Boat or vice versa, and I'm pretty sure many fighter planes present in SH5 never attacked a U-Boat during entire war.

I would be very interested to see this kind of list.
Mister_M is offline   Reply With Quote
Old 05-03-23, 04:39 AM   #9
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 873
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by Mister_M View Post
I would be very interested to see this kind of list.
Sure - here's my spreadsheet file, listing planes from the one with most recorded battles with U-Boats to ones with no encounters at all:

https://drive.google.com/file/d/1db9...ew?usp=sharing

As for sources, I used two lists on uboat.net:

1) Aircraft losses to U-Boats:
https://uboat.net/history/aircraft_losses.htm

2) U-Boat losses (these are ordered by year, with cause of loss noted by each boat):
https://uboat.net/fates/losses/

Of course there's a gap in data here - the list doesn't cover battles that didn't result in destruction of either plane or the boat. Still, if a plane didn't score any kills or suffer any losses, one can assume it either wasn't used or was utterly ineffective in this role.
kapuhy is offline   Reply With Quote
Reply


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


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