• 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.
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.
 
  • 1
Reactions:
Does anyone know where the "Demand (religious) conversions" is located? I can't find it in decisions folder.
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.
 
@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)
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
 
What would be causing my mod to not have threat/infamy? A clue is that whenever I start as anyone the "you are threatening" icon is up. Also, what would a make the mod silently crash around 830-840 every game?
 

Attachments

  • autosave.7z
    379,6 KB · Views: 0
long time, first time! I'm thinking of customising After the End to include vanilla Buddhism so it will be available in Ruler Designer/custom tweaks. Can anybody give me a sense of how much of a pain in the ass this will be? Any quick tips that come to mind?

I'm pretty experienced wtih basic modding, mostly just adjusting history and landed_titles files to my preferences. Have never done anything with a total conversion mod before. I've only done slight tweaks of the religions file, never tried adding a new religion.
 
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.
Thank you for clarifying that for me jursamaj. I'll try a few tweaks and see what I can get away with then.
 
I'm trying to find out if a character's dynasty contains only one male member. I thought this was quite straightforward:
Code:
            limit = {
                NOT = {
                    any_dynasty_member = {
                        count = 2
                        is_female = no
                    }
                }
            }
Am I making a stupid mistake?
 
It it possible to make a holding become a holy site via event? If so, how?
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...
A) Change religion of the scope and any other character with that religion to a purpose- built religion (i.e. your religion.2)
a) religion would have the holy- sites that you want but be otherwise identical...
b) do this for as many possibilities as you wish to include...

B) Give religious title to the religious head of the other religion and remove that title from them
a) gain_title = blah blah blah

C) Work out any consequences of religious change (i.e. events etc.)
trigger = { religion = catholic.2/pagan.2 or religion_group = christian_group/ blah blah }
or
if = {
and/or
limit = {
religion/religion_group = {

D) Just told this: if religious change would cause an interface change, then there would be nothing that you could do about that.

So, definitely possible...
I don't know if it can be done more painlessly, but if there's no other way, I don't see why you COULDN'T do it this way... Push comes to shove, but if you want to give a character the option to change their holy sites to ANY holy site... That's a lot of religions... Still possible (in principle) but there would be x = # provinces X x = # provinces (so on and so fourth) possibilities and a really long menu and... just no.

or, likely, there is a command I don't know about, and a very easy way to do what you want to do. lol.
 
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.
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.
 
I'm trying to find out if a character's dynasty contains only one male member. I thought this was quite straightforward:
Code:
            limit = {
                NOT = {
                    any_dynasty_member = {
                        count = 2
                        is_female = no
                    }
                }
            }
Am I making a stupid mistake?
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.
 
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"
}
}
 
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.
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. Thanks :)!
 
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"
}
}

Code:
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"
}
}

*EDITED *Had a durp moment*
It makes the event fire ONLY if you DON'T have the trait the event gives you..
Also, look at namespace because, that section of your event strikes me as a problem...
Depending upon what else you're doing, you don't need an immediate block (just fyi).
and... Yeah... what I wrote should work for you.
 
Last edited: