Special Aircraft Service

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: Gear Damage Mod For B.A.T., Pacific planes collection  (Read 3702 times)

0 Members and 1 Guest are viewing this topic.

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6065
Gear Damage Mod For B.A.T., Pacific planes collection
« on: November 16, 2021, 10:34:03 PM »

UPDATE: Dec 29, 2022. Lowered the probability threshold for 18 planes whose gear was too easily damaged.

UPDATE: Nov 28, 2022. Fixed an oversight in P_40.class.

UPDATE: Nov 18, 2022. Fixed an oversight in SPITFIRE.class.

UPDATE: Nov 13, 2022. After receiving a report of odd behavior for the B-24, I went over all classes again and found some inconsistencies that warranted fixing. Almost all classes were worked on, with a more consistent approach being applied. Some of these problems derive from the old mod code I was working from. Hopefully there will now result better behavior.

UPDATE: Nov 21, 2021. Added 9 new plane classes, did some tweaking, and confirmed very nearly all working OK.








Get it here:

https://www.mediafire.com/file/zcc51axwr3o77dz/%2521%2521%2521_Gear_Damage_Mod_for_BAT.7z/file




From the included, updated readme file:

This is the Updated Gear Damage Mod adapted for BAT, Pacific planes edition, by WxTech.



This update: Dec 29, 2022
- Lowered the probability threshold for 18 plane classes whose gear was too easily damaged. (In some cases I had left the probability too high for testing purposes.)

Sixth update: Nov 28, 2022
- Fixed an oversight in P_40.class.

Fifth update: Nov 18, 2022.
- Fixed an oversight in SPITFIRE.class.

Fourth update: Nov 13, 2022.
- After receiving a report of odd behavior for the B-24, I went over all classes again and found some inconsistencies that warranted fixing. Almost all classes were worked on, with a more consistent approach being applied. Some of these problems derive from the old mod code I was working from. Hopefully there will now result better behavior.

Third update: Nov 9, 2022.
- 39 classes (plus 2) included. (Add the P_43xyz.class for completeness, even though included in its own separate plane fix.)
- Went through all classes to identify and fix cases where planes with no gear damage might still take the damage imparted to the previous affected plane.

Second update: Feb 18, 2022.
- Decreased chance of P-39 gear dropping.

First update: Nov 20, 2021.
- 38 classes (plus 2) included.
- Discovered wrong names (old error from way back) for gear collision boxes in code for C_47 and P_39; fixed.
- Added the A_26, B26, C_47A, C_47B, F4U, FM_1, P_43xyz, P_51 and SeaFury
- Checked out as OK very nearly all classes.
- Moved the gear collision boxes in the C-47AB plane folder, to be a little more exposed.

First release: Nov 16, 2021.
- 29 classes (plus 2) included.


This is a continuation of the fairly old Gear Damage Mod (introduced in the 4.09 days, if not before), designed to cause damaged gear, after sufficient hits, to drop partially or fully. Planes which use hydraulics to activate the gear are addressed, although numrous non-hydro gear equipped planes were also given this capability, which I've retained here. The list below identifies those which do not or seemingly do not have hydro gear; if you wish to remove the gear damage mod for any plane, simple remove its classfile.

Until now, the latest installment of this mod was for 4.12. It is not appropriate in B.A.T. for numerous planes because of the additional code added in many B.A.T. classes; functionality would be lost. Hence the need to completely re-visit this mod by building upon the B.A.T. classes specifically. My basis is B.A.T. 4.0. If there are differences in code for any later B.A.T. versions, let me know.

There are already some small number of planes in B.A.T. (4.0 and later, at least) which have incorporated this gear damage effect. For some, changes were warranted and so are now included here here.

Note that a class deals with all of the child classes for which it is the parent. For instance, class A6M applies for all models of the Zero (unless some other new slot mod class exists for mod variations). And so a lot of individual plane models are encompassed in this collection.

I have got round to checking out in the game just about all of these planes. I'd appreciate any reports on any 'anomalies' or failures. Or if it seems the effect is too rare or too common; this can be changed.


Here are the 38 (plus 2) plane classes provided in this mod, and which planes saw service in the Pacific theatre. I'm puzzled over the FM_1, as I can't determine which plane this applies to; I include it just in case... The two additions are the Spitfire and Bf-109, just because I happened to have worked on them.

(There remain scores of classes to be worked on for the many other planes, used in other theatres, not present here. I can't say if and when I will get around to tackling them in any focused way.)



* Seemingly not having hydraulically activated gear, based on B.A.T. 4.0 classes.
U Updated Java Nov 9, 2022, and successfully compiled.

A_20      350448AA0086D546 U
A_20XYZ      2907133A41085778 U
A_26      8BCA9BAE16EDDBBC U
A6M*      3153DABEBF24F2CA * U
B_17      067BE2DAD30D22D8 U
B_24      2E1ADF6EDF8A6C64 U
B_24D140CO   18D6AB82E49381EA U
B_25      BCD3A0D66ECCE7D4 U
B_29X      77B1B3A6E89CFC22 U
B26      381C0A8A41BECE1E U
BEAU*      2ED058C43BFC2C6C * U
C_47*      81793A002536EB40 * U
C_47A*      1890996E1AF4969A * U
C_47B*      0D68CF54301C7F1C * U
F2A*      BD1B2F5651EFA354 * U
F4U      12FD1410F9A95894 U (later toughening of fuel tank)
F4U_AR      0018FCF2F0608B38 U
F6F*      42AA9250FDDB73F0 * U
FM_1x      8118045016708032 U (not sure about this one; has manually cranked gear like Wildcat?)
G4M*      738B744EC10C5F40 * U
Hurricane*   E59248A20A60686C * U
J2M*      ADAA854CA64F3C52 * U
KI_100*      58315652EA3DBD2E * U
KI_43*      ABAA3036D3255152 * U
KI_46*      B1944DE676731296 * U
KI_61*      E237C9FEA2B9E868 * U
KI_84*      7BA5D07AE32E0690 * U
L2D*      51560CD02C83797E * U
N1K*      881D9F0C609D9ADE * U
P_36*      D0D3CEAC4DF9058A * U
P_38*      6AF90D0E6D025CD0 * U
P_39*      4608C16002CF9F8C * U
P_40*      183F83964B80AA1E * U
P_43xyz      81A5FB8435C699C4 U
P_47*      774325F298964D64 * U
P51      0550D61C9A6EC6A8 U
SeaFury      61C720B4D953600A
SBD*      95BCC252B73DD4A6 * U
TBF      4776A788FDC05430 U

   
BF_109*      F296DD26E1147102 * U
SPITFIRE*   00B509F2DD168B52 * U



As always, this work is made available for use by any and all, for any purpose, without restriction.


WxTech
Nov 16, 2021
November 20, 2021
Feb 18, 2022
Nov 9, 2022
Nov 13, 2022
Nov 18, 2022
Dec 29, 2022
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #1 on: November 16, 2021, 11:44:19 PM »

Nice, thanks mate.
My first mod download since my return to the forum... :D
Logged
.....taking fun seriously since 1968.....  8)

