Jump to content

[CK3] How to make children get personality traits faster?


Recommended Posts

Unfortunately, the ages where characters get traits are hardcoded, so you'd have to copy the code that gives the traits, and make it trigger at a younger age.

Vanilla events only give more traits if the character has less than three, so you won't end up with too many traits if you do it like that.

Link to comment

Make a copy of the 00_defines.txt found in \Program Files (x86)\Steam\steamapps\common\Crusader Kings III\game\common\defines. Do a search for NChild and you'll see this line:     HISTORY_CHILD_PERSONALITY_TRAITS = { 9 11 13 } # Ages where the children will gain each of the historical traits. That's where you can change when a child gets personality traits by specifying how old they are.

Link to comment
1 hour ago, SamIAmHam said:

Make a copy of the 00_defines.txt found in \Program Files (x86)\Steam\steamapps\common\Crusader Kings III\game\common\defines. Do a search for NChild and you'll see this line:     HISTORY_CHILD_PERSONALITY_TRAITS = { 9 11 13 } # Ages where the children will gain each of the historical traits. That's where you can change when a child gets personality traits by specifying how old they are.

That likely only applies to historical children, those that already exist at gamestart.

 

The on_birthday_education_events routine calls court_maintenance.0003 with those same ages.

So it can be changed there and children in ongoing games should be able to get their 3 events by 10.

 

It will exclude some traits though, as some events have trigger checks for age.

Link to comment
3 hours ago, bunt776 said:

That likely only applies to historical children, those that already exist at gamestart.

 

The on_birthday_education_events routine calls court_maintenance.0003 with those same ages.

So it can be changed there and children in ongoing games should be able to get their 3 events by 10.

 

It will exclude some traits though, as some events have trigger checks for age.

If you read the note attached to the script it doesn't say that. It applies to all children in the game since most of them are not in the history files. This is why PC children get their personality events. If this line wasn't there then the other two files won't work.

 

If you want to change the ages of when the events fire you'll need to change all three files to get it to work.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use