A long time ago Pedrunn posted a revised version of "Frenzy AI". It contains the major improvement of determining the AI's 'worst enemy' by diplomatic regard rather than minimal distance to the target
. As this version has been posted rather humbly in a thread dealing with something different (IIRC) it seems not having been noticed too well. However - I did what I consider some additional tweaking (or messing up
) the code and added another function: 'TaskOne: Recapture'.
here it is for testing
It doesn't require anything but being #include(d) at the bottom of script.slc (or ***_script.slc for most of the Mods around except for the Super Apolyton Pack: there it needs to be #include(d) in APOL_main.slc to replace APOL_frenzy.slc). One additional note that can also be found in the comments: As a bunch of "terrain and unit checking functions" is taken from BetterAI/GoodMod you need to be careful not to interfere with existing functions if you wish to use Frenzy 2.1 together with BetterAI/GoodMod.
The script throws SLIC-errors with DebucSlic=Yes caused by IsUnderseaCity(), so you need to change DebugSlic to 'No' in userprofile.txt. The error message does not indicate inappropriate use of the function, but buggyness of the debugger
.


here it is for testing
It doesn't require anything but being #include(d) at the bottom of script.slc (or ***_script.slc for most of the Mods around except for the Super Apolyton Pack: there it needs to be #include(d) in APOL_main.slc to replace APOL_frenzy.slc). One additional note that can also be found in the comments: As a bunch of "terrain and unit checking functions" is taken from BetterAI/GoodMod you need to be careful not to interfere with existing functions if you wish to use Frenzy 2.1 together with BetterAI/GoodMod.
The script throws SLIC-errors with DebucSlic=Yes caused by IsUnderseaCity(), so you need to change DebugSlic to 'No' in userprofile.txt. The error message does not indicate inappropriate use of the function, but buggyness of the debugger

Comment