Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
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
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.
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.
As for the wings and tails, I think, their rendering must be similiar to clothes, so hopefully shouldn't be very hard to implement?
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.
Also it is important to give me a modlist, since many mods might conflict 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.
– https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1792668502
I mean, is it okay or it's better to exclude it?
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
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?
you can reach me on discord, this is my id 253930179196485633
If you prefer another way let me know
If you want I can pass you my assembly? It has been working on my end with all the VE races I have completed art for. I'm still working on designing full body skins of Roo's unguligrade legs as whatever design/code that is used for those overlays are not cooperating.
public static class FurDef_GetFurBodyGraphicPath_Patch
{
[HarmonyPostfix]
public static void Postfix(FurDef __instance, ref Pawn pawn, ref string __result)
{
if ((__result == null)
|| (pawn.Drawer.renderer.CurRotDrawMode == RotDrawMode.Dessicated)
|| (ModsConfig.AnomalyActive && pawn.IsMutant && !pawn.mutant.Def.bodyTypeGraphicPaths.NullOrEmpty())
|| (ModsConfig.AnomalyActive && pawn.IsCreepJoiner && pawn.story.bodyType != null && !pawn.creepjoiner.form.bodyTypeGraphicPaths.NullOrEmpty())
|| (pawn.story?.bodyType?.bodyNakedGraphicPath == null)
)
{
return;
}
if (pawn.gender != Gender.Male && graphicPath != null && !graphicPath.Contains("_Female") && (graphicPath.Contains("_Thin") || graphicPath.Contains("_Fat") || graphicPath.Contains("_Hulk")))
{
foreach (Gene gene in pawn.genes.GenesListForReading) {
if (gene.def.exclusionTags?.Contains("Has_Female_Variants") == true)
{
graphicPath += "_Female";
__result = graphicPath;
}
}
}
}
}
}
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3511966169