AAI 0.70 released - Win + Linux version included
Moderators: hoijui, Moderators
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24
love this AI! would it be possible to have a scount builder profile? (for minelayers in xta n aa, or scout tanks in EE) for a builder unit which moves say two sectors from the defence line of the base and builds perimeter cams, mines etc in an extended perimeter? would really improve its gameplay on EE. AAI can almost challenge KAI now! and good use of air units..
also, a kind of "chokepoint haxx", maybe try somthing like telling the ai to also build defences in the sector containing a mex etc nearest the nearest enemy spotted unit.. somthing so attackers (KAI in my case) are stopped before they reach the base perimeter. just suggestions, you knwo what your doin better than me
also, a kind of "chokepoint haxx", maybe try somthing like telling the ai to also build defences in the sector containing a mex etc nearest the nearest enemy spotted unit.. somthing so attackers (KAI in my case) are stopped before they reach the base perimeter. just suggestions, you knwo what your doin better than me
AAI segfault for xect vs mynn, both SVN
http://taspring.clan-sy.com/phpbb/viewt ... 487#126487
http://taspring.clan-sy.com/phpbb/viewt ... 487#126487
short update:
i've been heavily working on aai the last two days. apart from some minor fixes i completly redesigned attack management. the new system will be much more flexible and allow more complex attack behaviour. maybe not in the next version but there are plenty of possibilities to improve aais attack behaviour...
as a first result, aai will not waste anti air units for useless attacks anymore but provide some anti air support for other combat units. atm i'm mainly testing and balancing aai's behaviour. it also seems as if i added some new possible crash bugs
if i'll be able to fix them soon i hope to be able to do a minor release maybe within a week or two
i've been heavily working on aai the last two days. apart from some minor fixes i completly redesigned attack management. the new system will be much more flexible and allow more complex attack behaviour. maybe not in the next version but there are plenty of possibilities to improve aais attack behaviour...
as a first result, aai will not waste anti air units for useless attacks anymore but provide some anti air support for other combat units. atm i'm mainly testing and balancing aai's behaviour. it also seems as if i added some new possible crash bugs

if i'll be able to fix them soon i hope to be able to do a minor release maybe within a week or two
- Tim Blokdijk
- Posts: 1242
- Joined: 29 May 2005, 11:18
KAI doesnt dgun.
Basic, poor dgunning is easy to implement:
It will be innacurate and exploitable, plus it will end up destroying its whole base with that dgun against a decent player.
I did some predictive dgunning code but i need to add friendly-fire prevention and tweak some things so it can kill planes more effectively and take into account hp and cost of enemy units so it dguns the krogoth not the flea first etc... I wouldnt mind sending sub what i have atm if he wants to work on it though (if i can find it lol)[/code]
Basic, poor dgunning is easy to implement:
Code: Select all
IF enemy unit in range of dgun AND theres enough E
CMD_DGUN targetting the unit
wait 1s
repeat
I did some predictive dgunning code but i need to add friendly-fire prevention and tweak some things so it can kill planes more effectively and take into account hp and cost of enemy units so it dguns the krogoth not the flea first etc... I wouldnt mind sending sub what i have atm if he wants to work on it though (if i can find it lol)[/code]
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24
update:
nicke and i found & fixed several bugs (mots of them in the new code)
i will be away until the beginning of the next week - so dont expect any release before that time. the new attack code still needs some testings as well as implementation of a few minor things. in general it seems to work much better than the old one, however i havent tested with water yet
there are still some crashes we could not explain - i dont know yet if they are aai related or how to fix them.
maybe i'll take a closer look at the defence building algo - imho it builds way to many weak defence buildings - however a completly new one is planned for future versions
here's the current changelog:
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)
- Added MAX_ATTACKS statement to mod.cfg which determines the max number of independent attack waves at the same time (set to 4 by default)
- 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)
- Tweaked economy/factory/defence building selection a bit
- 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 possible crash bug in the airforce handling (thx to Nicklas Marcusson for reporting it)
nicke and i found & fixed several bugs (mots of them in the new code)
i will be away until the beginning of the next week - so dont expect any release before that time. the new attack code still needs some testings as well as implementation of a few minor things. in general it seems to work much better than the old one, however i havent tested with water yet
there are still some crashes we could not explain - i dont know yet if they are aai related or how to fix them.
maybe i'll take a closer look at the defence building algo - imho it builds way to many weak defence buildings - however a completly new one is planned for future versions
here's the current changelog:
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)
- Added MAX_ATTACKS statement to mod.cfg which determines the max number of independent attack waves at the same time (set to 4 by default)
- 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)
- Tweaked economy/factory/defence building selection a bit
- 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 possible crash bug in the airforce handling (thx to Nicklas Marcusson for reporting it)
- 1v0ry_k1ng
- Posts: 4656
- Joined: 10 Mar 2006, 10:24