Crusader Kings II

Crusader Kings II

562 ratings
Better AI: Roleplaying Education Focus
File Size
0.067 MB
Jun 4, 2019 @ 10:19am
Jun 9, 2019 @ 3:09pm
3 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Better AI: Roleplaying Education Focus

In 1 collection by Dragatus
Fixes & Missing Features
6 items
While the AI in CK2 is not intended to play optimally, it is intended to roleplay. Unfortunately when it comes to picking an education focus for children it does neither and most of the time just makes a random choice. This mod aims to fix that by making the AI pick a childhood and education focus for a child only if certain conditions are met.


The mod changes the checksum of the game and as a result it will prevent you from getting achievements.

It changes only these two files:
1) Crusader Kings II/common/objectives/00_zeus_childhood_focuses.txt
2) Crusader Kings II/common/objectives/00_zeus_education_focuses.txt

As a result it should be compatible with the vast majority of other mods, with the exception of those that also change these two files.

Overhaul mods such as HIP, CK2+, and AGOT all change these two files, so they probably aren't compatible. However, they all already add additional weights to the childhood focus selection, so you don't really need this mod for them.


The AI will chose childhood focus for children mostly based on RP and the education focus will then be chosen based primarily on the traits the child has developed with a fallback option based on government type.

Childhood foci:
1) Pride: used for rulers, heirs, and close family members of rulers. A child ruler or the heir will almost always get this. Used less often for girls in agnatic realms and boys in enatic realms.
2) Humility: used for lowborn children and bastards.
3) Etiquette: used for children of a noble dynasty in feudal, republican, and theocratic courts. In agnatic realms it's used more often for girls and less often for boys. In enatic realms this gets reversed.
4) Duty: can be used for any child in a feudal or republican realm.
5) Thrift: used for children in republican realms and in realms ruled by a scholarly liege (Erudite or Scholar trait)
6) Struggle: used for nomads, tribals, bastards, and lowborns
7) Faith: used on infidel children or if liege is theocratic
8) Heritage: used to educate children who have either different culture or different religion than their liege

When you put all that together a typical feudal ruler will give his heir the Pride focus. Other sons will have an even chance to get Duty or Pride, while daughters will most commonly get Etiquette. Children of courtiers will tend to get Duty (if male) or Etiquette (if female) and lowborn children will have an even chance to get Duty, Humility, or Struggle.

Once the child turns 12 the AI will pick an education focus that gets a bonus from whatever traits the child developed. Each positive trait increases the chance an education will be selected, each negative trait decreases it, and the child must have at least one positive trait in order to be able to get a given education focus.

For example, if a child has Brooding (good for Stewardship), Willful (good for Martial), and Rowdy (good for Martial) the AI could give it either Stewardship or Martial education, but Martial education would be much more likely because it has two associated traits (will be chosen about 91% of the time).

Additionally each government type has a fallback default education in case the child doesn't have any traits, but normally the fallback should be chosen less than 10% of the time. Martial education is the fallback for feudal, tribal, and nomadic type governments, Stewardship education is the fallback for republican type governments, and Learning education is the fallback for theocratic type governments.


If you like this mod, you might also be interested in Better AI: Roleplaying Character Focus, a mod that strengthens RP logic in the AI's selection of character focuses (Way of Life DLC). A combined manual download for both mods can be found here[]

I also made several other mods.

Finally, I'd be grateful if you could rate the mod with either thumbs up or thumbs down. The button for it is up just below the mod cover image. If you rate the mod wit a thumbs up, please consider also marking it as a favorite.
< >
Dragatus  [author] Dec 18, 2021 @ 11:14pm 
This mod requires Conclave.
Riekopo Dec 18, 2021 @ 10:56pm 
Does Way of Life or Conclave have to be enabled for this mod to work?
Dragatus  [author] Dec 18, 2021 @ 10:39pm 
I don't think so. It should work with the last patch.
Riekopo Dec 18, 2021 @ 7:13pm 
Does need update?
Dragatus  [author] Jun 26, 2020 @ 10:05pm 
I haven't played CK2 in a while, but I see no reason why it wouldn't work. So I'm 99,9% sure it still works.
Scoops Jun 26, 2020 @ 8:02am 
Does this mod still work?
c39687 Mar 2, 2020 @ 12:06pm 
gonna try, thank god, sick of the stupid ai that sometimes get control of my kids when my wife is a ruler or something that pick the worst education for my kids. Hopefully this fixes their stupidity.
Dragatus  [author] Sep 17, 2019 @ 11:05pm 
No worries. I enjoy getting comments on my mods. :)
Nagisa Fawkes Sep 17, 2019 @ 6:38pm 
Oh, wow, I completely misunderstood what the mod was about. For some weird reason, I thought an "AI" would select the focuses for you. I'm sorry about the confusion.
Dragatus  [author] Sep 17, 2019 @ 5:52pm 
Well, if it's your daughter you should pick her focus. The mod only affects the children of AI rulers. The education of children in your court is still up to you.