Height and Weight on the UI


Want to know how tall your giant son actually is? Or how much of a short stack your husband is? Or maybe check your character’s weight so you can lay off the pies before you get stuck in obesity hell? Well, this is the mod for you!

Basically this mod adds the weight and height of your character below your name on the character screen, in both metres and feet and kilograms and pounds. This is supposed to be a companion to my Obesity Begone Mod but as this mod can create compatibility issues (see below), I separated it into its own mod.
But the question you probably have is, how accurate is this? And quite simply, I have no idea.
Height in CK3 is represented by your genes which range from -0.5 to 0.5 which 0 being the average. I do some maths, broken down on this spreadsheet,[docs.google.com] and convert that in gene number into metres, assuming 0 is equal to the average height of men and women.

Weight is a little more complicated, it ranges from -100 to 100 in game with 0 being considered optimal. The game considers 50 weight to be obese and -50 to be malnourished. As we know your character’s height and we know if they’re obese (due to modifier), average weight (due to them being at 0) or malnourished (due to modifier, or underweight as I’m clarifying it), I can use a BMI calculation to work out roughly what your weight should be, with 30 BMI being obese, 21.5 BMI being average and 17 being underweight. Once again, calculations can be seen here.[docs.google.com]

Two caveats to this, firstly, BMI is horribly inaccurate in real life, let alone in game but it is the best estimate we have. Secondly, between -50 to and 50 game weight, this number is probably accurate-ish but at the extreme ends, -100 and 100, not so much. I did find a handy BMI visualiser which I compared to the in-game Male and Female models[docs.google.com] and it seemed close enough so I’m gonna say it’s fine.
Also, this mod makes the weight for the AI recalculate once a year as opposed to every 3 years in the base game which is the same as the player. I used this during my testing and I haven’t seen any performance impact from this so I left this in.

Please see below for potential compatibility issues and how to resolve them:
- In order to make changes to the UI, you have to override base game files. This mod only overrides the window_character.gui so it should only conflict with mods that do the same. If you’re unsure, load this mod at the top of your load order and other mods will override it if they also make changes.
- This mod may also break when a new update comes out but we will have to wait and see.

Please leave a comment below if you have any issues or have any ideas for changes.
- Please make sure the issue is with this mod before reporting it as this mod is very, very simple so I doubt it will be this one.
- If you would like any compatibility patches for other mods, let me know and I will consider them.

Thanks to:
- Myself for having the idea
- Better Barbershop for having the code to calculate heights which both gave me the idea to make this mod and gave me the basic code for height calculation which I heavily modified to make this mod work.
Revisions:
Old revisions of this mod are available below. Click the link to download.







