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/fileFrom 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