Site updated:06-Jan-2001 10:26:52
|
CS Commands
Half-Life: Counter-Strike like other MODs, have their own special
commands. In order to use the commands that are listed below, you need
to press "~"/"`" on your keyboard(on the left side
of No. 1) while you are playing the game before entering the commands.
STEP 1
Press `/~
STEP 2
You will see a console on your screen.
STEP 3
Example: type /buy
STEP 4
You will then see a list of weapons, items, and ammo.
Note: you must type "/" before entering any
command.
Client Commands:
To use a command, just type '[NAME]' (except with the the vote-functions). All of them just do the listen function.
buy
Opens the buy menu to purchase various weapons, items, and ammo.
Voting Systems
To vote for a map type listmaps at the console to see the maps available to vote on, and then type 'votemap X'. Replace X with the corresponding number of the map. Note: Server admins who want to add new maps must also add an entry into mapcycle.txt, this allows players to vote on any new maps. The percentage is defined by mp_mapvoteratio, a server variable. It defaults at 60%.
To votekick a player type listplayers
in the console and then type 'vote X'. Replace X with the number
of the player. You need 61% of the team or server vote for a player
to be kicked.
adjust_crosshair
Changes the color of the crosshair. You can choose from several different colors.
gunsmoke
Typing this command will either turn on or turn off smoke coming from your own weapon.
timeleft
Tells you how much time is left on the map
drawradar
Shows the radar
hideradar
Hides the radar.
nightvision
Bind this key to toggle NVG when purchased.
alias
Not a CS specific command either, using this command in your autoexec.cfg will also you yo store various commands under one command names. For example: alias [ALIASNAME] "[COMMAND]; [COMMAND]; [COMMAND]; ...". The three periods denote that the commands can continue, ';...' are not a command to end aliases. Now if you bind [ALIASNAME] to a key or type it in the console, all the commands will execute.
menuselect X
Not so much a CS command, this Half-Life command will select an item from the menu (eg buy; menuselect 1; menuselect 4 will buy the p228 pistol).. Used with quickbuy aliases.
Client Variables:
These are used to change certain aspects, or options, or Counter-Strike.. They can also change performance. To change their values, simply type '[NAME] [VALUE]' at the console.
fastsprites X
X = 0 - regular transparent smoke grenade sprites (slow)
X = 1 - simple transparent smoke grenade sprites (faster)
X = 2 - VERY simple transparent smoke grenade sprites (fastest)
cl_observercrosshair X
X = 1 to enable crosshairs in Observer mode, 0 to disable. The Default is 1.
max_shells X
X = Maximum number of shells at one time
max_smokepuffs X
X = Maximum number of smoke puffs at one time
hud_centerid X
X = 1 to center auto-ID text on screen, X = 0 to have auto-ID text in the bottom left corner (default 0).
rate X
This command controls how much information you receive from the server you are connected to. For a 14.4 connection set your rate to 1500, a 33.6k connection should be 3000, a 56k 3500, an ISDN should be 5000, and all connections faster than that should be between 5000 and 9999 (default 2500).
Tweak Half-Life
Client Info Keys:
Use "setinfo [NAME] [VALUE]" to change. For example, setinfo dm 1, will show map briefings. Type setinfo to check the status of all infokey settings.
dm X
X = 1 to display map briefings after loading new levels, X = 0 to disable (default 1).
lefthand X
When X = 1, lefthanded models are used, when X = 0, righthanded models are used (default 1).
ah X
X = 1 to enable auto-help, X = 0 to disable. Auto-help gives the player hint messages throughout the game (default 1).
vgui_menus X
X = 1 to enable VGUI Menus, 0 to use the classic mode.
Server Variables:
These variables can only be changed by server operators or users with remote console.
mp_autokick X
This variable is defaulted to 1. Toggles automatic team-killer banning and kicking of idle clients - Setting of 1 = 'on', and 0 = 'off'.
mp_autoteambalance X
This variable is defaulted to 1. Toggles the forcing of clients to join teams to make it balanced - Setting of 1 = 'on', and 0 = 'off'.
mp_c4timer X
This variable is defaulted to 45. Sets the amount of time in between C4 placement and its explosion - ranges between 15 and 90 seconds.
mp_flashlight X
This variable is defaulted to 1. Toggles the use of flashlights by clients - Setting of 1 = 'on', and 0 = 'off'.
mp_footsteps X
This variable is defaulted to 1. Toggles footstep sounds - Setting of 1 = 'on', and 0 = 'off'.
mp_forcechasecam X
This variable is defaulted to 0. Toggles the chasecam to follow teammates only - useful for LAN games - Setting of 1 = 'on', and 0 = 'off'.
mp_freezetime X
This variable is defaulted to 6. Sets the amount of "freeze" time at the beginning of each round to buy weapons and equipment - Use a setting of '0' to disable.
mp_friendlyfire X
This variable is defaulted to 0. Toggles friendly fire - Setting of 1 = 'on', and 0 = 'off'.
mp_hostagepenalty X
This variable is defaulted to 2. Sets the number of hostages a player can kill before they are booted from the server - Setting this to '0' turns the function off.
mp_limitteams X
This variable is defaulted to 2. Sets the maximum number of players that one team can have more than the other team - Use a setting of '0' to completely disable the team limiting.
mp_logmessages X
This variable is defaulted to 1. Toggles logging of chat messages in the log files - Setting of 1 = 'on', and 0 = 'off'.
mp_mapvoteratio X
This variable is defaulted to 0.6. Set the ratio of players required to vote on the same map before a map will change. The default is 0.6 , which means that 60% of the players on a server must vote on the same map in order for the server to change to that map. The range is 0.0-1.0.
mp_roundtime X
This variable is defaulted to 5. Sets the maximum amount of time for each round - ranges between 3 and 15 minutes.
mp_timelimit X
This variable is defaulted to 0. Sets the maximum amount of time in minutes between map rotations.
mp_tkpunish X
This variable is defaulted to 1. Toggles the forcing of a player to sit out the next round if he has just killed a teammate - Setting of 1 = 'on', and 0 = 'off'.
sv_restartround X
This variable is defaulted to 0. Sets the amount of time in seconds before resetting the game, including frags, weapons, money, and scores - Use setting of '0' to disable these restarts.. Setting this to 1 would restart the game in one second and reset the variable to 0.
More
details>>>
|