Counter-Strike 2

Counter-Strike 2

Zbyt mało ocen
The most useful console commands CS2
Autorstwa: 「 ㉿ Dektor ㉿ 」
In this guide I have collected the most necessary and most importantly working! console commands for CS2 which VALVE itself published
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Designation of abbreviations
Flags

For a better understanding of how and where you can enter console commands, valve puts flags on each created command, their interpretations are listed below. All information is taken from the official website of Valve developers

cl (client) — for commands that change parameters only on the local client (only for you) and have no relation to the server. Such commands can be executed in other matches

sv (server) — for commands changing parameters on the server for one or all clients present on it. Such commands can only be executed on your own server, as well as on maps launched in training mode (which is also considered as your own server)

cheat — for commands that when launched will disrupt the balance of the game and are designated as cheat. To execute commands with the cheat flag, the sv_cheats 1 command must be activated on the server

per_user — for commands that apply only to the player who entered it

rep (replicated) - for commands that must have the same values ​​on both sides and will be applied to all clients (players) on the server

nf (notify) - for commands where the server sends a message to all clients whenever a variable is changed. This must be used for variables that change the rules of the game that are important to all players

a (archive) — some console variables contain user settings and in order not to specify them at each launch, it is written to the config.cfg file and will be executed at each launch

norecord — for commands whose variables should not be written to demo files

Values

All data in the values ​​are indicated as they are set by default by the developers themselves

true — the value at which the command is enabled, also an interchangeable parameter 1 and true are the same thing

false — value at which the command is disabled, also an interchangeable parameter 0 and false are the same thing

