Author Topic: Toggled crouch  (Read 1654 times)

The Moppit

  • Guest
Toggled crouch
« on: November 19, 2005, 08:22:43 AM »
jitspoe, how do you toggle crouch on and off, ive been trying to work out how but with no success.

S8NSSON

  • Autococker
  • Posts: 709
Re: I just ordered 4 keyboards...
« Reply #1 on: November 19, 2005, 09:47:40 AM »
This is untested and simply hypothetical base on normal alias scripting.
If it works, you will press <key> and crouch. You will remain crouched until you press <key> again.

bind <key> "crouchdown"
alias crouchdown "+movedown;bind <key> crouchup"
alias crouchup "-movedown;bind <key> crouchdown"

just make <key> whatever key you wanna use to toggle crouching.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Toggled crouch
« Reply #2 on: November 20, 2005, 05:58:45 PM »
Please don't post things completely unrelated to the topic of a thread.  Find an appropriate thread or create a new one.  I've split this out to its own thread.

S8N already covered it, but here's what I have in my config:

bind k "crouch"
alias uncrouch "-movedown;bind k crouch"
alias crouch "+movedown;bind k uncrouch"

Replace "k" with whatever you want your crouch key to be.

Eiii

  • Autococker
  • Posts: 4595
Re: Toggled crouch
« Reply #3 on: November 20, 2005, 08:46:55 PM »
It also works well for spray scripts, as holding down the mouse button decreases my accuracy slightly.

Smokey||

  • Guest
Re: Toggled crouch
« Reply #4 on: November 21, 2005, 03:14:15 PM »
ok i think i got a decent setup right here.


Quote
bind "Mwheelup" "hs"
alias hs "hand 0; bind Mwheelup hs1"
alias hs1 "hand 2; bind Mwheelup hs2"
alias hs2 "hand 1; bind Mwheelup hs"



bind ctrl "crouch"
alias uncrouch "-movedown;bind ctrl crouch"
alias crouch "+movedown;bind ctrl uncrouch"




bind "z" "+att"

alias +att "-attack;bind z +att"
alias -att "-attack;bind z +att"




bind "x" "+cr"

alias +cr "bind ctrl crouch;bind x -cr"
alias -cr "bind ctrl +movedown;bind x +cr"



a script for toggled crouch and toggleing the toggled crouch.. toggled shooting and hand change  :)

tom||vendetta

  • Guest
Re: Toggled crouch
« Reply #5 on: November 22, 2005, 02:34:02 PM »
Here are my scripts:

Quote
bind ctrl crup
alias crup "-movedown;bind ctrl crdwn"
alias crdwn "+movedown;bind ctrl crup"

bind shift hnd
alias hnd "hand 1;echo Left Hand;bind shift hnd2"
alias hnd2 "hand 2;echo Middle Hand;bind shift hnd3"
alias hnd3 "hand 3;echo Right Hand;bind shift hnd"


But, I use +attack for attacking.

Blitz

  • 68 Carbine
  • Posts: 329
Re: Toggled crouch
« Reply #6 on: November 22, 2005, 02:40:55 PM »
too many scripts, I think all the ones i've seen serve as more of a distraction to the player than anything... (spraying/zooming/crouching/walking). The only exception might be the hand changing, since this can provide a significant advantage in a few particular situations (although I personally always just use central)...

The Moppit

  • Guest
Re: Toggled crouch
« Reply #7 on: November 25, 2005, 11:39:53 AM »
thanks everone, what do you all mean by hand changing? changing which hand the gun is in? and why would you want to do that?
Once again, thanks for the scripts all :)

P!nk

  • Autococker
  • Posts: 948
_
« Reply #8 on: November 25, 2005, 11:51:39 AM »
Post removed
« Last Edit: July 26, 2010, 02:52:37 AM by P!nk »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Toggled crouch
« Reply #9 on: November 25, 2005, 09:23:35 PM »
It's pretty rare that it helps much, and unfortunately it eats up some unnecessary bandwidth as it updates the configstrings each time.  It's not going to magically make you play better.