Crusader Kings II

Crusader Kings II

1,539 ratings
Improved Genetics 2.0
8
6
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
87.550 KB
7 Apr, 2019 @ 6:05pm
20 Apr, 2019 @ 10:57pm
4 Change Notes ( view )

Subscribe to download
Improved Genetics 2.0

Description
This mod improves the CK2 genetic system. As the title says.

This is the second version of the mod. The main reason for the reupload is that I lost access to the first mod even though it is mine (thanks Paradox!) To ensure continuing support, I've decided to reupload it.

However, there are some other changes:
  • Fewer bugs
  • Characters now get the new traits upon startup
  • New traits now have better icons
  • A new decision that lets you normalize your genes.

Do note that if you plan to use this with the old Improved Genetics, that is perfectly fine. However, you will need to fetch your save file from the 'gene' directory. I would advise finishing your save file before changing to this mod.

If for some reason this mod isnt working for you, check the old version: https://steamproxy.net/sharedfiles/filedetails/?id=1518305370


MOD DESCRIPTION
---------------------------------------------------------------------

CK2s genetics system is not very fleshed out at all. You can only inherit traits from your parents, and if you don't inherit them you lose the traits, for good. A lot of the traits genetic traits are mostly random, rather than persisting through your bloodlines.

This mod radically improves the Genetics system!

How does it work?

The system is largely based on a simple model of Mendelian genetics. Every character in the game is assigned allele pairs for each trait. When two characters have a child, the gene the child inherits is determined by a simple Punnett Square.



For example, a dwarf character might have an aa gene (recessive) and a normal character might have Aa (a carrier.) Their child then has a 50% chance to get the dwarfism gene. But even if they don't, they still have a chance of becoming a carrier.

The system is even deeper because each trait has 3 allele pairs associated with it.

Some trait inheritance is modeled through polygene inheritance, like the following graph for height:



In addition, this mod adds several new traits in the 4 polygene groups (intelligence, height, attractiveness, and strength.) These traits [dim, bright, delicate, sturdy, short (as opposed to tiny), tall (as opposed to giant), comely and homely] are weaker versions of vanilla traits and serve to really showcase the genetic system. These lower tier traits each have a 7% rarity (meaning 7 in 100 characters will have them.) Other rarities have been kept at vanilla levels for the most part.

To read more, please have a look at the following link: https://steamproxy.net/workshop/filedetails/discussion/1518305370/1734339624804678713/


Current Version: 2.03


FAQ:
-----------------------------------------------

My two genius characters did not produce any quick or genius children! What happened?

First, a character may get a certain GENE without getting that TRAIT. There is a genotype to phenotype conversion chance in this mod, determined by the number of dominant (or recessive pairs, for negative traits) alleles. So you may have the genius gene but not become a genius. Additionally, two geniuses may not pass down the genius gene, although it's unlikely. In general, the more rare a trait, the more likely it will persist in your family line.


I'm seeing way too many/way too few characters of (this trait)!

I've done extensive testing as well as calculations to make sure that the occurrence of traits more or less matches the base game. Traits are perhaps a little more common (intentionally.) But nothing should stand out as too common or too rare. If that is the case report it here and I'll have a look! A polygene trait like genius should have the following distributions: 0.4-0.6%, 1.5-2%, 3.5-5% for traits genius, quick, and bright respectively.

This is the frequency that I have found in my playthrough.


What about incest? Does this mod simulate inbreeding depression?

Yes. Kind of. Very close kin incest in this mod ends up (eventually) being very bad, as there is a high likelihood that you will end up with recessive traits in many birth defect traits like hunchback and clubfoot. However, you can generally escape inbreeding depression in just one or two generations of marrying people from outside the close family.


Does this slow down the game considerably?

I didn't notice any significant slowdown, surprisingly.


I'm not noticing any difference with this mod

Be patient. It's a subtle mod.


