RimWorld

RimWorld

FemaleBodyVariants
142 Comments
V∆ŁĶẎŘĒΞ Nov 15 @ 12:12am 
Hi, can you make a patch specifying the body path textures for the mod <rim_robots>
Montgomerew Nov 13 @ 12:59pm 
Can't edit my other comment, but just to clarify, line 6 of your pastebin seems to be referencing a Hugslib class.
Montgomerew Nov 13 @ 12:55pm 
@Scorpio I think the error may actually be with Hugs. I had an issue where mods were suddenly throwing tons of super random errors. I finally removed Hugs and suddenly they're fine. Because of the way code works, the file/mod that gives an error might not actually be the source of the error. It might be completely fine, and correctly built, but if another mod contains ♥♥♥♥ code implemented badly, it may trigger issues down the line when a later mod tries to use something that the bad mod broke.

Apparently Hugslib is having issues lately.
tiagocc0  [author] Nov 9 @ 4:27am 
I counted 15 other mods that uses harmony and are loaded after, on my mod list
tiagocc0  [author] Nov 9 @ 4:24am 
working fine for me, i can still even load an old save and continue playing

https://imgur.com/a/zDxQzDp

it would be better to send a list of mods you have
are you using harmony from the workshop?
you can try unsubscribing and subscribing the mods, sometimes it gets corrupt
and/or check the game integrity
Scorpio Nov 8 @ 11:50am 
yes it plays but it breaks every harmony patch after yours is loaded
https://pastebin.com/UnStpzyw
tiagocc0  [author] Nov 8 @ 9:40am 
I can play just fine with FemaleBodyVariants and FemaleApparelVariants
did you try just those two mods active and nothing else it still gives error?
Scorpio Nov 8 @ 3:19am 
this mod + your female apparel variants are breaking hamony patch loading been trough 6 hours of debugging to confirm it ,
狼雨歌 Oct 28 @ 9:41pm 
Maybe it can be simpler?

Add a whitelist in the mod settings , select the vanilla race by default and it will take effect , and list other races . If need , can select some mod races and take effect .

Hope this suggestion is helpful .
tiagocc0  [author] Oct 28 @ 8:40am 
I only ever used it with default races, so I'm not sure but probably would need to blacklist them somehow.
狼雨歌 Oct 28 @ 4:49am 
Great mod , but I had to abandon it until it was fixed because it was displacing some races' bodies causing all sorts of problems ( eg : Yuran , Miho , Epona , Dragonian , etc .) , and the sorting didn't fix the problem , no matter if it was placed above or below . What's worse is that not all race mods have corresponding patches .
If possible , can you consider making it only effective for race mods that use vanilla bodies ? Or is it a blacklist-like form of disabling ?
Gamphar Oct 21 @ 9:41am 
thanks! after doing a quick test, it's so weird that Harmony still tried to make my GraphicFor postfix patch onto your GetFurBodyGraphicPath postfix patch

i recompiled your new FemaleBodyFurVariants.dll and everything worked perfectly again

i then triple-checked, changing the Harmony ID back to the identical (old) one did break my GraphicFor postfix, and switching back to the new ID fixed it

LOL, i initially thought the Harmony ID itself was the primary cause (and it was in my VS compile), but apparently that's not the case for others

thanks anyway, it looks like for now is just to recompile your FemaleBodyFurVariants.dll myself so i can get back to playing
tiagocc0  [author] Oct 20 @ 5:04am 
done
tiagocc0  [author] Oct 20 @ 4:53am 
sure
Gamphar Oct 19 @ 3:11pm 
Hello, can you rename the Harmony ID in FemaleBodyFurVariants.dll?

please change:
new Harmony("FemaleBodyVariants").PatchAll();

to
new Harmony("FemaleBodyFurVariants").PatchAll();

using the old, identical ID with your FemaleBodyVariants.dll confuses Harmony, it makes PawnRenderNode_Body.GraphicFor incorrectly return a string (from FurDef.GetFurBodyGraphicPath) instead of a proper graphic object.

if other mods (like mine) try to patch GraphicFor after yours, they'll break causing red text on main menu and in game.

