Keeps the AI from scrapping stranded task forces (redeploying might free some ships) and mindless scrapping too many ships during credit deficit.
Code: Select all
NAME: Unwanted AI Ship Scrapping Fix
DESC: Keeps the AI from scrapping stranded task forces and scrapping too many ships during credit deficit.
AUTHOR: Spocks-cuddly-tribble
URL: https://www.armadafleetcommand.com/onscreen/botf/viewtopic.php?p=54681#p54681
# remove 40D1B3 call 40CE30 AI_Scrap_Stranded_Task_forces
>> 0xC5B3 E8 78 FC FF FF
<< 0xC5B3 90 90 90 90 90
# remove 40D1DD div esi (senseless division/lowering of credit deficit)
>> 0xC5DD F7 F6
<< 0xC5DD 90 90
# 40D205 MOV ECX,EBX (use 'real fleet support cost' i.e. scrap ships until income OK)
>> 0xC601 31 FF
<< 0xC601 8B CB
# 40D1F1 JMP 40D1C2, NOP // disable scrapping ships due to credit deficit when at war OPTION
# >> 0xC5F1 B8 09 00 00 00
# << 0xC5F1 EB CF 90 90 90
So destroying an outpost or stealing some credits won't cut it anymore to get rid of an overpowered AI fleet.