• 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.

Fadler

Corporal
3 Badges
Oct 28, 2018
34
2
  • Crusader Kings II
  • Europa Universalis IV
  • Imperator: Rome
So I made decision to create a new duchy and everything works fine but one thing. The duchy doesn't have de jure capital. Here's the decision I made
create_title = {
tier = DUKE
landless = no
temporary = no
custom_created = yes
holder = FROM
culture = ROOT
base_title = THIS
capital = THIS
}
 
Wouldn't you need to have the title existing in the landed titles folder anyways, even if its dynamically created? then you could define a capital easily...?
 
Wouldn't you need to have the title existing in the landed titles folder anyways, even if its dynamically created? then you could define a capital easily...?
You're right but it's better to create duchy in game instead of doing everything in game files. So that's why I asked because I can't solve it.
 
You can use 'set_preferred_capital', which sets a de jure capital. I've fully documented its functionality on the wiki.
 
Agree with @Whizzer,
however lacking of supports of relative scopes(FROM...) made it a bit useless. You'll need extra IFs clause to scope a target capital, if you don't want it static like coded in land_titles.txt
Alternatively, you can set capital right on create_title with base_title attribute( with a province id or scopes). It support relative scopes and even event_target.
 
Last edited:
I did some more testing and it seems I made a mistake last time around. 'set_preferred_capital' does in fact support relative scopes (ROOT, FROM, PREV, etc.) as well as saved event targets.