I get negative traits too frequently! :(

The mod has been thoroughly tested and this is not the case. You can use this python script to check: https://www.dropbox.com/s/xcxfecn3syezo0o/searchsaves.py?dl=0

Sometimes your family might start with horrible genes. This is an unlikely but possible scenario. If you dont want this to happen, there is a decision that you can choose in the first 25 years called 'normalize your genes.' This is available after the birth of your first child, and it will remove all recessive genes from your character.


Is this ironman compatible?

Yes, but you won't get achievements.


Compatibility
----------------------------------------------

Any mods that modify the 00_traits file won't work properly with this mod. The game will still start, but you will not experience the genetic system as intended.

If your mod adds new traits, the new traits will use paradox's base genetic system of inheritance, not mine.

Any overhaul mod will likely NOT WORK properly with this mod. The only overhaul mod I will fully support is HIP, because I personally know the team that works there. If any other overhaul mod team would like to implement improved genetics, they can contact me and I will gladly do that for them. In the mean time, if anyone wants to use it, I have a guide for how to edit the mod to make it work with an overhaul mod.

HIP VERSION (furry6): https://www.dropbox.com/s/a46n0sg3rbz2zt3/ImprovedGeneticsHIPv2_03.zip?dl=0
( DO NOT USE WITH HIP FURRY 7, FURRY 7 has improved Genetics integrated in the base mod.)

GOT Version (Beta): https://www.dropbox.com/s/8vkgfz0p9n8ji5i/ImprovedGeneticsGOTV2.zip?dl=0

-------------------------------

Drop Box Link:

https://www.dropbox.com/sh/5rgt7xzticknhs8/AABYLOCwtAW_jqk3U9-otJnSa?dl=0

-------------------------------

NOTE: IF YOU DO NOT LIKE THE NEW TRAITS:

Download the drop box version, and then remove the common/traits/newtraits.txt file

-------------------------------

Thanks to dangitsdaaaaang for the idea and support!

Thanks to Vincent Valentine for German Localization!

Thanks to AlcoholicReptileSyndrome for the updated icons.

Thanks to Freiher Chekem for calculations.

Thanks to Star the Gecko, Kauna, and eightiesboi for support, feedback, and testing.


------------------------------

My other mods:

Immersive Music!:
https://steamproxy.net/sharedfiles/filedetails/?id=1697224501
https://steamproxy.net/sharedfiles/filedetails/?id=1661720509
https://steamproxy.net/sharedfiles/filedetails/?id=1583003247
https://steamproxy.net/sharedfiles/filedetails/?id=1583002793

Court Splendor (WIP):
https://steamproxy.net/sharedfiles/filedetails/?id=1669880989

Improved Genetics Advanced:
https://steamproxy.net/sharedfiles/filedetails/?id=1706721191

Popular Discussions View All (3)
11
20 Apr, 2019 @ 7:12pm
BUGTESTERS NEEDED!
Crimson7
5
3 Jul @ 10:23am
Calculations and Trait distributions
Crimson7
0
20 May, 2020 @ 7:25am
Wrong traits modifiers
Manlor
416 Comments
QuinoaFalafel 15 Jul @ 4:52pm 
About the clubfooted thing and the "feed your wife chickenfeet" events, I actually made a mod to remove that specifically for use with this mod (and the advanced version, which I use). You can get it here: https://steamproxy.net/sharedfiles/filedetails/?id=2746610630

And @Kazat0, yes, you could. And not just hypothetically. Though you would get the inbred trait a ton still unless you remove it with another mod, since this mod doesn't change the inbred trait at all.
Kazat0 28 Apr @ 10:51pm 
So..hypothetically, if someone were to download this mod, could they still form a pure bloodline through incest and try to negate the negative effects? Hypothetically
Khleodon 12 Apr @ 4:54am 
is there a way to remove the decision to normalize genes? i love your mod but i hate seeing meta stuff in game, breaks the immersion for me. thak you.
Crimson7  [author] 17 Feb @ 10:23pm 
@Chaincat

It could be those atrocious events in the game that sometimes fire, that feed your wife chickenfeet or something stupid like that.

I can't do anything about those events as I dont edit any game files.

But your understanding is correct. And that means my mod is not causing the clubfoots.

It could ALSO be that you are using incompatible mods. Sometimes if a mod adds more traits it can cause these issues with improved genetics.
Chaincat 12 Feb @ 9:37pm 
I'm a little confused on how deformities work. I was under the impression that capital letters are dominant genes, and getting something like, say, clubfooted was dependent on how many lower case letters/recessive genes you have. My current character is having nothing but clubfooted children, and whenever I check them in debug mode, it says they have no recessive pairs. Am I simply misunderstanding the system and I have it backwards? Did I discover a bug? Or is my save simply corrupted?
Crimson7  [author] 27 Dec, 2023 @ 4:13am 
@Haruspex
Probably
Crimson7  [author] 27 Dec, 2023 @ 4:13am 
@OP Cheater
The mod is considered complete. Its been widely tested
OP Cheater 13 Dec, 2023 @ 6:21pm 
There are too much debuff traits.
Haruspex 18 Sep, 2023 @ 10:15am 
Is this mod still working?
Wieszczór, Key-Drop.pl 13 Jan, 2023 @ 7:53am 
Can you say this is compatible with When the World Stopped Making sense or not ?