[hlcoders] Ducking movement speed

2005-02-05 Thread Draco
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.

Re: [hlcoders] Ducking movement speed

2005-02-05 Thread Teddy
Have a look in gamemovement.cpp, around line 570 is has: if ( !m_bSpeedCropped ( mv-m_nButtons IN_SPEED ) !( player-m_Local.m_bDucked !player-m_Local.m_bDucking )) { float frac = 1.0f; etc } Try changing that frac to your slowdown rate. I used 0.5f, it was fun. Teddy

Re: [hlcoders] Ducking movement speed

2005-02-05 Thread r00t 3:16
in gamemovement.cpp r00t 3:16 CQC Gaming www.cqc-gaming.com - Original Message - From: Draco [EMAIL PROTECTED] To: hlcoders@list.valvesoftware.com 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

Re: [hlcoders] Ducking movement speed

2005-02-05 Thread Hasan Aljudy
@list.valvesoftware.com 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

Re: [hlcoders] Ducking movement speed

2005-02-05 Thread Draco
Thank you all very much. ** Draco Coder for Perfect Dark http://perfectdark.game-mod.net ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] ducking

2003-03-05 Thread Cortex
Look for a comment about iuser3. If my memory is good, iuser3 (or iuser4) stores the Duck/Unduck state of the player. - Cortex : HL ALBATOR coder mapper - [EMAIL PROTECTED] ICQ : 71548738 Mark Gornall wrote: Hi, Is there a simple way to make the duck hold for a certain time

[hlcoders] ducking

2003-03-04 Thread Mark Gornall
Hi, Is there a simple way to make the duck hold for a certain time once the duck key has been pressed. By default it just drops out immediately and you stand right back up. The only way I got it to work for a set time was to change the client input code so that forces an 'in_duck' keypress for