AI: Defensive behaviour

This week I’ll be working with the defensive behaviour of the team AI. I’ve made it so that it can fortify zones that are valuable and prioritized by the team. The zones first to be fortified are those which are at the edges of the teams’ current prio-map, and eventually maybe the money-zones too. A simple defensive behaviour for the individual troops is also up and running.
I’ll also program some kind of budget plan for the teams, so that they put aside some of their money for upgrades and some for fortifications etc. This budget will of course depend on what alignment the team has at the moment.

Next thing after those things is to create a behaviour for the team if one or more of its zones is being taken. The reaction should be affected on how defensive or aggressive the team is at that time, and what priority that zone has for the team.

Also earlier this week I tweaked the fuzzy-logic so that it works much better. I’ll probably have to change it again some time in the future. But I’m happy with how it works right now.

//Bo

 

[back top top]