Jump to content

2 Screenshots

About This File

For eons, the human race has gone without the ability to tell what the hell that musclebound raider's gender is.

 

No longer! By simply renaming your selected textures, the fabric of reality can be shifted - molded to your whims.

 

What's this? Definition? Distinction? The possibilities end right there!

 

Grab your copy today!

 

 

Instructions:

 

Unzip into your mods folder like any other mod. Then customize your textures by replacing the examples.

 

This mod requires Harmony/Hugslib.

 

Add Clothing:

Spoiler

Simply create a copy of the texture you want to make a female variant of, and rename it by putting _fem_ in between the bodytype and the direction. Make sure you are adding all three directions when you do this though, it only actually checks for _south but there is no error handling if you don't have all three direction files.

 

Examples:

 

Male:     Naked_Thin_east.png

Female: Naked_Thin_fem_east.png

 

Male:     ShirtBasic_Thin_east.png

Female: ShirtBasic_Thin_fem_east.png

 

That's it. All there is to it.

 

 

Disclaimers:

Spoiler

The included example textures are very basic, terrible, and you should definitely replace them with your favorite ones as soon as possible. They are also NSFW, as they include bits and boobs. Mostly the latter really.

 

This mod would not be possible without "Children and Pregnancy" by Thirite of the Ludeon forums.

While most of it has changed now, the beginnings of this mod were actually evolved from C&P. It was invaluable for learning Harmony patches and finding the correct functions to hook into, so... thanks bro!

 

This mod is probably incompatible with lots of things. Most notably Children and Pregnancy (for now, see below). Worst that will happen is graphical errors though, so it's safe to try it out! Please let me know about others you find, I may or may not actually be able to fix them. ¯\_(ツ)_/¯

 

C&P is actually fine with Gender Distinction, but for some reason it absolutely refused to load it's patches before mine. Should be a real easy, one-line fix. Harmony lets you set a priority but no matter what I've tried C&P loads last. So the solution I use is adding the line to C&P and recompiling that. Spoiler below is what to change.

 

Spoiler

In Overrides/PawnRendering.cs near line 53

 

Change this:



    [HarmonyPatch(typeof(PawnGraphicSet), "ResolveApparelGraphics")]
    public static class PawnGraphicSet_ResolveApparelGraphics_Patch {
        [HarmonyPrefix]
        internal static void ResolveApparelGraphics_Patch(ref PawnGraphicSet __instance) {
            Pawn pawn = __instance.pawn;
            // Updates the beard
            if (pawn.apparel != null && pawn.apparel.BodyPartGroupIsCovered(BodyPartGroupDefOf.UpperHead) && pawn.RaceProps.Humanlike) {
                Children_Drawing.ResolveAgeGraphics(__instance);
            }
        }

 

to this:

 



    [HarmonyPatch(typeof(PawnGraphicSet), "ResolveApparelGraphics")]
    [HarmonyBefore(new string[] { "rimworld.gender_distinction" })] // < This is the added line
    public static class PawnGraphicSet_ResolveApparelGraphics_Patch {
        [HarmonyPrefix]
        internal static void ResolveApparelGraphics_Patch(ref PawnGraphicSet __instance) {
            Pawn pawn = __instance.pawn;
            // Updates the beard
            if (pawn.apparel != null && pawn.apparel.BodyPartGroupIsCovered(BodyPartGroupDefOf.UpperHead) && pawn.RaceProps.Humanlike) {
                Children_Drawing.ResolveAgeGraphics(__instance);
            }
        }

 

 

Finally, GenderDistinction is completely open source. So go ahead and use anything you need and/or want from it. If you want to reupload to Nexus or Steam or something, that'd be neat. I'd do it myself but I can't have my friends discovering I'm a degenerate. ???

 


What's New in Version 1.1

Released

Updated for 1.1 by geoper!

 

Give him a thumbs up!


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use