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

RedRooster81

Modding Paladin
34 Badges
Feb 16, 2010
5.673
29
  • Crusader Kings II
  • Rome Gold
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Cities in Motion
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Conclave
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Golden Century
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
Two big questions:

(1) I'm trying to simulate the Investiture Controversy and began playing around with <autocephaly = yes> under the Catholic religion. Investiture is of course overridden, which isn't too much of a problem, for the purposes of my testing. But only some of the Catholic kingdoms got autocephalant (is that the right term in English?) religious heads. Most remained under Rome, and I'm not sure what the variables are. The HRE has his own religious head, and Bohemia follows the emperor's, but most of the HRE does not. I thought that having free investiture law was the variable, but France and Castille do for example and they still follow Rome.

Of the Iberian kingdoms, only Galicia has its own head of religion. So weird. I'll try turning off investiture and see if that clears it up. :)

My goal here is a more complicated competition between the Pope and the larger kingdoms over investiture. AI Dukes will tend towards papal investiture, and I imagine there could be a faction for this (papal vs. imperial faction). If the matter comes to an ugly head, there could be three outcomes: (a) papal supremacy; (b) imperial/royal supremacy; or (c) compromise--e.g., the Concordat of Worms option. In the aftermath, some kingdoms, duchies, and counties could put themselves under papal suzerainity, and to mess with them further would be at one's own peril. That was the outcome for pretty much all of Italy (north and south), as well as England and the Iberian kingdoms in the twelfth century.

(2) Limiting the forces available to high-tier rulers. In 1066, France has a manpower (in EU-terms) of about 36k. If you've been on the receiving end of a French war to press a claim, you know what I mean. ;) The HRE even more, collecting men from all over Saxony, High Germany, Italy, and Burgundy for his wars.

Historically, the HRE had access to a lot of manpower from his own demesne lands and those from his direct vassals in his own major-title kingdom. Other vassals can show their support, but they should not be expected to. Same goes for France or any other large kingdom.

I'd suggest doing this through crown laws. But: What role should retinues have? In the case of England in the time of the Angevins, mercenaries became increasingly in vogue for the wars in France, Ireland, and Scotland, instead of levies. How would you adjust crown and demesne laws to allow for smaller levies but add to the size of the retinues available to the monarch? Can you do something like <-60% castle levies> and <+100% retinues>?
 

zeress

Retired CK2+ Dev
67 Badges
Mar 4, 2012
2.359
650
  • PDXCon 2017 Awards Winner
ATM I have an event that fires for a specific character like so:
Code:
character_event = { id = 1000182067 days = 730 }

How would I adapt this to instead fire for the owner of a specific province, since this would cause problems if the character in question died before the event fired.
 

Dhop84

