RimWorld

RimWorld

FemaleBodyVariants
81 Comments
tiagocc0  [author] 20 hours ago 
Seems interesting, is it a hamorny patch or xml?
AJarOfDirt 22 hours ago 
@tiagocc0 If you're interested, I made a patch to use an exclusiontag in the FurDef of genes that add fur to add variants too. Just need to add the tag to a genes FurDef and it works. Tested it with the highmate giving it a different set of textures.
tiagocc0  [author] 29 Jun @ 8:27am 
tiagocc0  [author] 29 Jun @ 8:01am 
reverted
TheTime 29 Jun @ 7:59am 
love you bro :)
tiagocc0  [author] 29 Jun @ 7:57am 
ah, this probably because the mod modifies the same function I did, I will separate the apparel from the body mod, so for now I will revert it back to be just a body mod here
TheTime 29 Jun @ 7:53am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
TheTime 29 Jun @ 7:53am 
Log is here
Failed to find any textures at Things/Apparel/NY_MusicianCoat/NY_MusicianCoat_SmeltedLoongBodyCB while constructing Multi(initPath=Things/Apparel/NY_MusicianCoat/NY_MusicianCoat_SmeltedLoongBodyCB, color=RGBA(0.635, 0.616, 0.596, 1.000), colorTwo=RGBA(1.000, 1.000, 1.000, 1.000))
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Graphic_Multi:Init (Verse.GraphicRequest)
Verse.GraphicDatabase:GetInner<Verse.Graphic_Multi> (Verse.GraphicRequest)
Verse.GraphicDatabase:Get<Verse.Graphic_Multi> (string,UnityEngine.Shader,UnityEngine.Vector2,UnityEngine.Color)
FemaleBodyVariants.PawnRenderNode_Apparel_GraphicsFor_Patch:TryGetGraphicApparelWithFemaleVariant (RimWorld.Apparel,RimWorld.BodyTypeDef,bool,Verse.Pawn,RimWorld.ApparelGraphicRecord&)
FemaleBodyVariants.PawnRenderNode_Apparel_GraphicsFor_Patch/<GetGraphicsForWithFemaleVariant>d__2__0:MoveNext ()
TheTime 29 Jun @ 7:51am 
The mod is SMELTED LOONG
tiagocc0  [author] 29 Jun @ 7:42am 
other races from other mods, if so which mods, if not which races?

if possible post the error log here
TheTime 29 Jun @ 7:40am 
This new update may cause errors in the new body types of other races' mods. The specific manifestation is that the texture of the special clothing added for the new body types of other races becomes incorrect.
tanyfilina 28 Jun @ 11:06pm 
Wow. Really.
yellow rain 28 Jun @ 10:13pm 
The new Apparel image that fits the 1.6 body(Thin_Female, Hulk_Female, Fat_Female) type has been printed normally.
This is a revolution.
Thank both.
yellow rain 28 Jun @ 10:09pm 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
tiagocc0  [author] 28 Jun @ 4:00pm 
updated, this update for apparel is for 1.6 only for now, will have to check if it is as easy for 1.5 later

it doesn't have new textures for apparel, will need to provide the textures for it to work
tiagocc0  [author] 28 Jun @ 3:53pm 
i made a prototype to test having different apparel for each female body type, I remember trying to find where to apply the patch in 1.5 and not finding a good place but now on 1.6 I found one, it's possible 1.5 is the same code and I just missed it

anyway, here is a screenshot with both wearing a power armor, but I only made a new texture for the hulk body, I used the same skin texture from this mod just to test

https://imgur.com/a/CAXJa34

I will clean it up and update later here, I don´t know if it will affect performance negatively
The good part is that it checks if the texture exists, if not it loads the original, so people won't need to do all the graphics of all apparel, so I won't put placeholders like I did with the bodies, to check if it works you will need a mod that add textures

for testing I added this to the local mod
/Common/Textures/Things/Pawn/Humanlike/Apparel/PowerArmor/PowerArmor_Hulk_Female_south.png

