• 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.
Quick question, how do I write in history files that a title is independent?
Its history file show that it had a liege earlier in history, is it possible to do a new liege= but this time it's independence? Or do I have to delete its earlier historic liege?

"liege = 0" makes a title independent again.
 
Is it possible to mod a targetted decision that lets the user select two characters, like the marriage interaction?
I dont believe so, however you can have a third party targeted descion to do something similar. So raither than selecting two people you target the first with the descion and select the second and scope between them in the effect.
 
Do you know if there is any way to check if a title is named after a dynasty?

Titles named after dynasties is set by culture - if your character is of that culture then the title will use the dynasty name. The classic example is Bedouin (bedouin_arabic), but there are many others in the game.

Check the /common/cultures/00_cultures.txt file, cultures that use dynasty named titles have the entry dynasty_title_names = yes
 
Is it important to have de jure lands under a title in the "landed_titles" document?
I won't mess anything up if I try to have e_italy as a standalone or special title for example? (By that I mean, just put it at the very end of the document, while its supposed to work as de jure liege to k_italy)

Also: Is it possible to try and use as little documents over and over again without problems? (Ok, that question didn't do.)
Example: Can I recreate a character in my own created document with the very same character code? or do I have to use a whole new code?
This example kind of means toward every file possible. Like, can I create my own "landed_titles" (with its own name) and put my new titles in there without problems? (New and vanilla like e_italy)
(Last time I did, I messed up the COA to everyone)
 
Is it important to have de jure lands under a title in the "landed_titles" document?
I won't mess anything up if I try to have e_italy as a standalone or special title for example? (By that I mean, just put it at the very end of the document, while its supposed to work as de jure liege to k_italy)

Also: Is it possible to try and use as little documents over and over again without problems? (Ok, that question didn't do.)
Example: Can I recreate a character in my own created document with the very same character code? or do I have to use a whole new code?
This example kind of means toward every file possible. Like, can I create my own "landed_titles" (with its own name) and put my new titles in there without problems? (New and vanilla like e_italy)
(Last time I did, I messed up the COA to everyone)

If a title is supposed to be the de jure liege of another title, you need to put the vassal title inside the other title unless you intend to handle that in the history files. It should also be noted that the AI might get less sane about its wars if something doesn't have a de jure liege, since it seems to somewhat focus on consolidating that.

Unless you override the relevant character history file (or the whole character history directory, which needs to be done explicitly with replace_path in the .mod file), you cannot reuse an id, and you cannot have two titles with the same tag either (unless you just have it as a scope and put some extra de jure vassals in it). You can, however, create a second file in the landed_titles directory (and most other places) that can contain entirely new titles (e.g. a titular e_western_roman_empire).
 
If a title is supposed to be the de jure liege of another title, you need to put the vassal title inside the other title unless you intend to handle that in the history files. It should also be noted that the AI might get less sane about its wars if something doesn't have a de jure liege, since it seems to somewhat focus on consolidating that.

Unless you override the relevant character history file (or the whole character history directory, which needs to be done explicitly with replace_path in the .mod file), you cannot reuse an id, and you cannot have two titles with the same tag either (unless you just have it as a scope and put some extra de jure vassals in it). You can, however, create a second file in the landed_titles directory (and most other places) that can contain entirely new titles (e.g. a titular e_western_roman_empire).
Thanks! Sadly that means there will have to be more files than necessary :( I like having my files easy and compact if possible.
 
If you have the titles in the proper structure when they are initially defined, files loaded after them and reference the titles directly without breaking anything.
For instance, if landed_titles.txt has:
Code:
e_italia = {
   k_italy = {}
}
then my_title_edits.txt can have
Code:
k_italy = {
   title = "CAPTAIN"
}
without it messing anything up
 
Is there a way to add the bloodthirsty mechanics to a custom religion? Most of the religion features can be added to the religion when you are defining it, but I can't see anything related to sacrifices. Is adding a custom decision like the aztec/generic religion the only way?

EDIT: Maybe it'd be easier to ask whether it is possible to add religion features to a custom religion in order to trigger has_religion_feature =xxxx true

Thanks!
 
Last edited:
Why do most of the province files in history not have terrains? Where does the information come from, now that 00_province_setup's been retired?

Magic ! Literal, absolute magic !

Seriously though, the game engine looks at the primary color terrain map that you upload and assigns a terrain value based on the proportions of each color that it finds. For example, if the province is predominantly brown then it is assigned to be Mountains, if dark blue then it is ocean etc. If you want to override this automatic assignment then you can either add the entry in the province file OR you can go to the terrain bitmap and tweak teh color proportions.

Like I said - magic !
 
Is there a way to add the bloodthirsty mechanics to a custom religion? Most of the religion features can be added to the religion when you are defining it, but I can't see anything related to sacrifices. Is adding a custom decision like the aztec/generic religion the only way?

EDIT: Maybe it'd be easier to ask whether it is possible to add religion features to a custom religion in order to trigger has_religion_feature =xxxx true

Thanks!

You can't add religion features to religions. Instead, you need to modify the events or decisions to allow your religion or bloodthirsty gods
 
I wonder:
Is it possible to create an event like in EUIV on areas that you click on and poof - you get all the titles inside a kingdom/empire? Which could also "delete" the previous history?
Would have been very handy to use this instead of going into every title/province again updating when the new bookmark i released for example. (This would also only be useful on the earliest start date, which is where my project is.)
 
I have a question for timers. I tried to use a variable as the timer's duration, but it didn't work. My fault, or is that feature not supported?

Example: This works:
Code:
add_province_modifier = {
    name = the_demons_are_coming
    duration = 2190
    hidden = yes
}

... but this not:
add_province_modifier = {
name = the_demons_are_coming
duration = demons_timer_variable
hidden = yes
}
 
Is there a guide on how to add new dynasties with unique coats of arms ?

Here are the guides I know of, but they kind of suck.
https://ck2.paradoxwikis.com/Coats_of_arms_modding
https://ck2.paradoxwikis.com/Dynasty_modding

I could tell you how to make it from scratch, and even make code for you that you would just need to fill in a few blank spots if you tell what it is you're adding in exactly. What kind of CoA are you adding in? Christain, Muslim, Pagan, etc. and whether it's a design from the CoA editor you want to add in, or a totally new picture.