Crusader Kings Developer Diary 22 – Combat Tactics

Crusader Kings Developer Diary 22 – Combat Tactics

  • We will be taking the forums down for scheduled maintenance on 12 August 2020 at approximately 3PM CDT (8PM UTC / 10PM CEST), this downtime is currently estimated to last around 1 hour.
  • Pre order now!

    Paradox Development Studio brings you the sequel to one of the most popular strategy games ever made! Crusader Kings III is soon upon us and you can pre order it today!


    Releasing September 1st 2020

King

Part Time Game Designer
11 Badges
Dec 7, 2001
12.504
24
45
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis: Rome
  • Sengoku
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
One of the things we looked to do in CK2 is make the traits and abilities of the commanders become as important as possible. To this end we removed dice rolls and replaced them with combat tactics. Combat tactics affect the power of the unit types in either attack or defence. Before you ask, yes, they are fully modable.

Crusader_kings2_developerdiary_111215_01.png

The random factor in combat is all in the selection of the tactics. The combat tactics use the same scripting logic as events. You first have the trigger block that determines when a tactic is selected. One use we put for this feature is to restrict certain tactics until combat has run a certain amount of time (the transition from skirmish to melee phase is one example of this)

The real magic is in the next part; the “mean time to happen”. This is the weight that each valid tactic gets. The game will then roll a dice to select the tactic. Here we can do neat things like weight the tactic selection looking at the flank force composition and also my military ability and traits of the commander. This gives us structured randomness; yes, sometimes your amazing general will not pick the right tactic, but more often than not he will.

The other nice thing is that instead of rolling a dice roll you get a name. So instead of Robert the Bruce rolling a 9, Robert the Bruce unleashes an awesome charge sweeping the English off the battlefield. I don’t know but the second just sounds so much better.

Anyway, there is a brief rundown on combat tactics. I just leave you with one last lesson, check to see if your bastard offspring are not imbeciles before legitimising them, otherwise you need to have a handy bishopric empty.

Crusader_kings2_developerdiary_111215_02.png
 

tajerio

Captain
53 Badges
Feb 3, 2011
328
38
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Pillars of Eternity
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars II
  • Sword of the Stars
  • Rome Gold
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis IV: Art of War
  • Europa Universalis III
  • Europa Universalis III Complete
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
Excellent stuff. Do advances in military technology have any influence on the number of available tactics or the likelihood that certain tactics will be selected?
 

King

Part Time Game Designer
11 Badges
Dec 7, 2001
12.504
24
45
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis: Rome
  • Sengoku
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
Excellent stuff. Do advances in military technology have any influence on the number of available tactics or the likelihood that certain tactics will be selected?
Not directly but technology advances allow upgrade buildings that then modifiy the troop mix raised from certain provinces.
 

unmerged(193360)

Captain
8 Badges
Jan 30, 2010
371
1
  • Crusader Kings II
  • Europa Universalis III
  • Hearts of Iron III
  • Rome Gold
  • Sengoku
  • Victoria 2: Heart of Darkness
  • Pillars of Eternity
Isn't this actually Dev Diary #22? #21 was user modding.
 

Kluska

Captain
39 Badges
Jun 15, 2011
434
0
  • Cities in Motion
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Rome Gold
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Deus Vult
  • Crusader Kings II
  • Europa Universalis III
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Imperator: Rome Sign Up
  • Prison Architect
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
I have a question, will defenders still recieve a bonus from being stationary when attacked and/or pentalties when on the march and then attacked?

Anyway, it is looking so freaking awesome! I so need this game now, it is no longer a want. :p

Say, King, I will trade you: three marbles, a rusted penny and a used toothpick to have this game right now? :D

:p
 

King

Part Time Game Designer
11 Badges
Dec 7, 2001
12.504
24
45
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis: Rome
  • Sengoku
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
I have a question, will defenders still recieve a bonus from being stationary when attacked and/or pentalties when on the march and then attacked?

Anyway, it is looking so freaking awesome! I so need this game now, it is no longer a want. :p

Say, King, I will trade you: three marbles, a rusted penny and a used toothpick to have this game right now? :D

:p
There are terrain bonuses as well.
 

Kluska

Captain
39 Badges
Jun 15, 2011
434
0
  • Cities in Motion
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Rome Gold
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Conquest of Paradise
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Deus Vult
  • Crusader Kings II
  • Europa Universalis III
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Imperator: Rome Sign Up
  • Prison Architect
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
Ahh, coolio. :)

One more question just popped into my head!

Can any particular flank attack prematurely of the others? As in, can your left flank not partake in the Skirmish phase and directly charge the enemy while your center and right flank remain in the Skirmish phase?

Or would that be too convoluted and unnecessary?
 

Romtos

