How to bind two actions to one key?

A Forum Thread for Counter-Strike: Source

Attention Gamer! We are one of the oldest mod sites on the Interwebs. Sign up and maximize your browsing experience.

  • Subscribe: Get notified of new submissions like this.
  • Say Thanks: Show your appreciation by sending nLite points.
  • Post: Give nLite your thoughts on this Thread.
  • Flag: Alert moderators and warn members of a problem with this Thread.
  • Watch: Get notified when this Thread is updated.
Mascot

Stop Lurking!

Sign up

Already a Bananite? Login

I wan't to bind "jump" and "duck" to the "space" key (so to "duck jump" and easily get on crates and other things). Maybe using a script or something? Pd: I didn't know where to post this. Sorry if this wasn't the right category.

Posts

  • 9y
    Flambe avatar
    Flambe Offline
    Member Joined 9y
    15,066 points Ranked 283rd
    Posted by David0wnz

    Bind space "+jump; +duck"

    Put that in your config.cfg and make it read only.


    I don't make mine read only and it works fine.
     avatar
    Mantra
  • 9y
    nLite avatar
    nLite Offline
    Member Joined 9y
    What if I add that to the autoexec.cfg? Would it work too?
    Bananite
  • 9y
    Flambe avatar
    Flambe Offline
    Member Joined 9y
    15,066 points Ranked 283rd
    Posted by nLite

    What if I add that to the autoexec.cfg? Would it work too?


    If there is already an autoexec.cfg add it to that instead. Don't put it in both .cfg's.
     avatar
    Mantra
  • 9y
    nLite avatar
    nLite Offline
    Member Joined 9y
    Posted by Steveya

    Posted by nLite

    What if I add that to the autoexec.cfg? Would it work too?


    If there is already an autoexec.cfg add it to that instead. Don't put it in both .cfg's.


    Ok, I'll try that. Thank you both :)

    EDIT: I tried that and now I walk really slow >.<

    Also, it does not duck when I jump :S
    Bananite
  • 9y
    legobike avatar
    legobike Offline
    Member Joined 9y
    Look in css. scripts. and look for jumpduck or duckjump scripts. surely someones made one
    Bananite
  • 9y
    mrkit4423 avatar
    mrkit4423 Offline
    Member Joined 9y
    6,576 points Ranked 672nd
    You have to write an alias to the cfg :P
    Bananite

Share

Shareable Image:
Share banner
HTML embed code:
BB embed code:
Markdown embed code:

More embeddable images

Bookmark and Share

Submitter

nLite avatar
nLite Offline
Member Joined 9y

nLite
Sign up to access this!
Sign up to access this!
Sign up to access this!
Sign up to access this!

Category

Stats

Posts
6
Views
5,363
Date Added
9y
bcp.crwdcntrl.net tracking pixel