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

Reply
 
Thread Tools Display Modes
Old 03-26-25, 05:34 PM   #1
ElCid97
Engineer
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 204
Downloads: 146
Uploads: 6


Default

Just to verify:

1. The enemy airbase in question is set to generate aircraft up to "X" amount of km's from the base, depending on the base?

2. The sim "checks" if there is a sub (your boat) within that "range" of km's from the airbase.

3. If the answer to those questions is "yes", then the enemy aircraft is spawned within 30km of your boat at a random bearing and range from your boat.

4. The sim then "checks" to see if your boat is within range of the most sensitive of the "sensors" the enemy aircraft is equipped with -- whatever that "range" may be.

5. If "yes", then the sim checks for environment factors (night, waves, weather, etc.) and reduces (or adds) factors to the "sensors" on the aircraft.

6. If after all this is done the "sensors" on the enemy aircraft can "detect" your boat, then the aircraft attacks. If not, you can get away.

I'm not sure how you figured that out, but I would guess it took a while!

Let me know if that sounds about right.

Saludos!

ElCid97
ElCid97 is offline   Reply With Quote
Old 03-26-25, 07:01 PM   #2
LUKNER
Electrician's Mate
 
Join Date: Jun 2009
Posts: 137
Downloads: 817
Uploads: 0
Default

Quote:
Originally Posted by ElCid97 View Post
Just to verify:

1. The enemy airbase in question is set to generate aircraft up to "X" amount of km's from the base, depending on the base?

2. The sim "checks" if there is a sub (your boat) within that "range" of km's from the airbase.

3. If the answer to those questions is "yes", then the enemy aircraft is spawned within 30km of your boat at a random bearing and range from your boat.

4. The sim then "checks" to see if your boat is within range of the most sensitive of the "sensors" the enemy aircraft is equipped with -- whatever that "range" may be.

5. If "yes", then the sim checks for environment factors (night, waves, weather, etc.) and reduces (or adds) factors to the "sensors" on the aircraft.

6. If after all this is done the "sensors" on the enemy aircraft can "detect" your boat, then the aircraft attacks. If not, you can get away.

I'm not sure how you figured that out, but I would guess it took a while!

Let me know if that sounds about right.

Saludos!

ElCid97

In general, it is correct. But there are some minor amendments.


1. If the airbase has different aircraft by range, then the aircraft whose flight range matches the range of the airbase will arrive. The airbase shows its range by the maximum flight range of one of the registered aircraft.

6. The attack will only occur if the aircraft has weapons for the attack, and it also depends on the group the aircraft is registered in. For example, a fighter group. I have tested their operation experimentally. Without bombs, there is no attack. Even with bombs, there were cases when the aircraft simply flew overhead in clear weather in calm weather. But as soon as I registered the Zero as a patrol aircraft, everything changed dramatically. Not a single fly-by happened anymore. An aggressive attack even without bombs: attack - turn - attack ... !!!


===============================

В общем правильно. Но есть небольшие поправки.

1. Если авиабаза имеет разные самолеты по дальности, то прилетит тот самолет у которого дальность полета совпадает с дальностью авиабазы. Авиабаза показывает свою дальность по максимальной дальности полета одного из прописанных самолетов.

6. Атака произойдет если только вооружение будет иметься на борту самолета для атаки, и еще это зависит от группы в которой прописан самолет. Например группа истребители. Опытным путем проверял их работу. Без бомб атаки нет. Даже с бомбами были случаи что самолет в ясную погоду в штиль просто пролетал над головой. Но стоило мне Зеро прописать в патрульные самолеты, все резко поменялось. Ни одного пролета мимо больше не случилось. Агрессивная атака даже без бомб: атака - разворот - атака ... !!!
LUKNER is offline   Reply With Quote
Old 03-27-25, 06:33 AM   #3
ElCid97
Engineer
 
Join Date: Nov 2019
Location: Miami, FL
Posts: 204
Downloads: 146
Uploads: 6


Default

Thanks for the clarification!

I'll see if I can type something out for reference.

ElCid97
ElCid97 is offline   Reply With Quote
Old 03-27-25, 11:36 AM   #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,245
Downloads: 466
Uploads: 4


Default

