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.
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
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
@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
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:
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
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
7 matches
Mail list logo