View previous topic :: View next topic |
Author |
Message |
Boss429
Joined: 03 Dec 2006 Posts: 22
|
Posted: Wed Dec 06, 2006 10:30 pm Post subject: |
|
|
Cool! it worked!
I put this right under ".string killtarget;" in defs.qc:
and this at the end of PlayerPreThink in Client.qc:
Code: | if (self.button5)
{
crouch_on ();
}
else
crouch_off ();
|
(I left in the crouch.qc from the tutorial)
(Edit: and I entered in "bind ctrl +button5" in the console)
It works great it fixed the bug where you stand up at the end of the tunnel and the bug that stopped you from getting up when you hit crouch too fast.
Thanks again for all the help! |
|
Back to top |
|
 |
Chris
Joined: 05 Aug 2006 Posts: 78
|
Posted: Tue Dec 12, 2006 12:12 pm Post subject: |
|
|
I'll append this to the crouch tutorial |
|
Back to top |
|
 |
|