and one for east and north
tanyfilina 26 Jun @ 1:30pm 
Aaah, I think I see what you mean. This can actually be solved pretty easy, BUT not with this mod. I've made that partially for myself, but not for uploading - it consisnts of other peoples' mods :)
You need to actually create BodyTypeDefs for that body variants. To make a file with something like
"<BodyTypeDef>
<defName>Thin_Female</defName>
...
''
And THEN you can add those apparel variants which would be automatically picked.
The downside is that you would need to add ALL apparel for that body variants. And some gene grafics too. And then edit the Backstories to include them if you want them to appear in game.
yellow rain 26 Jun @ 1:03pm 
@tanyfilina, I know that too.
So I created a costume image file (TribalA_Female_east) that emphasized curves and sexiness for the basic body type (Naked_Female_east).
But... It was too bad.
I wanted to create a costume image that fits the body type (Naked_Hulk_Female_east), body type (Naked_Fat_Female_east), and body type (Naked_Thin_Female_east).
tanyfilina 26 Jun @ 12:45pm 
@ellow rain copy files and change Female to Naked_Thin_Female and so on in each file name. But you know, the textures would be the same, they won't adapt to bodies...
tiagocc0  [author] 26 Jun @ 12:09pm 
What I meant is that clothing is beyond this mod scope and I don't know how to do it.
I had similar questions before but it seems separating clothing from male and female pawns is tricky and something a lot of people want.
yellow rain 26 Jun @ 12:07pm 
Oh, I misspoke

'That mod' is 'Apparel Retextuer' mod.

The FemaleBodyVariants mod you made didn't manipulate the clothing textures.

ok?

'Apparel Retextuer' mod does not have fat, thin, and muscular female clothing textures.
(It only has normal female clothing textures)

What I want is how to write the image file names in the Clothing Retextuer mod so that the Apparel images appear in the actual game according to the female body type (fat, strong, thin).
tiagocc0  [author] 25 Jun @ 6:13pm 
Have no idea, this mod only allows the body texture to use a different texture from fat, thin and muscular when it is female, it doesnt change anything related to clothes.
yellow rain 25 Jun @ 1:45pm 
I am using the Apparel Retextuer mod.

That mod does not have fat, thin, and muscular female clothing textures.
(It only has normal female clothing textures)

How do I change the image file names to apply fat, thin, and muscular female clothing textures while using this mod from you?

