Teaching AI to defend settlements

After the introduction of the Strategic AI we had a problem: enemy would capture the player’s settlement, but then leave it empty and undefended. It’s pretty boring to have to spend your turn just to take back an empty settlement. Quite unrewarding. So I have spent some time creating an AI module that allows the AI to buy and train units. It seems like a simple task, but it took a few days to achieve, because the AI does not cheat so it has to follow all of the same rules as the player.

The results are well worth the time spent, I think. Settlements feel a lot more impactful and AI feels smarter.

Leave a Reply

Your email address will not be published. Required fields are marked *