AI grand strategy, coalitions, sieges, mobilization and history: the wider realm of Sword & State

Sword & State development team · Updated 2026-10-28 · Based on the current test version · Translated from the Chinese original

Does the AI just raid wherever looks empty? Once I am strong, will the lords join forces against me? Is a siege just numbers going down? Does levying troops year after year or swallowing large commanderies have a cost? Do characters have personalities? This page explains the actual rules of the current test version and lists plainly what is not done yet. The numbers come from the current game settings and may change with balance updates.

The AI has its own strategic goals, not just whatever looks empty right now

The major factions each have an “agenda” compiled from history: a series of goals in stages, such as taking a region, holding a line, befriending a house, avoiding war, or becoming a vassal and then declaring independence. For Cao Cao in the 200 Guandu scenario, for example, the agenda is first to hold the Yellow River line, from 203 to take Ye and Nanpi, then to hold Xu and Ye. An agenda only weights the AI’s choices and never forces it to follow; a stage with no progress for twelve months is dropped. At the start of a game you can set “Historical Leaning” to Free, Leaning (the default) or Strongly historical; with strongly historical, an agenda weighs about seven times as much as with Free. The AI’s agenda is never shown to you directly; it only appears as rumours, depending on how good your intelligence is.

An AI with twelve or more cities splits into two to four army groups, each under a viceroy: they first clear the surrounding counties, then mass, besiege and choose the next target; a viceroy who loses is replaced, and one with low loyalty and great power may declare independence. When it goes to war, the AI sets a war goal (take a city, relieve, punish, protect an ally, take revenge) and builds up battle honours, making peace once the goal is met or a long war goes nowhere.

The AI also wonders whether it is being baited

Before a defending AI sorties against an enemy, it first estimates a “trap risk”, using only the intelligence it has itself: whether there are known or suspected ambush points on the approach, whether the pursuit route runs through a lot of mountain, forest or narrow terrain, whether there is an enemy force within four tiles of the attacker that is stronger than the sortie (a weak force in front and a strong one on the flank), whether the enemy has already turned its back on the city (a feigned retreat), and whether the enemy has recently used schemes against it or is led by someone with Intellect 85 or more. When the risk is high enough, the officer with the highest Intellect in the city rolls against his Intellect to see through it; if he does, the AI stays put, and the battle report says “so-and-so saw through the bait”. The higher the Intellect, the harder it is to fool, but it can still be fooled.

A sortie also carries a “pursuit tether”: it returns if it gets too far from its city, if the enemy it is chasing has fled far away, or if it repeatedly fails to catch up (kited by light cavalry); the tether’s length depends on unit type, Leadership, Intellect and the ruler’s temperament, and is shorter when food is running out. If you fool a house once with phantom troops, that house will not believe your phantom troops again for a while. In turn, the AI also attacks a point to draw out relief: the supply base of a large enemy army is worth taking, and when a garrison is suddenly reinforced it switches, if it has the troops, to cutting off the relief.

The balance of power: a hegemon draws a coalition

A faction that ranks first in national strength, holds at least 22% of the combined strength of all the warlords, is at least 1.35 times as strong as the second and has at least eight cities is judged a hegemon. There is also a “threat value”: its share of major cities, plus its share of major cities gained in the last two years multiplied by 1.5 — so the faster you expand, the earlier you arouse suspicion. When the threat value reaches 36, lords who border the hegemon, are hostile to it and not allied with it will attack together, provided their combined strength reaches 60% of the hegemon’s (each must have at least 12% of the hegemon’s strength, and at most five join). Neighbours’ relations with the hegemon fall every month, while lords resisting the hegemon grow closer every month.

A lord with renown (or holding at least the rank of provincial governor) can spend 600 gold to send a proclamation across the realm, calling for a campaign against a usurper, a hegemon or an overmighty vassal. Each house weighs fear of the strong, the righteous cause, relations and its own situation before answering; a league leader who sits still, or members making peace in secret, cool the league’s morale, and a league dissolves after at most thirty-six months. The AI also sends proclamations, and if you are eligible you receive a “Call to Arms” invitation. The 189 scenario also has the historical coalition against Dong Zhuo.

Diplomacy map mode in game: the realm coloured by diplomatic attitude (English interface)
Diplomacy mode (shortcut J): see at a glance who is your enemy and who is already allied.

The emperor: receiving him, edicts and deposition

In scenarios from 184 to 219, the Han emperor is an actual entity: he is in a particular city, belongs to a particular house, or wanders without a protector. When his city falls there is a 60% chance of seizing him; otherwise he flees to a neighbouring city. A bordering lord can spend gold and food to receive him, gaining Fame but also drawing the other lords’ suspicion. Whoever holds the emperor can move him to one of their own cities and spend Court Standing to issue edicts: appointments, punishing rebels (the whole realm joins in, and the AI sends proclamations), pacifying weak vassals and mediating between two houses. Honouring him means few edicts and slowly rising Court Standing; controlling him means many edicts and steadily falling Court Standing — below 30 the “Girdle Edict” may appear, and the realm takes up the secret edict against you. The holder can also depose the emperor and set up a puppet, at the cost of a heavy loss of Virtue and twelve months of the whole realm attacking; if the reigning emperor is deposed or his holder becomes a traitor to the state, a house holding a member of the imperial clan or the Imperial Seal can set up a new emperor, creating a rival court alongside the original one.

