Counter-Strike 2

Counter-Strike 2

397 ratings
Config tutorial.
By Crazy_Tim412
In this guide, I will share and explain my cfg. I made it myself and I wanted to share it with you guys. My cfg has all the basic stuff(rates, buy script etc.), but also some scripts and things that some users don't know.

This CFG isn't the perfect one and it is not suited for everyone, but it has the basic + some extra's.
You can use it and tweak it for your use.

You can download the CFG here:
http://pastebin.com/KUP21gFf
https://www.dropbox.com/s/10gtur00lh66bvf/ct.cfg
   
Award
Favorite
Favorited
Unfavorite
Getting started
First off all there are two ways of using CFG's.
You can alter the autoexec or make an own one.

You can make one from scratch or download mine at:
http://pastebin.com/KUP21gFf
https://www.dropbox.com/s/10gtur00lh66bvf/ct.cfg

I suggest making an own one over using the autoexec and running it everytime you start up CS:GO.
To do this, navigate to your CFG folder. For me it is located at:

Originally posted by author:
C:\Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg

Use a text editor that can save in any extension. I prefer Notepad++, but any will do.
Make a file in the folder and call it how you want. Open it and paste the cfg in there.
When you save it, do "Save as" and save it as <name>.cfg. Make sure you set the extension type of your editor to "*.*" .

There you go, you got your cfg in place. Now everytime you open CS:GO, typ in the console:
Originally posted by console:
exec <your cfg name>
Originally posted by console:
exec autoexec
Originally posted by console:
exec ct
and it will execute it.
Rates, viewmodel and bobbing
Here I will go over the basics. It are the rates and some other stuff.
First the code I will be talking about:

cl_interp "0" cl_interp_ratio "1" cl_cmdrate "128" cl_updaterate "128" rate "104000" fps_max "150"

The rates are almost standard. I used them since the beginning and never had problems with them. You can mess around with the rates for your own internet settings ofcourse.

I set a fps limit, to make it more stable. I had some fps drops, when I got over 200, so I capped it. You can remove it, or edit it as you wish.

You can set the rates to the most used one: 128000.
I set it to 104000 for this guide, because the servers of csgo in-house(in-house means the built in match making, out-house are platforms like esea and altpug, they mostly run at 128 tick) are 64 tick.
The server therefor cap the rate settings at 104000.
128000 is used for 128 tick server where the cap is higher.

Valve operates at 64 tick servers. The built in capt for 64 tick is a rate of 104000. You can set it higher, but it doesn't do anything. If you play esea / altpug / custom server, they operate at 128 tick. The cap for that is 128000.

Valve explains Tickrate as: "During each tick, the server processes incoming user commands, runs a physical simulation step, checks the game rules, and updates all object states. After simulating a tick, the server decides if any client needs a world update and takes a snapshot of the current world state if necessary. A higher tickrate increases the simulation precision, but also requires more CPU power and available bandwidth on both server and client."

So if you do something, it is registered faster on 128 tick then on 64, but some pc's can't handle it.

A useful site is found in the link section to calculate your rates.

viewmodel_offset_x "2" viewmodel_offset_y "2" viewmodel_offset_z "-2" viewmodel_fov "65" cl_viewmodel_shift_left_amt "0" cl_viewmodel_shift_right_amt "0" cl_bob_lower_amt "5" cl_bobamt_lat "0.1" cl_bobamt_vert "0.1" cl_bobcycle "2"

This code acts like source movement and removes the bobbing a little bit. What it does is
move your arms a little bit, so you have a better view. The settings are quite effective and not very flexible as I have noticed with testing.

The weapon bobbing is now set to minimal, but it can't be removed completly.
The crosshair
cl_crosshairalpha "255" cl_crosshaircolor "1" cl_crosshaircolor_b "0" cl_crosshaircolor_r "0" cl_crosshaircolor_g "0" cl_crosshairdot "0" cl_crosshairgap "-1" cl_crosshairsize "6" cl_crosshairstyle "4" cl_crosshairusealpha "1" cl_crosshairthickness "1" cl_fixedcrosshairgap "-1" cl_crosshair_drawoutline 1

This crosshair looks like this:

