• 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.
Why do you wait for the painter?

Why not? She/he could make better icons, character portraits and buildings (by now I do, but I am not proud of my work.)
 
Last edited:
Now I am replacing the events in the "child trait event" file. Since fathers and mothers are influencial on their children, I would like to use the traits of parents as MttH parameter. If the parents have brave trait, their children may have the trait too. On the other hand, some children will learn that trait from the coward parents (Sometimes children become opposite characters to their parents...).
In addition, I will use the direction of the education as the second MttH. For example, if an aristocrat teachs a boy, he has more chance to get the trait courteous.
 
Chat if you teach me ... there's a thread for you in the mod forums on how to edit some parameters.
Goal is to test them to include them, furtherly tweaked down, into Genpei Mod.
 
Chat if you teach me ... there's a thread for you in the mod forums on how to edit some parameters.
Goal is to test them to include them, furtherly tweaked down, into Genpei Mod.

I will check when I have a time.
 
Easy no hurry, I figured out its better I do it personally so you can see the final result once the tests are complete. Take the points one by one, it doesn't matter which point you choose first as long as your answer is COMPLETE. Take all the time you want, no hurry.
 
Well I thought in your mod could get as well by holding the top court rank&title.

If you mean this post, it gives no shogun title in game. In that post I used the name "Shogun" simply as the most powerful clan in Japan.
 
Beside the work on the personality traits, I have made some events about the heavy snow in some regions.
The events happens in northern and eastern Japan.


Sometimes it snows in May...

Are the people in southern or western Japan lucky? No. Some terrible typhoons will come to these regions in summer...
 
Really nice. This is what should have been in vanilla by default.
Can you trigger this only to happen in winter or it can happen during whole year? If any time then this is not that good really ;)
I suppose AI does not take this novelty in consideration does it?

Fix the text to the following:
"... some soldiers might die travelling through the snow. Heavy snow is also causing all the castle sieges to be much harder to execute which is a true blessing for the castle's defenders and a terrible curse for besiegers."

I must reconsider the plan of our campaign <--- put a dot at the end of such sentences. It looks more complete that way.
 
Of course it snows only from December to March in game (there are years with/without heavy snow in game), while the effect of the heavy snow might exist until April.
I don't think AI considers the effect of this event, but the effect banishes after 90 days, so it would not be a great cheat both for the player and AI.

And thanks for the correction. When I make events, I give 99% of my efforts to scripting (triggers, MttH and effects) and I don't mind basically what the text says. So your fixes are really appreciated.
 
MTTH is the possibility to happen. If an event has months = 1 as MTTH, the event will fire once pro month. In my experience, events with MTTH under months = 1000 trigger very often, since the AI checks the MTTH every day in game.
0.3 or 2 means 30% or 200%. In the above case, the event will fire once in 450 months (1500x0.3) when the character has no trait (Not = { x } means the condition x is not fullfied). Other than these two points, you have correctly understood. The modding is not SO difficult, isn't it? :)

Close, but not quite. MTTH means there's a 50% chance that the event will happen after the time stated, not a 100% chance - there's never a 100% chance an event will fire.

So, if you have a province event with a MTTH of 500, then after 500 months there's a 50% chance it will have fired. After 1000 months, there is a 75% chance it will have fired. After 1500 months, there's an 87.5% chance... etc etc. It checks every province in the game for whether the event fires, so in this case you have what, 250ish provinces with a 50% chance of having fired by month 500 - so in practice, it'll probably fire somewhere on day 15 or so.

The event you're refering to is a character event, and there's like 15 characters per court, and about 100 courts in the game at any given time. So the game is making 1500 checks per day, meaning that even with only a 1% chance or so on day 1 15 characters are likely to get it.

There's also letter events, which refer to letters - which are comparitively rare, so a MTTH measured in 10s is appropriate for them. I haven't seen any sign of country events in Sengoku.


So, just to recap:
Letter events require another event to set them up, and should probably have MTTHs in multiples of 10 - like 50 or so.
Province events are usually available to all provinces, so should have MTTHs in multiples of 100 or greater; probably 1000-2000ish. Unless they have very stringent requirements, like 'must have event modifier X AND a level 8 village or greater', in which case the MTTH can be relatively low, like 200 or less.
Character events are going to fire all over the shop, and should have MTTHs measured in 1000s at least.
No event is ever certain to happen, as it will only increase by 50% of the previous increase each time. There's never a 100% chance.

I generally mod V2, myself, but the coding is pretty similar and I've been working with it for a long time now, so feel free to PM me if you have any queries on stuff - I have probably encountered the problem myself somewhere along the line and know either a fix or a workaround. KPJ can probably vouch for that :p
 
Thanks for the explanation Naselus! It clarified some of my questions and problems about MTTH.

One thing I could not understand is,
MTTH means there's a 50% chance that the event will happen after the time stated, not a 100% chance - there's never a 100% chance an event will fire.

Is that time counting reset if the event happens?
 
Is that time counting reset if the event happens?

Sort of. Basically, the MTTH creates a 'chance per day', so it's not really counting anything. In any given period of 1500 months, there's 50% chance the event will fire - even if it's already fired. So you could call it 'reset' when it happens, but it's also reset if it doesn't happen, too. It's a probability mechanic, rather than an actual count, so the game doesn't say to itself 'oh, this event didn't fire today, so I'll make sure it's more likely to happen tomorrow'.

You can test this for yourself by making a province event with a MTTH of, say, 3 months, with a specific province id in it's trigger, and nothing to stop it from re-firing. It'll fire fairly randomly, sometimes twice in the space of a week and sometimes with 12 months in between.

It essentially means that the chance of an event happening on any given day is 50%/MTTH, and if there's enough attempts to roll it (like when you have 2700 provinces all rolling every day, like we get in vicky) one of those rolls is eventually going to be successful. It will then continue to roll, tho the chances of getting 50%/1500 twice in a row are fantastically small.
 
Sort of. Basically, the MTTH creates a 'chance per day', so it's not really counting anything. In any given period of 1500 months, there's 50% chance the event will fire - even if it's already fired. So you could call it 'reset' when it happens, but it's also reset if it doesn't happen, too. It's a probability mechanic, rather than an actual count, so the game doesn't say to itself 'oh, this event didn't fire today, so I'll make sure it's more likely to happen tomorrow'.

You can test this for yourself by making a province event with a MTTH of, say, 3 months, with a specific province id in it's trigger, and nothing to stop it from re-firing. It'll fire fairly randomly, sometimes twice in the space of a week and sometimes with 12 months in between.

It essentially means that the chance of an event happening on any given day is 50%/MTTH, and if there's enough attempts to roll it (like when you have 2700 provinces all rolling every day, like we get in vicky) one of those rolls is eventually going to be successful. It will then continue to roll, tho the chances of getting 50%/1500 twice in a row are fantastically small.

I was a bit confused with the word "after the time stated", but now I understand.