How to bind key shortcuts for certain commands

How to make CSS Key commands fast

Hey guys, this is my first tutorial on Game Banana but done many before on other places.Here you go

How to make key shortcuts for certain commands

1: Open CS:S.

2: Check if you have console enabled, if you do skip to step 5, if not carry on to step 3.

3: If you know how to enable it then do it, if not carry on to step 4.

4: Open the options tab in CS:S home-page and check the Keyboard tab is selected. Press the button "Advanced" and tick the box for "Enable Developer Console".

5: Open up console and use this format for a CONSOLE COMMAND SHORTCUT: bind (Enter key here) (Command here) e.g bind k kill That would be to bind a key to kill yourself by typing kill in console. If you want a CHAT BIND which says something in the in-game chat then use this: bind (KEY) "say (Text here)" e.g bind 1 "say Nice shot!!" to say nice shot whenever you press one.

6: If you ever want to remove just ONE key shortcut and not all of them type bind "Key you used" and it gets rid of it. e.g bind 1 would get rid of that earlier chat bind. If you want to UNBIND ALL OF THEM type in console unbindall.

Do NOT copy this please. Write your own, it doesnt take ages. Thanks again

Darkreapa

Oh noes! You're not a Member!

Want access to cool stuff? As a member you can:

  • Post. Give the submitter your thoughts on this Tutorial.
  • Say Thanks. Show your appreciation by sending the submitter points.
  • Stamp Posts. Let other posters know what you think of their posts.
  • Rate. Give this Tutorial a rating out of 10.
  • Flag. Alert moderators and warn members of a problem with this Tutorial.
  • Vote. Vote the submitter for the Monthly Awards.
  • Subscribe. Get notified when this submitter submits again.

Interested? Register or Login

Comments

  • Joan1_'s Levels
    • P1: Beggar
      Points: 191
    • C1: Member
    • A4: Graduate
      Account Age: 2 years
    Posted 2 years ago

    i need a bind for record demos hep me plz :P something like that EG: **BIND F1 = record Demo1.dem **

    wolF
  • Devieus's Levels
    • P3: Peasant
      Points: 23,421
    • E2: Guide
      EF: 26
    • C2: Treehouse Member
    • A4: Graduate
      Account Age: 3 years
    Username
    Devieus
    Posted 2 years ago

    The way you described to remove a bind does not work, and is in fact something I use regularly; what it does is check what is bound to that key.
    One could also skip step 1 by modifying the config.exec file, this effectively skips steps 2, 3, and 4 as well.

    User Title
    Sentinel of the TV remote
  • Fibbs's Levels
    • P3: Peasant
      Points: 24,868
    • E2: Guide
      EF: 29
    • C2: Treehouse Member
    • A5: Veteran
      Account Age: 5 years
    Username
    Fibbs
    Posted 2 years ago

    You can use unbind key instead of bind, e.g. unbind k. Also step 3 is redundant. Also it may help to separate the bind commands so that you can read them easier. Try using a code block or a heading or something.

  • Aceman's Levels
    • P2: Drudge
      Points: 2,149
    • E1: Helper
      EF: 17
    • C4: Super Moderator
    • A6: Elder
      Account Age: 6 years
    Username
    Aceman
    Überstyle Advisor
    Posted 2 years ago

    Its fine ^^

    User Title
    The cake is a spy.
  • darkreapa's Levels
    • C1: Member
    • A4: Graduate
      Account Age: 2 years
    Posted 2 years ago

    Ok will do sorry

    Bananite
  • Aceman's Levels
    • P2: Drudge
      Points: 2,149
    • E1: Helper
      EF: 17
    • C4: Super Moderator
    • A6: Elder
      Account Age: 6 years
    Username
    Aceman
    Überstyle Advisor
    Posted 2 years ago

    Install binds? bind is a verb. How to bind key shortcuts to certain commands would be a popper title.

    User Title
    The cake is a spy.

Credits

Submitter
darkreapa's Levels
  • C1: Member
  • A4: Graduate
    Account Age: 2 years
darkreapa (Creator/Co-creator)
Tutorial maker/s
Darkreapa
Tutorial-maker
Special Thanks
Morten
Inspiration

Rating

5.8/10
Based off 4 rating(s)

Additional Info

Genre
Other/Misc
Difficulty Level
Beginner

Stats

Post Count
6
ViewCount
14,427
Date Added
2 years ago
Date Modified
2 years ago

Share

Embed Code
Code to use:

More embeddable images

Bookmark and Share