• 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.

-Rodri-

First Lieutenant
7 Badges
Feb 2, 2007
211
29
  • Crusader Kings II
  • Europa Universalis IV
  • Hearts of Iron III
  • Supreme Ruler 2020
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Pre-order
I would really appreciate some event tutorial to add traits to people. And how to test them.
I already know how to add traits to savegames thanks to a nice tutorial, but I don't know how to add them by events.
Any help would be appreciated!
 
In case you're interested in events that add traits, you'll see this is what I'm after, so there's some information scattered across the forum, you might have seen them before, but I tried to bundle them together.

First, check out (oh, I guess you have already!):
The tutorial by praguepride - it doesn't talk about events but it does go into adding traits.
http://forum.paradoxplaza.com/forum/showthread.php?586805-TUTORIAL-Adding-new-traits
It's pretty straighforward and a good template to work with.

There's more information over here, where you see me struggling over an event to add traits and some helpful comments from more experienced modders -
http://forum.paradoxplaza.com/forum/showthread.php?586721-adding-traits-does-this-seem-right

There's also me here, working on a (failed) event, the interesting thing is to check out the comments on the code (after the ###), so you have a better idea of things that could have been different...
http://forum.paradoxplaza.com/forum/showthread.php?587476-understanding-the-code


Of course, to see all this from an experienced modder's point-of-view would be ideal, but I guess most of them are hard at work with their own mods, so it's up to the new ones to struggle and post their finds here!
:cool:
Just kidding... I do hope someone into programming/scripting can add more to this.
 
This may or may not be the appropriate place to ask this question, but I'm looking for a way to increase the frequency of events firing.

I'm not entirely sure what I'm looking at, but this here seems the best bet for modding the frequency of events: CK2/common/on_actions

# Feudal Life Events
100 = 4000
100 = 4005

I know that the 2nd number relates to event IDs... I think.

What is the #100?
Is that the frequency chance of the event firing off?
Is the chance increased if I raise the number?
Or is it the other way around?
 
Yes, the on_actions.txt is a good way to tinker with frequency of events.
And, again, you're correct in your hunch- the 2nd number is the event id...
100 gives a "weight" for this to happen, so there's a moderate chance of getting this event (pay attention to the cycles for each events' batch - Feudal Life is yearly, for instance). If you lower the number to 10, you're making it much less likely, while if you increase it to 200 or even 500 you're going to make the event much more common.

Not much else I can add at the moment, this is what I found out so far...


EDIT - And I also found this link, should be helpful... giving a few more details on this new pulse-system
http://forum.paradoxplaza.com/forum...ulse-Based-Event-System&highlight=pulse+event
 
Last edited: