This mod involves the assessment of damage to force Scheme1 and single-engined planes to head back to base sooner, instead of too often taking heavy damage and still fighting like berserkers to the bitter end.
Versions for 4.12, early B.A.T. and later B.A.T.
NOT FOR USERS OF MY EFFECTS PACK! That will come upon release of my effects v2.0.
Get it here:
https://www.mediafire.com/file/em5ytksqor4hs09/%2521%2521%2521_Fighters_RTB_sooner.7z/fileFrom the included readme file:
WIP mod to force Scheme1 aircraft (fighters, particularly) to RTB sooner
------------------------------------------------------------------------
A common gripe concerns the tendency for AI fighters to often seem to slog on to the bitter end, like maniacal berserkers, oblivious to their own critical damage. I made some alterations to the code which involves the application of damage to the oil system, engine and fuel tanks. In particular, the impact on Scheme1 planes, which are generally fighters of the single-engine type. I also explicitly consider planes having single engines. The premise is that single-engined planes will have pilots more sensitive to damage which can pose a threat to continued flying. I've increased the probability of the setting of the RTB condition, and added some new checks to ensure that due 'consideration' is paid to the damage state by our silicon-based lifeforms.
This is a standalone mod for installations which DO NOT use my huge effects pack (latest iteration as of this writing; v1.6). These versions of AircraftState.class are purely stock except for the new damage checks, as well as an alteration to the color/intensity of NAV and LDG lights. If you use another mod which touches AircraftState.class, either that one or this will work, not both. The one sitting higher in an alpahanumeric folder listing will take precedence.
I supply three versions:
- In folder [4.12] - For non-BAT 4.12.2 (2023-09-07 7:34 AM)
- In folder [BAT to 4.1.1] - BAT versions up to 4.1.1 (2023-09-07 7:12 AM)
- In folder [BAT 4.1.2+] - for BAT versions 4.1.2 and later (2023-09-07 7:56 AM)
I have less confidence in the latest version, which is from BAT 4.2.2. I run B.A.T. 4.0, and therefore cannot test in the game. Moreover, when trying to compile with my crude JODE compiler I was getting an odd error, and so compiled instead in an 'environment' based on BAT 4.1.3. If any modder conversant in Java cared to take a look, it would be appreciated!
I have placed the latest BAT version (4.1.2 and later) of the classfiles in the root directory already. If you are running an earlier game, copy the two classfiles from the appropriate folder and paste into the root folder, overwriting those currently present. (Don't drag and drop! You want to leave the files always present in their 'archive' folders for future use.)
Again, this is a WIP project, with the potential for further refinement. Feedback would be appreciated, especially if odd or broken behavior is discovered or suspected.
WxTech
Sep 7, 2023