I`ll go over some of the lines above:
  • The alpha makes it solid or not.
  • Standard colors: 1 = green, 2 = yellow, 3 = blue, 4 = cyan, 5 = custom
  • How much blue you want to have it
  • How much red you want to have it
  • How much green do you want to have it
  • This give you a dot in the middle if set to 1
  • How big the gap between your stripes are
  • How big the stripes are
  • How many stripes, 2 and 4 are 4 and 3 is 2
  • -
  • How thick the stripes are
  • This give you a little edge around your crosshair, 0 = nothing, 1 is a bit, 2 is something and 3 is max

I`ll include a link to an easy crosshair generator in the link section.
The buyscript

bind kp_home "buy fiveseven; buy tec9" bind kp_pgup "buy m4a1; buy ak47" bind kp_uparrow "buy p250" bind kp_slash "buy negev" bind kp_end "buy deagle" bind kp_minus "buy vesthelm" bind kp_multiply "buy vest" bind kp_plus "buy defuser" bind kp_rightarrow "buy galilar; buy famas" bind kp_leftarrow "buy awp" bind kp_ins "buy flashbang" bind kp_5 "buy p90" bind kp_del "buy hegrenade" bind kp_enter "buy smokegrenade" bind kp_downarrow "buy molotov; buy incgrenade" bind kp_pgdn "buy decoy"

This section is quite self explaining. The script binds all the buys to Keypad buttons.
The picture is a nice reference I made, that shows you how the keys are called and
what key buys what gun or item.

I made it for my own ease and for some it made seem quite random.
Fiddle around with the settings as you wish to make it perfect for yourself.
Friendly, scoreboard and other binds
bind uparrow "toggle net_graph 0 1" bind downarrow "toggle voice_scale 1 .5 .25 0" bindtoggle rightarrow "cl_righthand" bindtoggle leftarrow "cl_showfps" bind "F9" "volume 1.0" bind "F10" "volume 0.5" bind "F11" "volume 0.1" bind "HOME" "quit" bind f12 "jpeg"

These binds are the remainder of what I have.
The up arrow now shows or hides net_graph.
Down arrow scales ingame voice. Comes in handy when people are spamming in casual,
but you need full sound in competetive.
Right arrow switches weapon to your other hand. Handy for peeking around corners.
Left arrow toggles the fps in the upper left corner, if you dont want to have the full net_graph

Also, volume doesn't work the same as voice. I use 3 keys to control my volume.
I also rebound quit to a key out of the way, and the screenshot button.

bind p "say gl & hf" bind o "say gh" bind l "say gg & wp" bind k "say_team drop / eco"

Yes, I am too lazy to typ these everytime.

bind "TAB" "+ng"; // alias "+ng" "+showscores; net_graph 1" alias "-ng" "-showscores; net_graph 0"

This handy script was made by a friend. If you open the scoreboard, net_graph comes up too.
The only down side is, if you have it open already, it will be closed anyway.
Sound
I must apologize to someone, but I don't know who. I got these settings from him, but I forgot who you are.

windows_speaker_config "1" snd_mixahead "0.05" snd_musicvolume "0" snd_headphone_pan_exponent "2" snd_headphone_pan_radial_weight "1" snd_rear_headphone_position "90"

These settings make the sound come in clearer and less delayed. It also makes your speaker act like a headphone (if you use speakers ofcourse).
The other stuff
cl_disablehtmlmotd "1" cl_downloadfilter "nosounds"

These settings just show you the regular MOTD. No flashy commercials, or movies.

cl_autowepswitch "0" cl_autohelp "0" cl_showhelp "0" cl_righthand "1" cl_forcepreload "1" host_writeconfig

  • We don't want to switch weapons, when we walk over them.
  • Because we know the game.
  • No annoying pop-ups.
  • I prefer right hand, so I set it standard to it.
  • It loads everything you need in front and not while you are playing. This reduces lag and fps drops.
  • Force the settings, else config.cfg overwrites them again.