I wonder if I need to edit the xml file.
tiagocc0  [author] 21 Jun @ 12:56pm 
Thanks, I uploaded a fix.
ƎNA 21 Jun @ 12:15pm 
There is a bug where the pawn still has textures added by this mod, even in the skeleton state. (Sorry, I'm using the translator)
tiagocc0  [author] 13 Jun @ 7:19pm 
After release I will check if it needs upgrading
Shimada 12 Jun @ 8:04pm 
Will there be an upgrade to 1.6?
Deankiller Turnupseed 13 May @ 1:34pm 
please make it compatible with rimbody
AJarOfDirt 2 Feb @ 2:34pm 
@BravHart @Veritters @ChillStorms The only body types in the game are hulk, thin, fat, male, and female. This mod replaces the default thin fat and hulk with a female specific one if the pawn is female. There isn't really a good way to have multiple "curvy"(base female) textures.

I did submit a pull request that would add a custom tag to a gene of "Has_Female_Variants" that could be used to add these variants to other xenotypes (like having hulk female fur or scale skin). You could theoretically use the same thing to have different body textures randomize for different pawns using a gene.
turkler 9 Jan @ 8:37pm 
thank you so much for this mod! just wanted to confirm that this mod works with erin's body textures out of the box
Veritters 30 Dec, 2024 @ 8:46am 
@BravHart I'm looking for the same thing as you BravHart, did you managed to make it happen?
WJSabey 13 Dec, 2024 @ 11:19pm 
I've discovered a bit of an incompatibility with Utility Synstructs. If a synstruct is "female" it shows this body instead of the proper custom texture. Workaround by simply switching the synstruct to male using character editor, but should probably be fixed properly anyway.
BravHart 12 Sep, 2024 @ 3:42pm 
I don't know, but is there a way to switch out body types? Maybe you wanted to use a body type from another mod, but it's the same body type as one you want to keep, could you do that (and how do you)?

For example, maybe you want a curvy(?) female with muscles, but want to keep a curvy female body without muscles. Is there a way in that case to make it be labeled as "hulk" to replace the hulk body type, while making all the assets treat it as another curvy female body type without having to go through change/rename every file of vanilla and mods to do it?

Could you hypothetically, through this process, use more or less than 8 body types at any given time?
ChillStorms 8 Sep, 2024 @ 8:41am 
@AJarOfDirt I am certainly interested. I have been trying to figure out visual studio but I have given up.
tiagocc0  [author] 14 Jul, 2024 @ 1:28pm 
It depends on how clothes work in the game, I haven't touched or checked this part of the code so I don't know.

But several people including modders reached me about this so I assume it's not possible with xml modding which is easier, so it would probably require a harmony mod and changing one or more methods in the game. This mod is a harmony mod and changes one method.
Rohzdear 14 Jul, 2024 @ 12:07pm 
Is it possible to make so that clothing for the same body type but different sex has different graphics?
For example the T-Shirt apparel having different graphics depending if it's a Female or Male Hulk body, etc.
Panthercat64 1 Jul, 2024 @ 12:31pm 
Alright I'll give it a shot, thank you!
tiagocc0  [author] 1 Jul, 2024 @ 2:53am 
the source code is in the github link above

you need visual studio to compile it, so you would modify this file
https://github.com/purpleorangegames/FemaleBodyVariants/blob/main/Source/FemaleBodyVariants/GetFloatMenuPatch.cs

this is the code in question, notice the if has conditions

can't be male
can't be null
can't contain the name _Female (which is already a female body)
and then needs to contain one of these
either it is _Thin, _Fat or _Hulk

if (pawn.gender != Gender.Male && graphicPath != null && !graphicPath.Contains("_Female") && (graphicPath.Contains("_Thin") || graphicPath.Contains("_Fat") || graphicPath.Contains("_Hulk")))
...

What you would need is a way to identify if is one of the races you want to exclude and include the exception in the if clause, but I have no idea how to do this as I have never made a mod about HAR
Panthercat64 30 Jun, 2024 @ 8:35pm 
Well, I don't know how to actually do anything with harmony, again I'm not a modder at all.
So do you mind providing help for me to learn how to make exceptions to mods with harmony? I couldn't find much through google searches.


Admittingly, the last HAR races I have (because I used to have way, way, way more to the point it was a problem) are some of Yanziko's mods. I like some the features they add, like textures disappearing with certain injuries.
I'm willing to make a fix myself since I doubt many would care about fixing that, and I don't make you do work for one person. I'm just not sure how to do it.
tiagocc0  [author] 30 Jun, 2024 @ 7:14pm 
this mod changes a function from the game using harmony so no xml
it's a very simple if so you could include some exceptions to it if you can identify those you want unchanged from har
Panthercat64 30 Jun, 2024 @ 6:40pm 
The mod is cool, but Is there a way to make it ignore certain races from HAR that use custom textures? It's creating some minor in all reality, but very immersion breaking, issues.


I don't mind doing it myself if its just a very simple patch operation, but I'm not an actual modder just kinda have a very base understand what the XML code is sometimes talking about, so I'd just need some simple instructions/knowledge of any essential code to figure it out on my own.
tanyfilina 1 May, 2024 @ 11:35pm 
Zuada, nope. But that can be done via the same patch method as in Gendered Body Types mod + adding separate bodies in BodyTypeDefs. But you'll have to add new apparel images for all the apparel mods you use...
Zuada 1 May, 2024 @ 1:39pm 
Does this mod give support for apparel specific to the extra female body types? For example "Tshirt_Hulk_Female_*"?
tsuzumi 28 Apr, 2024 @ 1:04pm 
There seems to be an issue with FemaleBB where both bodies renders.
I suspect adding FemaleBB to the If statements in the Harmony Postfix class should solve it.
tiagocc0  [author] 22 Apr, 2024 @ 2:52am 
It probably is more complicated than this mod since it deals with apparel. I won't have time to check it out in the near future.
tanyfilina 22 Apr, 2024 @ 1:19am 
Oooh, could you please add an apparel function? Maybe it could be possible to make it so that pawns could use normal apparel if there is no special ones, but use special (like, _Fat_Female_), if there is? Or to make it as a separate variant of a mod? Please, it's the whole point of this mod for me.
tiagocc0  [author] 21 Apr, 2024 @ 12:38pm 
I only made a function for body type, apparel is unchanged and they will use normal apparel.
tanyfilina 21 Apr, 2024 @ 5:46am 
Does it support different apparel for each body-type? Would it be like Duster_Thin_Female_south?
INk 13 Apr, 2024 @ 3:12am 
oh okay
tiagocc0  [author] 12 Apr, 2024 @ 10:29am 
if you mean to make the missing textures then I won't, they can use this mod as a prereq the make the missing textures themselves but I won't make those texture of other mods

I did one for beautiful bodies because that is the one I use and the author says anyone can use as long as he is given credit