Sieges: they take time, need engines, and have their own schemes

In a siege on the campaign map, city defence falls by at most 35% a month, and by at most 30% when storming, so an intact city takes at least two months to wear down. During a siege you can use schemes depending on your intelligence level: cut off their food, lure out relief, a night raid, infiltrate the defences, an inside agent opening the gate, burn their food, or buy off the commander; you can also choose to leave one side open or encircle completely, and cut a mountain city off from its water. A city where you have placed an inside agent gives you attack ×1.14, siege progress ×1.22 and casualties ×0.82. Battering rams, siege towers, catapults and armoured beasts must be built in a workshop and brought to the walls as separate, slow units that are easy to attack; the AI builds and moves them too. A flood attack can cut defences by 20% and destroy 25% of the food in one go; arriving relief can attack from inside and out together; defenders repair walls, hold fast and counterattack from the city; and cities at passes get their own bonuses. A long stalemate on a front can also trigger an event that breaks the deadlock. Northern armies in the damp south (including when besieging southern cities) may suffer disease outbreaks, losing 14–30%.

When you command a siege in person, you enter a 3D walled-city board with walls, gates and streets, where catapults bombard, rams batter the gate and siege towers reach the walls; see the battle guide.

The long tail of a battle: surrendered troops, prisoners and stragglers

When a city falls, 30–60% of the remaining garrison throw down their arms and surrender, depending on how far their morale has collapsed, and 60% of the former owner’s wounded are captured by the victor; in the field, when a side is reduced to remnants and wiped out, its survivors are captured by the nearest enemy army and taken to the surrendered troops camp. Surrendered troops can be absorbed into the garrison (with reduced training and morale and a food cost for settling them), but for four months after absorption they are “newly joined” and may desert or mutiny each month, with a chance that depends on the Leadership and Charisma of the most respected officer in the city, the faction’s Fame and the share of newly joined troops; they can also be disbanded to farm (population and farming rise, Fame rises slightly), massacred (no food cost, but a heavy blow to Virtue, a sudden fall in public order and a deep feud with their former lord), or held for now (some escape every month, and they still eat). Stragglers who were neither captured nor killed may band together as roving bandits in unsettled areas, plundering neighbouring cities and cutting the supply of small armies; whether to destroy them or pacify them is up to you. For the rules on routs, pursuit, rearguards and bandits on the battle board, see routs and pursuit.

Small raids: how the AI picks targets, and how you defend

When the AI picks targets, cities isolated deep inside enemy territory count for half; opening a new front requires the first army to have at least 90% of the garrison’s troops, or several armies together to reach 1.3 times the garrison, so it does not send a few hundred men to sneak a city. On the campaign map, an army that walks into a tile next to an enemy army is stopped.

For defence, you can give a city a standing “sortie to intercept” order (off by default; it automatically attacks intruders of 3,000 or more within three tiles), intercept manually (pursuit has a distance limit and returns to the city automatically), set patrols (20 food a term, vision ×1.5) or build barracks that top up militia automatically; theatre viceroys also retake captured counties automatically. When enemy armies are prowling nearby, the AI also keeps 30% more troops at home.

Levies have a ceiling, and years of mobilization have a cost

Every 1,000 troops levied cost 120 gold and take 1,500 people from the city’s population. Once a faction’s troops exceed 6% of its population, recruitment yields less and less; at the 13% ceiling you can no longer levy in peacetime, and only when enemies are at the walls can you force a levy, getting only 30%. Levying repeatedly in the same city costs 35% more gold each time and lowers public order; levying during spring planting or the autumn harvest harms farming. Population grows naturally by about 1.8% a year, capped by farming, so troops lost in one great defeat take many years to replace.

New conquests and frontier raids: swallow too fast and you choke

A conquered city has a six-month (four months for small cities) “newly joined” period: population falls by 10% from the fighting, income is halved and you cannot levy troops. If the garrison is too small to keep order and public order is below 35, each month there is a chance the city rebels back to its former lord, or, if that lord is gone, rises in revolt. A faction’s governing capacity is limited (eight, plus contributions from civil officials in your administration and from well-governed cities); going over it cuts income and lowers public order; a hegemon fighting on several fronts also risks unrest in the rear and border cities defecting.

Frontier peoples such as the Wuhuan, Xianbei, Qiang, Nanman and Shanyue raid you when your relations fall below 48; some go straight for the most weakly defended city, and a raid cuts troops by 20% and public order by 15. The Nanman can be won over in the manner of the seven captures of Meng Huo, and the Shanyue have their own pacification mechanism. The great clans that officers come from also have likes and dislikes: below 40 satisfaction they cut food contributions, and below 22 they may leave with their retinues.

Characters are more than an ability panel

