Console Commands
Below are the commands which I think is pretty useful. These command can be entered during the game by typing them in the console ( default console key is ` , above the "tab" key ). Please contact me if you have more useful command.
You can also download a full list of commands here
Client Commands :
Anyone can use these to alter their personal settings.
name
"X"
|
Change
your name during the game. You can't change your name when you're dead.
|
hud_fastswitch X | Change to 1 to enable weapon fastswitch. 0 to disable. |
cl_forwardspeed
X
|
Adjust
the forwarding speed. Default 400. Max. is 9999. More info, see FAQ
section.
|
cl_backspeed
X
|
Adjust
the backing speed. Default 400. Max. is 9999.
|
cl_sidespeed
X
|
Adjust
the speed of side movement. Default 400. Max. is 9999.
|
sensitivity
X
|
Set
the sensitivity of your mouse. Usually the sensitivity is set between
3 - 10.
|
net_graph
X
|
Set
the appearance of the net_graph. You can enter either 1, 2 or 3. 0 to
disable.
|
cl_observercrosshair
X
|
Set
to 1 to enable crosshairs in Observer mode, 0 to disable.
|
setinfo
lefthand X
|
Default
1. Set to 1 to use left hand, 0 to use right. ( Changes will take effect
at the next round )
|
adjust_crosshair
|
Change
the colour of your crosshair. There are 5 colour to choose from.
|
timeleft | See how much time left untill change to other map. |
setinfo vgui_menus X | 1 to enable VGUI menus, 0 to disable. |
bind "X" | Bind a key. Please refer to FAQ section for further information. |
listmaps
|
See
the list of the maps in a server.
|
votemap X | Vote for a new map. X is the number of the map in the map list. |
kill | Commit Suicide. |
listplayers | See all the ppl in a server. |
record X | Record a demo. X stand for the name of the demo. |
stop | Stop recording. |
playdemo X | Play a demo. X stand for the name of the demo you want to play. |
setinfo dm X | Toggles displaying of map briefings after loading a new map. 1 to enable map briefing, 0 to disable. |
setinfo ghosts X | Set to '1' to see ghosts when in Observer mode, '0' to disable. |
speak X | Speak something ( with sound ! ). So far I only know 4 word : you, ass, hole, hello |
Server Commands :
These types of commands are generally called CVARS. The following CVARS are only accessible by the server.
mp_timelimit
X
|
Time
before changing to other map. 0 to disable map changing.
|
mp_friendlyfire
X
|
Default
0. 1 to allow friendly fire, 0 to disable.
|
mp_friendly_grenade_damage X | Toggles team damage produced by grenades. Setting of 1 = 'on', and 0 = 'off'. |
mp_roundtime
X
|
Adjust
the time of a single round. Max. is 9, min. is 1
|
mp_fadetoblack
X
|
When
set to 1, player's screen fades to black for the remainder of the round
when he dies. 0 to disable.
|
mp_buytime
X
|
Designate
the desired amount of buy time for each round. Min buy time is .5 minutes.
No max buy time.
|
mp_limitteams
|
Default
2. Maximum number of players that one team can have over the other.
To entirely disable team limiting, set to 0.
|
sv_gravity
X
|
Set
the gravity. Default 400. 0 to disable gravity ( !! )
|
mp_autokick
X
|
Default
1. Enable automatic team-killer banning and idle client kicking.
|
mp_autoteambalance
X
|
1
to enable auto balancing of team, 0 to disable.
|
changelevel
X
|
Change
to other map. X stand for the name of the map to change to. ( ex. de_dust
)
|
changelevel2 X | Continues the current game on a new map. |
listplayers
|
See
all the ppl's nick name and their number.
|
kick
#X
|
Kick
a player. X is the number of the poor guy in the player list.
|
mp_c4timer
X
|
C4
timer duration. Minimum of 15, maximum of 90.
|
mp_freezetime
X
|
Default
6. The length in seconds of the Freeze period at the beginning of rounds.
0 to disable.
|
mp_forcechasecam X | When set to 2, not allowed to spectate anyone...player's view stays where the player dies. When set to 1 only allowed to spectate player's own team when player dies. Default 0. |
mp_hostagepenalty X | Sets the number of hostages a player can kill before they are booted from the server. 0 to disable. |
mp_tkpunish
X
|
if
set to 1, TK'ers will sit out next round.
|
sv_password
X
|
Change
the password of the server. X is the password you wish to chnage to.
|