For cb_types, you can safely use a new file, since all cb_types are independent.1. When changing a file that has a 00_ in it, such as 00_cb_types, or 00_religions...
Is it "safe" to simply create a new my_cb_types or should I add this to a copy of the original file?
For religions and cultures, if your new religion/culture is in a new religion_group or culture_group, you can safely use a new title.
For pretty much any other case, you're best off copying over the file and modifying it. If the file type has nested entries, modify the file unless you can isolate your entries from all others. If it doesn't, you can safely use separate files in most cases.
See above.2. When modding Landed Titles (Iceland), I did this.
<snip>
Is this right, or should I have copied over the whole file, and manually inserted my changes?
3. I would like to make a few events but this is like Spanish to me, I don't "get" it one bit.
What files do I have to change to add one simple event? (.gfx, localization, etc)?
Example: I want to make an event that if your religion is "Solar", and your wife gets pregnant, you can attempt to "Bless" the unborn child.
70% chance to fail, kill the mother.
30% chance to succeed, give the child (upon birth) Traitname, and remove this same Traitname from Father.
Thanks for any assistance given.
One simple event? Since you can put text inline in event desc and option name lines, potentially just the event file you put the event in. For an event involving a custom religion, you also have to modify the religions file and localization for at least the religion _desc. For an event involving custom traits, you have to add your trait into a trait file, add an icon for the trait in gfx/, and add a spriteType definition in a .gfx file in interface that links the trait to the icon, plus localization for the trait _desc at least (and as long as you have to do localization anyway, might as well add in the event desc and option name, plus religion and trait localization.) And sounds like you actually need two events for that, one on pregnancy, one on birth. (Your example is not a simple event.)
Sol El and Sol Ena are to have been killed by Lundi El Luna. Lundi El Luna was in turn killed by Thadian.
In game, it says "died a natural death".
How do I make these characters show how they died? What am I missing?
Instead of:
Code:
death=yes
death_reason = death_battle
killer = 1000332003
Code:
death={
death_reason = death_battle
killer = 1000332003
}
Is there a "scopes" tutorial anywhere? I'm having the most difficulty just scoping to the person I'm trying too.
My current problem involves having an event scope to a random courtier in the realm, with a specific trait, in the "option" area.
Thanks for any help in advance!
For a courtier in your court?
Code:
trigger = {
any_courtier = {
trait = xxx
}
}
random_courtier = {
limit = {
trait = xxx
}
<do stuff>
}
Last edited: