I mod some new Empires, but it is not possible for the rulers of the empires to declare a de Jure war. What didn`t I do?
Most, if not all, of what you want is not possible. Interface modding is *very* limited.to be a little more clear about what I'd like to know....
View attachment 173909 View attachment 173910 View attachment 173911 View attachment 173912
It's a hard-coded diplomatic action. There are some values you can edit in defines.lua. To do anything other than those adjustments, you would have to disable that action completely, and write your own replacement decision.Does anyone know where the "Demand (religious) conversions" is located? I can't find it in decisions folder.
I don't think there is anything at all, the best you can do is a 0 mtth event to change their culture or for better performance do a yearly pulse event@Divine Is there any resource about the specifics of character generation (especially courtiers)? I'd like to influence their culture (and from what I understand their usually end up with their liege's, which I don't want)
It's a hard-coded diplomatic action. There are some values you can edit in defines.lua. To do anything other than those adjustments, you would have to disable that action completely, and write your own replacement decision.
Thank you for clarifying that for me jursamaj. I'll try a few tweaks and see what I can get away with then.Most, if not all, of what you want is not possible. Interface modding is *very* limited.
The overall interface is determined by religion, except republics have their own. This is hard-coded.
You can move elements around the screen or change their appearance.
You can remove elements.
You can add simple fixed text.
I believe you can add a copy of an existing element (tabs, buttons, graphics, etc.), possibly with a different appearance, but it will do the same thing. So you could add another focus button, but it would do exactly what the normal focus button does. The 'name=*' entries determine what an element will do, and the names available in each window are hard-coded.
limit = {
NOT = {
any_dynasty_member = {
count = 2
is_female = no
}
}
}
Yes, but the .mod file must specify ck2+ as a dependence (see the Wiki for details)I'm working on some minor modifications as a submod to CK2+. If I want to change some particular events and decisions (not just add new ones), how should I go about doing this? Is just defining the event again in a submod fine?
I can't find a command, but if there is no other way, I imagine that you could construct an event which would do this...It it possible to make a holding become a holy site via event? If so, how?
You can't change anything about how the Create Vassal button works, as it's hard-coded. But you could make a title decision that does what you want.Is there anyway to modify the type of vassal that's created? instead of a vassal that's your culture and religion.
I can't find where the file would be located.
Looks like it should work, altho remember that any_* scopes generally ignore the person they are fired from. So if this was tried from a male character's scope, it would be true if he *and* another male dynasty member exist, whereas tried from a female character's scope, it will be true if 1 male exists.I'm trying to find out if a character's dynasty contains only one male member. I thought this was quite straightforward:
Am I making a stupid mistake?Code:limit = { NOT = { any_dynasty_member = { count = 2 is_female = no } } }
Ahh! Of course. That's exactly it. I never thought about that, but of course those scopes can't work properly if they keep referencing back to the same character. ThanksLooks like it should work, altho remember that any_* scopes generally ignore the person they are fired from. So if this was tried from a male character's scope, it would be true if he *and* another male dynasty member exist, whereas tried from a female character's scope, it will be true if 1 male exists.
Hey, I created an event. But the event appears every month. What did I do wrong? I want a onetime event.
Please help
namespace=EVTNAME
character_event= {
id = 210000
title = EVTNAME210000
desc = EVTDESC210000
picture = "GFX_evt_crusaders"
border ="GFX_event_normal_frame_war"
only_rulers = yes
religion = catholic
trigger = {
year = 1303
month = 09
Day = 12
}
immediate = {
add_trait = disbelieve
}
option = {
name = "EVTOPTA210000"
}
}
namespace = yourevent
character_event = {
id = "yourevent.1"
desc = "EVTDESCyourevent.1"
picture = GFX_evt_crusaders
border = GFX_event_normal_frame_war
trigger = {
NOT = { trait = disbelieve }
year = 1303
month = 09
day = 12
}
immediate = {
add_trait = disbelieve
}
option = {
name = " EVTOPTAyourevent.1"
}
}