CS2 Config Generator

Build, preview, copy, and download custom CS2 autoexec and practice configs

CS2 Config Generator is a tool for building a custom CS2 config, autoexec.cfg, FPS config, or practice config. Instead of editing files by hand or copying random commands from different guides, you can choose your settings, preview the result, and download a ready-to-use config for Counter-Strike 2.

The generator covers everyday settings such as crosshair, radar, HUD, viewmodel, network, and performance commands. It also includes practice presets for bots, grenade lineups, bunnyhop training, and other offline setups. Each command comes with a short description, so you can understand what it does before adding it to your CS2 autoexec or custom config file.

HUD

Controls the overall size of HUD elements. Values: 0.90 - 1.10. Default: 1.0.
Sets the color of core HUD elements such as health, ammo, and armor. Values: 0 - 12. Default: 0.
Applies rarity-based weapon glow in the inventory panel. Values: 0 / 1. Default: 0.
Forces spectator HUD colors to match the observed player team. Values: 0 / 1. Default: 0.
Controls how teammate colors are shown in competitive UI. Values: 0 - 2. Default: 1.
Shows overhead teammate IDs using teammate colors. Values: 0 / 1. Default: 1.
Controls player ping sound cues. Values: 0 - 2. Default: 0.
Mutes communication from the enemy team. Values: 0 / 1. Default: 0.
Allows communication only from friends and party members. Values: 0 - 2. Default: 0.

Crosshair

Sets how the crosshair behaves during movement and firing. Values: 2 / 4 / 5. Default: 2.
Enables or disables the crosshair entirely. Values: 0 / 1. Default: 1.
Shows a warning when aiming at teammates. Values: 0 / 1. Default: 1.
Makes the crosshair follow weapon recoil. Values: 0 / 1. Default: 1.
Shows a center dot in the crosshair. Values: 0 / 1. Default: 1.
Changes the length of the crosshair lines. Values: 0.1 - 10. Default: 3.9.
Changes the thickness of the crosshair lines. Values: 0.1 - 6. Default: 0.6.
Changes the gap between the crosshair lines and center. Values: -5 - 5. Default: -2.2.
Adds an outline around the crosshair lines. Values: 0 / 1. Default: 1.
Changes the thickness of the crosshair outline. Values: 0.0 - 3.0. Default: 1.0.
Sets the main crosshair color preset. Values: 0 - 5. Default: 1.
Sets the red value for custom crosshair color. Values: 0 - 255. Default: 0.
Sets the green value for custom crosshair color. Values: 0 - 255. Default: 255.
Sets the blue value for custom crosshair color. Values: 0 - 255. Default: 0.
Enables crosshair transparency. Values: 0 / 1. Default: 1.
Controls crosshair transparency level. Values: 0 - 255. Default: 200.
Removes the top line to create a T-style crosshair. Values: 0 / 1. Default: 0.
Adjusts crosshair gap dynamically based on weapon behavior. Values: 0 / 1. Default: 1.
Uses your crosshair color for scoped AUG and SG 553 dots. Values: 0 / 1. Default: 0.
Controls whose crosshair is shown while spectating players. Values: 0 - 2. Default: 2.
Controls which crosshair is shown while spectating bots. Values: 0 - 2. Default: 2.

UI / Death Notices

Controls the enhanced player visibility mode. Values: 0 / 1. Default: 1.
Sets your preferred teammate color. Values: 0 - 4. Default: 0.
Forces death notices on or off when HUD visibility changes. Values: -1 - 1. Default: 0.
Forces radar on or off when HUD visibility changes. Values: -1 - 1. Default: 0.
Forces overhead team IDs on or off when HUD visibility changes. Values: -1 - 1. Default: 0.
Shows only death notices and hides most of the HUD. Values: 0 / 1. Default: 0.
Shows clan tags in death notices. Values: 0 / 1. Default: 1.
Shows kill numbers in death notices. Values: 0 / 1. Default: 0.
Enables or disables blood effects. Values: 0 / 1. Default: 1.

Radar

