As well as setting the hitbox size for the gamemovement code, you'll need to also set the collision hull size in the players PostThink() function. CBasePlayer::PostThink() resets this every frame, so you'll need to do the same.
On 1/22/07, Greg Scott <[EMAIL PROTECTED]> wrote:
-- [ Picked text/plain from multipart/alternative ] Been trying to make a custom hullbox/view for a player class, using a custom CMoveData class; I went changing the Hullbox data and view data by using GetPlayerViewOffset() and GetPlayerMins(bool/void)/GetPlayerMaxs(bool/void). Everything works, except that when the player moves into an area that is smaller than the standard HL2/GordonFreeman hullbox, they get pushed out of the area..? I'm guessing some sort of Fixing player stuck workaround is causing this, but I'm not really sure. Anyone who's done much work with hullboxes, any idea if there is more I should modify beyond the GetPlayerMins/GetPlayerMaxs functions? In the mod there will be multiple differing hullboxes, so just modifying the default Freeman box and using that won't work. : / Thanks for the help! : ) -Greg 'Khaim - Wind' Scott (Intelligent Design Mod Coder) -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

