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

unmerged(112922)

Corporal
Aug 31, 2008
47
0
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.
 

Lorehead

Machine Consciousness
41 Badges
Nov 5, 2009
1.395
2.058
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis III Complete
  • Deus Vult
  • Crusader Kings II
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines Industries
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Campus
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Victoria 3 Sign Up
  • Cities: Skylines - Mass Transit
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris
  • Crusader Kings II: Way of Life
  • Cities: Skylines
  • 500k Club
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Call to arms event
  • Darkest Hour
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.
 

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
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)
 

jordarkelf

01_TITLE_STRING
164 Badges
Jul 13, 2005
8.040
647
erbkaiser.nl
  • Impire
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Galactic Assault
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Iron Cross
  • King Arthur II
  • Knights of Pen and Paper +1 Edition
  • Lead and Gold
  • Legio
  • Leviathan: Warships
  • The Kings Crusade
  • Lost Empire - Immortals
  • Magicka
  • Majesty 2
  • Victoria 3 Sign Up
  • Crusader Kings II: Sons of Abraham
  • Ancient Space
  • Hearts of Iron Anthology
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • 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
  • A Game of Dwarves
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Deus Vult
  • Diplomacy
  • Dungeonland
  • East India Company
  • East India Company Collection
  • Europa Universalis III
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.
 

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
But I wrote dyn = 502, isn't that DYNasty?
 

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
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)
 

Snaake

Colonel
12 Badges
Oct 17, 2009
956
0
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III Complete
  • Heir to the Throne
  • Majesty 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Stellaris
  • Magicka
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.
 

Nick B II

Field Marshal
13 Badges
Dec 22, 2005
4.420
2
www.detroitskeptic.com
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Europa Universalis III Complete
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Way of Life
  • Crusader Kings Complete
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
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
 

Riyaah

Recruit
9 Badges
Jan 22, 2010
1
0
  • Deus Vult
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Heir to the Throne
  • Semper Fi
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
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.
 

Leprechaun

General Meagher's adjutant
87 Badges
Dec 5, 2000
1.224
4
  • Crusader Kings II
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Deus Vult
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Hearts of Iron II: Armageddon
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Wealth of Nations
  • 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: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: El Dorado
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • 500k Club
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines Deluxe Edition
Or just change the gender of a child in the savegame.
 

Drachenfire

Buckler of Wales
25 Badges
Dec 10, 2004
2.153
0
  • Europa Universalis III Complete
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Victoria: Revolutions
  • Crusader Kings II
  • Europa Universalis III Complete
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III Complete
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
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?
 

Keisok

Captain
62 Badges
Apr 15, 2006
386
10
www.freewebs.com
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife Pre-Order
  • Battle for Bosporus
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Crusader Kings II
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
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.
 

Snaake

Colonel
12 Badges
Oct 17, 2009
956
0
  • Crusader Kings II
  • Deus Vult
  • Europa Universalis III Complete
  • Heir to the Throne
  • Majesty 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Stellaris
  • Magicka
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...