![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
![]() |
#1 |
Loader
![]() Join Date: Jun 2014
Location: Netley Abbey, Southampton, United Kingdom
Posts: 90
Downloads: 522
Uploads: 5
|
![]()
Hi Kapuhy,
Have you tried changing the hight for level bombing runs, for instance 250m insteated of 500? Les |
![]() |
![]() |
![]() |
#2 |
Grey Wolf
![]() Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
![]() |
![]() |
![]() |
![]() |
#3 |
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]()
1. Aircraft vs flank speed
Setting dive bombers as level bombers will lead to unrealistic attack tactics. What if we fit them with some fast-aiming but short-ranged dummy gun, whose muzzle flash effect will spawn a bomb? ![]() 2. MAD ideas Have you checked that visual sensor's detection angle does not prevent if from "seeing" directly below the plane? 3. Sinking torpedoes Have you tried testing with Swordfish planes (and, indeed, with IRAI installed, no other mod overwriting its files)? IF they use torpedoes affectively, I would try messing with various parameters (aircraft max speed, position of the torpedo bone, drag coefficients, min height, ect) until I find the one(s) which break their ability to use torpedoes in a prope manner. |
![]() |
![]() |
![]() |
#4 | ||||
Grey Wolf
![]() Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
![]() Quote:
![]() Besides, looking at this movie for example: is for planes like Liberator (maybe Catalina as well) attack profile used looks more like fast, low level horizontal approach (of course, these might be just shots staged for propaganda purposes and actual approach might have been more vertical). Quote:
2. MAD ideas Quote:
Quote:
strategy PlaneNavigate(Plane) { precond { (Plane:HasTorpedoes() or Plane:HasBombs() or Plane:HasCannons()) and Ship:GetContactDepth() > -8.5 } strategies { BombCourse, TorpedoCourse, CannonCourse, AirToAirCombat } } If I understand correctly, it sets conditions for a plane that must be met in order for it to navigate (fly towards?) detected target: a) plane must have means to attack (bombs, torpedoes, guns) b) contact must be at no more than 8.5 meters depth I wonder what would happen if we set this to 20.0 for example... but to test this, I would have to know how to make edits to .aix file affect the game (just changing it doesn't seem to do anything - maybe it is overwritten by something or requires rerunning file patcher to work?) |
||||
![]() |
![]() |
![]() |
#5 |
GLOBAL MODDING TERRORIST
|
![]()
There are 3 instances of -8.5 in that file.
You might try changing them all. Found 3 occurrences of '-8.5'. Line 335 4h " Ship:GetContactDepth() > -8.5 and (Plane:HasTorpedoes() or Plane:HasBombs() or Plane:HasCannons())" Line 409 4h " (Plane:HasTorpedoes() or Plane:HasBombs() or Plane:HasCannons()) and Ship:GetContactDepth() > -8.5" Line 766 4h " !Plane:HasCommander() and Plane:HasWaypoints() and ( ( !Ship:ContactPresenceIs(PRESENCE_SENSORS, 0) or ( Ship:ContactPresenceIs(PRESENCE_SENSORS, 0) and Ship:GetContactDepth() <= -8.5 ) ) or ( !Plane:HasBombs() and !Plane:HasTorpedoes() and !Plane:HasCannons() ) )" 010 is excellent for finding this stuff. |
![]() |
![]() |
![]() |
#6 | |
Grey Wolf
![]() Join Date: Oct 2010
Location: Poland
Posts: 874
Downloads: 72
Uploads: 3
|
![]() Quote:
![]() Ok, after a quick test: changing all instances solves issue Tonci87 was writing about in TWoS thread - Catalina now continues its attack and drops bombs at a place where U-Boat has disappeared under water. I'll recheck the MAD sensor later and report. |
|
![]() |
![]() |
![]() |
#7 |
GLOBAL MODDING TERRORIST
|
![]()
Pretty smart for a Village Idiot ain't I?
![]() |
![]() |
![]() |
![]() |
#8 | ||||
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,215
Downloads: 793
Uploads: 10
|
![]() Quote:
![]() The Ubi guys must have drawn their virtual pilots from the Orlik Aerobatic Team ![]() Quote:
![]() Quote:
Quote:
Last edited by gap; 03-14-21 at 12:54 PM. |
||||
![]() |
![]() |
![]() |
#9 |
GLOBAL MODDING TERRORIST
|
![]()
That file is the only one that contains -8.5 in the scripts folder of IRAI
|
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|