Work has begun on the new Skirmish AI. Building upon the foundation laid by the Campaign AI.
See below a GIF how the AI builds a base, you can see one bug still when placing a Windtrap; which has been fixed after I saw it.
The new Skirmish AI logic is a bit smarter when placing structures; at first it decides where to put the structure before building anything. Once building the structure is completed, and can be placed, the AI will re-evaluate if the structure can be placed. If not, it will check what prevents it from placing. When it is a unit that the AI owns, it will try to move it away. If its not, then it will simply rethink about where to place it. If it can’t place it (due whatever reason), it will abort the build. (gets a refund, etc).
Another thing I have fixed in this AI, is that it knows beforehand if it will run out of power when building the new structure. If so, it will build a Windtrap first.
The AI is also now bound to the same rules as the human player, meaning it will need to upgrade the CONSTYARD to get the ability to build Rocket Turrets.
A demonstration:
Comments are closed