A computer faction does not send each army after whatever looks best that day. It keeps a few goals, places its armies work toward together, and sends each army to one of them. Its character decides what it wants most, and it sticks to a plan until the plan is done, fails, or something clearly better comes along.
How it works
Section titled “How it works”-
The goals. Each goal is a site the faction knows of:
- Expand: unclaimed land, valued with the sites around it (each neighbour within 6 tiles adds half its worth). Ambitious factions want it more; a faction fighting on several fronts wants it less. Land on another plane is worth more to the curious. A site with iron is worth more to a faction short of iron, the more so if it is greedy or hard up.
- Conquer: a site of a faction it is at war with, with its neighbours. Aggressive factions want it more, and more again against a faction that has wronged them or when their wars go well; less against a faction they fear. A faction hunting one rival wants that rival’s land twice as much and everyone else’s half as much. It never aims at land whose defenders it cannot match with a third more strength.
- Hold a front: one of its own sites with an enemy army within 8 tiles. Worth twice the site, and three times that for its capital. Territorial factions hold harder, and fear makes them hold harder still.
- Defend an ally: an ally’s site with an enemy of the faction within 8 tiles, worth half the site, more to loyal factions and to those grateful to that ally.
- Avenge: a faction with a vendetta goes after the site its enemy took, or else its enemy’s nearest land, the more so the more vindictive it is.
Every goal except holding a front is worth less the further its nearest army has to march (half as much at 12 tiles). A faction keeps at most one more goal than it has marching armies, and never more than 6.
-
Sticking to it. A goal it already holds counts for about a fifth more than a new one, plus half its patience in percent (45% more for an average faction, 70% for the most patient). It drops a goal when it is met (the site is taken, the threat has gone) or can no longer be pursued (the land has passed to a faction it is at peace with, the ally is an ally no more).
-
Sending its armies. An army keeps its goal unless another suits it better by the same margin. Then each goal, best first, gets the nearest free armies until they bring a third more strength than the defenders or the threat they face. An army left over marches where it judges best on its own.
-
Marching. An army always considers its goal’s site when it decides where to march, and keeps marching on it unless something clearly better turns up. It still refuses a fight its nerve would not take. An army sent to hold a front it already stands on stays there.
-
Asking why. Each new goal is remembered with its reasons, so a faction can tell you what it was after when you ask it later.
Why it works this way
Section titled “Why it works this way”Armies that each chase their own best target spread out and are beaten one by one. Shared goals make a faction’s armies gather on the same front, and its character shows in what it goes after: the ambitious spread, the aggressive strike, the territorial dig in, the vindictive settle scores.