![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
03-26-25, 05:34 PM
|
#1 |
|
Engineer
![]() |
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 |
|
|
03-26-25, 07:01 PM
|
#2 | |
|
Electrician's Mate
![]() Join Date: Jun 2009
Posts: 137
Downloads: 817
Uploads: 0
|
Quote:
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. Атака произойдет если только вооружение будет иметься на борту самолета для атаки, и еще это зависит от группы в которой прописан самолет. Например группа истребители. Опытным путем проверял их работу. Без бомб атаки нет. Даже с бомбами были случаи что самолет в ясную погоду в штиль просто пролетал над головой. Но стоило мне Зеро прописать в патрульные самолеты, все резко поменялось. Ни одного пролета мимо больше не случилось. Агрессивная атака даже без бомб: атака - разворот - атака ... !!! |
|
|
|
03-27-25, 06:33 AM
|
#3 |
|
Engineer
![]() |
Thanks for the clarification!
I'll see if I can type something out for reference. ElCid97 |
|
|
03-27-25, 11:36 AM
|
#4 | |||
|
CTD - it's not just a job
|
Quote:
Quote:
Quote:
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 |
|||
|
|
03-27-25, 07:04 PM
|
#5 |
|
Electrician's Mate
![]() Join Date: Jun 2009
Posts: 137
Downloads: 817
Uploads: 0
|
Альтернатива появлению самолетов в игре без использования авиабаз и 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. |
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
