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 11-18-20, 11:44 AM   #1
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,246
Downloads: 466
Uploads: 4


Default

Quote:
Originally Posted by gap View Post
Wow, I wasn't expecting so many answers that soon!
Thank you very much propbeanie, your wisdom places you on the ligh side of the Force, Yoda appreciates that

That said he (Yoda) still has some doubts regarding your replies that I would like to ask in his behalf, if you don't mind...


Well, my question was more elementary than your answer seems to imply; I will give you an example. Let's say that I have an enemy airbase in range of an U-boat bunker, for it to spawn airstrikes at random intervals. If the airbase has bombers and fighters in the same airgroup, will they attack all together? If the answer is no, I am afraid that the only way to simulated raids with escorted bombers would be by scripting them, but that would be a more "expensive" solution (both in therms of pc resources usage and of work require by the modder in order to set up the attacks) and not as random as the airbase-spawned strikes thing.
The game "intelligence" will send airplanes out randomly, and bases the amount sent as response, apparently on the type of target, such that a submarine usually "qualifies" for what seems to eventually be 7 airplanes. An "enemy" corvette might get a 1 or 2 plane response, a DD gets 2 or 3, etc. What Fifi, s7rikeback and I discovered in Fifi's SH4 Dark Waters was that Brest "qualified" for a near-continuous air attack, which would commence shortly (roughly 20 minutes) after the player spawned into the game and was leaving port. I do not remember what he did to minimize that... About the only way to "fix" that is to alter the AirStrike.cfg, make the nearby enemy airbases with smaller, shorter-ranged planes, and to script with either Groups / Units and / or RGG / Random Units, with what you do want to show and when. The shorter-ranged planes at "specialist" AirBases is something we've used in FotRSU also, in an attempt to minimize the "Normal" AirBases sending an air response from beyond a mountain range that only results in innumerable airplanes crashing into the "terrain" near the player's sub, resulting in a similar amount of "Survivors". I do not know if SH5 does similar or not. But in SH4, every plane crash has a chance to generate a "Survivor" pilot...


I doubt that, but let's see if someone pops up with some idea. I know there is a global paparameter controlling the chance of aircraft spawning at night, but I don't see anything that might tell the game which aircraft should fly at night and which ones not. I am actually surprised that devs didn't think to add such a basic feature; a simple flag in aircraft cfg or sim file would have been enough
Yes, it would have been nice, and I do not know of anyway to control that either. As you mention, perhaps someone else has an idea about this. The "tag" for that could be "is this plane equipped with flight radar?"...


Roger that lol



Indeed f you script aircraft in campaign you can specify whatever loadout you want, but from your answer I get that airbase/carrier-spawned aircraft will only use the default loadout. Is that correct?
That is correct. The game will use the "default" loadout, found listed first in the eqp file in SH4, usually with a "; Basic Loadout" comment. The cfg file will not list that loadout, but only the additional ones built for the plane. One way to counter that behavior is to do small clones, with the cloned plane having a different basic load-out (and name, of course), and then place both planes in the base's AirGroup. However, it is still a "chance" thing in that the game chooses which plane(s) to send based upon chance also... You might get a PBY plane one time, a Mustang the next, and then a B-24, all dependent upon what is in the AirGroup at that time, and a roll of the dice, in conjunction with plane range. This is SH4 behavior...I wonder how SH5 handles GR2 planes, as well as their load-outs?


What about other sea unit types? I am mostly interested in types 6, 7, 10, 11 (capital ships other than carriers), 101, 102 and 108 (freighters and tankers)....
Unfortunately in SH4, if it is NOT a CV-type, it will not generate an airplane, whether you have an AirGroup attached or not. So our cat ship and one of the aux cruisers with an airplane to launch are set to either Type=8 or Type=18 in FotRSU, and you will "see" a plane spawn after the player's sub is detected. The plane will not spawn within the "spawn range" though, but like all things 3D in the game, will do so beyond the "horizon".
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 11-18-20, 04:34 PM   #2
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by propbeanie View Post

The game "intelligence" will send airplanes out randomly, and bases the amount sent as response, apparently on the type of target, such that a submarine usually "qualifies" for what seems to eventually be 7 airplanes. An "enemy" corvette might get a 1 or 2 plane response, a DD gets 2 or 3, etc.

Interesting, that's the first time I hear about such a feature. Makes me wonder whether the type of response is hardcoded in the game or rather if it can be modified via AI scripts

