Переменные и команды консоли
Counter-Strike использует полностью аналогичную своему прародителю Half-Life систему команд и переменных, но имеет и уникальные.
Оцените эту статью, выбрав соответствующую медальку:
Counter-Strike использует полностью аналогичную своему прародителю Half-Life систему команд и переменных, но имеет и уникальные.
Приведенные здесь команды и переменные не являются читами. Они могут использоваться для настройки внешнего вида и управления игрой.
Команду вводимые на клиенте
ah 1
Toggles Auto-Help (gives player hint messages throught the game) — Setting of 1 = 'on', and 0 = 'off'. cl_observercrosshair 1 Set to '1' to enable crosshairs in Observer mode, '0' to disable.
dm 1
Toggles displaying of map briefings after loading a new map — Setting of 1 = 'on', and 0 = 'off'
cl_hidefrags 0
Toggles hiding everyone else’s scores except your own — Setting of 1 = 'on', and 0 = 'off'
drawradar
Включить показ радара
hideradar
Выключить показ радара
fastsprites 0
Sets the complexity of the smoke sprites for the smoke grenade — The range is 0−2, with 0 looking the most like actual smoke
hud_centerid 0
Toggles the centering of the auto-ID text — Setting of 1 = 'on', and 0 = 'off'
lefthand 0
Переключает режим изображения оружия в левой руке или в правой. «1» — оружие изображается в левой руке, «0» — в правой
listmaps
Lists the maps available on the server that the client can vote for — the server admin specifies which maps get listed by editing the mapcycle.txt file.
max_shells 300
Sets the number of shells visible at one time (0−500)
max_smokepuffs 300
Sets the number of smoke puffs visible at one time (0−500)
nightvision
Bind this to a key to toggle the use of the night vision goggles
rate 2500
Sets how much data/information you receive from the server that you are connected to — for a 14.4 connection, set your rate to 1500 — 33.6k connection use 3000 — 56k modem use 3500 — ISDN should be 5000 — all connections faster than that should be between 5000 and 9999
setinfo vgui_menus 1
Toggles the VGUI menu — Setting of 1 = 'on', and 0 = 'off'
timeleft
States how much time is left on the particular map
votemap
Allows the client to vote for a particular map
Команду вводимые на сервере
mp_autokick 1
Toggles automatic team-killer banning and kicking of idle clients — Setting of 1 = 'on', and 0 = 'off'
mp_autoteambalance 1
Toggles the forcing of clients to join teams to make it balanced — Setting of 1 = 'on', and 0 = 'off'
mp_c4timer 45
Sets the amount of time in between C4 placement and its explosion — ranges between 15 and 90 seconds.
mp_flashlight 1
Toggles the use of flashlights by clients — Setting of 1 = 'on', and 0 = 'off'
mp_footsteps 1
Toggles footstep sounds — Setting of 1 = 'on', and 0 = 'off'
mp_forcechasecam 0
Toggles the chasecam to follow teammates only — useful for LAN games — Setting of 1 = 'on', and 0 = 'off'
mp_freezetime 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 0
Toggles friendly fire — Setting of 1 = 'on', and 0 = 'off'
mp_hostagepenalty 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 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 1
Toggles logging of chat messages in the log files — Setting of 1 = 'on', and 0 = 'off'
mp_mapvoteratio 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 5
Sets the maximum amount of time for each round — ranges between 3 and 15 minutes
mp_timelimit 0
Sets the maximum amount of time in minutes between map rotations
mp_tkpunish 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 0
Sets the amount of time before resetting the game, including frags, weapons, money, and scores — Use setting of '0' to disable these restarts.