I managed to replicate the bug. You were right about it being related to the mobility mod's crouch slide.Spaceman333 wrote:I'm playing the "cleaned" version of Valiant, I think I got through 2 maps normal, but then on the third I was stuck a midget ever since:
I tried all 4 things you suggested and only Morphme changed my player height to normal... but brought it back to smol guy after I put it in again.
It could also have been glitched by one of the addon's I'm running - perhaps the jp-mobility-v5r.pk3 - which gives me a crouch slide that briefly shrinks my view down while it is in action. Then again I've had that addon for a long time and this is the only instance this has happended.
Spoiler: my autoloadRunning on GZDoom 4.4.2 - 64bit
Player transforms -> Use crouch slide while transformed -> player untransforms -> finish level without using the slide again
The problem is that the mobility mod's slide logic doesn't account for player morphs, which is what the plushie transformation (and Billy-Bomb) uses. Right before the player slides, the mod records the player's viewheight. When the slide begins, the player's viewheight is lowered. Once the slide ends, the mod restores their viewheight to the aforementioned recorded value, effectively setting it back to its normal value.
However, the problem is that the player's viewheight is forcefully set to this recorded value at the beginning of a new level as well. In other words, when starting a new level, the player's viewheight is set to the viewheight they had right before their last slide. If the player's last slide occurred while transformed into a smaller form (such as with the plushie), then their viewheight is set to that smaller value as well, even though they're not transformed anymore. This creates the midget effect you're experiencing.
Here's a way to fix your height.
Download the pk3 below, load it with your GZDoom setup, and open the bugged save. Enter "morphme FixMyHeight" into the console. You should be back to the normal height, but you can't fire any weapons. Do a slide, but open the console mid-slide to pause the game (really make sure that you opened the console while still sliding and with your view lowered). Enter "morphme" into the console. You should be back to your regular height with your weapons usable again. You should be good then. Just make sure that next time, your last slide before finishing a level wasn't done while transformed into a plushie or while controlling Billy-Bomb.