getting up from crouching
Moderator: InsideQC Admins
17 posts
• Page 2 of 2 • 1, 2
Cool! it worked!
I put this right under ".string killtarget;" in defs.qc:
and this at the end of PlayerPreThink in Client.qc:
(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!
I put this right under ".string killtarget;" in defs.qc:
- Code: Select all
.float button5;
and this at the end of PlayerPreThink in Client.qc:
- Code: Select all
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!
- Boss429
- Posts: 39
- Joined: Sun Dec 03, 2006 7:29 pm
17 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 1 guest