Keeps the radar centered on your player. Values: 0 / 1. Default: 1.
Rotates the radar to match your view direction. Values: 0 / 1. Default: 1.
Blends the radar map into the background for a softer look. Values: 0 / 1. Default: 1.
Adds blur behind the radar background. Values: 0 / 1. Default: 1.
Adjusts radar background opacity. Values: 0.000001 - 1. Default: 0.627.
Changes the overall size of the radar HUD. Values: 0.8 - 1.3. Default: 1.0.
Controls how much of the map is visible on the radar. Values: 0.25 - 1.00. Default: 0.70.
Sets the alternate radar zoom level for bound toggle use. Values: 0.25 - 1.00. Default: 1.0.
Temporarily switches the radar to square when the scoreboard is open. Values: 0 / 1. Default: 1.
Forces the radar to stay square at all times. Values: 0 / 1. Default: 0.
Automatically adjusts radar zoom to fit visible players and events. Values: 0 / 1. Default: 0.
Changes the size of player and object icons on the radar. Values: 0.4 - 1.25. Default: 0.70.

Sniper

Adds a delay before auto-unscope after a sniper shot. Values: 0 / 1. Default: 0.
Shows scoped sniper inaccuracy feedback inside the scope. Values: 0 / 1. Default: 1.
Automatically re-zooms the sniper scope after firing. Values: 0 / 1. Default: 1.
Changes the thickness of the sniper scope crosshair lines. Values: 1 - 6. Default: 1.
Changes the size of the scoped dot for AUG and SG 553. Values: 0.10 - 2.00. Default: 1.0.

Overlay / Console

Sets the screen corner used for Steam overlay notifications. Values: bottomleft / topleft / bottomright / topright. Default: bottomleft.
Sets the horizontal offset for Steam overlay notifications. Values: 0 - 100. Default: 0.
Sets the vertical offset for Steam overlay notifications. Values: 0 - 100. Default: 0.
Enables or disables the developer console. Values: 0 / 1. Default: 0.

Viewmodel

Selects a predefined viewmodel position preset. Values: 1 / 2. Default: 1.
Changes the viewmodel field of view. Values: 54.0 - 68.0. Default: 60.
Moves the viewmodel left or right. Values: -2.0 - 2.5. Default: 1.
Moves the viewmodel forward or backward. Values: -2.0 - 2.0. Default: 1.
Moves the viewmodel up or down. Values: -2.0 - 2.0. Default: -1.

Mouse

Sets your base mouse sensitivity. Values: positive number. Default: 1.250.
Sets the sensitivity multiplier while scoped. Values: positive number. Default: 1.0.
Sets the vertical mouse sensitivity multiplier. Values: number. Default: 0.022.
Sets the horizontal mouse sensitivity multiplier. Values: number. Default: 0.022.

FPS / Performance

Displays FPS and related performance information. Values: 0 - 4. Default: 0.
Sets the maximum in-game FPS cap, where 0 removes the limit. Values: 0 - N. Default: 400.
Sets the maximum FPS cap for UI elements. Values: 0 - N. Default: 200.
Sets the maximum FPS cap for tools and menus. Values: 0 - N. Default: 120.
Hides player avatar images to reduce UI overhead. Values: 0 - 2. Default: 0.
Enables or disables animated avatars in the UI. Values: 0 / 1. Default: 1.
Replaces team avatars with player counts on the scoreboard. Values: 0 / 1. Default: 0.
Shows build information in a corner of the screen. Values: 0 / 1. Default: 1.
Enables first-person bullet tracers. Values: 0 / 1. Default: 1.
Enables automatic hint messages in-game. Values: 0 / 1. Default: 1.
Disables player ragdoll physics after death. Values: 0 / 1. Default: 0.
Limits how many ragdolls can remain active at once. Values: -1 - 20. Default: 20.
Changes how the engine waits between frames to affect pacing and latency. Values: 0 / 1. Default: 0.
Limits how many fragments breakable objects can create. Values: 0 - 15. Default: 15.
Controls teammate indicators shown through walls. Values: 0 - 3. Default: 3.
Shows or hides target name information. Values: 0 / 1. Default: 1.

Telemetry

Controls when frame time telemetry is shown. Values: 0 - 2. Default: 1.
Sets the frame time threshold considered poor. Values: 1 - 100. Default: 100.
Controls when ping telemetry is shown. Values: 0 - 2. Default: 1.
Controls when missed packet telemetry is shown. Values: 0 - 2. Default: 1.
Sets the anomaly rate threshold considered poor. Values: 0 - 100. Default: 5.
Shows or hides the network quality graph. Values: 0 - 2. Default: 0.
Shows a more detailed breakdown of network anomalies. Values: 0 - 2. Default: 0.
Shows the server receive margin graph in telemetry. Values: 0 - 2. Default: 0.