The complete CFG
clear echo "----------------------" echo "Config by Crazy_Tim412" echo "----------------------" echo "" // Buy script: all on the KeyPad bind kp_home "buy fiveseven; buy tec9" bind kp_pgup "buy m4a1; buy ak47" bind kp_uparrow "buy p250" bind kp_slash "buy negev" bind kp_end "buy deagle" bind kp_minus "buy vesthelm" bind kp_multiply "buy vest" bind kp_plus "buy defuser" bind kp_rightarrow "buy galilar; buy famas" bind kp_leftarrow "buy awp" bind kp_ins "buy flashbang" bind kp_5 "buy p90" bind kp_del "buy hegrenade" bind kp_enter "buy smokegrenade" bind kp_downarrow "buy molotov; buy incgrenade" bind kp_pgdn "buy decoy" echo "" echo "Buy binds done!" echo "" //Arrow binds bind uparrow "toggle net_graph 0 1" //Toggle net_graph bind downarrow "toggle voice_scale 1 .5 .25 0" //Toggle ingame voice bindtoggle rightarrow "cl_righthand" bindtoggle leftarrow "cl_showfps" echo "" echo "Arrow binds done!" echo "" // other binds bind "F9" "volume 1.0" bind "F10" "volume 0.5" bind "F11" "volume 0.1" bind "HOME" "quit" bind f12 "jpeg" echo "" echo "Other binds done!" echo "" // Friendly binds bind p "say gl & hf" bind o "say gh" bind l "say gg & wp" bind k "say_team drop / eco" echo "" echo "Friendly binds done!" echo "" //Show net_graph when Tab is pressed (tab = scoreboard) bind "TAB" "+ng"; // alias "+ng" "+showscores; net_graph 1" alias "-ng" "-showscores; net_graph 0" echo "" echo "Scoreboard netgraph done!" echo "" //No sounds or movies in the motd cl_disablehtmlmotd "1" cl_downloadfilter "nosounds" echo "" echo "No commercials done!" echo "" //Sound - less delayed, better sound windows_speaker_config "1" snd_mixahead "0.05" snd_musicvolume "0" snd_headphone_pan_exponent "2" snd_headphone_pan_radial_weight "1" snd_rear_headphone_position "90" echo "" echo "sound done!" echo "" // Server rates: about 102 ticks cl_interp "0" cl_interp_ratio "1" cl_cmdrate "128" cl_updaterate "128" rate "104000" fps_max "150" echo "" echo "Rates done!" echo "" // Remove some of the bobbing // and mirror source movement viewmodel_offset_x "2" viewmodel_offset_y "2" viewmodel_offset_z "-2" viewmodel_fov "65" cl_viewmodel_shift_left_amt "0" cl_viewmodel_shift_right_amt "0" cl_bob_lower_amt "5" cl_bobamt_lat "0.1" cl_bobamt_vert "0.1" cl_bobcycle "2" echo "" echo "Viewmodel done!" echo "" // Crosshair cl_crosshairalpha "255" cl_crosshaircolor "1" cl_crosshaircolor_b "0" cl_crosshaircolor_r "0" cl_crosshaircolor_g "0" cl_crosshairdot "0" cl_crosshairgap "-1" cl_crosshairsize "6" cl_crosshairstyle "4" cl_crosshairusealpha "1" cl_crosshairthickness "1" cl_fixedcrosshairgap "-1" cl_crosshair_drawoutline 1 echo "" echo "Crosshair done!" echo "" // Some other stuff cl_autowepswitch "0" // We dont want to suddenly switch weapon when walking/shooting cl_autohelp "0" // Because we know the game cl_showhelp "0" cl_righthand "1" // Some prefer left hand, I prefer right cl_forcepreload "1" echo "" echo "Other stuff done!" echo "" host_writeconfig // force all of these commands, else they can be overwritten echo "------------------------------" echo "Config loaded: have fun and good luck :D" echo "------------------------------"
Update log
v1.1: 17-12-2013:
Updates rates settings after question.
87 Comments
Crazy_Tim412  [author] May 21, 2016 @ 1:46pm 
Hey there, my guide is terrible outdated, I would suggest you search the community hub for a recent one
󠀡 May 21, 2016 @ 9:30am 
how to load file notepad after type host_writeconfig <123.cfg> in console? where to find folder located file 123.cfg?
max Dec 25, 2015 @ 12:33pm 
fps_max150 in which universe is that common lol
Sparks Jun 8, 2014 @ 7:33am 
Great job men ! :)
Thank you ! :csgohelmet:
Crazy_Tim412  [author] Feb 9, 2014 @ 2:25am 
host_writeconfig does that already :)
Salty - "The Liability" Feb 8, 2014 @ 8:04pm 
you should try editing the config.cfg for the settings to be saved(not retype all day)
Kipek Jan 13, 2014 @ 12:27pm 
Great:csgogun:
MeTaL.HeaD Jan 10, 2014 @ 8:34pm 
add better radar config
Salamander Jan 7, 2014 @ 2:09pm 
I think you are missing ignorerad command!
abz0r Jan 3, 2014 @ 11:52pm 
best tutorial to make your own config !! congrats