Encyclopedia > Counter-Strike console commands

  Article Content

Counter-Strike console commands

In the Counter-Strike FPS, a console is available in game to change some settings. By default the tilde key '~' brings down the console.

If this does not work, right-click on the game icon. Select Properties. In the Target field, look for the option -console. If it's not there add it, leaving a space before and after it. After editing, your Target may look like this: C:\CS\cstrike.exe -console
Accept changes and double-click on the icon. When the in game menu is shown, you should see Console as the first option. Go to the keyboard configuration screen and look for something mentioning 'console'. Bind this to whatever key you want. This article will pretend you picked the tilde key ~.

Console command examples: // comments that you should read and not type in. Leave out the //

  • name "Your name with spaces"
  • name YourNameWithoutSpaces
  • bind w +forward // make the w key move you forward as long as you hold it down
  • bind w forward // make the w key move you forward until you type -forward into the console
  • bind k "say okay" // make the k key chat "okay" to everyone
  • bind e "say I have a very long message to chat often. I realize this is annoying." // don't
  • bind tab +showscores // show scoreboard as long as you hold down tab
  • bind space +voicerecord // turn your mike on (if it's configured) as long as you hold down the spacebar
  • buy // bring up the buy menu
  • menuselect 3 // pick the third option on the current buy menu
  • bind f3 "buy;menuselect 1;menuselect 3" // buy the desert eagle handgun. notice how multiple commands are enclosed in quotes and separated by semicolons; note the the buy menu stays up. That's normal, hit the zero key to get rid of it.
  • bind f4 "buy;menuselect 4;menuselect 1;buy;menuselect 4;menuselect 3" // buy the assault rifle (ak47/m4a1) available to your side and post an error that you can't buy the other. (which is fine, just ignore it)
  • exec myalias.cfg // read the text file myalias.cfg and run each line in it like it was typed into the console.
  • alias ms1 "menuselect 1" // make ms1 mean menuselect 1 until you leave the game. For added usefulness, place all your aliases in a separate file in the same directory as autoexec.cfg and then add a line to autoexec.cfg which exec's your alias file
  • volume 1.0 // set the game volume to 1.0. you'll have to experiment with different values. 0.01 and 3.2 are both legal values
  • alias v10 "volume 1.0;bind + v11;bind - v09" // it's a pain but you can make the plus and minus keys control volume
  • alias v9 "volume 0.9;bind + v10;bind - v08" // you have to write a bunch of these aliases... one for each volume level. basically, when you hit a key, the volume gets changed and the keys are reassigned.
  • kill // commit suicide
  • bind del kill // commit suicide when you hit the delete key
  • bind mouse1 kill // commit suicide instead of shooting. it can be fun to tell people to do this
  • bind mouse1 +fire // shoot when you click. fixes last command
  • retry // This will cause you to attempt to re-connect to the last server that you tried to connect to, or re-connect to the current server.
  • Bind h +commandmenu This will bring up the help menuu
External links



All Wikipedia text is available under the terms of the GNU Free Documentation License

 
  Search Encyclopedia

Search over one million articles, find something about almost anything!
 
 
  
  Featured Article
Grand Prix

... dumped 2003-03-17 with ...

 
 
 
This page was created in 30.8 ms