I'm trying to wrap my head around the event syntax by looking at existing files but while some of it is obvious (e.g. OR tags) other things are not. It seems that nobody else is having problems modding so I'm left wondering if there's a site which contains tutorials or a quick guide to explain it all. A quick look through the stickied threads didn't turn up any links that were marked as such. There are also some non-syntax related issues which are perplexing me.
For instance, I'm trying to create a new Casus Belli that in which both attacker and defender surrender faster. Tags which seem to effect this are:
And I'm left wondering what do I modify? A few existing CBs deviate from the above but I can't tell whether a higher factor means they want it more or less, and what that means in game terms. How does the -1 (always accept) play into the decision vs. a standard factor number? I'm going to begin a few tests but it'd be nice if this information was already available.
I've also no idea how to create an "on birth" pulse event for non-bastards.
If there's a single place where these questions may already be answered I'd appreciate if somebody could point me in the right direction. So far my Search attempts have turned up dead ends.
For instance, I'm trying to create a new Casus Belli that in which both attacker and defender surrender faster. Tags which seem to effect this are:
Code:
attacker_ai_victory_worth = {
factor = -1 # always accept
}
attacker_ai_defeat_worth = {
factor = 100
}
defender_ai_victory_worth = {
factor = -1 # always accept
}
defender_ai_defeat_worth = {
factor = 100
}
And I'm left wondering what do I modify? A few existing CBs deviate from the above but I can't tell whether a higher factor means they want it more or less, and what that means in game terms. How does the -1 (always accept) play into the decision vs. a standard factor number? I'm going to begin a few tests but it'd be nice if this information was already available.
I've also no idea how to create an "on birth" pulse event for non-bastards.
If there's a single place where these questions may already be answered I'd appreciate if somebody could point me in the right direction. So far my Search attempts have turned up dead ends.