Quote:
Originally Posted by propbeanie View Post

What Fifi, s7rikeback and I discovered in Fifi's SH4 Dark Waters was that Brest "qualified" for a near-continuous air attack, which would commence shortly (roughly 20 minutes) after the player spawned into the game and was leaving port.
I see. That is obviously a major problem. Constant air strikes at each patrol start would be utterly unrelaistic and they might render the game unplayable. Your reply doens't entirely answer my original question though: what happens if a base/airgroup has more than one type of aircraft and all of them have a a range long enough for attacking a player base? Will they perform combined attacks, or they will come separately, maybe due to their different max speeds?

Quote:
Originally Posted by propbeanie View Post

I do not remember what he did to minimize that... About the only way to "fix" that is to alter the AirStrike.cfg, make the nearby enemy airbases with smaller, shorter-ranged planes, and to script with either Groups / Units and / or RGG / Random Units, with what you do want to show and when.
AirStrike.cfg parameters being global, I would let their editing for fine-tuning, once all the airbases/airgroups are set up. Playing with aircraft MaxRadius as the first task, seems to me the best approach. In SH5, as in SHIV, we can create as many "shallow clones" of the same unit as we want, so a valid startegy might be creating many copies of the same aircraft, each copy having a different radius and ammo loadout depending on the different roles that the said plane played in reality.

If "long-range" bombers and fighters are assigned to airbases with moderation and if, at the same time, we place in Allied territory many airbases with "short-ranged" aircraft, one might play with the global Air Strike Probability factor so that the chances of a bombing raid on player bases will be acceptably low (due to the small number of squadrons equipped with long-range aircraft) while the chances of an air attack against the player, when he nears enemy territory, will still be relatively high (due do the comparatively large number of airgroups which have short-range aircraft assigned).

I hope I made myself clear, but I am probably rephrasing the workaround that you, Fifi, s7rikeback, etc. have laready applied to SHIV and that you have summarized in your reply to me. I am wondering if Vecko has devided something similar for TWoS.

Quote:
Originally Posted by propbeanie View Post

Yes, it would have been nice, and I do not know of anyway to control that either. As you mention, perhaps someone else has an idea about this. The "tag" for that could be "is this plane equipped with flight radar?"...
Indeed that would have been the cleanest implementation of such a feature...

Quote:
Originally Posted by propbeanie View Post

That is correct. The game will use the "default" loadout, found listed first in the eqp file in SH4, usually with a "; Basic Loadout" comment. The cfg file will not list that loadout, but only the additional ones built for the plane.
Thank you for confirming that. In other words, additional loadouts are not applied except for the planes that are scripted in campaign layers. A bit odd, but as you said there are workarounds to that...

Quote:
Originally Posted by propbeanie View Post

One way to counter that behavior is to do small clones, with the cloned plane having a different basic load-out (and name, of course), and then place both planes in the base's AirGroup.
That is something I already had in mind, but my (long-therm) plan is more ambitious.

With all the information on RAF squadrons we have available from books and websites, we have the possibility to replicate in game a (simplified) version of RAF's 1939-45 order of battle. My idea is to replace generic UK airbases currently featured in game with unique ones, each of them being placed on the SH5 map appropriately for representing one specific RAF station, with the squadrons and aircraft that in real WWII warfare are know to have been based there.

Of course not all the RAF bases and squadrons would be represented, but only the ones which were involved in anti-submarine and anti-shipping warfare, maritime patrol, coastal defense, etc. Each airgroup would represent a squadron or a combination of squadrons with the aicraft they actually operated with ranges, armament loadouts and sensors set to reflect as closely as possible the known duties of those squadrons.

That's a whole lot of work and I am not even sure that the game could handle so many airbases and air groups, but let me daydream of it

Quote:
Originally Posted by propbeanie View Post

However, it is still a "chance" thing in that the game chooses which plane(s) to send based upon chance also... You might get a PBY plane one time, a Mustang the next, and then a B-24, all dependent upon what is in the AirGroup at that time, and a roll of the dice, in conjunction with plane range. This is SH4 behavior...I wonder how SH5 handles GR2 planes, as well as their load-outs?
I am pretty confident that nothing major has changed on this respect from SHIV to SH5.

Quote:
Originally Posted by propbeanie View Post

