I am not not sure what hl you are running or trying to mod. However I have added peeking / prone movements to source sdk.
gamemovement.cpp probably will give you ideas what to look for.
Let me know if this is what you were looking for.
You basically want the CGameMovement::Duck() function in gamemovement.cpp
r00t 3:16 CQC Gaming www.cqc-gaming.com
----- Original Message ----- From: "Draco" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, February 05, 2005 7:54 AM Subject: [hlcoders] Ducking movement speed
I am trying to do some code for the kreedz climbing mod(because no else seems to want to) and said mod has a problem
Me and another guy called Quak managed to change the players speed while moving, and jump size in an attempt to get CS 1.6 style movement, but theres a problem with ducking. Whenever the player ducks and moves the player moves at the default speed during the ducking stage. This mod requires the player to jump from little block to little block, so going into duck and moving faster than normal is sure to screw everyone up.
I looked at PlayerMove and found that FullTossMove might be the move rules the player obeys while ducking(im assuming its like in hl 1 where the player just goes smaller and falls when you duck) But I am currently unable to compile and test it out(MUST...GET...MSVC 7.1!!!). So my question is, am I on the right track? if not can someone show what move type or something like that needs changeing to make ducking movement same speed as FullWalkMove
********************** Draco Coder for Perfect Dark http://perfectdark.game-mod.net
_______________________________________________ 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

