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

unmerged(75702)

Corporal
May 5, 2007
34
0
I just finally got around to upgrading to the newest version and I got these " fun" events firing. I'm trying to figure out where these events are hidden at, I want to take a look at the code and see If it's a one of six go down or if you can get all of them. If it's all of them I want to lower the percentage chances, or add a not prodigy/not ruler and stats so low trigger. I can see having a martial of like 20, but 11 counting +5 from traits seems to be a bit excessive for this to fire. A base martial of 6 for a 12 year old doesn't seen to be too excessive to me.
 
Before DV, stats of higher than 8 were extremely rare, and many events assume 8 = very good, 10 = superhuman... so either all existing events should have their stat checks raised (which will cause havok for newly spawned (not born) characters and people alive at scenario setup) or the stats must be lowered somehow. I chose the latter approach.

Anyway, they're events 9530 to 9533 in db\events\Wiz.txt

Four events exist, one for each skill.
The events can fire approximately every 18 months (1½ years) between the age of 12 and 16, as long as the trigger matches.

The check is as follows:
either the child has 10 in the skill, or he has 8 in this skill as well as another skill.
The effects are none (10%), -1 point (25%), -2 (20%), -3 (18%), -4 (!7%), -5 (10%).

Adjust these values at will. You do not need to distribute exactly 100%, if you have more or less than 100 the game will automatically rescale the percentages.
 
Thanks, what I wanted to check, going to stick in some sort of check for prodigy trait, have an if prodigy values higher, otherwise not. I remember the days of waiting years for one of Alexios Komm (whatever his name was) daughters to grow up. I do remember with selective breeding I managed to get like a 10 11 12 11 once.

But as it is if you're lucky enough to get the prodigy to fire, those events just neutralize it, and if you're unlucky enough you actually lose in the deal. Depending on how ambitious I am I might write events for different educations, to allow for different maxes.
 
No, that's not how it works. The event checks actual, unmodified stats -- not the altered ones by traits.

So if you get prodigy you can still go above 10/8+8 without this event firing. Conversely for a character with bad traits (like inbred) that lower stats, it may fire when displayed stats are below 10/8+8.