#show belt somehow on duplicants with different clothes
7 messages · Page 1 of 1 (latest)
I've been wanting to learn more about this part of the codebase, so thanks for the challenge!
The belt slot is usually applied on top of the torso and pelvis in the kanims, so unless it is being overridden by something new in the belt slot, it should always show the default belt. But it looks like WearableAccessorizer.UpdateVisibleSymbols() hides the default belt if the outfit type is marked as custom. I wrote a quick patch that unhides it (will still be overridden if the clothing overrides it).
I added it to Outfits Included for testing. Maybe it could be an option in the future? But feel free to copy and paste the code into a new mod:
https://github.com/saffron-punk/oni_mods/blob/make-belts-visible/OutfitsIncluded/Source/Patches/WearableAccessorizerPatch.cs
Compiled for both versions of ONI
You're a fucking hero