Rthro has added a wide array of choice for players when dressing up avatars. It’s something that myself and I think a lot of other devs strive to support in games.
UNFORTUNATELY there’s a huge problem with Rthro avatars. They don’t scale consistently at all.
For example: See these two avatars. They both have the same scaling values, but result in wildly different avatar sizes.
You might say, well that’s the artists intent, it’s supposed to be big. I’m sure that’s true, but it’s detrimental to a lot of games to not be able make basic assumptions about character size.
For example, look at hit game Piggy where I’m unable to crawl through a vent because of my avatar size.
Alas! This causes many developers to either disable the use of Rthro or selectively disable certain packages.
As a result of this problem I wrote a script (which I’m sharing here) that re-scales avatars to have their height scale match the default R15 height (5 studs).
Here are some example results.
Each image includes the unscaled model, the scaled model and a default R15 model for scale.
Things to note:
1 - HeightScale is maintained in the rescaling process. That means if your height scale is say 2 when you rescale then it will remain as 2 after the rescaling.
For example in the above image the height scale of the package is 1.05. That means it’s actually a little bit taller than the base R15 rig in this case.
2 - Some packages have upper torsos that go above their heads. In these cases the top of the upper torso is used to measure the height of the avatar instead of the top of the head.
3 - The size of the parts change and a result so does their mass. If your game relies on players being able to push things (as an example) then you may want to adjust the parts physical properties so they maintain their old mass (or match a default rigs).
4 - This only normalizes height. If you tried to normalize everything (depth, width, etc) then the character would come out looking like a mess. You may still find a character is too wide or thin depending on your game.
I hope you get use out of this b/c it’s certainly helped me a lot! Enjoy!
Here’s the placefile I used for the screenshots if you want it
AvatarScale.rbxl (24.3 KB)