Major
4 Badges
Dec 28, 2012
790
0
  • Crusader Kings II
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
With the
if = {
limit = { religion = ??? }
add_trait = ???
Ive seen used as an effect in an option for a event . Can you change the add trait to a code for an narrative event ? So i could have if catholic they will get x narrative event then if orthodox you get xx narrative event and so on ?
 

Nivve

General
14 Badges
May 7, 2011
1.773
1
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Magicka
  • Naval War: Arctic Circle
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
With the
if = {
limit = { religion = ??? }
add_trait = ???
Ive seen used as an effect in an option for a event . Can you change the add trait to a code for an narrative event ? So i could have if catholic they will get x narrative event then if orthodox you get xx narrative event and so on ?

I don't see why not
Code:
IF = {
      limit = {
              ROOT = {
                         religion = orthodox
              }
      }
      ROOT = { narrative_event = { id = xxx } }
}
IF = {
      limit = {
              ROOT = {
                         religion = catholic
              }
      }
      ROOT = { narrative_event = { id = xxx2 } }
}
 

Dhop84

Major
4 Badges
Dec 28, 2012
790
0
  • Crusader Kings II
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
I don't see why not
Code:
IF = {
      limit = {
              ROOT = {
                         religion = orthodox
              }
      }
      ROOT = { narrative_event = { id = xxx } }
}
IF = {
      limit = {
              ROOT = {
                         religion = catholic
              }
      }
      ROOT = { narrative_event = { id = xxx2 } }
}
Thanks pal . I must say you do your utmost to answer any questions on here and i for one am really grateful thanks Nivve
 

Septemvile

Sergeant
16 Badges
Dec 31, 2012
83
4
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • March of the Eagles
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
  • Europa Universalis IV: Pre-order
This is kind of babby's first mod sort of question. But should you always delete the savegame and start a new file whenever a mod is updated? It seems counter-intuitive when you're only adding like one decision.
 

Carbon

The Tiger
66 Badges
Apr 7, 2007
1.060
16
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • 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
  • Europa Universalis III
  • Europa Universalis IV
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
Anyone know how to make it so that your most powerful vassals get a certain trait?
 

Nivve

General
14 Badges
May 7, 2011
1.773
1
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Magicka
  • Naval War: Arctic Circle
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
This is kind of babby's first mod sort of question. But should you always delete the savegame and start a new file whenever a mod is updated? It seems counter-intuitive when you're only adding like one decision.

Nope. It would be a b**** to debug if this wasn't the case.
Especially events/decisions, they are almost never gamebreaking (except when they trigger for a removed empire or something similar).

Added traits, changed map, changed titles etc. are the more gamebreaking changes. But definitely not every change is save game incompatible.

Anyone know how to make it so that your most powerful vassals get a certain trait?

You can select on actual size, but I am not sure whether you can select on relative size. Relative commands are not the strong point of CK2.
Try to work with conditions like 'num_of_count_titles', or even better 'num_of_settlements'. These kind of conditions can select the somewhat better placed characters in the realm.
 

unmerged(7340)

Corporal
Jan 17, 2002
27
0
Visit site
Just formed my Francian Empire and want to delegate to Kings. Andalusia is a problem because I'm not an Arab and don't want to mess about with my culture. I've seen here that you need to edit landed_titles in the common folder to remove the allow = {culture_group = arabic }. Done that, launched the CKII game and started a new game. No joy; there's still a requirement for Arabic culture group. Any ideas?

That's probably tangential to the main point though, as I really need it to work with my current save. Had a look in there but there's nothing obvious that I could see that would limit me to Arabic. Is there something hidden in the numbers, or will it all come together if I can get the landed_titles working?
 
Last edited:

Darkgamma

Ma Xamewš Xewaham Kered Fer
30 Badges
Apr 6, 2010
5.972
151
  • Crusader Kings II: Sunset Invasion
  • Sengoku
  • Europa Universalis IV
  • 500k Club
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
Just formed my Francian Empire and want to delegate to Kings. Andalusia is a problem because I'm not an Arab and don't want to play with my culture. I've seen here that you need to edit landed_titles in the common folder to remove the allow = {culture_group = arabic }. Done that, launched the CKII game and started a new game. No joy; there's still a requirement for Arabic culture group. Any ideas?

That's probably tangential to the main point though, as I really need it to work with my current save. Had a look in there but there's nothing obvious that I could see that would limit me to Arabic. Is there something hidden in the numbers, or will it all come together if I can get the landed_titles working?

Did you save the file :rolleyes:
 

Carbon

The Tiger
66 Badges
Apr 7, 2007
1.060
16
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Pre-order
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Victoria 3 Sign Up
  • Europa Universalis IV: Art of War
  • 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
  • Europa Universalis III
  • Europa Universalis IV
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
You can select on actual size, but I am not sure whether you can select on relative size. Relative commands are not the strong point of CK2.
Try to work with conditions like 'num_of_count_titles', or even better 'num_of_settlements'. These kind of conditions can select the somewhat better placed characters in the realm.

I'll try that.
What I did try was

Code said:
num_of_king_titles = 1
OR = { num_of_extra_landed_titles = 4 }

But for whatever reason, this crashed my game during the set-up loading screen. What does "num_extra_landed_titles" even do? I assumed it was a condition for the number of titles excluding the primary, but I don't know for certain.

Will try to play around with the "num_of_settlements" condition (baronies?).
 

Nivve

General
14 Badges
May 7, 2011
1.773
1
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Heir to the Throne
  • Magicka
  • Naval War: Arctic Circle
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
I'll try that.
What I did try was

But for whatever reason, this crashed my game during the set-up loading screen. What does "num_extra_landed_titles" even do? I assumed it was a condition for the number of titles excluding the primary, but I don't know for certain.

Will try to play around with the "num_of_settlements" condition (baronies?).

I have never used the command of the extra titles, you would indeed expect it to work like that. It can simply work in a different way, so you have to write it down differently.
The num of settlements is afaik the total number of settlements (baronies, cities and temples) in the demesne. However again I am not sure as I have not used them. You should try to locate them in the vanilla files (open the files and look for the command), so you know for sure you're using the correct way to code it.
Here are all the conditions you could use, in case you haven't got the link already.
 

Viden

Kurt's Best AAR Reader
93 Badges
Jun 25, 2006
8.747
75
  • Rome: Vae Victis
  • Iron Cross
  • Knights of Pen and Paper +1 Edition
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis III Complete
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Nemesis
  • 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
  • Arsenal of Democracy
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • 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
Do you know how can I make Spanish titles dinamic? I want to play as Cordoba and my holdings use their Arabian names (at least while I remain in a North African culture or Andalusian), but I don not know how can I make that.
 

BuzzR34

Corporal
57 Badges
Sep 2, 2013
26
26
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Mare Nostrum
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Europa Universalis IV: Art of War
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Cities: Skylines - Parklife
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Imperator: Rome Deluxe Edition
  • Stellaris: Distant Stars
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Europa Universalis IV
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings III
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
Hello,

I am new with the modding part :huh: of the game, so i could use some help from you guys.
I am trying to understand this syntax from landed_titles.txt:

Code:
k_hungary = {
color={ 187 70 70 }
color2={ 255 255 255 }

capital = 444 # Esztergom

avar = Avar

allow = {
OR = {
culture_group = magyar
culture = avar
AND = {
FROM = { # FROM = this title
any_previous_holder = {
always = yes # The title has existed before
}
}
any_realm_province = {
culture_group = magyar
}
}

}
}

Does this code "say" :
allow if culture = hungarian or culture = avar , AND all provinces in the kingdom have culture = hungarian starting with the last holder ?!?!
If i am of any other culture or there is a province with different culture , i will not be able to have the kingdom ?

Thank you.