cmd — command line with this value the command may not accept parameters and will be executed immediately after launch or requires parameters to be specified in the form of arguments that are specified in the description of the command itself
Information commands
Command
Default Value
Flags
Description
cl_showfps
0
cl, release
Draw fps meter at top of screen (1 = fps, 2 = smooth fps, 3 = server MS, 4 = Show FPS and Log to file )
sv_showimpacts
0
sv, cl, rep, release
Displays the location of the bullet hit and all objects it hits
(client and server hits can be processed differently, so you can enable multiple indicators
3 = red - client, 2 = blue - server 1 = both)
cl_showpos
0
cl, cheat, release
Display of speed, jump height, endurance, coordinates
net_channels
0
cl
Display ping, package loss
net_status
0
cl
from net_channels 0 only in more detail
Cheat commands
Command
Default Value
Flags
Description
sv_cheats
false
nf, rep, release
Allow cheats commands on server
noclip
cmd
sv, cheat
Player becomes unharmed and can fly through walls. Optional argument 0 or 1 to force on/off
cl_ent_skeleton
cmd
cl, cheat
Displays the skeleton for the given object(s) that the player's sight is aimed at (essentially the only primal version of WH at the moment)
sv_infinite_ammo
0
sv, cl, rep, cheat, release
Player's active weapon will never run out of ammo
sv_grenade_trajectory_prac_pipreview
false
sv, cl, rep, release
Shows grenade trajectory practice picture-in-picture preview
sv_rethrow_last_grenade
cmd
sv, cheat
Repeats the last grenade throw
kill
cmd
sv, cheat
Kills the player with generic damage
buddha
false
sv, nf, cheat
Player takes damage but won't die
sv_enablebunnyhopping
false
sv, cl, rep, release, cheat
Allow player speed to exceed maximum running speed
sv_autobunnyhopping
false
sv, cl, rep, release, cheat
Players automatically re-jump while holding jump button
sv_staminajumpcost
0.08
sv, cl, rep, release, cheat
Change stamina penalty for jumping
sv_staminalandcost
0.05
sv, cl, rep, release, cheat
Change stamina penalty for landing
sv_airaccelerate
12
sv, cl, nf, rep, release, cheat
Sets how fast you accelerate in the air
sv_maxspeed
320
sv, cl, nf, rep, release, cheat
The maximum speed that players can reach
Sound settings
Command
Default Value
Flags
Description
volume
0.134001
a
General sound volume
voice_modenable
true
cl, a, release, clientcmd_can_execute
Turns voice chat on and off
cl_clutch_mode
false
cl, release
Silence voice and other distracting sounds until the end of round or next death
mp_footsteps_serverside
true
sv, release
Makes the server always play footstep sounds. Clients never calculate footstep sounds locally, instead relying on the server
Commands for setting up hands
Command
Default Value
Flags
Description
viewmodel_presetpos
1
cl, a
1 = normal weapon view in hand, 2 = classic weapon view (there should have been a big view, but at the moment the command only accepts 2 arguments)
viewmodel_fov
60
cl, a
Changes the distance of the camera from the weapon. Valid values ​​are from 60 to 68
viewmodel_offset_x
1
cl, a
Weapon position along the X axis. Acceptable values ​​from -2 to 2.5
viewmodel_offset_y
1
cl, a
Position of the weapon along the Y axis. Valid values ​​are from -2 to 2
viewmodel_offset_z
-1
cl, a
Weapon position along the Z axis. Valid values ​​are from -2 to 2
Setting up rounds
Command
Default Value
Flags
Description
mp_restartgame
0
sv, release
Restart the entire match after the specified number of seconds
mp_freezetime
15
sv, nf, rep, release
Change the freeze time at the start of the round to the specified number of seconds
mp_warmup_start
cmd
sv, release
Start warmup
mp_warmup_end
cmd
sv, release
Finish warmup
mp_warmuptime
120
sv, cl, rep, release
Increase warmup time by the specified number of seconds, changing this value resets the warmup
mp_roundtime_defuse
1.92
sv, nf, rep, release
How many minutes each round of Bomb Defuse takes. If 0 then use mp_roundtime instead
mp_roundtime_hostage
1.92
sv, nf, rep, release
How many minutes each round of Hostage Rescue takes. If 0 then use mp_roundtime instead
mp_timelimit
0
sv, cl, nf, rep, release
Game time per map in minutes
mp_buytime
20
sv, cl, rep, release
Sets the time in seconds after the start of the round players can buy items
mp_maxmoney
16000
sv, cl, rep, release
Maximum amount of money allowed in a player's account
mp_startmoney
800
sv, cl, rep, release
Sets the amount of money each player receives at the start of the game, as well as when changing sides
mp_buy_anywhere
0
sv, cl, nf, rep, release
Enables players to shop anywhere, not just in trading zones 0 = default 1 = both teams
2 = Terrorists 3 = Counter-Terrorists
mp_limitteams
2
sv, nf, rep, release
Sets the maximum number of players one team can have over another (0 disables the check)
mp_autoteambalance
true
sv, nf, release
Disables automatic team balancing (only works with mp_limitteams 0)
sv_specspeed
1200
sv, cl, a, nf, rep
Changes flight speed in spectator mode
sv_specnoclip
true
sv, cl, a, nf, rep
Allows players in spectator mode to fly through walls
sv_visiblemaxplayers
-1
release
Overrides the max players reported to prospective clients
mp_c4timer
5
sv, cl, nf, rep, release
How long from when the C4 is armed until it blows
mp_autokick
true
sv, rep, release
Kick idle/team-killing/team-damaging players
Setting up bots
Command
Default Value
Flags
Description
bot_kick
cmd
sv, release
ct> <type> <difficulty> <name> - Kicks a specific bot, or all bots, matching the given criteria
bot_kill
cmd
sv, cheat
ct> <type> <difficulty> <name> - Kills a specific bot, or all bots, matching the given criteria
bot_add_ct
cmd
sv, release
bot_add_ct <type> <difficulty> <name> - Adds a Counter-Terrorist bot matching the given criteria
bot_add_t
cmd
sv, release
bot_add_t <type> <difficulty> <name> - Adds a terrorist bot matching the given criteria
bot_place
cmd
sv, cheat
Places a bot on the map where the player's crosshair points
bot_mimic
0
sv, cl, rep, cheat
Bot copies all player actions
bot_mimic_spec_buttons
true
cl, cheat
+attack, +jump etc are used for spectator control instead of being passed on to spectated bot
bot_dont_shoot
false
sv, rep, cheat, release
If nonzero, bots will not fire weapons
bot_stop
0
sv, rep, cheat
Telling bots to stand still
bot_crouch
false
sv, cheat
Telling bots to sit
bot_knives_only
cmd
sv, release
Restricts the bots to only using knives
bot_pistols_only
cmd
sv, release
Restricts the bots to only using pistols
bot_snipers_only
cmd
sv, release
Restricts the bots to only using sniper rifles
bot_allow_grenades
true
sv, rep, release
If nonzero, bots may use grenades
bot_allow_machine_guns
true
sv, rep, release
If nonzero, bots may use the machine gun.
bot_allow_sub_machine_guns
true
sv, rep, release
If nonzero, bots may use sub-machine guns
bot_allow_pistols
true
sv, rep, release
If nonzero, bots may use pistols
bot_allow_rifles
true
sv, rep, release
If nonzero, bots may use rifles
bot_allow_shotguns
true
sv, rep, release
If nonzero, bots may use shotguns
bot_allow_snipers
true
sv, rep, release
If nonzero, bots may use sniper rifles
bot_all_weapons
cmd
sv, release
Allows the bots to use all weapons
bot_autodifficulty_threshold_high
0
sv, cl, rep, release
Upper bound above Average Human Contribution Score that a bot must be above to change its difficulty
bot_autodifficulty_threshold_low
-2
sv, cl, rep, release
Lower bound below Average Human Contribution Score that a bot must be below to change its difficulty
bot_chatter
normal
sv, rep, release
Control how bots talk. Allowed values: 'off', 'radio', 'minimal', or 'normal'
bot_controllable
true
sv, rep, release
Determines whether bots can be controlled by players
bot_defer_to_human_goals
true
sv, rep, release
If nonzero and there is a human on the team, the bots will not do the scenario tasks
bot_defer_to_human_items
true
sv, rep, release
If nonzero and there is a human on the team, the bots will not get scenario items
bot_difficulty
2
sv, rep, release
Defines the skill of bots joining the game. Values are: 0=easy, 1=normal, 2=hard, 3=expert
Radar Settings
Command
Default Value
Flags
Description
cl_radar_always_centered
true
cl, a, release
If set to 0, the radar is maximally used. Otherwise the player is always centered, even at map extents
cl_radar_square_with_scoreboard
true
cl, a, release
If set, the radar will toggle to square when the scoreboard is visible
cl_radar_rotate
true
cl, a, release
Turns the radar rotation on or off
cl_radar_scale
0.7
cl, a, release
Sets the radar scale. Valid values are 0.25 to 1.0
cl_radar_icon_scale_min
0.6
cl, a, release
Sets the minimum scale of player icons on the radar. Valid values: from 0.4 to 1.25
Weapons and equipment
Command
Default Value
Flags
Description
Rifles
give weapon_m4a1
cmd
sv,cl
Give M4A4
give weapon_m4a1_silencer
cmd
sv,cl
Give M4A1-S
give weapon_famas
cmd
sv,cl
Give FAMAS
give weapon_aug
cmd
sv,cl
Give AUG
give weapon_scar20
cmd
sv,cl
Give SCAR-20
give weapon_awp
cmd
sv,cl
Give AWP
give weapon_ssg08
cmd
sv,cl
Give SSG-08
give weapon_ak47
cmd
sv,cl
Give AK-47
give weapon_galilar
cmd
sv,cl
Give GALIL AR
give weapon_sg556
cmd
sv,cl
Give SG 553
give weapon_g3sg1
cmd
sv,cl
Give G3SG1
Pistols
give weapon_usp_silencer
cmd
sv,cl
Give USP-S
give weapon_hkp2000
cmd
sv,cl
Give P2000
give weapon_glock
cmd
sv,cl
Give Glock-18
give weapon_elite
cmd
sv,cl
Give Dual Berettas
give weapon_p250
cmd
sv,cl
Give P250
give weapon_fiveseven
cmd
sv,cl
Give FIVE-SEVEN
give weapon_cz75a
cmd
sv,cl
Give CZ75-Auto
give weapon_tec9
cmd
sv,cl
Give TEC-9
give weapon_revolver
cmd
sv,cl
Give REVOLVER R8
give weapon_deagle
cmd
sv,cl
Give Desert Eagle
Submachine guns
give weapon_mp9
cmd
sv,cl
Give MP9
give weapon_mp7
cmd
sv,cl
Give MP7
give weapon_mp5-sd
cmd
sv,cl
Give MP5-SD
give weapon_ump45
cmd
sv,cl
Give UMP-45
give weapon_p90
cmd
sv,cl
Give P90
give weapon_bizon
cmd
sv,cl
Give PP-19 BIZON
give weapon_mac10
cmd
sv,cl
Give MAC-10
Heavy weapons
give weapon_nova
cmd
sv,cl
Give Nova
give weapon_xm1014
cmd
sv,cl
Give XM1014
give weapon_mag7
cmd
sv,cl
Give MAG-7
give weapon_sawedoff
cmd
sv,cl
Give SAWED-OFF
give weapon_m249
cmd
sv,cl
Give M249
give weapon_negev
cmd
sv,cl
Give NEGEV
Grenades
give weapon_hegrenade
cmd
sv,cl
Give hegrenade
give weapon_smokegrenade
cmd
sv,cl
Give smoke grenade
give weapon_flashbang
cmd
sv,cl
Give flashbang
give weapon_molotov
cmd
sv,cl
Give molotov
give weapon_incgrenade
cmd
sv,cl
Give incendiary grenade
give weapon_decoy
cmd
sv,cl
Give decoy
Equipment
give item_kevlar
cmd
sv,cl
Give armor without helmet
give item_assaultsuit
cmd
sv,cl
Give armor + helmet
give weapon_c4
cmd
sv,cl
Give bomb C4
give item_defuser
cmd
sv,cl
Give defuse kit
give weapon_taser
cmd
sv,cl
Give Zeus x27
Other commands
Command
Default Value
Flags
Description
exec
cmd
norecord, release
Execute a cfg file
fps_max
400
a, release
Frame rate limiter. 0=no limit
clear
cmd
norecord, release
Clear all console entries
disconnect
cmd
release, vconsole_set_focus
Disconnect from server
quit
cmd
release
Quit the game
sensitivity
2.5
cl, a, per_user
Change mouse sensitivity
zoom_sensitivity_ratio
1
cl, a, per_user
Changes the sensitivity of the mouse in zoom
cl_draw_only_deathnotices
false
cl, release
Disable display of user interface (HUD) except crosshair
cl_drawhud
false
cl, cheat
Disabling the display of the user interface (HUD) and crosshair
| Preset | shooting training
sv_cheats 1 cl_ent_skeleton ( It's better to bind it to a key, for example bind t "cl_ent_skeleton" ) sv_infinite_ammo 1 buddha 1 mp_freezetime 0 mp_roundtime_defuse 99999 mp_buytime 999999 mp_maxmoney 60000 mp_buy_anywhere 1
| Preset | practice grenades
sv_cheats 1 sv_grenade_trajectory_prac_pipreview 1 sv_rethrow_last_grenade ( It's better to bind it to a key, for example bind y "sv_rethrow_last_grenade" ) noclip ( It's better to bind it to a key, for example bind n "noclip" ) give weapon_hegrenade give weapon_smokegrenade give weapon_flashbang give weapon_molotov
| Preset | bunnyhop training
sv_cheats 1 cl_showpos 1 sv_enablebunnyhopping 1 sv_autobunnyhopping 1 sv_staminajumpcost 0 sv_staminalandcost 0 sv_airaccelerate 100 sv_maxspeed 99999
Conclusion
.gif].gif]
Komentarzy: 2
Ect0 // Mango 18 stycznia o 0:00 
Hey! Thanks for the summary. Could you edit in a link to the complete list of commands from Valve? :beatmeat: