Crusader Kings II

Crusader Kings II

1,578 ratings
Improved Genetics 2.0
8
6
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
87.550 KB
Apr 7, 2019 @ 6:05pm
Apr 20, 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://steamcommunity.com/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://steamcommunity.com/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://steamcommunity.com/sharedfiles/filedetails/?id=1697224501
https://steamcommunity.com/sharedfiles/filedetails/?id=1661720509
https://steamcommunity.com/sharedfiles/filedetails/?id=1583003247
https://steamcommunity.com/sharedfiles/filedetails/?id=1583002793

Court Splendor (WIP):
https://steamcommunity.com/sharedfiles/filedetails/?id=1669880989

Improved Genetics Advanced:
https://steamcommunity.com/sharedfiles/filedetails/?id=1706721191

Popular Discussions View All (3)
11
Apr 20, 2019 @ 7:12pm
BUGTESTERS NEEDED!
Crimson7
8
Sep 25, 2024 @ 4:24pm
Calculations and Trait distributions
Crimson7
0
May 20, 2020 @ 7:25am
Wrong traits modifiers
Manlor
422 Comments
Ammanas Feb 21 @ 7:53pm 
Bug Report:
File: /events/ImprovedGeneticsEvents.txt
Event: MT.20200 #Cuckholdry Strength Inheritance event

You used the 'Sturdy' instead of the 'Burly' trait. Thus cuckhold children can't get Burly.
✪ Tax Feb 20 @ 4:45pm 
Got it, thanks. Sad that you won't develop the mod further, as I just found out that incest is unreasonably overpowered for genetics farming, with barely any unrelated admixture needed to keep it usable
Crimson7  [author] Feb 20 @ 3:40pm 
@Tax

Its definitely possible. I believe I implemented it in the HIP version of this mod, which is bundled with HIP and imo the definitive version of the mod (and CK2)

I dont intend to work on this any longer so you can take inspiration from the HIP version (bundled with HIP) or implement it yourself (you'd have to just check scope if twin, and if so copy the phenotypes from the twin.) Tbh I thought I had that implemented. Do twins have different genotypes? (if you check with console the characters should have flags like int_aaAaAa)
✪ Tax Feb 16 @ 8:40am 
Good day, is it possible to change how twins work so they get the same genetic traits? Doesn't make much sense to me that 100% of twins in this mod are always different genetically
QuinoaFalafel Jan 1 @ 9:15pm 
For anyone interested, I made an overhaul of this mod's trait icons to make them a bit more distinct and aesthetic. You can get it here .

Also, @Crimson7, if you ever read this, you're more than welcome to implement any or all of my changes into the mod. I also included the localization fix that I mentioned a couple years ago, if you ever want to add that in.
skinnypenis Aug 26, 2024 @ 5:57am 
compatible with AGOT traits?
QuinoaFalafel Jul 15, 2024 @ 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://steamcommunity.com/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 Apr 28, 2024 @ 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 Apr 12, 2024 @ 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] Feb 17, 2024 @ 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.