-- [ Picked text/plain from multipart/alternative ] sorry, it's not under sdk_playeranimstate.cpp it's actually in "sdk_player.cpp"
Look for the function CSDKPlayer::CSDKPlayer() This is the constructor function for the CSDKPlayer class. Look for the line that says m_PlayerAnimState = CreatePlayerAnimState( this, this, LEGANIM_9WAY, true ); change the LEGANIM_9WAY ------> LEGANIM_8WAY If you're using HL2MP codebase, you will have to go to "hl2mp_player.cpp" instead of "sdk_player.cpp" ----- Original Message ----- From: "Alvin Ng" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Sunday, December 02, 2007 11:59 PM Subject: Re: [hlcoders] 3rd person cam, player's animation > -- > [ Picked text/plain from multipart/alternative ] > What do I change in there? Sorry I just started on this and I am not good > at > coding.. So I do not really know what to change, plus i cant seem to find > anything whichs says change from 1 animation to 9 > > On 12/3/07, Minh <[EMAIL PROTECTED]> wrote: >> >> -- >> [ Picked text/plain from multipart/alternative ] >> Make sure you are specifying 8-way animation in sdk_playeranimstate.cpp. >> >> ----- Original Message ----- >> From: "Alvin Ng" <[EMAIL PROTECTED]> >> To: <[email protected]> >> Sent: Sunday, December 02, 2007 9:38 PM >> Subject: [hlcoders] 3rd person cam, player's animation >> >> >> > -- >> > [ Picked text/plain from multipart/alternative ] >> > I am creating a mod with own models and animation and I am having a >> > problem >> > whereby the >> > main player model doesn't play the the correct animations when the keys >> > are >> > pressed, like >> > >> > key W -Plays animation running forward >> > key A -Plays animation shafting left >> > key S -Plays animation running backwards >> > key D -Plays animation shafting right >> > >> > Right now, the animations played for all four keys are the running >> forward >> > animation. >> > In the .qc file at the move_yaw the animations are working inside the >> > hlmv.exe but not in the mod. >> > -- >> > >> > _______________________________________________ >> > 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 >> >> > -- > > _______________________________________________ > 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

