The walk button is called IN_SPEED or +speed on the client you can see that its called in In_SpeedDown and In_SpeedUp in input.cpp
This is only used, that I can see, in the client, in the CL_CreateMove function to modify the forwardspeed/sidespeed you sent to the server.
So it doesnt look like on the servre you know if the client it holding down the key or not directly.
you could probably check the clients cmd forwardmove/sidemove/upmove, and see if their speed is less than the clientmaxspeed and greater than zero, which would let you assume the walk key was held down.
-ctm
----- Original Message ----- From: "Josh" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, October 16, 2004 8:00 PM Subject: [hlcoders] Determing when a player is walking
I attempted to check whether or not the player was using IN_RUN or not but it appears that this button is not even used. Is this correct? (I tried this in CS) I also googled it and read that IN_RUN and IN_ALT1 tend to not be used at all.
If this is true, does anyone have any ideas as to how I can determine if a player is walking besides checking their velocity?
Josh (Pimp Daddy)
_______________________________________________ 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

