Better AI: Roleplaying Education Focus

If you liked this item, please rate it up on Steam Workshop page.

Author: Dragatus

Last revision: 9 Jun, 2019 at 22:09 UTC

File size: 68.61 KB

On Steam Workshop

Description:

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.

COMPATIBILITY

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 file, 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.

HOW IT WORKS

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.

SHAMELESS SELF-PROMOTION

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[www.dropbox.com]

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. Rating it with thumbs up or down influences how many stars the mod gets, but the number of favorites is used to determine if the mod gets on the "most popular" list.

Download
Required DLC:

These DLC should be installed in order to use this item.


Crusader Kings II: Conclave