Andy H

  • member
  • Offline Offline
  • Posts: 1571
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #2 on: November 17, 2021, 12:40:47 AM »

All those little touches adding up. Thanks yet again - much appreciated.   :)
Logged

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6065
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #3 on: November 17, 2021, 01:51:10 AM »

Nice, thanks mate.
My first mod download since my return to the forum... :D

Eugene,
If I might be so bold, your second d/l should be my effects pack (found in the Effects sub-forum, naturally).  :D

Glenn
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Knochenlutscher

  • Flying Ass Clown #10
  • Modder
  • member
  • Online Online
  • Posts: 4593
  • aka Segfej
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #4 on: November 17, 2021, 02:24:00 AM »

That's it exactly, well done here

good description, what I tested so far is running flawless.
no conflicts, didn't tested all,

Thanks a lot
Best wishes
Tobias




Logged
Wiseman : "Did you speak the exact words?" Ash : "Look, maybe I didn't say every single little tiny syllable, no. But basically I said them, yeah."

SAS~Malone

  • flying as #46 with the FAC
  • Editor
  • member
  • Offline Offline
  • Posts: 14562
  • proud member of that 'other' site
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #5 on: November 17, 2021, 12:45:32 PM »


Eugene,
If I might be so bold, your second d/l should be my effects pack (found in the Effects sub-forum, naturally).  :D


done  ;D
Logged
.....taking fun seriously since 1968.....  8)

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6065
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #6 on: November 18, 2021, 12:31:39 AM »

I got the F2A and G4M to work. An update of the full archive will be in the offing soon. I'll advise here when it's ready to grab...
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6065
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #7 on: November 21, 2021, 09:12:13 PM »

I just made available an update, download link is the same, top page updated (including readme file contents).
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Atoka220

  • Bomber
  • Modder
  • member
  • Offline Offline
  • Posts: 804
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #8 on: November 07, 2022, 12:14:07 PM »

Hey Glenn

Found a funny but bit infuriating bug
I started a B-24D campaign and when landing i was surprised why my gear wasn't down while the game confirmed it was
Checking out in qmb, i found that the wheels just rotate 90 degrees and clip through the wing



When near ground, the wheels just snap back to their retracted position while doors are open

Spawned in QMB on a crimea scramble mission


Same with gear damage mod disabled
Logged
There are 2 certain things in life: Death and CTDs

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6065
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #9 on: November 07, 2022, 12:30:35 PM »

Drat! Something to investigate, if I can make the time...


In the meantime, the Readme file indicates the classfile name for each plane. For any plane acting strangely, simply rename the classfile with a preceding "-" character, then restart the game.

Here's one good reason to supply the classfile names for all classes included in a mod.  ;)
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

WxTech

  • Modder
  • member
  • Offline Offline
  • Posts: 6065
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #10 on: November 09, 2022, 09:45:03 AM »

I think I've found the issue that will be present in some planes.

Yesterday I was battling a gaggle of P-43s, where some suffered gear damage. The survivors, having no damage at all, when landing all partially dropped their gear to the same positions. I presume this represents the setting for the last plane to have been assigned gear damage, with all subsequent planes now being assigned the identical angles for their gear to descend to when lowered.

In the early days of using this mod (7-8 years ago?), I would sometimes find that if a certain type of flying plane suffered gear damage, even after starting a new mission that plane type when sitting on the ground would have its gear collapsed and be resting on its belly! I could have been led astray by using that deficient code (I've been playing with Java for just about 3 years now.)

I did a bit more code tweaking, augmented by my sloooowly accumulating Java pseudo knowledge.  ;)  I should mention that in previous gear damage mods--from which I have worked--there have been slightly differing approaches, with some odd oversights as best I can tell. Anywho, after my changes the P-43s gratifyingly all now behave properly on the gear damage front.

I'm currently going over all classes in this mod, so stay tuned for an update...
Logged
Great minds discuss ideas. Average minds discuss events. Small minds discuss people. - Hyman Rickover (but probably predating his use.)

Mick

  • Modder
  • member
  • Online Online
  • Posts: 5498
Re: Gear Damage Mod For B.A.T., Pacific planes collection
« Reply #11 on: November 09, 2022, 10:38:35 AM »

... I have that bug, even in the next mission, in my 4.09 game version too ...  :-X
Logged
Pages: [1] 2   Go Up
 

Page created in 0.04 seconds with 27 queries.