![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
|
|
07-01-13, 12:54 PM
|
#1 | ||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
Quote:
I have tried increasing gun's training/elevation range, and improving plane's handling, but with no apparent result. UnitType is set to 301.
|
||
|
|
07-01-13, 01:26 PM
|
#2 | |
|
Black Magic
![]() |
Quote:
|
|
|
|
07-01-13, 02:14 PM
|
#3 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
http://www.mediafire.com/?b9qhrzwdsz8cj5w only one of the frontal guns and the dorsal turret got a gun controller, but at the moment I am more concerned about the frontal gun (just ignore the turret). Launch any of the single missions included. I have also noticed that the bomber got problems dropping its torpedo. No matter how low I set the minimum height, in many cases the plane starts circling, loosing altitude and falling down in the water before she can fire her fish. In other cases, the B-25 manages to achieve a good firing position, but the torpedo moves backward (
|
|
|
|
07-01-13, 02:19 PM
|
#4 | |
|
Black Magic
![]() |
Quote:
The torpedo problem is a sign of hitting a collision sphere or box on the unit. Lower the torpedo's hardpoint (do a drastic lowering) and see if it doesn't cure the problem. There is a minimum distance (arming distance - 300m) the torpedo must travel before it's able to detonate. If the torpedo 'hits' something before this 300m then it acts like a dud (which is what you are seeing). |
|
|
|
07-21-13, 12:24 PM
|
#5 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
|
|
|
|
07-21-13, 02:01 PM
|
#6 |
|
Black Magic
![]() |
When viewing the object in memory it always has the max speed specified in .cfg file. So it appears .sim file is a default value and the cfg file can override the defaults.
|
|
|
07-21-13, 02:45 PM
|
#7 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
I suppose this is also valid for ship speeds. If so, by properly editing cfg files we can adjust class variants specs (for duplicated unit definions). Maybe the max speed stored in sim file is used, together with max force and max rpm, for torque calculation ![]() P.S: even after having increased B-25's max speed, force and rpm, and decreased drag, I cannot get the bomber to use her gun properly; she only performs some very short and erratic gun bursts before dropping her bomb load, and then nothing
|
|
|
|
07-18-13, 03:41 PM
|
#8 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
|
|
|
07-18-13, 03:49 PM
|
#9 |
|
Black Magic
![]() |
|
|
|
07-18-13, 06:30 PM
|
#10 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
|
|
|
07-01-13, 02:34 PM
|
#11 | |
|
Sea Lord
![]() Join Date: Jun 2006
Location: Somewhere else now
Posts: 1,797
Downloads: 1214
Uploads: 4
|
Quote:
If you dive, maybe it might attack again - try this. IIRC.. it was rare for a bomber to attack a U-boat more than once, unless they were sure they had done some good damage - an aircraft is very vulnerable.. especially in the middle of the ocean. All attacks, if possible, were based on tracking and surprise - after the first attack is was generally suicidal to attack again. |
|
|
|
07-01-13, 03:48 PM
|
#12 | |||
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
On your end, please keep me informed on anything wrong you may find about the gun issue. Quote:
Quote:
|
|||
|
|
07-01-13, 06:27 PM
|
#13 |
|
Black Magic
![]() |
That is how IRAI used to be. People complained so I changed it. Here's the problem: say said plane attacks another unit and drops it bombs. That unit submerges and hides. Plane continues on waypoints. Plane encounters another enemy unit. If IRAI is setup so that planes don't attack anymore if they have no bombs or torpedoes then said plane continues on with it's waypoints. Here in is where people complained airplanes never attack. What is the plane has no bombs or torpedoes from the start? Then it never attacks anything.
|
|
|
07-01-13, 06:46 PM
|
#14 | |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
Quote:
- dorsal and tail turrets an waist guns where obviously meant for self defense rather than as attack armament. Even in game, I doubt that planes will ever get the chance to fire them against a vessel. Therefore, with current IRAI settings bombers will hang around forever, unless they get the chance to fire their remaining bullets against another plane, they get destroyed, or their target(s) is sunk by another unit. This would be a good reason for making them to cease their attack once they fired their last bomb / depth charge / torpedo. - the same B-25 was issued in a series of strafing versions, that had guns as their main or sole armament. If you make IRAI to ignore gun ammo for deciding if a plane will attack or leave, strafing planes would be totally pointless in game... so, what is the best solution? I wish AI strategies were more elastic, but unfortunately they are not and, as you noted many times, there insn't much that you can do for it ![]() EDIT: if only you could make the game to read current loadout Type from file, and to adopt different AI strategies depending on it and on UnitType... Last edited by gap; 07-01-13 at 07:03 PM. |
|
|
|
07-01-13, 08:33 PM
|
#15 |
|
Black Magic
![]() |
The AI DLLs I haven't even dove into yet. Still concentrating on the main files: sh5.exe, shcollisions.act, shsim.act, simdata.act, shcontrollers.act, and enginemission acts/dlls
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
