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

Halcyan

General
25 Badges
Oct 28, 2013
1.987
34
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Tyranny - Bastards Wound
  • Tyranny - Tales from the Tiers
  • Crusader Kings II: Monks and Mystics
  • Tyranny: Gold Edition
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
I would like a deeper understand of how the CK2 DNA mechanics work.

I understand the basics:

Each character has an 11-digit DNA code. 5 digits are acquired from the father, 5 from the mother, and 1 is random.

Reading older threads about it, I also understand that most of the DNA digits actually correspond to a physical feature in terms of appearance. Ethnicity may disallow certain appearance combinations (such as hair/eye color). And there are one or two digits that currently do not map to anything.

So here are some questions to try and better understand how the DNA system works:


1. Different ethnicities may result in appearance phenotypes. But does that mean that a given ethnicity still has same access to the same character digits but they are simply mapped differently (e.g. for a Norse character maybe "a" is blond hair and "b" is black hair, but for a Mongol, either "a" or "b" both map to black hair)? Or does it mean that certain character digits are not found within that ethnicity ("a" is always blond and "b" is always black, Norse can have "a" or "b", but Mongols do NOT normally have access to "a")?


2. How randomized are DNA sequences for a random courtier and for characters of different cultures? For example, statistically, would a random courtier (of your culture) be as genetically similar/dis-similar to your character as a random courtier of a foreign culture? In theory, one might think that breeding with completely different genetic pools (all the way across the world) *should* result in greater diversity. So theoretically, a game where you constantly marry random people from diverse cultures, should have more diverse DNA than a game where you constantly marry randomly generated courtiers who are all of the same culture. Does the game work that way?


3. How does DNA interact with genetic traits? Are they determined separately? So the game calculates DNA, and then separately determines if given genetic traits are passed down (through a separate check)? Or are the genetic traits somehow correlated to particular DNA digits? And of special note, how does the Inbred trait determined? Is there an actual sort of check (some sort of threshold based on DNA, or comparing the DNA of parents) or is it just some sort of % check done independent of the DNA determination?
 

Keinwyn

General
88 Badges
Aug 2, 2009
2.376
756
  • 500k Club
  • Deus Vult
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings III: Royal Edition
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron IV: Cadet
  • Sengoku
  • Rome Gold
  • Imperator: Rome
  • Stellaris
Each character has an 11-digit DNA code. 5 digits are acquired from the father, 5 from the mother, and 1 is random.

I think that's false, it is a random number from each parent/random.

1. Different ethnicities may result in appearance phenotypes. But does that mean that a given ethnicity still has same access to the same character digits but they are simply mapped differently (e.g. for a Norse character maybe "a" is blond hair and "b" is black hair, but for a Mongol, either "a" or "b" both map to black hair)? Or does it mean that certain character digits are not found within that ethnicity ("a" is always blond and "b" is always black, Norse can have "a" or "b", but Mongols do NOT normally have access to "a")?

look in gfx/characters/[ethnicity]. For example western_male_cheeks_1 - there are 11 different images there. "a" corresponds to the second one and "b" the third... "j" the eleventh and "k" the first. Then it simply goes around again so "l" corresponds to the second, "m" to the third etc. That is the same for every file. Hair/eye colour works the same way, but is defined in interface/portraits.

So for example if Norman have red hair "c", blond hair "a", black hair "b" and French have black hair "c", red hair "a", blond hair "b". A french (black hair "c") and a Norman (blond hair "a") marry and have a Norman ethnicity child who inherits their French parents "c" hair colour dna, then they will have red hair.

2. How randomized are DNA sequences for a random courtier and for characters of different cultures? For example, statistically, would a random courtier (of your culture) be as genetically similar/dis-similar to your character as a random courtier of a foreign culture? In theory, one might think that breeding with completely different genetic pools (all the way across the world) *should* result in greater diversity. So theoretically, a game where you constantly marry random people from diverse cultures, should have more diverse DNA than a game where you constantly marry randomly generated courtiers who are all of the same culture. Does the game work that way?

Completely random - there are only at most 13 different possibilities for each feature. This isn't really enough to have local genetic similarities.

3. How does DNA interact with genetic traits? Are they determined separately? So the game calculates DNA, and then separately determines if given genetic traits are passed down (through a separate check)? Or are the genetic traits somehow correlated to particular DNA digits? And of special note, how does the Inbred trait determined? Is there an actual sort of check (some sort of threshold based on DNA, or comparing the DNA of parents) or is it just some sort of % check done independent of the DNA determination?

Not at all related to dna.
 

Halcyan

General
25 Badges
Oct 28, 2013
1.987
34
  • Crusader Kings II
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Tyranny - Bastards Wound
  • Tyranny - Tales from the Tiers
  • Crusader Kings II: Monks and Mystics
  • Tyranny: Gold Edition
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
Thanks for the responses Keinwyn.

Completely random - there are only at most 13 different possibilities for each feature. This isn't really enough to have local genetic similarities.

Too bad. Would be nice if they encouraged more strategic thinking in terms of gene pool diversity.

Not at all related to dna.

Any idea how the Inbred trait is calculated then?