• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Mukaparska

Major
50 Badges
Mar 11, 2012
533
384
  • Crusader Kings II
  • Arsenal of Democracy
  • Darkest Hour
  • Iron Cross
  • Europa Universalis IV: Common Sense
  • Europa Universalis 4: Emperor
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
  • Crusader Kings II: Holy Fury
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • 500k Club
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Europa Universalis IV
  • 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
  • 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
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Cities: Skylines - After Dark
  • Cities: Skylines
I have played CK2 around a decade now, and I keep finding out new things. I like to roleplay, so I always hand out titles to the characters already in existence. Creating new vassals with generic names like "Gustav of Nystad" really feels out of place, as if they came out of nowhere.

One ting that I recently found out, is that the AI does exactly that. It also fills the game with generic characters with no history.

How would one create a mod, that forces AI to rather hand out baronies to courtiers, rather than creating new vassals?
 
You can create hidden events and/or title decisions that would have AI hand them out to suitable courtiers, but AI might not always use those before the hardcoded title granting code kicks in. Best way might be to fire an event on_new_holder(_inheritance/usurpation) that sees the AI instantly give it away if over demesne, although you'd want to check if they shouldn't perhaps keep that new title and give away another holding.
 
  • 1
  • 1
Reactions:
You can create hidden events and/or title decisions that would have AI hand them out to suitable courtiers, but AI might not always use those before the hardcoded title granting code kicks in. Best way might be to fire an event on_new_holder(_inheritance/usurpation) that sees the AI instantly give it away if over demesne, although you'd want to check if they shouldn't perhaps keep that new title and give away another holding.
So is it really hardcoded? But thanks for the info. I doubt my modding skills are sufficient.
 
I have played CK2 around a decade now, and I keep finding out new things. I like to roleplay, so I always hand out titles to the characters already in existence. Creating new vassals with generic names like "Gustav of Nystad" really feels out of place, as if they came out of nowhere.

One ting that I recently found out, is that the AI does exactly that. It also fills the game with generic characters with no history.

How would one create a mod, that forces AI to rather hand out baronies to courtiers, rather than creating new vassals?
I am talking out of my rear end here. But creating a new vassal like you described is done through a targetted decision(Create new vassal? or something like that). You can just make it so the AI is not able to do it.
There is also another decision on the intrigue panel that allows for the creations of new characters with no history(Present debutane, invite monk or whatever they are called). Not sure if the AI even uses those but you can block their use by the AI.
I don't think creating new characters is an hardcoded behaviour is my point.

The game has other measures to reduce the amount of characters that are not holding titles. It trims extra people on courts, Normally landless characters don't marry, Pretty sure their fertility is lower than that of rulers too. It does this to make the game run faster. ALso there are no cadet branches in vanilla ck2. That means you would have thousands of people of the same family late game lol. So creating new characters is the work around the game devs invented.
 
Last edited: