RimWorld

RimWorld

[1.4] More Injuries
kaban_valeron Jul 10, 2024 @ 11:06pm
Abdomen fix pleeease
Hello, in the comments to the mod, I noticed that it is being actively migrated to a new version, and in this regard, small changes are being made to the mod. I would like to ask for a little repair of such a body part as the abdomen and all the parts attached to it, recently I tried to make the armor coating from the Rimmunition mod more realistic and I had a problem with the fact that the abdomen is not a completely independent part of the body, but is part of the chest, as a result, I could not do so so that the bulletproof vest covers the chest, but does not protect the abdomen and its parts, can you fix this in the new version of the mod?
< >
Showing 1-2 of 2 comments
kaban_valeron Jul 11, 2024 @ 5:27am 
@Th3_Fr3d
Th3_Fr3d Oct 13, 2024 @ 1:45pm 
I don't think this is something that can be fixed. The way RimWorld simulates bodies is by starting with the torso and attaching everything else to that. It's basically a tree structure with the torso being the root. So technically even the feet are part of the torso :/

I've done what I could to clean up everything else and make More Injuries comply with that structure more like vanilla. For example the weird issues with the body part coverage not adding up to 100% are now fixed.

I guess you'll have to work around this issue for your armor simulation. Perhaps you can check for BodyPartGroups instead. The group "Torso" only seems to contain organs that can be considered part of the chest. Check out steamapps/common/RimWorld/Data/Core/Defs/Bodies/BodyParts_Humanoid.xml to get started. Note that in the new MoreInjuries version I had to patch some of the coverages in that file, but everything else remains the same. You can thing of the Abdomen as an added entry similar to "Liver" just without the

<groups>
<li>Torso</li>
</groups>

I don't know what exactly you are trying to achieve, but perhaps take a look at how the folks over at CombatExtended reworked the armor simulation. I think they had to mess around with part coverages and things like that as well
Last edited by Th3_Fr3d; Oct 13, 2024 @ 1:47pm
< >
Showing 1-2 of 2 comments
Per page: 1530 50