Changing player size? -
13-04-2012
Hey,
A bit of a shot in the dark, since HLSDK is rather dead, but I've been trying to figure out how to change the player's size and having no luck.
I found the UTIL_SetSize function being called in the CBasePlayer::Spawn() function and tried to modify the parameters, but no changes were made. I tried changing the HULL_MIN/MAX in util.h, and nothing. I even tried doing a search for all hull-related values of -36 and 36 (the values used in the min/max definitions for human entities) and replacing them with 0, but still this did nothing.
Did GoldSrc hard-code the player size in the engine? Is it possible to change the player size in a minimally hacky way?
Cheers,
Jengerer
P.S, I'm using SDK 2.3 if that makes any difference at all.
|