RimWorld

RimWorld

409 ratings
[BT] SpawnThoseGenes!
3
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5, 1.6
File Size
Posted
Updated
735.914 KB
5 Dec, 2022 @ 1:23pm
18 Jul @ 1:34pm
7 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
[BT] SpawnThoseGenes!

Description


This framework is designed so you can easily add custom germline genes to the default or your own custom races in the game, originally it was supposed to be an EyeGenes2 exclusive mod but we decided to make it a framework any mod can tie into.

Before this mod it was one or the other.. now you can have both xenogenes and germline genes per race.

  • Allows you to add custom endogenes at pawn creation, with chances.
  • Lightweight.
  • Example file included, please don't overwrite groups that will break other mods, instead patch into them if they exist.

EXTRA-INFO
  • Keeping your chances under 1 collectively gives it a chance to not give any gene at all.
  • If a gene endocatagory exists it overwrites it, so you could in theory restrict a race to specific skincolors or haircolors.
  • Properly checks to make sure its not a biotech birth so genes don't get overwritten.

Does this work with har races?
NO this mod relies completely on xenotypes and is not designed for HAR races in mind, that said
it will most likely affect them as they are technically "baseliner" in terms of the games understanding with baseliner
genes.

Are there any patches?
Yes! here you go!: Community Patches

[ko-fi.com]
                 
              This work is licensed under a
       Creative Commons Attribution 4.0 International License[creativecommons.org]
54 Comments
тетеря, блин 27 Jul @ 7:13am 
on pawn generation:

[SpawnThoseGenes] No possible endogenes found in config for: KiiroXenotype
...
Tried 300 times to generate age for kiiro special force smoke-maker
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
...
https://gist.github.com/HugsLibRecordKeeper/1e542841298a5a7e16767c96babed33a
DiegoCalvito 19 Jul @ 7:12am 
thank you for your hardwork guys
Neradon  [author] 18 Jul @ 1:35pm 
Patch is out for eyegenes2 :)
OPERATOR  [author] 18 Jul @ 2:36am 
We already have a fix, just waiting for other dev to wake up to push it :3 patiennnceeee!
Monbland 18 Jul @ 2:35am 
[[BT] EyeGenes2 | Base - [NL] Facial Animation | - Start of stack trace]
Verse.PatchOperationAdd(xpath="Defs/SpawnThoseGenes.SpawnThoseGenesXenotypes[defName = "Starjack"]/Groups"): Failed to find a node with the given xpath
Verse.PatchOperationSequence: Error in the operation at position=1

[[BT] EyeGenes2 | Base - [NL] Facial Animation |] Patch operation Verse.PatchOperationSequence(count=1, lastFailedOperation=Verse.PatchOperationAdd(Defs/SpawnThoseGenes.SpawnThoseGenesXenotypes[defName = "Starjack"]/Groups)) failed
file: B:\SteamLibrary\steamapps\workshop\content\294100\2898151329\Additionals\SpawnThoseGenes\Patches\Races\Patch_Starjack.xml
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.PatchOperation:Complete (string)

обрезал оба лога, если что
XSlayer300 11 Jul @ 11:19am 
Is there a way to spawn two endogenes with each pawn? like I want to have a restricted hair color and skin color for my pawns.
RAD EMERALD 9 Jul @ 5:01am 
THANK DUDE!
Neradon  [author] 8 Jul @ 12:58pm 
1.6 support is out :)
RAD EMERALD 8 Jul @ 4:52am 
pls update 1.6?
thorman123456789 4 Jul @ 12:37pm 
1.6 please?