

In a real game sometimes you don’t find your sheep, you can’t lure deer, you have very far boar, forest etc. In fact I’m pretty confident that good human players do significantly better than AI especially with pause.Ģnd reason, you shouldn’t look for a BO that is optimal in theory but that you cannot consistently do in practice.

First, despite what you seem to think even the extreme AI is far from doing optimized BOs, it often misses sheep but sometimes it also misplaces mill/lumber camps. There are 2 reasons why AI is bad approach. (In single player you can queue actions while pausing, I believe it should be easy to do any BO even if you really lack mechanics) A much better alternative would be to just play alone in single-player and pause regularly so you have time to perform the actions. Not entirely on topic but I wouldn’t go with AI in your case. send the nth villager to lure a boar, build a barracks when 60% of the way up to Feudal, move 2 from food to wood when you click up to Feudal etc.

I’ve looked at the source code for the above, and the per files included with it, and I can see that there would be much to learn to really get into creating an AI, but what I want to do is much more limited, so I was wondering if anyone who is already very familiar with AI creation could give me some pointers as to which specific things to research to do what I want to do? Is it even possible to make the AI micro-manage the villagers to exactly execute a build order at the level of detail they’re usually presented, e.g. This AI Builder allows for saving and loading …īut it works in terms of fixed percentages of villagers on resources, whereas I need to micro-manage at the level of individual villagers. A quick summary of the other differences:įE AI Builder has the option to scale built units by difficultyįE AI Builder has an immobile AI option (does nothing, ever) It’s based on the Forgotten Empires AI Builder, but this one can be run offline (tested with Python 2.7.x, may work with Python 3.x). AoE2DE AI Builder (based on Jan1302's Online AI Builder) II - Modding This is a python executable program that can be used to create the AI files needed for basic custom campaign AI.
