• New Horizons on Maelstrom
    Maelstrom New Horizons


    Visit our website www.piratehorizons.com to quickly find download links for the newest versions of our New Horizons mods Beyond New Horizons and Maelstrom New Horizons!

Needs Testing Intelligent AI retreats and surrenders

I'm taking a break from the board and modding.

Anyone is welcome to take over the AI improvements, they should basically be ready to go in the current fixed state after my most recent upload. All the needed retreat checks are unified and in, and the surrenders have been rebalanced according to a good deal of playtesting.

If you want to remove the fix for the flagship surrender bug, just set the refreshbattleinterface call from false to true at the end of the surrender code, it is that simple, and the bug will be back once again. The retargeting code does not need to be changed back, it was already present and always intended, I just fixed it so that it worked.

If someone wants to complete the fix for the flagship surrender for their personal use, to remove the AI firing even if all enemy ships surrender (the flagship surrenders already was fuly fixed, and if enemies were around allied ships would lesve the surrendered ships alone, it was only when all enemies are dead that allied ships might fire on surrendered, and this fixes that), you just need to add a check that calls refreshbattleinterface(true) if the group that the surrendered ship belongs to has only 1 member ship. After that, the final issues should be resolved.

Bye everyone.
 
Back
Top