Network

Sets the highest matchmaking ping you prefer for dedicated servers. Values: 25 - 350. Default: 150.
Sets the maximum bandwidth the client allows for game traffic. Values: 98304 - 1000000. Default: 786432.
Controls packet buffering used to smooth jitter and loss. Values: 0 - N. Default: 0.
Sets how long the client waits before resending a connection attempt. Values: seconds. Default: 0.5.
Sets how many seconds without packets before disconnecting. Values: seconds. Default: 30.
Overrides whether the client prefers SDR or direct UDP routing. Values: -1 / 0 / 1. Default: 0.
Shows body hit effects client-side before server confirmation. Values: 0 / 1. Default: 0.
Shows headshot effects client-side before server confirmation. Values: 0 / 1. Default: 0.
Shows kill ragdolls client-side before server confirmation. Values: 0 / 1. Default: 1.
Uses interpolation instead of clock buffering for lost packets. Values: 0 / 1. Default: 0.
Sets the desired queue length for tick packets. Values: 0 - N. Default: 0.
Sets the quality-of-service timeout for session searches. Values: seconds. Default: 15.
Sets the minimum player count for community server search. Values: 0 - N. Default: 3.
Sets the default lobby privacy behavior. Values: 0 - N. Default: 1.
Automatically advertises you as available for hire in the UI. Values: 0 / 1. Default: 1.
Restricts invites to friends only. Values: 0 / 1. Default: 0.
Allows invites only while in the main menu. Values: 0 / 1. Default: 0.
Sets the client interpolation ratio for network smoothing. Values: 0 - 19. Default: 0.

Server / Practice

Enables cheat-protected commands. Values: 0 / 1. Default: 0.
Enables infinite ammo. Values: 0 / 1. Default: 0.
Continuously regenerates player health. Values: 0 / 1. Default: 0.
Restarts the game after the specified delay. Values: 0 - N. Default: 0.
Sets freeze time at round start. Values: 0 - 60. Default: 6.
Sets how many extra players one team may have over the other. Values: 0 - 30. Default: 2.
Automatically balances teams. Values: 0 / 1. Default: 1.
Enables team damage. Values: 0 / 1. Default: 0.

Round / Money / Respawn

Sets the general round time in minutes. Values: 0.10 - 60.0. Default: 5.0.
Sets round time for defuse maps. Values: 0.0 - 60.0. Default: 1.920.
Sets round time for hostage maps. Values: 0.0 - 60.0. Default: 1.920.
Sets the maximum number of rounds before match end. Values: 0 - N. Default: 24.
Sets the map time limit in minutes. Values: 0 - N. Default: 0.
Sets the bomb timer in seconds. Values: 10 - N. Default: 40.
Sets how long players can buy after round start. Values: 0.0 - 90.0. Default: 20.0.
Allows buying outside buy zones. Values: 0 / 1. Default: 0.
Sets the maximum player money limit. Values: 0 - N. Default: 16000.
Sets starting money for players. Values: 0 - N. Default: 800.
Instantly respawns CT players after death. Values: 0 / 1. Default: 0.
Instantly respawns T players after death. Values: 0 / 1. Default: 0.

Bunnyhop / Movement

Allows speed gain beyond normal movement limits while bunnyhopping. Values: 0 / 1. Default: 0.
Automatically re-jumps while jump is held. Values: 0 / 1. Default: 0.
Sets how much stamina is consumed by jumping. Values: 0.0 - 1. Default: 0.080.
Sets how much stamina is consumed by landing. Values: 0.0 - 1. Default: 0.050.
Sets how quickly players can accelerate in the air. Values: 0.0 - N. Default: 5.5.
Sets the maximum movement speed limit. Values: 0.0 - N. Default: 320.0.

Warmup

Starts warmup immediately. Command.
Ends warmup immediately. Command.
Pauses or resumes the warmup timer. Values: 0 / 1. Default: 0.
Sets warmup duration in seconds. Values: 5 - N. Default: 30.

Debug / Utility

