What are the console commands in CS2? Console Commands Overview

What are the console commands in CS2? Console Commands Overview

  CSGO has officially launched CS2 Counter-Strike: Global Offensive 2. So what are the console commands for CS2? Below, the editor will provide you with a list of CS2 console commands. Let's explore them together, for those who are interested.

  CS2 Console Command List

  first,Map Commands

  bot_kick; // Remove bots

  bot_add ${CT/T}$; // Add a bot to the CT or T faction. If no main parameter is specified, it defaults to adding bots to both factions in rotation.

  bot_stop ${0/1}$; // Stop bot behavior. 0 means bots gradually stop their active behavior, 1 means bots stop their active behavior immediately.

  bot_place ${CT/T}$; // Move a BOT (CT or T) in front of the player's view.

  custom_bot_difficulty ${0~4}$; // Set the custom BOT difficulty coefficient. 0 for easy, 4 for expert. The higher the value, the harder it gets.

  bot_dont_shoot ${0/1}$; // Disable bot shooting. 0 means off, 1 means on.

  cl_ent_skeleton $entity_line_name$; // Show the skeletal structure of a physical entity. Usually used with bot names to mark specific points.

  sv_cheats ${0/1}$; // Enable cheats. 0 means off, 1 means on. (Cheats must be enabled for any movement command to work.)

  noclip; // Enable free movement, allowing you to fly and pass through walls.

  sv_infinite_ammo ${0/1/2}$; // Infinite ammo. 0 means off, 1 means infinite primary ammo, 2 means infinite primary and secondary ammo.

  sv_grenade_trajectory_prac_pipreview ${0/1}$; // Preview the actual trajectory of grenades.

  sv_grenade_trajectory_prac_trailtime $value greater than 0$; // Set the duration of grenade trajectory trails. 0 means off.

  sv_rethrow_last_grenade; // Throw the last grenade again.

  ammo_grenade_limit_total ${0~6}$; // Set the maximum number of grenades that can be carried.

  sv_showimpacts ${0~3}$; // Show bullet impact points. 0 means off, 1 means show server and client impact points, 2 means show client impact points, 3 means show server impact points.

  mp_freezetime $value greater than 0$; // Set the round start freeze time.

  mp_roundtime_defuse $value greater than 0$; // Set the round time in bomb defusal mode, in minutes.

  mp_startmoney $value greater than 0$; // Set the starting money.

  mp_buy_anywhere ${0/1}$; // Allow buying from anywhere on the map.

  mp_buytime $value greater than 0$; // Set the buy time in seconds.

  mp_limitteams $value greater than 0$; // Set the maximum allowed team imbalance.

  mp_autoteambalance ${0/1}$; // Enable or disable auto team balancing.

  mp_autokick ${0/1}$; // Automatically kick players who violate the rules (e.g., team damage, hostage incidents).

  map $map_folder_name$; // Load a map from the local files (.vpk document) for online play (*Note: Currently, CS2 is not available on Steam. You can quickly download the corresponding CS2 map with the version number for this command to work in the mobile version).

  _record $folder_name$; // Start recording a demo and save it with the specified folder name as a .dem file (*Only first-person perspective is recorded, can be used in official matches, but using software for recording is recommended).

  playdemo $demo_folder_name$; // Play back a recorded demo file (.dem document).

  demoui; // Only available during demo playback, a timeline will be displayed below.

  Second, Game Settings

  cl_showfps ${0/1}$; // Show the FPS (frame per second) rate (the frame rate for displaying the number of frames is really high, and I often can't see how many frames there are).

  cq_netgraph ${0/1}$; // Show command sequence data information (can detect network conditions to some extent, where dark blue represents normal ping values, and red indicates anomalies such as loss or choke).

  cl_autobuy $weapon_name$; // Automatically purchase order. Default setting: vesthelm vest m4a1 ak47 famas galilar mp7 nova defuser (purchases are arranged in directory order, and it will try to purchase weapons and equipment available in the area).

  viewmodel_fov ${54~68}$; // Gun view model field of view.

  viewmodel_offset_x ${-2~2.5}$; // Gun view model vertical movement. Default is 1. Values smaller than 1 offset upwards, values greater than 1 offset downwards.

  viewmodel_offset_y ${-2~2}$; // Gun view model vertical movement. Default is 1. Values smaller than 1 sink downwards, values greater than 1 shift upwards.

  viewmodel_offset_z ${-2~2}$; // Gun view model movement in the Z-axis direction. Default is -1. Values smaller than 1 shift backwards, values greater than 1 move forward.

  Third, Key Bindings

  alias $any_name$ $action/command$; // Assign an action or command with a specific name.

  bind $any_key$ $action/command$; // Associate an action or command with an input key.

  Fourth, Common Key Examples

  KeyKey Name

  MOUSE1Left mouse button

  MOUSE2Right mouse button

  MOUSE3Middle mouse button

  MOUSE4Side mouse button

  MWHEELUPMouse wheel up

  MWHEELDOWNMouse wheel down

  SPACESpacebar

  ENTEREnter key

  Bind mouse wheel for jumping:

  bind MWHEELUP "jump"bind MWHEELDOWN "jump"

  Bind spacebar for ducking and jumping:

  alias cj "jump; duck"alias -cj "-duck; -jump"bind "space" "cj"

  Bind key N to rethrow the last grenade:

  bind N "sv_rethrow_last_grenade"

  Bind CTRL key for jump throwing:

  alias jt "jump"alias -jt "-jump"alias jt1 "-attack;-attack2"bind CTRL "jt; jt1"

  Fifth, Location of CS2 cfg Files

  Configuration files and related game settings and key bindings are initially stored in the Steam folder: userdata/$client_id$/730/local/cfg/cs2_user_keys_0_slot0.vcfg or other files starting with "cs2".

  Example file path: C:\Program Files\Steam\userdata\45321561730\local\cfg

  Additional cfg files, such as jumpthrow.cfg, are placed in the game's runtime library folder: SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo\cfg.

  Example file path: E:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\jumpthrow.cfg

  Sixth, Automatic Loading of cfg Files

  (*Without automatic loading of cfg files, you would need to manually execute jump throw commands every time you open the game.)

  First, go to the folder SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo\cfg. If there is no autoexec.cfg file, right-click and create a new text file and name it autoexec.cfg (remember to enable file extensions).

  For demonstration purposes, let's only add the jump throw bindings to the cfg file. Copy the jump throw commands into the cfg file. If you can't open the cfg file, right-click the file and open it as a text document. Remember to add a semicolon ";" at the end of each line. Finally, start a new line and type "host_writeconfig". Save the file.

  Seventh, Here is the text information:

  alias jt "jump";

  alias -jt "-jump";

  alias jt1 "-attack;-attack2";

  bind CTRL "jt; jt1";

  host_writeconfig;

  After this, CS2 will automatically load the jump throw bind when you open the game.

  Additional cfg files, such as jumpthrow.cfg, are placed in the game's runtime library folder: SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo\cfg.

  Example file path: E:\SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo\cfg\jumpthrow.cfg

  Sixth, Automatic Loading of cfg Files

  (*Without automatic loading of cfg files, you would need to manually execute jump throw commands every time you open the game.)

  First, go to the folder SteamLibrary\steamapps\common\Counter-Strike Global Offensive\csgo\cfg. If there is no autoexec.cfg file, right-click and create a new text file and name it autoexec.cfg (remember to enable file extensions).

  For demonstration purposes, let's only add the jump throw bindings to the cfg file. Copy the jump throw commands into the cfg file. If you can't open the cfg file, right-click the file and open it as a text document. Remember to add a semicolon ";" at the end of each line. Finally, start a new line and type "host_writeconfig". Save the file.

  Seventh, Here is the text information:

  alias jt "jump";

  alias -jt "-jump";

  alias jt1 "-attack;-attack2";

  bind CTRL "jt; jt1";

  host_writeconfig;

  After this, CS2 will automatically load the jump throw bind when you open the game.

  CSGotrove is a platform dedicated to providing skin trading services for CS:GO players. Here, you can buy and sell various CS:GO items, whether it's the rarest knives, AK-47 Asiimov, or the legendary AWP Dragon Lore. You can find them on CSGotrove and trade them at reasonable prices.


Notification top

This is the content of the notification.

This is a normal message