TTLG|Jukebox|Thief|Bioshock|System Shock|Deus Ex|Mobile
Results 1 to 4 of 4

Thread: toggle crouch

  1. #1
    Member
    Registered: Sep 2002
    Location: In my room

    toggle crouch

    Does anyone know how to make crouching a toggle setting? Same would be nice for sneaking because I'm getting a cramp here when I try to simultaneously sneak, crouch, lean and walk forward. Not even talking of switching to another combo from this. Toggling some of this would help a lot.

  2. #2
    Member
    Registered: Sep 2002
    Location: In my room
    I learned that one can one can bind cvars to toggle keys like this (console):
    bindtoggle F cl_showfps 2
    But that doesn't work with "+duck", the command for crouching, as it isn't a command line variable.

  3. #3
    Member
    Registered: Dec 1999
    Location: 10,000 Tacks
    For god's sake, just learn to swing your sword like a man.

  4. #4
    Member
    Registered: Jun 2000
    Location: Finland, Earth
    You can use an alias instead, which is a way to string several commands together in a single 'unit'. Here's an example which should be self-explanatory:

    alias crouchon "+duck; bind F crouchoff"
    alias crouchoff "-duck; bind F crouchon"
    bind F crouchon

    Of course, if you change the binding from F to another key then you need to change all three instances.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •