RimWorld

RimWorld

259 ratings
Gendered Genes
9
5
6
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.4, 1.5
File Size
Posted
Updated
7.639 MB
2 Dec, 2023 @ 2:27am
8 Jun, 2024 @ 7:21am
6 Change Notes ( view )
You need DLC to use this item.

Subscribe to download
Gendered Genes

Description
Features
Adds some sexual dimorphism to xenotypes by making it possible to have a gene only apply to one gender, or leave it at the default vanilla way of applying the gene to everyone of that xenotype. If a gene (or another gene that has it as a prerequisite) is not applicable to a pawn due to this it is merely overridden, meaning that these genes are still inheritable as normal, keeping their gender information.

To set the gender for a gene simply click the little buttons to the left of the gene in the xenotype creation dialog window. The "/" is for unisex (default, applied to both genders as in vanilla), "M" is male only and "F" is for female only.

Gender information is passed on via:
- Xenogerms
- Pregnancy/Birth (including artificial)
- Xenoimplanter gene

Compatibility
Due to technical limitations, modded ways of shuffling genes around or reproduction will likely not retain gender information and as a result will likely cause genes to revert to unisex if used.

Also, this mod "disables" genes by overriding them and preventing code from running that would usually run when the gene is added. There are some mods that add genes that still work when overridden, which can cause their effects to still apply even when they shouldn't.

Popular Discussions View All (1)
0
10 Jan, 2024 @ 12:50pm
Bug report
tanyfilina
198 Comments
demondust6 9 hours ago 
is this getting a 1.6 update?
Optionalduck 9 Jul @ 3:31pm 
Pawns that spawn as from events like raiders don't retain the info and have all the genes active
Monkey Magic 3 Jul @ 7:50am 
@Feels - Previously I commented that it doesn't save the settings. However, as @GarryFlowers stated, it should do so, and in fact has done so since. I am not sure exactly why I had that issue back then, but it appears to have resolved itself.

If I were to guess, I would say the most likely culprit being the xenotype data file stored in Rimworld by Ludeon/Xenotypes being corrupted, which I recall having to delete manually before remaking my "Yttikin" replacement for "Yttakin".
GarryFlowers  [author] 3 Jul @ 7:33am 
@Feels it should
Feels 2 Jul @ 1:55pm 
it doesnt save the settings?
zakuro 10 Jun @ 8:40am 
Unfortunately doesn't play well with Character Editor if you want to change the xenotype mid-game it just doesn't split for male/female.
Monkey Magic 4 May @ 6:58am 
Actually, there's another drawback - this will only work for new games. Old saves will still have previously existing Yttakin Pirate xenotypes regardless of the changes made.

EDIT - And apparently yet another drawback. Every time you want to load your save file, you will have to first go into the mod options, edit the the custom race, add back the gender flags because they somehow still get lost, then rename it so it saves as a new version (so we'll go with Yttikin this time) and delete the existing one in order for it to continue working..
Monkey Magic 3 May @ 11:02pm 
@Garry Flowers and QuarkDoe - Unfortunately Xenotype Spawn Control will not recognise a customized default named xenotype as valid, and it will not show up in the list of options.

One can cheese it, but to avoid issues one first has to:

Deleting the Xenotypes folder in the Rimworld by Ludeon Studios folder (User Files/App Data/LocalLow)

Open XSC's options, and use Editor tab to create a new xenotype by loading the original (Yttakin for example), making changes adding gender flags and saving as a similar name(Ytterkin).

Use Faction tab, and move the slider for Yttakin Pirates to 100% of the new version.

@TheSevenSins - In theory you could use the method above to create new versions of modded xenotypes, assuming they show up as an available faction to screw around with (you will need both mods)

The drawback is these xenotypes will not have the originals info in game
TheSevenSins 2 May @ 9:04pm 
@GarryFlowers Is there a way to specify gendered genes in either a xenotype xml or a patch xml? I am trying to make a specie of ant xenotype that only have wings when they are male.
TheSevenSins 2 May @ 9:01pm 
If you want to modify existing Xenotypes @QuarkDoe you can use this mod:
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3254345251&searchtext=export

It allows you to export patches of xenotypes, making them load instead of the original