putting them before your mod is a temporary workaround, but then they can't use your new female tags.
tiagocc0  [author] Sep 26 @ 5:21am 
try changing the order of the mods
other than that maybe we would need to patch it to allow exceptions
but I won't be able to come back to rimworld for a good while
Paradox Sep 26 @ 5:03am 
For some reason the droids from Android Expanded (which have their own robot body textures) are using human body textures when this mod is active. Is there any way to blacklist this mod from affecting certain races?
MadMage Sep 5 @ 10:07pm 
Awesome, thanks. It was so simple I was straight up unsure.
tiagocc0  [author] Aug 31 @ 2:51am 
It doesn't check for genes, the code checks two different places one for normal pawns and another for pawns that fit the fur skin criteria.

In both cases it doesn't look for hardcoded paths, it just finds out a texture is going to be loaded for a certain pawn and checks if it is female and adds a _female to the path, so should work regardless of what name is being used if they are using one of these two routes.

If the body uses a new custom function to load the texture, then it won't work here or a third vanilla function I'm not aware of.

So yes, just load a mod with just images with the correct names and it will work.
MadMage Aug 30 @ 9:24pm 
@tiagocc0 Does this follow for ANY skin gene? Just drop the textures in using the same naming convention and it'll just... see them?
tiagocc0  [author] Aug 30 @ 6:46am 
I load it first but I use just a few body mods.
veoba Aug 30 @ 6:44am 
Should this mod be loaded before all bodies mods?
artemidle Aug 26 @ 5:37am 
Thanks
tiagocc0  [author] Aug 26 @ 5:34am 
You can take a look at this mod, it has the images of the new textures like:
Naked_Thin_Female_south.png

You can copy this mod to your mod folder directly in the rimworld folder and change the image files to your own, later you can adjust the rest of the files to make your own mod if you want.

However for yttakin there is no file in this mod for it but you can create them in the same place as the other images but this name:
FurCovered_Thin_Female_south.png

Then just follow the same pattern.
artemidle Aug 26 @ 5:30am 
I have a question, is there a guide for adding new body types or how do I add them myself?
тетеря, блин Aug 6 @ 4:59pm 
for some reason, I needed to create a custom rule to load this mod after «Paniel the Automata». otherwise many different races (Kiiro, Maru to name a few and Paniel itself) loaded some other bodies that don't fit their apparels. maybe this is not the Automata mod, but some other load order changes that fix stuff, but it required quite some time to find this pattern.
tiagocc0  [author] Aug 5 @ 6:53pm 
I will update the github, I forgot about it, lately I have been using just dnspy, I will comment here when I do
AJarOfDirt Aug 5 @ 12:20pm 
@tiagocc0 I'm interested in seeing your solution, but it doesn't look like your github is updated and the source code isn't published with the mod. Could you share what you did?
tanyfilina Aug 2 @ 11:02am 
As it seems that currently only my mod needs that and there is some mere hundred people subscribed to my mod, I'll probably test it myself, just slowly probably :)

As for the wings and tails, I think, their rendering must be similiar to clothes, so hopefully shouldn't be very hard to implement?
tiagocc0  [author] Aug 2 @ 10:53am 
It will depend more on what function in the game it uses rather than coding the gene or an exclusion tag like Ajar solution, they are control techniques.

As it is right now it should work for anything unless there is a third function in the source code for this which I don't think exists or if a modder made this third function. Then in this case I would need to mod around their mod.

The scaly body that you gave as an example probably already works, I can test if you want, let me know the mod name.

But this mod is for bodies so tails and wings could probably mean it is located in a different function in the source code.
tanyfilina Aug 2 @ 10:42am 
Actually it would be great if you could write some code so that we could add any gene female variants, as manu things don't look good: different bodies, tails, even wings...
tiagocc0  [author] Aug 2 @ 6:57am 
The patch applies to the original GetFurBodyGraphicPath so if these mods are using a variation of fur to achieve scaly bodies, then yes.
tanyfilina Aug 2 @ 6:55am 
Will this now support other body genes too, like scaly bodies from some mods?
tiagocc0  [author] Aug 2 @ 6:43am 
Let me know if you guys find an error.

