Flan's Mod: Legacy

Flan's Mod: Legacy

2M Downloads

Flan's Mod 3D armor doesn't scale with MorePlayerModels, Custom NPCs

AGiLE-EaGLE1994 opened this issue ยท 3 comments

commented

Custom NPCs and MorePlayerModels both come with a feature that allows you to resize the head, torso, legs and arms of the NPCs and player models, but the 3D armor doesn't resize with the limbs.
For example, if I make my character's legs 50% their normal length, the armor pants will stay the default length and will look glitched because the proportions would be wrong.
I really want the 3D armor to scale with the limbs with these two mods, but I can't figure out how to get it working.
This is an urgent issue for me and I would commission someone to fix it because that's how bad I want it fixed.
The mods you need to reproduce this bug are: Custom NPCs, MorePlayerModels, or both.
Steps to reproduce:
Once you've got one or both of those two mods installed, either edit your player model and change the limb scales, or create a new NPC and edit the NPC's limb scales, and then have it put on a set of 3D Armor that is worn on the part you scaled.

commented

MorePlayerModels changed the scale of the arms, legs, torso and head all independently using Gl11 matrices. There's a button you press to bring up a GUI, and in that GUI there is a list of parts which are the left arm and left leg, torso and head. The left arm and left leg have a checkmark box called "Shared" that is ticked by default, but when you untick it, two extra items appear in the list, which are the right arm and right leg, and the box is independent for the arms versus the legs (I.e, unticking the box for legs doesn't untick it for the arms too). Each part has 3 sliders, one for height, one for width and one for depth. Height is up and down, depth is forward and back, and width is left to right, relative to the player.
The mod reads the positions of the slider to set variables in the config file for the player's model, which are then used to give the scales for the Gl11 matrices to use.
For example, having the height at 50% would make the Gl11 matrix scale the part to be half its normal height. I apologize if my explanation of how the scaling works doesn't help much, but I know far more about how Flan's Mod works than I do about how MPM and Custom NPCs work.

commented

Please use the bug template. It helps us massively because we do not need to guess what version of FlansMod and Forge you are using and it improves readability.

For the actual issue, to fix this would most likely require a lot of custom code for both Mods, as minecraft does not support changing playermodels size in any way.

commented

Oh Sorry, I DID forget to say which version!
1.12.2, Flan's Mod 5.5.3.
The Forge version? I use multiple, my test client uses 1.12.2-14.23.5.2768.