Quote:
Originally Posted by LUKNER View Post
... Enemy aircraft cannot find a boat by radar. (The plane cannot detect the submarine's radar.) This is self-hypnosis, or delusion, yours. The airbase generates an aircraft near the boat. The distance is within the generation of a 3D object, no further than 30 km from the boat. If the aircraft is equipped with the necessary weapons, then the attack occurs immediately as the aircraft sensors find the boat. Because the aircraft sensors in different modes at maximum settings almost 80% overlap the aircraft generation zone. The only thing that saves, or more precisely, "delays" the aircraft attack for a while, is the fog, wave, day/night coefficients.
Technically, no - they do not find you by radar, but the game does indeed point them more directly, more often at the player boat when the SD / APR is on, because it adds to the equation modifiers. Like most aspects of the game, you cannot "date" certain aspects of the environment or submarine as the game progresses. Some parts can change, others cannot, dependent upon the dev's "build" of that aspect of the game. The AirStrike.cfg comes into play here, as noted by Bubblehead1980, and it does not change during the gameplay. You might also notice that the devs simulate HF/DF throughout the war, and the Japanese did not feel the need for that early-war either.

Quote:
Originally Posted by ElCid97 View Post
Just to verify:
1. The enemy airbase in question is set to generate aircraft up to "X" amount of km's from the base, depending on the base? Small, Normal and Large Airbase, but also planes, as LUKNER notes below
2. The sim "checks" if there is a sub (your boat) within that "range" of km's from the airbase. somewhat - see below
3. If the answer to those questions is "yes", then the enemy aircraft is spawned within 30km of your boat at a random bearing and range from your boat. The 'range' is the game's spawn range - whatever that is. The "bearing" is a roll of the dice, with 'modifiers' that are invoked based on the situation (radar active, detector active, etc)
4. The sim then "checks" to see if your boat is within range of the most sensitive of the "sensors" the enemy aircraft is equipped with -- whatever that "range" may be. If equipped with radar, then yes, once the player boat is within the plane's radar range, then it will divert its course
5. If "yes", then the sim checks for environment factors (night, waves, weather, etc.) and reduces (or adds) factors to the "sensors" on the aircraft. The factors also determine whether a plane is generated by the AirStrike.cfg
6. If after all this is done the "sensors" on the enemy aircraft can "detect" your boat, then the aircraft attacks. If not, you can get away. You do not always get an attack, especially as LUKNER notes below
...
Quote:
Originally Posted by LUKNER View Post
In general, it is correct. But there are some minor amendments.
1. If the airbase has different aircraft by range, then the aircraft whose flight range matches the range of the airbase will arrive first. The airbase shows its range by the maximum flight range of one of the registered aircraft.
6. The attack will only occur if the aircraft has weapons for the attack, and it also depends on the group the aircraft is registered in. For example, a fighter group. I have tested their operation experimentally. Without bombs, there is no attack. Even with bombs, there were cases when the aircraft simply flew overhead in clear weather in calm weather. But as soon as I registered the Zero as a patrol aircraft, everything changed dramatically. Not a single fly-by happened anymore. An aggressive attack even without bombs: attack - turn - attack ... !!! The "type" of planes do make a difference
Now, the AirStrike.cfg determines how often the "roll of the dice" is done to determine whether the game will send a plane out toward the player, whether directly on their bearing, or 10-12 degrees off-bearing. The other factors stated in the AirStrike file determine whether there is more of a chance, or less of a chance of an AirStrike. If a player's boat is "seen" by the AI Visual, that basically will make AirStrikes occur one after the other. Get "seen" a 2nd time, and they will keep occurring. In the Stock game, the "size" of the AirBase determines the range, but as LUKNER mentions, the planes are the real determining factor for "range". Also, "range", as far as the game's "AI" is concerned, does NOT allow for RTB or 'Bingo' fuel. They can travel to you, and generally stay overhead quite a bit longer than "real life" would allow. If you are further away from an AirBase, they will send the long-range plane first, and shorten up as you are further detected, until you are within range of the fighers. If there are 7 planes in an airgroup, the game will send all 7 after the player boat. The player MUST be killed, as far as the AI is concerned.

As for the "fighter" plane to attack (any plane), all you need is a couple of dummy bombs (BombDummy) in the cfg / eqp file loadout (and of course, bomb pads to mount them to in the dat file). Sometimes, planes do not attack if the conditions are not 'correct' for the AI. If a plane is equipped with radar, you will sometimes get a bomb drop on a 2nd pass, but you will see them come down, almost like they're dropping a 'marker' in the water. If they "see" you, unless the angle is not good, you will almost always get a bomb drop on the first pass, or a strafing if a BombDummy is mounted instead. I was going to mention something else, but my internal AI is very deficient, and the idea has escaped for now... sigh

Hah! I remember now... Aircraft carriers, or any ship designated as Type=7, 8, 18 and 19, are also considered an AirBase, with ranges based upon the planes in their Sea folder cfg file... they are also involved in the AirStrike.cfg file, BUT - in addition, if your submarine is detected within range of them, you will have a constant stream of planes spawning from them, as they attempt to terminate your submarine with extreme prejudice, at the expense of all else, including encounters with their enemy Task Forces... It can be interesting to see sometimes...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie is offline   Reply With Quote
Old 03-27-25, 07:04 PM   #5
LUKNER
Electrician's Mate
 
Join Date: Jun 2009
Posts: 137
Downloads: 817
Uploads: 0
Default

Альтернатива появлению самолетов в игре без использования авиабаз и AirStrike.cfg это рандомная прописка траффика. Минусы этого способа, это сложный траффик, и полеты в любую погоду, даже в ураган с туманами и сильным ветром. Когда на лодке только сенсоры визуального обнаружения, этот метод супер лучший. Самолеты есть не зависимо от погоды, но ни самолеты ни игрок не видят друг друга, как будто самолетов в воздухе нет. Другое дело, когда на лодке есть радар воздушного обнаружения. Тогда такой воздушный траффик выглядит глупо.
Поэтому создание воздушного противника в игре эта самая сложная работа в кампаинге. И использовать надо комплексно все способы что может дать игра. И авиабазы, чтобы перекрыть большое пространство, и узкие участки (острова, порты, проливы) с помощью рандомной прописки.
====================================


An alternative to the appearance of aircraft in the game without using airbases and AirStrike.cfg is random traffic registration. The disadvantages of this method are complex traffic, and flights in any weather, even in a hurricane with fog and strong wind. When the boat only has visual detection sensors, this method is super best. Airplanes are present regardless of the weather, but neither the planes nor the player see each other, as if there are no planes in the air. Another thing is when the boat has an air detection radar. Then such air traffic looks stupid. Therefore, creating an air enemy in the game is the most difficult work in the campaign. And you need to use all the methods that the game can give in a comprehensive manner. And airbases to cover a large space, and narrow areas (islands, ports, straits) using random registration.
LUKNER 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 06:09 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.