Shows server-side bullet hit information. Values: 0 / 1. Default: 0.
Shows bullet impact markers for hit and penetration testing. Values: 0 - 3. Default: 0.
Sets how long bullet impact markers remain visible. Values: 0.0 - 10.0. Default: 4.0.
Lets spectators move through walls and objects. Values: 0 / 1. Default: 1.
Shows position, velocity, and view angles. Values: 0 / 1. Default: 0.
Draws debug bounding boxes for entities. Command.
Clears debug overlays created by entity debug commands. Command.
Shows debug numbers at player feet through walls. Values: 0 / 1. Default: 0.
Kills your character instantly. Values: 0 / 1. Default: 0.
Enables invulnerability and prevents death. Values: 0 / 1. Default: 0.
Lets you take damage without dying. Values: 0 / 1. Default: 0.
Allows free movement through the map. No Values.

Grenade Practice

Rethrows the last grenade that was thrown. Command.
Shows a picture-in-picture grenade trajectory preview. Values: 0 / 1. Default: 0.
Sets how long practice grenade trails remain visible. Values: 0.0 - 8. Default: 0.
Sets how long grenade trails remain visible for spectators. Values: 0.0 - 8. Default: 4.0.

Bot Control

Adds a bot to one of the teams. Command.
Adds a bot to the CT team. Command.
Adds a bot to the T team. Command.
Sets the global bot difficulty level. Values: 0 - 3. Default: 1.
Removes bots by team, difficulty, name, or all at once. Common values: all / ct / t.
Sets the total number of bots allowed on the server. Values: 0 - 20. Default: 10.
Controls how the game maintains the bot quota. Values: normal / fill / match. Default: fill.
Prevents bots from firing while still allowing movement. Values: 0 / 1. Default: 0.
Freezes bots in place while keeping AI active. Values: 0 / 1. Default: 0.
Freezes bots completely and disables reactions. Values: 0 / 1. Default: 0.
Forces all bots to crouch. Values: 0 / 1. Default: 0.
Spawns a bot at your crosshair position. Command.
Makes bots mimic player movement. Values: 0 / 1. Default: 0.
Makes bots fully ignore players. Values: 0 / 1. Default: 0.
Forces bots to use only knives. Values: 0 / 1. Default: 0.
Forces bots to use only pistols. Values: 0 / 1. Default: 0.
Forces bots to use only sniper rifles. Values: 0 / 1. Default: 0.

How to Use the CS2 Config Generator

The CS2 Config Generator is split into two main parts: Config and Practice Config. The first section is designed for building a full everyday autoexec or a smaller FPS-focused config, while the second is built for training presets such as grenade lineups, bunnyhopping, and practice with bots. In both sections, you choose the preset you need, review the output, then copy or download it as a ready-to-use config file.

Config Generator

The Config section is built for everyday Counter-Strike 2 settings and custom autoexec creation. It includes two main options: Generate Config and Generate FPS Config.

When you click Generate Config, the tool creates a full config with more than 100 useful CS2 commands using their default values. Each command in the output includes a short comment that explains what the command does and what values it accepts. This makes it easier to understand the file before you save or edit it.

Below the generator, there is a full command block where you can manually change values for HUD, radar, crosshair, viewmodel, FPS, network, and other settings. After editing the values you want, click Generate Config again and the output field will rebuild the config using your selected values instead of the defaults. You can then copy the result with Copy or download it as an autoexec.cfg file with Download autoexec.cfg button. In practice, the download button saves exactly what is currently shown in the output field.

The Generate FPS Config button works as a faster preset. Instead of building the full config, it outputs a shorter FPS-focused setup with performance-related commands that can help reduce unnecessary visual overhead and improve responsiveness. This output can also be copied or downloaded the same way as a normal autoexec.

Practice Config Presets

The Practice Config section follows the same idea, but it is focused on training, offline setup, and server control. The main Generate Practice Config button outputs more than 60 useful commands with default values for practice sessions. Most of them are related to bots, movement, grenade practice, warmup, round settings, and debug tools.

Just like in the main config section, the full list of practice commands appears below the generator, and you can change values before generating the final output. Once the config is generated, the result can be copied with Copy or downloaded as a practice.cfg file with Download Practice Config.

This section also includes several ready-made presets for common training scenarios. Practice Nades Lineups outputs the commands needed for grenade lineup practice. Practice BunnyHopping outputs the commands used for bunnyhop movement training. Practice Bots outputs the commands and values needed for playing or practicing with bots. Each preset appears in the same output field, which means the copy and download buttons always work with whatever config is currently shown there.