Field Marshal
76 Badges
Nov 1, 2008
2.608
0
  • Majesty 2
  • Europa Universalis IV: Conquest of Paradise
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Iron Cross
  • Magicka
  • Cities in Motion
  • Majesty 2 Collection
  • Rome Gold
  • Semper Fi
  • Sword of the Stars
  • Supreme Ruler 2020
  • Victoria 2: A House Divided
  • 500k Club
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Deus Vult
  • Darkest Hour
  • Crusader Kings II
  • Arsenal of Democracy
  • Crusader Kings II: Legacy of Rome
  • Cities: Skylines - Campus
  • Crusader Kings II: Charlemagne
  • Victoria 2
  • Cities in Motion 2
  • War of the Roses
  • 200k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Europa Universalis III Complete
  • Crusader Kings II: Sword of Islam
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
I like this. :) Nice last minute surprise.
Much more flavourful.

Can terrain also be used as a trigger?
(I'm thinking mountain passes for ambushes or whatever).
 

King

Part Time Game Designer
11 Badges
Dec 7, 2001
12.504
24
45
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis: Rome
  • Sengoku
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
Ahh, coolio. :)

One more question just popped into my head!

Can any particular flank attack prematurely of the others? As in, can your left flank not partake in the Skirmish phase and directly charge the enemy while your center and right flank remain in the Skirmish phase?

Or would that be too convoluted and unnecessary?
All flanks open in the skirmish phase. Then a minimum ammount of time must pass before the flank can move into melee phase. The choice of when to do this is upto the commander of the flank and each flank does so sperately.
 

King

Part Time Game Designer
11 Badges
Dec 7, 2001
12.504
24
45
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis: Rome
  • Sengoku
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
I like this. :) Nice last minute surprise.
Much more flavourful.

Can terrain also be used as a trigger?
(I'm thinking mountain passes for ambushes or whatever).
No

Edit: Although by the end of the day you should be able to do so.
 

Prinz Wilhelm

Field Marshal
31 Badges
Jul 12, 2006
4.046
86
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV: La Resistance
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings Complete
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Arsenal of Democracy
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines
  • 500k Club
  • Victoria 2: A House Divided
  • Victoria 2
  • Magicka
  • For The Glory
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
What are the reasons for putting Lappland in the game? Don't get me wrong, that province in the game is where I live in real life, I just have trouble imagening feudal warfare in northern Sweden when it was barely populated.
 

King

Part Time Game Designer
11 Badges
Dec 7, 2001
12.504
24
45
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis: Rome
  • Sengoku
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
What are the reasons for putting Lappland in the game? Don't get me wrong, that province in the game is where I live in real life, I just have trouble imagening feudal warfare in northern Sweden when it was barely populated.
We don't need a reason. We add stuff in purely because we can, becasue we want too, because it is cool, because it's there. No every single decision is taken in reference to some master plan.
 

Negru Voda

Euro-centric Diplomat
88 Badges
Nov 27, 2006
677
20
  • Magicka 2
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Majesty 2 Collection
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Imperator: Rome - Magna Graecia
  • Europa Universalis III
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
So, do traits also affect the MTTH? (At least can we mod it in?)

For example, the coward trait may increase the chase of defensive tactics being chosen by the commander. Brave, or Reckless may have the opposite.

Any stuff like that?
 

King

Part Time Game Designer
11 Badges
Dec 7, 2001
12.504
24
45
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis: Rome
  • Sengoku
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
So, do traits also affect the MTTH? (At least can we mod it in?)

For example, the coward trait may increase the chase of defensive tactics being chosen by the commander. Brave, or Reckless may have the opposite.

Any stuff like that?
Yes there is stuff like that. A misguided warrior is less likely to select a good tactic.
 

Communazi

Pro-Abortion Gay Witch
9 Badges
Nov 10, 2005
1.059
142
  • Crusader Kings II
  • Darkest Hour
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Supreme Ruler 2020
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • 500k Club
why hello there extra map modes :D
 

Prinz Wilhelm

Field Marshal
31 Badges
Jul 12, 2006
4.046
86
  • Crusader Kings II: Way of Life
  • Hearts of Iron IV: La Resistance
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Cities: Skylines - Parklife
  • Cities: Skylines - Parklife Pre-Order
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings Complete
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Conclave
  • Arsenal of Democracy
  • Crusader Kings II: Holy Knight (pre-order)
  • Cities: Skylines
  • 500k Club
  • Victoria 2: A House Divided
  • Victoria 2
  • Magicka
  • For The Glory
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Crusader Kings II
We don't need a reason. We add stuff in purely because we can, becasue we want too, because it is cool, because it's there. No every single decision is taken in reference to some master plan.
Fair enough.
 

Negru Voda

Euro-centric Diplomat
88 Badges
Nov 27, 2006
677
20
  • Magicka 2
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Majesty 2 Collection
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Imperator: Rome - Magna Graecia
  • Europa Universalis III
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
Yes there is stuff like that. A misguided warrior is less likely to select a good tactic.
And I assume we can add more tactics, with whatever effects we want, right?

Thanks for the answer.
 

King

Part Time Game Designer
11 Badges
Dec 7, 2001
12.504
24
45
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis: Rome
  • Sengoku
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
And I assume we can add more tactics, with whatever effects we want, right?

Thanks for the answer.
Yeh they are all in plain text files so you can add and edit them to your hearts content. It is one of those open features that you could always add more too and as such we have to make a choice at what point to say this is done and now we only limit ourselves to fixes and tweaks.