When we merged our code to the new Orangebox code in the sdk update a couple
of months ago we immediately noticed that the leg movements of the players
looked as if they were skating on ice. I instantly trolled through the new
hl2mp_playeranimstate code that came with the SDK and came up empty.

Today I had renewed interest to fix this problem and opened up HLMV and
noticed that the leg movements looked very different then what is seen
ingame. A closer examination revealed that the legs were moving in the
OPPOSITE direction then the body in game!

So, if you are experiencing these problems as well, the very simple fix is
to edit this one line in hl2mp_playeranimstate.cpp

Line 573, change it to be: GetBasePlayer()->SetPoseParameter( pStudioHdr,
m_PoseParameterData.m_iMoveY, flYaw );

Tony had inverted the yaw as referenced in his comment right above, but that
doesn't work with the sdk animations, apparently.

Jonathan White
GoldenEye: Source
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to