Combat occurs when two hostile armies arrive on the same province. It is an important component of warfare.
Reference: Combat mechanics thread
In a battle, each side has up to three flanks:
- Left flank
- Center flank
- Right flank
These flanks will generally fight separately against the same flank on the opponent's side. Each flank has a commander, and its own units. To have more than one flank you need multiple armies, though they can be merged into one.
When a flank no longer has an equivalent flank to attack, it will help another flank instead. It will now also get a flanking bonus of 30%, meaning it does 30% more morale and troop damage. The enemy flank will now be under attack from two flanks, thus taking much more damage.
Combat is divided into three phases:
- Skirmish: All battles will start in the Skirmish phase. This is when archers and horse archers excel, and they will be the only ones doing any major damage.
- Melee: After a few days, it will switch to the Melee phase, where melee oriented units like heavy infantry and pikemen excel. Note that flanks do not necessarily have to be in the same phase as each other, and they'll usually enter Melee at slightly different times.
- Pursue: When the morale of a flank reaches 25%, they will start retreating, and combat will switch to the Pursue phase. This is where light cavalry truly excels, but heavier cavalry does well also.
Unit Attack and Defense
The formula for finding out the attack or defense of a unit is:
(Base unit stat) * (1 + tech bonus + terrain bonus + cultural bonus + tactic bonus) * (1 + leader trait bonus + tactical affinity bonus).
Base unit stat depends on the type of unit and the phase:
ST = Special Troops (varies with region/culture)
- Main article: Technology
Tech bonus depends on military technology level: +0%/+10%/+15%/+20%/+25%/+30%, depending on the relevant tech level.
- for a unit raised from a specific holding, it is the tech level in that county that matters.
- for a unit raised from a vassal, it's the vassal's average tech level.
- for a retinue unit, it's your capital's tech level.
Terrain defines the surroundings where battles are fought. The defenders usually have the advantage and terrain can play a vital role in a fight.
The following terrain give a terrain bonus to the defender:
The following elements between two provinces give a terrain penalty to the attacker.
- Rivers: To see if there is a river (or strait) between two provinces, select one of them and look for the icon .
- Major river: twice the penalties of crossing a normal river
- Amphibious landing: almost identical to a strait crossing. Note: if you control at least one settlement in a county, you can have your ships enter the county's port. Your soldiers will be off-loaded and fight any enemies there without the amphibious landing modifier (but will still have maximum 50% morale at the start of combat).
There are also several other terrain types which don't give a bonus or penalty to either side of a battle, though they can negatively affect the supply limit (especially true for deserts) - attrition has won many wars.
During the melee phase in battle, defenders who are outnumbered may use a terrain bottleneck to even the odds. Each flank may have a narrow approach, preventing the attackers from attacking in numbers greater than the number of flank defenders (their number at the start).
The chance of this depends on the main province terrain, with mountains and jungle having the highest chance. Commanders are also more likely to find a bottleneck if they have high skill, the Battlefield Terrain Master leadership trait, or the Game Master lifestyle trait.
While of limited use in conventional battles where you try to outnumber your enemy, the cold efficiency of this skill is revealed when using Pikemen retinues to hold back the enemy. With both Heavy infantry leader and Battlefield Master leadership traits for their commander, such armies will be able to inflict horrendous losses to the enemy, perhaps even winning a desperate battle, if locked in melee with Narrow Flank modifier.
- Main article: Cultural Buildings
Cultural buildings can provide a cultural bonus to units trained in that holding. All cultural buildings have 4 levels, with each level providing an equivalent boost to some unit. The boost only applies to troops trained in the holding and to retinues (if the building is in the capital).
- Main article: Combat tactics
Tactic bonus ranges from -150% to +420%. Note that these are so huge, they often swamp technology-based and terrain-based modifiers. Tactical affinity bonus ranges from -120% to +300%.
- Main article: Commander
You should assign a skilled commander to lead each flank (left, center, or right) that contains troops. You may assign yourself, your marshal, and direct subjects holding the minor title of "Commander". Hiring mercenaries or holy orders temporarily adds their leader and commanders to your pool.
You may also assign leaders to regiments, the sub-units within each flank:
- By clicking the regiment, if it belongs to you personally (e.g. demesne levies or retinues)
- By merging two armies
- By raising troops from a vassal whose marshal is idle (e.g. the Ecumenical Patriarch or a vassalized holy order with no counties)
Regiment leaders contribute to the battle alongside flank leaders, though the exact mechanics are unclear. Perhaps more importantly, if their flank's commander is killed during battle, a regiment leader can immediately take over and avoid leaving the flank in disarray.
Green commanders can be assigned to regiments in order to gain valuable combat experience without compromising the effectiveness of the army.
Battlefield duels are personal battles between two commanders in which both participants’ stats are weighed against each other to determine the outcome, usually injury or death.
Every day, each soldier from a flank will make an attack on the enemy, causing damage based on its attack value. All damages for the flank are added together and sent to the flank that's being attacked. The defense of the receiving units is computed, and casualties are inflicted as:
TROOP_KILL_FACTOR * (damage received / unit defense). TROOP_KILL_FACTOR is defined in defines.lua as 0.015.
In addition, each soldier who dies does 3 morale damage to the survivors (MORALELOSS_FACTOR).
The survivors have morale points equal to the sum of their morale values, so if they take 60 morale damage but the survivors have 6000 morale points, morale will then be down by 1%. This means that deaths are a double penalty, both reducing the number of morale points a flank has, and reducing the number of soldiers.
Note that the calculations happen simultaneously every day for every flank involved in the battle, so all values will be calculated based on the number of troops present before anyone dies. Do note that in the Pursue phase, the fleeing flank will not make any attacks.
Combat ends once all flanks on one side are either dead or have fled. Flanks attempt to flee once their morale hits 20% or they're manually withdrawn from combat. Flight takes four days.
Prestige and piety
Each battle results in 1 prestige for every 100 losses of the losing army. A portion of this prestige goes to the characters involved:
- 50% goes to the owners of the units (divided among them)
- 25% goes to the main Commander of the centre
- 12.5% goes to each flank Commander
In addition, for every 1 prestige gained, characters will gain 1.5 piety if fighting religious enemies.
Upgrade and specialize your holdings: combat tactics will, during combat, temporarily make some units incredibly powerful and others basically useless. For example, an army doing Swarm will temporarily have quadruple horse-archer damage and no damage from archers and light cavalry. So specialization is the name of the game.
Make it all your unique retinue unit: by using retinues alone in a flank, certain combat tactics that are particularly beneficial can be more easily selected as there are just one or two unit types in the whole flank; they also will benefit from the cultural unit bonus. Nomadic horde troops also benefit from this.
Flank composition: the Rule of Two: In order to maximize combat tactics efficiency, a flank should contain no more than two of the three major skirmish units (Horse Archers, Archers, Light Cavalry), and no more than two of the three major melee units (heavy infantry, pikes, and knights).
Bait enemies into attacking fortified positions: Ideally, your army is on a mountain, and across a major river from the attacker.
Avoid attacking across rivers and into hills: you'll get a moderate combat penalty, which could make a major difference. These penalties don't matter much if you outnumber the enemy by a lot, though.
Order early retreats when losing a battle. Simply order your army to move to another province, and it will begin retreating regardless of morale.
Scout and match. Send a tiny army to determine the strengths of your opponent's flanks. Then rearrange your main army to have two "holding" flanks, evenly matched against the opponent, and one "breakthrough" flank, with extra troops and your best offensive commander.
Single column concentrated attack: Light Infantry Army such as Tribal Army, and even Nomad Horde Troops may enjoy better morale preservation if they are concentrated in a single-flank. Once a flank is routed, it will not be able to deal damages. Thus, having all the army in a single flank ensure they stay in the fight until they break while the enemy army is broken piece by piece. This can help to fight against enemy in superior number (beware of Narrow flank, though enemy is more prone to attack you directly if they're superior in number). This can be concerted with scout battle to determine enemy weaker flank. Stack your corresponding flank and defeat that flank in priority, leaving them only two flanks left. Be careful however, as the two flanks left unattacked will gain a +25% flanking bonus that will boost their damage.