NeotokyoRevamp / neo

This project has moved to: https://github.com/NeotokyoRebuild/neo
Other
30 stars 13 forks source link

Support playermodel for both sides sinks into the ground #68

Open AdamTadeusz opened 11 months ago

AdamTadeusz commented 11 months ago

To Reproduce: Load into a map (I used vtol) Pick any faction Pick Support class Pick any weapon (I used Jitte) Enter following into the console "sv_cheats 1; thirdperson"

As you can see the player feet and part of the lower leg sink into the ground, and movement feels abnormally sluggish, moreso what the support speed debuff should cause.

AdamTadeusz commented 11 months ago

I thought it might be a problem with the models scale variable m_flModelScale defined in a parent class baseanimating and c_baseanimating not being set to the scale obtained from the function GetModelScale() overriden in neo_player and c_neo_player.

Adding SetModelScale(GetModelScale()); to the Spawn function on both client and server doesn't seem to improve things however

AdamTadeusz commented 6 months ago

hardcoding the game to pick a non support model and then picking the support class results in the same behaviour, so most likely not a problem with the models themselves

AdamTadeusz commented 6 months ago

Fixed in #73