Unfortunately in SH4, if it is NOT a CV-type, it will not generate an airplane, whether you have an AirGroup attached or not. So our cat ship and one of the aux cruisers with an airplane to launch are set to either Type=8 or Type=18 in FotRSU, and you will "see" a plane spawn after the player's sub is detected. The plane will not spawn within the "spawn range" though, but like all things 3D in the game, will do so beyond the "horizon".
That's a shame. The game has too few unit types, and each type as too many limitations relative to what it can do and what not, but we must live with it.

CAM and MAC ships can be set as escort carriers. They would fly the naval ensign whereas in reality, being commanded by a civil captain they would have sailed under the merchant ensign. There are workarounds to this, so that's only a minor issue, but the lack of airgroup support for battleships and cruisers annoys me big time lol
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 11-18-20, 04:39 PM   #3
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

I have one more question that I forgot to asking at post #1

8. Do aircraft assigned to a base need to be in the same national roster as the base itself? In other words: can I assign to an UK base an aicraft which is only found in the US roster, or I need to have two bases (one British and the other American) in the same place?
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 11-18-20, 06:48 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: 10,246
Downloads: 466
Uploads: 4


Default

So long as they are an Allied plane (SH4), and there are different small clones for the various nationalities (with non-conflicting node IDs), you should be fine. In the SoWesPac area in FotRSU, there are several GB AirBases with various US, GB, AU & NZ planes, even some with the same plane model in a small clone, and they seem to spawn just fine - sometimes too much...

But we need more opinion / fact here, gap. Surely someone with more knowledge than the two of us combined can chime in and help us out! The more discussion, the more knowledge! Enquiring minds want to know (more)!
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 11-19-20, 09:26 AM   #5
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by propbeanie View Post
So long as they are an Allied plane (SH4), and there are different small clones for the various nationalities (with non-conflicting node IDs), you should be fine. In the SoWesPac area in FotRSU, there are several GB AirBases with various US, GB, AU & NZ planes, even some with the same plane model in a small clone, and they seem to spawn just fine - sometimes too much...
Good to know thanks

Quote:
Originally Posted by propbeanie View Post
But we need more opinion / fact here, gap. Surely someone with more knowledge than the two of us combined can chime in and help us out! The more discussion, the more knowledge! Enquiring minds want to know (more)!
Yes, sure! Hoepefully some fellow subsimmers will share their thougths with us. While we wait for them to chime in, let me thank you once more for your illuminating answers propbeanie! I owe you a favour or two
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 11-19-20, 09:57 AM   #6
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 875
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by gap View Post
I have one more question that I forgot to asking at post #1

8. Do aircraft assigned to a base need to be in the same national roster as the base itself? In other words: can I assign to an UK base an aicraft which is only found in the US roster, or I need to have two bases (one British and the other American) in the same place?
Lajes Aurbase (UK) has currently B-17 (only existing in US roster) asigned to its air wing in TWoS. If this actualy works in campaign ( someone with a savegame near Lajes after 10.1943 could confirm it) then yes, you can.
kapuhy is offline   Reply With Quote
Old 11-19-20, 11:44 AM   #7
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by kapuhy View Post
Lajes Aurbase (UK) has currently B-17 (only existing in US roster) asigned to its air wing in TWoS. If this actualy works in campaign ( someone with a savegame near Lajes after 10.1943 could confirm it) then yes, you can.
Thank you for confirming that kapuhy
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 11-19-20, 02:25 PM   #8
kapuhy
Grey Wolf
 
Join Date: Oct 2010
Location: Poland
Posts: 875
Downloads: 72
Uploads: 3
Default

Quote:
Originally Posted by gap View Post
Thank you for confirming that kapuhy
Just to clarify, I didn't test whether it really works - I'm too careless to ever survive in campaign to 1943
kapuhy is offline   Reply With Quote
Old 11-19-20, 05:55 PM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by kapuhy View Post
Just to clarify, I didn't test whether it really works - I'm too careless to ever survive in campaign to 1943
Hahah, don't tell me... I think I never made it to January 1940 in campaign, but since I started modding SH5 I stopped actually playing it...

By the way: Open Horizons II has only generic airfields, so the Lajes airbase in TWoS must have been an addition by Vecko himself. Maybe we should ask him whether he actually tested in game the spawning of (US) aicraft from that (British) base.
__________________
_____________________
|May the Force be with you!|
...\/
gap 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 09:04 AM.


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.