The game contains more than 1,200 historical events, over seventy of which can go different ways, and twenty-nine famous scenes put you in a dilemma. In 219, for example, in “A Tiger’s Daughter for a Dog’s Son?”, while Guan Yu still lives Sun Quan asks for his daughter’s hand for his son and is refused, and Wu resolves to seize Jing Province. Officers have 102 kinds of personality traits (the greedy, for example, have lower loyalty and are easier to bribe), plus historically set “Honor” and “Ambition”: those with low Honor, like Lu Bu and Meng Da, are easier to poach, more likely to defect and more prone to growing ambition; headstrong officers attack without orders and may even demand the Nine Bestowments or declare independence. AI factions also break alliances when they see a chance, according to their nature.

Intelligence is not an open hand

Enemy information has five levels: troops go from “???” to an approximate range, to the nearest thousand, to the nearest five hundred, to the exact number; food is completely unknown at low intelligence and only approximate at medium. Fog of war can be set at the start of a game to Lenient, Standard (the default) or Strict. To see clearly you can send scouts (100 gold), place eyes and ears, set scout patrols, or spend 450 gold to plant an inside agent. Both sides use schemes: phantom troops and feints, false marching intentions, double agents and false intelligence, feigned surrender, assassination, forged letters to sow discord, and setting one tiger against another. The AI also acts only on what it knows and never peeks at your hand. See fog of war, vassals and retinues.

Music that follows the situation

The music has five moods by situation — calm, tense, engaged, siege and in peril — crossfading between them, and chooses tracks by region, season, faction, type of fighting, court and the climax of battles; victory and defeat each have a theme. There are more than eighty sound cues, and the clash of weapons in campaign-map battles varies in pitch to reduce repetition.

Victory types and game modes

UnificationDefeat every warlord.
HegemonyHold half of the realm’s major cities, with the threshold adjusted for your starting territory.
The Realm Turns to YouEvery other lord becomes your vassal, and stays so for a period of time.
Scenario objectivesSome scenarios have their own goals, such as restoring the Han or surviving after proclaiming yourself emperor.

The scenario library has 129 openings (84 standalone scenarios plus 45 variants; ten in the public beta), including 22 “what if” scenarios (not counting variants). Above the scenario menu are five more ways to play: Warlords Unbound (a fictional age of chaos generated from a seed, which you can preview, reroll and share), Gathering of Heroes (famed generals of every era appear together), Mandate Legacy (legacy points carry into the next game), Random Fate and Battles of Legend. There are also the great stages of founding a state, proclaiming yourself king and proclaiming yourself emperor, six Paths of Renown with four tiers each, sixty-two achievements, three AI difficulties and custom rules.

Still in development, or not done yet

These are the places we know are not done, or only partly done. Listing them here does not mean they are scheduled for release.

If you have thoughts on any of these, tell us on the forum (mostly in Chinese) or by email. See also supply lines, passes, routs and delegation.

Frequently asked questions

If I use a detachment to lure the AI out of its city and then attack the relief, will the AI fall for it?

It might, but not necessarily. Before sortieing, a defending AI estimates the trap risk from the intelligence it has: ambushes on the approach, dangerous terrain, strong forces on the flank, feigned retreats and the enemy’s record with schemes; when the risk is high, the officer with the highest Intellect in the city tries to see through it, and if he does, the AI stays put. Sorties also have a pursuit range limit and return if they chase too far or cannot catch up. Once a house has been fooled by the same phantom troops, it will not fall for them again for a while.

I am already very strong. Will the AI unite against me?

Yes. A faction that ranks first in national strength with a clear lead is judged a hegemon; the faster you expand, the sooner the threat value rises. Once it reaches 36, lords bordering the hegemon will attack together if their combined strength is enough; neighbours’ relations with the hegemon fall every month, while lords resisting the hegemon gradually grow closer. Lords with renown also send proclamations across the realm calling for a joint campaign.

Is there any way to win other than unifying the realm?

Yes. Holding half of the realm’s major cities wins Hegemony (adjusted for your starting territory), and having every other lord become your vassal for a period of time wins The Realm Turns to You; some scenarios have their own goals, such as restoring the Han or surviving after proclaiming yourself emperor. There are also game modes such as Warlords Unbound (a fictional age of chaos generated from a seed), Gathering of Heroes, Mandate Legacy and Random Fate.

Can I see the enemy’s troops and food?

Not necessarily. Intelligence has five levels: at the lowest you see only “???”, then an approximate range, to the nearest thousand, to the nearest five hundred, and only at the highest the exact number; food is completely unknown at low intelligence and only approximate at medium. To see clearly you must send scouts, place eyes and ears or plant an inside agent, and the enemy may also fool you with phantom troops and false intelligence.

Ready to march?

Sign in & play free ▶

Google and email accounts supported; desktop recommended. Beta content and balance are still being adjusted.

More from the Sword & State series

Three Kingdoms: play the 194 “Warlords Divided” scenario free with no time limit; the full game is a one-time US$14.99 and unlocks every scenario. Pricing and free trial

Buy Three Kingdoms – US$14.99