Also it is important to give me a modlist, since many mods might conflict with this.
tiagocc0  [author] Aug 2 @ 6:41am 
Using this mod with female apparel mod shouldn't be a problem, but other mod combinations might. I have tested the two mods together before release.
tiagocc0  [author] Aug 2 @ 6:39am 
Sorry it took a while, made an update for fur covered bodies, thanks to AJarOfDirt and Pillowkitty for helping me with this.
I did try a more simple approach, instead of looking for exclusion gene tags, I modified the code to check if the texture exists, like the apparel mod, so it won't give an error if it doesn't or give a red X texture and if it exists it will load automatically without a need for xml patches or further verification.

I tested it with Yttakin and VRE Highmate.

So FurCovered_Thin_Female_south.png texture will work.
Acrollex Aug 1 @ 10:29pm 
@Iirly thank you for clarifying i ended up removing both including the mod requiring female apparel variants and FemaleBodyVariants, WDI relastic bodies requires both mods to be installed to work i ended up removing the mod completley with the requirements and installed another body mod now everything works fine
Iirly Jul 31 @ 8:01pm 
@Acrollex if you are using this mod with female apparel variants, that was giving me the same issue. removing it is only a work around if you're using it though. Hope that helps.
ПΛПО Dragoon Jul 30 @ 7:04pm 
@Decimus Magnus Yeah I've never tried adding mods mid save but did you test doing that with only this mod?
тетеря, блин Jul 30 @ 4:23pm 
should this be used alongside?

https://steamcommunity.com/sharedfiles/filedetails/?id=1792668502

I mean, is it okay or it's better to exclude it?
тетеря, блин Jul 30 @ 5:44am 
would be great to see a collection of mods that support it eventually.
Decimus Magnus Jul 29 @ 10:31pm 
I tried to add this mid game and it completely breaks the map for some reason. Not sure if it's an incompatibility with another mod, but the entire map (not the globe) refuses to load and is purely black.
тетеря, блин Jul 29 @ 6:11am 
@tiagocc0 high hopes!
AJarOfDirt Jul 28 @ 9:58pm 
@Acrollex No way that is this mod. This mod doesn't touch the head at all.
Acrollex Jul 28 @ 7:10pm 
This mod has huge amount incompatibility with Medieval Overhaul where females textures specifically the head area shows a big [ X ] symbol

error:
Failed to find any textures at Things/Pawn/Humanlike/Apparel/Headgear/Coif/Coif_Thin while constructing Multi(initPath=Things/Pawn/Humanlike/Apparel/Headgear/Coif/Coif_Thin, color=RGBA(0.792, 0.765, 0.667, 1.000), colorTwo=RGBA(1.000, 1.000, 1.000, 1.000))

seems to have some type of conflict with headgear for some reason
tiagocc0  [author] Jul 28 @ 6:22pm 
I wouldn't know, never looked into the source code about how the faces are drawn
тетеря, блин Jul 28 @ 11:56am 
is it possible to make the same, but for animated faces? there are so many of them. would be especially great to be able to bind them to factions.
FanKaydarius Jul 27 @ 7:15am 
I do have my own personal texture mod that I use for myself, but when it comes to giving males the female body variant and vice versa, I simply just use the pre-existing character editor mod. I don't think it'd be necessary to find a way to have them spawn naturally anyways. (Though it sometimes happens via glitches anyways lol)
tiagocc0  [author] Jul 26 @ 10:45am 
I get what you are saying but they are the only official type that have male/female variant, and due to how difficult it would be also have separated bodies for the other types, the only that is also separated in the code.

Following the same silhouette, it would be a feminine male body and a masculine female body right?

It it's possible for the texture the be arranged like that, however I don't know if in the code a female body would ever appear as male and vice versa, or do you already have a mod for that?
FanKaydarius Jul 26 @ 7:42am 
This might sound a bit much, but would it be possible to somehow introduce a male variant for the female body type, and a female variant for the male body type?