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

Shalassan

Private
64 Badges
Jun 14, 2017
16
2
  • Surviving Mars: First Colony Edition
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Stellaris - Path to Destruction bundle
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Campus
  • Cities: Skylines - Green Cities
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Snowfall
  • Battle for Bosporus
  • Hearts of Iron IV: La Resistance
  • Crusader Kings II: Rajas of India
  • Stellaris: Nemesis
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Hearts of Iron IV: No Step Back
  • Stellaris: Federations
  • Age of Wonders: Planetfall
  • Cities: Skylines
  • Hearts of Iron IV: By Blood Alone
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Magicka 2
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Crusader Kings II: Conclave
  • Imperator: Rome - Magna Graecia
  • Magicka
  • Europa Universalis IV
  • Darkest Hour
  • Crusader Kings II: The Old Gods
Hello,

i'm trying to make a small mod that adds a bunch of things and of course a country, a culture, a leader and it's family.
I've been successful at adding the culture and country so far but have some issues with the family and the leader what i thought would be the easiest ... (with my experience of other paradox games).

So basically i've created a new files called 00_atlantis.txt in my setup/main directory and added most of my stuff there to avoid changing game files or overwriting them.
I've set this piece of code
Code:
family = {
    families = {
        241 = {
            key = "Eranar"
            owner = ATL
            culture = olympian
            prestige=400
            color = 0
        }
    }
}
that is supposed to define my main family for the new tag ATL and with my new culture. Sadly when i call family = c:ATL.fam:Eranar in my character file i got an error in the log like this one :
Code:
[15:41:40][jomini_script_system.cpp:169]: Script system error!
  Error: Failed to scope to family via tag 'Eranar'
  Script location: file: setup/characters/00_ATL.txt line: 3
[15:41:40][jomini_script_system.cpp:169]: Script system error!
  Error: Event target link 'fam' returned an unset scope
  Script location: file: setup/characters/00_ATL.txt line: 3
[15:41:40][jomini_script_system.cpp:169]: Script system error!
  Error: none effect [ family was null ]
  Script location: file: setup/characters/00_ATL.txt line: 3
And i'm pretty clueless at this point. It's just like the game is simply ignoring my family definition no matter what i try. And it's really buggy cause it takes names i have added in my culture fairly well and appoint my leader to one of them, but she is not part of it. As an example, the queen is currently named "Khylion" like the first family of my country but she is not of that family, instead she is listed as unimportant family ... What the hell is going on lol?

Also, not directly related to families but i used the editor to generate my leader look and than exported the DNA, but she isn't really looking like the one i made. Ok the hairstyle and color, her eye color are matching like the clothes and a bunch of things, but she really have not the same face at all >.<