• 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(133356)

Colonel
2 Badges
Jan 28, 2009
1.072
3
  • Crusader Kings II
  • Victoria 2: A House Divided
I tried adding a line to the savegame file for a pregnancy date for an unmarried countess (one of my vassels), and when loading the game would return an error about a missing entry for the father, but when I added the "childs_father" line with the ID of one her courtiers, it gives two errors about unknown traits.

Is there a check in the code that looks in the marriage entries when attempting to load that data, or something? I copied the two lines from another character, and just changed the data to fit the situation.

This is mainly a bit of curiosity on my part.
 
AFAIK characters don't have to be married to have children. At least not in the game-files, in the game itself they must be married.

What message do you get exactly ?

Also if you want her to have a child you can load up your save game as her, marry her to a courtier and then save again. And hope they have a child
 
AFAIK characters don't have to be married to have children. At least not in the game-files, in the game itself they must be married.

What message do you get exactly ?

Also if you want her to have a child you can load up your save game as her, marry her to a courtier and then save again. And hope they have a child

I just want to see what happens, how things work, so I can play with things.

The error message is unknown trait type = 'father line = XXXXXX file = ...
 
Update -- she had the kid, and he shows up as her heir, and it shows the father as the character I had inserted. All the errors are gone. (If the errors were ignored, the game would load up.) So it seems to have worked.

So, any ideas out there as to why it the game would object to this particular edit?

I guess the nect step in a process of elimination would be to add a pregnancy to a married female character and see what happens.