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

Nodscouterr

General
77 Badges
Jul 26, 2009
2.386
3
  • Magicka
  • Cities: Skylines - After Dark
  • Pillars of Eternity
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Synthetic Dawn
  • Stellaris: Galaxy Edition
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Sengoku
  • Rome Gold
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Hearts of Iron III
  • Europa Universalis III
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III Complete
  • Divine Wind
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Stellaris: Necroids
  • Europa Universalis IV: Rights of Man
  • Stellaris: Galaxy Edition
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Conclave
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Mount & Blade: Warband
  • Magicka: Wizard Wars Founder Wizard
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Victoria 2
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
  • Europa Universalis III Complete
So, my Uppland pagan game went well, I inherited Sweden and became the great pagan king. Something that didn't go that well however was getting an heir. I got three children, all daughters with my first wife. After awhile she died and I get another one, this time a lustful one. However, when trying to fight a disloyal vassal, my king got severly wounded and this eventually developed to me losing severly wounded, but getting Illnes and intestinal worm. I'm still alive, but this little accident makes getting an heir seem most unlikely. As I didnt want my game to end, I decided to edit my save game so that my King had a male child. I added this right under my kings files:

Code:
character = { 
    id = { type = 10 id = 200000 } 
    dyn = 502 
    tag = SWED 
    name = "Ulf Eriksson" 
    date = "10960101" 
    gender = male 
    religion = pagan 
    culture = "swedish" 
    score = { gold = 0 prestige = 0 piety = 0 } 
    attributes = "0.0.0.0.0.397994880" 
    father = { type = 10 id = 100516 } 
    loyalty = 1.000 
    dna = "15967966380251" 
    }
(The father ID is my king's, I got that right)
But when I started the game, I got an error about a database mismatch or something like that, so I assume something else needs changed. Not being an experienced CK modder, I ask what else needs to be changed to make this work?
 
Mucking about in the save games is a bit inefficient for things like this.

Try f12, charevent 8516 for your ruler, charevent 8625 for the bastard.

Or you could wait and let your bastard sun legitimize himself. Try giving him some land or a position.
 
Yes, generating a bastard is a better way to do this. But, for completeness:

Unless you just didn't copy it over, you're missing a closing-bracket at the end. This would indeed cause a mismatch, as the game finds more opening-brackets than closing-brackets. And I'm pretty sure you shouldn't put his family name in the savefile, either.
 
His family name is ''av Munsö'', so I didn't.

Anyway, I found a good way to get an heir. I took my second daughters son and made him my dynasty. And that was a close call, three years later I died in illnes(Y'know, intestinal worm and illnes, not good)
 
You're missing the dynasty line, so he won't have a family name and it will be game over if he inherits.
You also miss traits and stats, and since you made him a type 10 char he won't gain stat points as he ages.

An ID mismatch probably means there already is a character with ID 200000. All IDs of a given type must be unique.
 
But I wrote dyn = 502, isn't that DYNasty?
 
Okay, new problemo. My cheated-to-be-my-dynasty grandchild is King, and I got an event that let me get an bastard. But he doesn't seem to get the inheritance. I have semisalic consaguinity, which I thought would let my bastard inherit, but it doesn't! What laws lets bastards inherit?(NOT elective law, as I forgot to hand him the Danish land I recently conquered)
 
Bastards (and their descendants) are excluded from inheriting under everything else except elective law. There is an event (or few) that give you the option of granting a bastard legitimacy (basically you're making a royal decree that he's going to be included in the succession order from now on), someone already mentioned the event code I think, if you want to cheat it for him, instead of waiting to see if (and when) it happens.

I seem to recall it's also possible for the son of a bastard (not sure about further descendants) to get an event that legitimizes their father, since I think I got this once. If you had, say, your bastard uncles son ruling a duchy, then he gets this event, then said cousin and his descendants would now be included in the succession.
 
Okay, new problemo. My cheated-to-be-my-dynasty grandchild is King, and I got an event that let me get an bastard. But he doesn't seem to get the inheritance. I have semisalic consaguinity, which I thought would let my bastard inherit, but it doesn't! What laws lets bastards inherit?(NOT elective law, as I forgot to hand him the Danish land I recently conquered)

You got three choices:

1) Don't let him inherit. He's a bastard, and bastards are bastards after all.

2) Give him land and hope he get the legitimization event.This is also useful for getting rid of him if he starts demanding important Court Positions he's not qualified for.

3) Cheat and fire the legitimation event by hand. Type F12, select your bastard's screen, and type:
event 8625

Then hit enter, and F12 esc.

Nick
 
I was browsing the forums for a solution to the same kind of problem, what I did in the end was to increase the fertility of the royal couple in my savegame, to compensate for the illness.
 
Or just change the gender of a child in the savegame.
 
Elective law is the only law that allows people with the bastard trait to inherit.

Are there not events to recognize bastard children though? He should get an event that, if he treats his son well, should alow him to be recognized and thereby lose the bastard trait. Or is that event part of a scenario?
 
Are there not events to recognize bastard children though? He should get an event that, if he treats his son well, should alow him to be recognized and thereby lose the bastard trait. Or is that event part of a scenario?

There are quite a few events that do this. The fastest way is to give the bastard land. They'll usually demand legitimacy a bit later.
 
I've had one bastard son owning land for over 10 years now, though (and his little bastard brother for a few years too), and the event hasn't fired.

Anyone have an idea on the MTTH of the legitimisation events? Or I suppose I could try to find them myself...