You ought to make a thread for your mod so you can present what it's about, and capable people are more likely to become interested than a post without details that will quickly get buried here.
Thanks again!
You ought to make a thread for your mod so you can present what it's about, and capable people are more likely to become interested than a post without details that will quickly get buried here.
What I want is a Duke-tier title to be shown as primary. Pretty much how with the Filkyrate and Caliphate, even if you hold Emperor-tier titles, your character is Caliph Juan instead of Emperor Juan of Arabia.
You have the narrative_event call inside the limit.
Basically, you have to make a 24x24 pixel dds, for example, exampletrait.dds, put it into the gfx/traits folder and define the path to it in interface (create a .gfx file called yourmod.gfx)I'm sure this has already been answered, but how do I add icons for new traits? I am utterly lost. The traits I made are already localized and completely integrated into the game but I can't figure out how to attach the icons I made for them to them.
633002= {
name="Darya"
culture="persian"
female="yes"
dynasty=2012861
religion="zoroastrian"
martial=15
diplomacy=15
intrigue=15
learning=15
stewardship=25
add_trait = "fortune_builder"
add_trait = "kind"
add_trait = "hunter"
add_trait = "honest"
add_trait = "chaste"
add_trait = "humble
father = 610888
819.7.9={
birth="819.7.9"
}
}
Can anyone tell me what I'm doing wrong? The stupid character refuses to spawn:
Code:633002= { name="Darya" culture="persian" female="yes" dynasty=2012861 religion="zoroastrian" martial=15 diplomacy=15 intrigue=15 learning=15 stewardship=25 add_trait = "fortune_builder" add_trait = "kind" add_trait = "hunter" add_trait = "honest" add_trait = "chaste" add_trait = "humble father = 610888 819.7.9={ birth="819.7.9" } }
Three things needed to be done to prevent post-2.1.6 mod crash problems:
1. Update defines.lua so it matches the new one.
2. Add a graphical_culture line to the common/special_units file.
3. Add 5 Holy Sites for each religion in landed_titles.txt by putting a holy_site=Xreligion into any barony bracket of a province.
So you either need to replace the common/defines.lua with the new version, replace landed_titles with the new version, or replace common/special_units folder with the new version if you have any of those in the mod folder.
option = {
name = EVTOPTASHC.001
ai_chance = { factor = 50 }
cash = 1000
religion = FROM
if = {
FROM = { religion = catholic }
set_parent_religion = { religion = orthodox parent = catholic }
}
if = {
FROM = { religion = fraticelli }
set_parent_religion = { religion = orthodox parent = fraticelli }
}
Have you created the dynasty & father? I don't see them in vanilla.Can anyone tell me what I'm doing wrong? The stupid character refuses to spawn:
Might sound like a silly question, but you did place:
user_dir = "Myoverhaulmod"
in your *.mod file, right ?
Rather, you put some replace_path = into it that cause the trouble ?
No idea really, just blind brainstorming guess_wörk on my own.
Have you created the dynasty & father? I don't see them in vanilla.
Also, glancing at the history files, they mostly use 'trait=X', not 'add_trait=X', altho there are. At 22997 to 58 (in only 6 files), I'm inclined to think the latter is a vanilla error. (There are also 3 add_trait's after birth, but that's different.)
Try adding a death date as well.
Otherwise check for duplicate ID's - if there is another character with ID 633002 you'll have an issue.
Other than that, I see nothing wrong with it however.
option = {
name = EVTOPTASHC.001
ai_chance = { factor = 50 }
[COLOR="#FF0000"]wealth[/COLOR] = 1000
religion = FROM
if = {
[COLOR="#FF0000"]limit = {[/COLOR]
FROM = { religion = catholic }
[COLOR="#FF0000"]}[/COLOR]
set_parent_religion = { religion = orthodox parent = catholic }
}
if = {
[COLOR="#FF0000"]limit = {[/COLOR]
FROM = { religion = fraticelli }
[COLOR="#FF0000"]}[/COLOR]
set_parent_religion = { religion = orthodox parent = fraticelli }
}
Notepad++ will search all files in a folder (and sub-folders) for a string. Validator will report duplicate IDs. (If you're not running Windows, you're on your own though.)Is there any way to check all the files at the same time for ID's?
Code:option = { name = EVTOPTASHC.001 ai_chance = { factor = 50 } [COLOR="#FF0000"]wealth[/COLOR] = 1000 religion = FROM if = { [COLOR="#FF0000"]limit = {[/COLOR] FROM = { religion = catholic } [COLOR="#FF0000"]}[/COLOR] set_parent_religion = { religion = orthodox parent = catholic } } if = { [COLOR="#FF0000"]limit = {[/COLOR] FROM = { religion = fraticelli } [COLOR="#FF0000"]}[/COLOR] set_parent_religion = { religion = orthodox parent = fraticelli } }