I took quite a long time but now i finished my work on AAI 0.75. Lately many bugs got in the way of a quick release. Some of them had been AAI related and are now fixed - but some occured within the spring engine and will be fixed with the next release. The main feature of this release is a compeltly new attack management. Compared to the previous algorithms it is far more flexible and extendable, however there are still many things I will deal with in the coming versions (e.g. AAI still tends to “streams” of attacking units, retreating has not been implemented in most cases, use of mobile artillery still not implemented). At the moment the new attack system does not work with air only mods such as FF at all. AAI will build a base as well as combat units and react to the actions of the player but it will not attack in a proper way.
!!! Linux users please note that AAI now gets a local writable directory from spring and will save (and expect) its files there !!!
Many, many thx go to Nicklas Marcusson for lots of help with debugging, testing and other programming issues (and the insight that moose can be quite speedy)
Furthermore i want to thank
- the guy who implemented the CMD_FIGHT command, it helps me so much
- Gratz for providing me with a cfg file for TA Battle Fleet
- AF for pointing me at UnitDef::type for detecting bombers
Installation: Please have a look at the /aai/readme.txt within the archive
Download: (AAI 0.76)
http://fileuniverse.com/?p=showitem&ID=3932
Here is a more detailed changelog:
AAI 0.76
- Fixed the most common crashbugs in release mode
- Added basic attack behaviour for air only mods
AAI v0.75
- Completly redone attack system: AAI will now attack more elaborately (attackers move on if are cleared, bombers returning to base when target destroyed, attack groups now retreat under several circumstances, combat groups are guarded by aa units - however it still tends to send in streams of attackers - will be adressed in one of the next versions )
- Added MAX_ATTACKS statement to mod.cfg which determines the max number of independent attack waves at the same time (set to 5 by default)
- Modified artillery sorting in preparation of artillery support in one of the next versions. Added GROUND_ARTY_RANGE, SEA_ARTY_RANGE and HOVER_ARTY_RANGE statement to mod cfg. These replace the former MOBILE_ARTY_RANGE statement (it’;s no longer valid, remove from old cfg files)
- For linux users: AAI will now store its files in the only writable datadirectory automatically (where spring saves all its other files)
- AAI now tries to get a safer rally point if combat units are killed en route
- Builders now try to flee when attacked
- AAI now takes allied buildings into account when expanding its base (to prevent AAI from building within the base of someone else)
- Improved AAI’;s building placement at the beginning of the game (buildings will not be spread out that much anymore to reduce walking time of commander (thx to Accid_UK for the idea - should have been already implemented in 0.70 but has somehow been commented out)
- Tweaked economy/factory/defence building placement and selection
- Fixed a bug that prevented AAI from building naval power plants
- Fixed a bug which sometimes caused builders to leave their construction site
- Fixed a bug that caused AAI to temporarily run out of scouts when requesting several scouts it could not build at that time
- Fixed a bug that caused serious confusion concerning unit speeds (unfortunately mod learning file version had to be changed)
- Fixed a very rare crashbug in the building placement algorithm
- Fixed a possible crash bug in the airforce handling (thx to Nicklas Marcusson for reporting it)
Download: (AAI 0.76)
http://fileuniverse.com/?p=showitem&ID=3932