• 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.
There is another way to rise the dynasty prestige without have to add on /history titles owned for dynasty member?
There is a way to mod the "prefer matrilineal marriage" to lower the +.

Ty for any help.
 
@sdijkens:

- Put the event id inside the on_startup section in 00_on_actions.txt. The event itself should just be in a txt file in the events directory.

- Yes, that should be possible by setting the "reformed = [reformed religion]" to the same for multiple religions. You would probably have to mod the event that fires on reformation to set the parent-heresy relations and to ensure that all relevant rulers get the option to convert. You might also have to randomly change some of the other heresies' provinces to the reformed religion to prevent the reformed version from instantly becoming a heresy if one of the other heresies had more provinces (as not all provinces of the reforming religion will switch to reformed at once and I don't think that the other faiths' provinces will switch automatically).

- You set it in the history files (look at e.g. k_abyssinia).

@ewlyan:

- You can increase the amount of dynasty prestige granted from each title grant, but that would be global and I don't think there is another way to add to the dynasty prestige.

- As far as I know, there is no way to affect any of the plus/minus modifiers.
 
  • 1
  • 1
Reactions:
@sdijkens:

- Put the event id inside the on_startup section in 00_on_actions.txt. The event itself should just be in a txt file in the events directory.

- Yes, that should be possible by setting the "reformed = [reformed religion]" to the same for multiple religions. You would probably have to mod the event that fires on reformation to set the parent-heresy relations and to ensure that all relevant rulers get the option to convert. You might also have to randomly change some of the other heresies' provinces to the reformed religion to prevent the reformed version from instantly becoming a heresy if one of the other heresies had more provinces (as not all provinces of the reforming religion will switch to reformed at once and I don't think that the other faiths' provinces will switch automatically).

Ah thanks, so if i want to set the reformed = [reformed religion] to the same religion for all 4 religions, they wouldn't have to be heresies of each other but can just be from the same religious group like orthodox and catholic for example, right?

@sdijkens:
- You set it in the history files (look at e.g. k_abyssinia).

Found it thanks !
 
Ah thanks, so if i want to set the reformed = [reformed religion] to the same religion for all 4 religions, they wouldn't have to be heresies of each other but can just be from the same religious group like orthodox and catholic for example, right?

That should be the case, yes.
 
  • 1
Reactions:
Need some help with modding the defines.lua file.

Currently playing After the End and wanted to modify some values. Unfortunately, whenever I change anything, no matter what it is, the game will crash on startup. Setting the values back to their original state will not help, the mod is absolutely dead and needs reinstalling.

So, how do I fix this and get to do my little changes?
 
I just spend way too much time ctrl-f-ing through all the localisation .csv's of vanilla to find the localisation code I wanted to overwrite, is there a quicker way than ctrl f?

"Find in Files" (which is actually in-files-in-folder search)
CTRL-SHiFt-F

Assuming you use Notepad++: https://notepad-plus-plus.org/
 
  • 1
  • 1
Reactions:
can I have two entries in the same history file with the same date, or will that bug the file?

I mean, for example,

Code:
100.1.1 ={
  #do some stuff
}
100.1.1 ={
  #do more stuff
}
It should still work but why would you not just put them both under the same entry?
 
Holy sheet! That function exists?! You're a hero haha

The folks that made this li'l proggie are. :)
It's a great little help and i'd say a standard tool for CK2 modders, just like probably Winmerge is.
 
  • 1
Reactions:
It should still work but why would you not just put them both under the same entry?
I'm planning on automating part of my history modding in a way that is re-doable (e.g. edit a bookmark so that a given title gets, say tanistry, and later change that in the program to open elective, without having to mess with the history files), and it is much easier to do that by adding a new entry than to modify an existen entry. At least until I get more confident in my programming skills.
 
The following code is designed to make a landless holder of the title k_rum, created with code based on the mongol arrival event, invade the kingdom of Anatolia. However, the leader simply spawns, receives his title, and then does nothing when I test it. Does anyone know what is wrong with this code:

Code:
new_character = {

***some irrelevant stuff like granting prestige, piety etc**
e_byzantium = {
                    holder_scope = {
                    k_anatolia = {
                        k_rum = {
                            holder_scope = {
                                war = {
                                    casus_belli = invasion
                                    target = PREVPREVPREV # The top liege of the owner of the province
                                    thirdparty_title = PREVPREV # The de jure kingdom
                                }
                            }
                        }
                    }
                    }
                    }
}
 
Does on_new_holder also trigger when a new title is created? I.e. does it overlap with on_create_title? I want to make sure any title held by someone of a specific religion always has a certain law.