RimWorld

RimWorld

EvolvedOrgansRedux
Maleficus 17 May, 2024 @ 5:25am
Issue with limbs that have animated graphics in new shoulder slots (fix included)
Hi, I'm the author of Maleficus' Fleshmass Mutations. Through an interaction with my mod and yours, I have recently discovered that limbs with animated graphics, such as the new tentacle mutations from the Anomaly DLC, have an issue when they are installed into the new shoulder slots added by your mod. The issue is all limbs installed in the additional left shoulder slots appear on the right side of the body, as you can see in this screenshot here [imgur.com]. The one arm that is on the left side is the one installed in the vanilla left shoulder slot. The rest are all bunched up over on his right side.

I have found a solution to this bug, as you can see in this screenshot here[imgur.com], and I would like to recommend including it in your mod going forward so that other mods that add animated limbs are compatible out-of-the-box. Of course, if there are any issues with my solution, feel more than free to point them out to me.

The issue lies in the fact that the new left shoulder bodyparts lack the <flipGraphic>true</flipGraphic> tag, which the vanilla counterpart has. The specific issue can be found in the following filepath within your mod: 1.5/patches/vanilla/EVOR_Patch_Vanilla_Arms.xml

My solution looks like this:

<li Class="EvolvedOrgansRedux.PatchOperationAddTwoArms"> <xpath>Defs/BodyDef[defName="Human"]/corePart/parts</xpath> <order>Append</order> <value> <li> <def>LowerShoulder</def> <customLabel>right hypocondriac shoulder</customLabel> <coverage>0.00</coverage> <groups/> </li> <li> <def>LowerShoulder</def> <customLabel>left hypocondriac shoulder</customLabel> <coverage>0.00</coverage> <groups/> <!-- My solution --> <flipGraphic>true</flipGraphic> </li> </value> </li>

If you implement this fix, you would want to do so for each left shoulder part, including the left lumbar and left iliac shoulders in the same file.

Thank you for your time! Happy modding :)
Last edited by Maleficus; 17 May, 2024 @ 8:30am