tutafootball.blogg.se

Ck2 total conversion mods
Ck2 total conversion mods




Characters created by hardcode/script with no parents are randomly assigned a race in the same way as lowborns.Īnd that's it.

  • All characters that are born after game-start have genotypes calculated from those of their parents.
  • Lowborns seldom (never?) have attested parents, so they are randomly assigned a race according to a) the race of their liege, and b) a racial diversity setting in the game rules.

    ck2 total conversion mods

  • Once the pedigrees of all highborn characters have been generated, proceed to lowborn characters.
  • Iterate this process across all living highborn characters, until none remain that don't have a genotype.
  • This was done to work around the fact that, in CK2, large numbers of long-deceased characters had fathers but no mothers. This effectively results in the child having the same genotype as the parent.
  • If a character has only one attested parent, double that parent's genetic contribution for the purpose of calculating the child's genotype.
  • More complicated genotypes result in a full-blood racial trait being assigned if one component clearly predominates, or half-blood traits being assigned for the two largest components if no one predominates. For example: A child with a father whose genotype is and a mother whose genotype is would have a genotype of and would be assigned the Half-Elf and Half-Human traits.
  • For each successive generation, calculate child genotypes by adding together the variables from the parents' genotypes and then dividing by two.
  • (While this approach doesn't account for long-term population movements, it approximates the tendency in most fantasy settings for nonhumans to concentrate in specific biomes - e.g., elves in forests, dwarves in mountains.) Generate a genotype consistsing of one variable for each race in the game (e.g., Dwarf 0, Elf 0, Goblin 0, Human 1.0, Orc 0, Pech* 0).
  • Randomly assign a race (marked by a corresponding trait - e.g., Elf) to the apical ancestor, weighting for the rarity of each race (set in game rules) and the biome (e.g., forest, mountain, desert) of the province in which the living descendant resides.
  • If the living character himself has no attested parents, he becomes the apical ancestor of his lineage.
  • Start with a living highborn character and trace his lineage back to an apical ancestor - i.e., the oldest ancestor with no attested parents.
  • I worked out a pedigree system for tracking a character's genotype using variables that consistently yielded accurate racial assignments.

    ck2 total conversion mods

    (I plan to eventually port it to CK3, but that'll have to wait.) The idea was to allow the player to set up a customized fantasy scenario using game rules to toggle things like nonhuman races, magic, deities, monsters, etc. I was working on a fantasy converter mod for CK2 that I put on hold when CK3 was announced.






    Ck2 total conversion mods