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

SRTX_999

Corporal
16 Badges
Sep 12, 2020
44
3
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV
  • Victoria 2
  • Cities: Skylines
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Holy Fury
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
I'm making my first mod, based on my own fantasy world. The game gets to Loading Graphics, then crashes. This is in the error log, and I don't understand it.

[titlehistory.cpp:167]: Unborn title holder
Title: ---(1) in history/titles/k_haaven.txt
Date: 1.1.1
Character ID: 1, Birth date: 387.1.1

Character 1 was born on that date, yes, but the title only exists from 419. Then why is the date 1.1.1 there?
 
Character:

1 = {
name = "Deus"
dynasty = 2 #Urobor
father = 2 #Os
mother = 9 #Defensa

culture = grungen
religion = benakin

dna="caa0c0ab0c0"
properties="ue0hfd00000000000000000000000000000000"

martial=9
diplomacy=7
intrigue=8
stewardship=5
learning=8

fertility=0.9

#trait=light_element
#trait=daeva
trait=humble
trait=zealous
trait=tough_soldier
trait=skilled_tactician
trait=organizer
trait=holy_warrior
trait=deceitful
#trait=fruit_of_zefiroth
#trait=future_sight
trait=giant

387.1.1 = { birth=yes } #32 years old in daewar.

398.5.3 = { add_spouse = 17 } #Spirita

419.1.1 = {
change_culture = angel
change_dynasty = 1 #Krystatus
}

424.12.31 = { give_nickname = nick_the_onlygod }

464.7.13 = death { death_reason = death_murder }
}


Title:

419.1.1 = {
holder = 1 #Deus
}


The other title:

419.1.1 = {
color = { 0 89 255 }
holder = 1 #Deus
capital = 1 #Makel
law= absolute_cognatic_succession
law= succ_feudal_elective
d_elohim { }
d_avalon { }
d_luxuria { }
d_lant { }
d_menelaos { }
d_pyruun { }
d_heimer { }
}
 
That second title bit seems to include some things (like the holder and laws) which belong in the title history, and other things (like the colour and the subsidiary duchies) which belong in the k_whatever block in landed_titles.txt

nd
 
  • 1Like
Reactions:
That second title bit seems to include some things (like the holder and laws) which belong in the title history, and other things (like the colour and the subsidiary duchies) which belong in the k_whatever block in landed_titles.txt

nd

There were no files previously in the landed titles, only in the history titles, so I made them, but it's still the same.
 
There were no files previously in the landed titles, only in the history titles, so I made them, but it's still the same.
You will need to have a full landed titles hierarchy in that directory - there's a good model on the wiki. You start with the empire title, and you nest the kingdoms inside it, and so on. You don't put any dates in there - it represents the de jure structure on your earliest start date. The dated blocks go in title history (for holders, laws and governments), province history (for changes of culture, religion, or holding) and character history (for births, deaths, and weddings).

nd