How to Run the Generated Config

The generator lets you create two types of files: autoexec.cfg and practice.cfg. All generated config files should be placed in the main CS2 cfg folder.

If you save the main file as autoexec.cfg, CS2 can load it automatically on startup. If you save a separate file such as practice.cfg, you can run it manually through the console or through launch options when needed.

How to Use autoexec.cfg

The autoexec.cfg file is an optional system config that CS2 executes automatically on launch. Unlike other config files, it does not need to be loaded manually and does not require launch options. All you need to do is place the file in the main CS2 config folder:

...\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\

No extra steps are required after that.

How to Load a Custom Config

A separate config file such as practice.cfg can be useful when you want to keep commands, binds, or scripts separate from your main settings, or when you only want to load them in specific situations. This also makes testing easier, because you can edit one small file without affecting the rest of your main config.

After downloading the file, place it in the CS2 config folder:

...\steamapps\common\Counter-Strike Global Offensive\game\csgo\cfg\

Once the file is there, you can load it manually through the in-game console. Open the console in CS2 and type:

exec practice.cfg

Press Enter, then load a map to check if the config works correctly.

The CS2 console does not require the file extension, so exec practice will also work.

How to Load a Custom Config Through Launch Options

Another way to load a config is through Steam launch options. This is useful if you want a specific config to run automatically every time CS2 starts, without entering the command manually.

  • Open Steam and go to your Library
  • Right-click Counter-Strike 2 and open Properties
  • In the General tab, find Launch Options
  • Add the command: +exec practice.cfg. If you already use launch options, place it at the end of the existing line.
  • Then start CS2 and check if the config loaded correctly.

Related CS2 Config Guides

This generator helps you create CS2 config files faster, but it does not replace a full guide to autoexec setup, custom cfg files, and console commands. This becomes even more useful when you start working with separate practice configs, FPS presets, and larger custom setups.

A good place to continue is CS2 Config: How to Create, Load, and Manage CFG Files, which explains how to create, load, and manage CS2 config files in more detail. If you want a broader reference for useful commands, CS2 Console Commands 2026: Best Practice, Gameplay & FPS Settings is also worth reading. The quide CS2 Config Location Guide 2026: Where are Config Files Stored? explains where CS2 config files are stored and where they should be placed. And if you want to explore more related tools, guides, and examples in one place, Counter-Strike 2 Scripting brings together additional CS2 scripting content.

CS2 Config Generator FAQ

A glowing 'FAQ' displayed on a futuristic holographic panel, surrounded by floating question marks and digital circuitry within a cosmic, sci-fi environment
What is a CS2 config generator?

A CS2 config generator is a tool that helps you create a custom CS2 config without writing every command manually. Instead of collecting commands from different guides or editing .cfg files by hand, you can choose the settings you need, generate the output, and save it as a ready-to-use file such as autoexec.cfg or practice.cfg.

What is the difference between autoexec.cfg and practice.cfg?

autoexec.cfg is your main CS2 config file that loads automatically when the game starts. It is usually used for everyday settings such as crosshair, radar, HUD, viewmodel, network, and performance options. The practice.cfg file is a separate custom config that you load only when needed. It is better suited for grenade practice, bunnyhop training, bot setup, warmup control, and other practice commands.

Does the generator use default CS2 values?

Yes. The generator is built so that commands start with their default values unless you change them. If you click Generate Config or Generate Practice Config without editing anything, the output will contain the full preset using those default values. If you change selected commands first, the generator will keep the rest at default values and only update the ones you edited.

Can I edit commands before generating the file?

Yes. That is the main idea of the tool. Below the generator, you can review the available commands, read their descriptions, and choose the values you want. After that, generating the config will rebuild the output using your selected settings.

What does the Download button actually save?

The download button saves exactly what is currently shown in the output field. This means the output works as the final preview of your config. If you generated a full config, the downloaded file will contain that full config. If you generated an FPS preset or a practice preset, the downloaded file will contain that specific output instead.

Can I use the generated files without launch options?

Yes, in many cases. A generated autoexec.cfg works automatically as long as it is placed in the correct CS2 config folder. A custom config such as practice.cfg can be loaded manually through the console with a command like exec practice.cfg. CS2 Launch Options are optional and only useful if you want a separate custom config to run automatically when the game starts.