Interesting CS:GO Player CVARS

Crosshairs  and hud_showtargetid including a Command list also a cut and paste for your autoexec file.

 Crosshairs. There are two basic systems, Default and Classic. You can change these in the "Help and Options" - "Game Settings" menu "Crosshair Style"...

cl_crosshairstyle (5 choices)
cl crosshairstyle 0 cl crosshairstyle 1 cl crosshairstyle 2  cl crosshairstyle 3  cl crosshair 4 anim
"0" = Default "1" = Default Static "2" = Classic "3" = Classic Dynamic "4" = Classic Static


 cl_crosshairstyle. "0" = (def) - The cl_crosshairstyle command controls the choice of crosshair. From "0" - "4". You will note the Classic "2", "3" and "4" look almost the same...that is until you jump, the spread on "3" is much more. The "4" choice is static when moving... but it does move slightly when you fire a weapon.


Adjusting items past this point will require you enable the "developer" console.

You can do that by finding the "Enable Developer Console [~]" button on the GUI screen "Game Settings". I do have a cut and paste below of all the commands mentioned here set at the defaults or you can download the autoexec.cfg file here.


Crosshair Static (Default only) Gap . cl_fixedcrosshairgap is a interesting command, the name of the command says what it does, it sets the gap of a fixed crosshair. The values are the interesting part, the default is "3" and the higher the number the bigger the gap between the center and the horizontal and vertical lines. Values of -3 make a tidy small neat Xhair, 10 widens the gap....  

cl fixedcrosshairgap-3 cl fixedcrosshairgap 10 cl fixedcrosshairgap 3
cl_fixedcrosshairgap -3 cl_fixedcrosshairgap 10 cl_fixedcrosshairgap 3 (def) 









cl fixedcrosshairgap-20 cl fixedcrosshairgap 20 cl fixedcrosshairgap flippe
cl_fixedcrosshairgap -20 cl_fixedcrosshairgap 20 cl_fixedcrosshairgap flipped

But you don't have to stop there, just for fun try more  "-20" and "20". Notice what is happening?


Negatives at this value flip the wedge shaped horizontal and vertical lines. OK not ground breaking just sayin'.



Crosshair Weapon Spread (Default only). weapon_debug_spread_show "0" (def) other values are 1, 2 and 3. Debug is a keyword here me thinks. I don't like using it in game and supposedly it shows your spread of fire from your current weapon. If you are inclined, sure use it. There is another command for this as well weapon_debug_spread_gap. I have not tested them or their combinations yet, here is a Video on the basic action of some of the commands combinations. I may look at it more but I can't see much value changing defaults for game play at the moment.


hud showtargetid friend 1 hud showtargetid friend 0 hud showtargetid enermy 1 hud showtargetid enermy 0
hud_showtargetid "1" hud_showtargetid "0" hud_showtargetid "1" hud_showtargetid "0"

 hud_showtargetid (Default types) "1" (def) "0" = OFF - You turn on and off off the animations of Red color change on enemies and the circle and X on the friendlies.  

This works for the "Default" types.



cl crosshairdot 1
cl_crosshairdot 1


 cl_crosshairdot (Classic only).  You can add a dot to the Classic type with the command cl_crosshairdot.       

"0" = (def) cl_crosshairdot "1" will add the center dot.

Note: "0" = no effect on the "Default" type.




cl crosshaircolor 1 cl crosshaircolor 2 cl crosshaircolor 3 cl crosshaircolor 4  cl crosshaircolor 0

Basic Classic Crosshair Colors (Classic only). Another basic choice also found in "Help and Options" - "Game Settings" menu "Crosshair Color". There is Green, Yellow, Blue and Lt Blue. The basic color commands are.. cl_crosshaircolor 0 = Red. cl_crosshaircolor 1 = Green.  cl_crosshaircolor 2 = Yellow.  cl_crosshaircolor 3 = Blue.  cl_crosshaircolor 4 = Lt Blue

cl_crosshaircolor 5 = RGB colors, see below.

For more "RGB" colors you will need to make cl_crosshaircolor "5" first then set the R G B commands ...

cl crosshaircolor 5

For a Black crosshair

cl_crosshaircolor "5"

cl_crosshaircolor_r "0"

cl_crosshaircolor_g "0"

cl_crosshaircolor_b "0"

For a White crosshair

cl_crosshaircolor "5"

cl_crosshaircolor_r "255"

cl_crosshaircolor_g "255"

cl_crosshaircolor_b "255"

For a Pink crosshair

cl_crosshaircolor "5"

cl_crosshaircolor_r "255"

cl_crosshaircolor_g "30"

cl_crosshaircolor_b "255"

cl_crosshaircolor "5" Black White Pink








RGB Classic Crosshair Colors (Classic only). Unlike CS:S there are no slider bars in the GUI for custom colors. If you want other colors you will have to set these in a autoexec.cfg or place in console...




They are a RGB color choice, (see Wiki for more colors) each one can be mixed via values of 0-255, "0" being nothing and "255" is full strength.

Crosshair Transparency (Classic only). Another two commands can be set to control the transparency of the Classic crosshair, cl_crosshairusealpha and cl_crosshairalpha. Both are not available in the GUI settings and do not work on the "default" type, defaults for the Classic transparancy are ... cl_crosshairusealpha "1" (def)  cl_crosshairalpha "200" (def).

cl crosshairalpha 255 cl crosshairalpha 200 cl crosshairalpha 100
cl_crosshairalpha "255" cl_crosshairalpha "200" (def) cl_crosshairalpha "100

cl_crosshairusealpha if set at "0" will make a solid, (can't see through it) crosshair. If set to "1" it will allow you to set the transparency and allow a more see through crosshair. You can adjust cl_crosshairalpha from "0" (completely off) to "255" completely solid.

The default is "200" a value of "100" is a very dim Crosshair and "255" is very solid and easy to spot crosshair. The commands used in console to get the crosshair in the images above are what we have covered so far...

cl_crosshairstyle "4"; cl_crosshairdot "1"; cl_crosshaircolor 0; cl_crosshaircolor_r "255"; cl_crosshaircolor_g "0"; cl_crosshaircolor_b "0"; cl_crosshairusealpha "1"; cl_crosshairalpha "255"

Classic red dot
The Classic Dot









 The Classic Dot(Classic only) . A lot of players may just like a simple Dot xhair? You can have it and just like CS:S you can manipulate the size...
"cl_crosshairsize" = "0" ( def. "5" ) thickness  "cl_crosshairthickness" = "2" ( def. "0.5" ). So the commands for this in a bind or console...

cl_crosshairstyle "4"

cl_crosshairdot "1"

cl_crosshairsize "0"

cl_crosshairthickness "2"

Fine tune the size to suit, use cl_crosshairthickness from 0.5 to 4.

Leave cl_crosshairsize on "0" as anything past "0" will bring in the horizontal and vertical lines.

And of course change your colors and transparency to suit. 

Classic red 4dot Classic red box
The Classic Four Dot The Classic Box

The Classic Four Dot (Classic only) . You can manipulate the cl_crosshairsize to get a four dot ... Just change to cl_crosshairsize 1; cl_crosshairthickness 1.


The Classic Box (Classic only)You can futher manipulate the cl_crosshairthickness and cl_crosshairsize to get a box .... Just change to cl_crosshairsize 1; cl_crosshairthickness 4. You can have the center dot or not by adjusting cl_crosshairdot to "0" (off) or "1" (on).

Both of these are dynamic, you can turn off dynamic action in the "Help and Options" - "Game Settings" menu "Crosshair Style" to Classic Static or cl_crosshairstyle "4" no movement on running but a little on shooting.

Default Crosshair commands
CVAR Default Range Description
cl_crosshairstyle 0  "0" = Default
 "1" = Default Static
- Sets a "Scale Form" type crosshair
cl_fixedcrosshairgap 3   3 for Normal.
 10 for a large gap
  -3 for small with inverse lines.
 -20 for a normal inverse line
- Narrows or widens the gap of the horizontal and vertical lines from the center. The negative value push the lines to the opposite side making the wedge inverse.
Classic Crosshair commands
CVAR Default Range Description
cl_crosshairstyle 0 "2" = Classic
"3" = Classic Dynamic
"4" = Classic Static
- Sets a "Classic" type crosshair
cl_crosshairdot 0 "0" = OFF
"1" = ON
- The center dot for the crosshair.
cl_crosshaircolor 1 cl_crosshaircolor 0 = Red
cl_crosshaircolor 1 = Green.
cl_crosshaircolor 2 = Yellow.  
cl_crosshaircolor 3 = Blue.  
cl_crosshaircolor 4 = Lt Blue.
cl_crosshaircolor 5 = RGB
Preset Crosshair colours. 0-4
Note: setting cl_crosshaircolor 5 = enabling the use of RGB colors. 
cl_crosshaircolor_r   50  "0" to  "255"  Sets the RGB color for Red.
cl_crosshaircolor_g    255  "0" to  "255"  Sets the RGB color for Green.
cl_crosshaircolor_b   50  "0" to  "255"  Sets the RGB color for Blue.
 cl_crosshairusealpha   1 "0" = OFF
"1" = ON
To enable altering the Alpha (transparency) of the Crosshair.
cl_crosshairalpha    200  "0" (completely off)     to...
"255" (completely solid).
 Set the visibility of the Crosshair. Values from "0" (completely off) to "255" completely solid.
cl_crosshairsize  5 From 0 to 10. Sizes above 10 are possible but are huge....
...why would you do that!
0.2 in the minimum limit for the Static.
 The Width and Height of the Static crosshair.
cl_crosshairthickness   0.5 0-3 are best, 4 and above are possible but they get way to thick  The thickness of Static crosshair parts.


Crosshair items to cut and paste to a autoexec.cfg file.


CFG folder address...

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

Crosshair commands, cut & paste in your autoexec.cfg file (or download one here) ...

// CS:GO Autoexec.cfg 
// Crosshairs 
// Set the style: ScaleForm or Classic 
// ScaleForm Default types... ["0" = Default] ["1" = Default Static]  
// Classic types... ["2" = Classic] ["3" = Classic Dynamic] ["4" = Classic Static] 
cl_crosshairstyle "0"  
// Set the Gap (Default 0 and 1 ONLY) 
// [3 for Normal (def)] [10 for a large gap] [-3 for small with inverse lines] 
cl_fixedcrosshairgap "3"    
// Classic Styles ONLY commands 
// Set the center dot  
// ["0" = OFF (def)] ["1" = ON] 
cl_crosshairdot "0" 
// Set the color  
// Preset Crosshair colours. 0-4 
//[cl_crosshaircolor 0 = Red] 
//[cl_crosshaircolor 1 = Green (def)] 
//[cl_crosshaircolor 2 = Yellow] 
//[cl_crosshaircolor 3 = Blue] 
//[cl_crosshaircolor 4 = Lt Blue]  
// RGB [cl_crosshaircolor 5 = use RGB... see command below] 
cl_crosshaircolor "1"  
// RGB Crosshair Red Green Blue 
// Note: setting cl_crosshaircolor 5 = enabling the use of RGB colors.  
cl_crosshaircolor_r "50"      // "0" to  "255"   Sets the RGB color for Red. 
cl_crosshaircolor_g "255"   // "0" to  "255"   Sets the RGB color for Green. 
cl_crosshaircolor_b "50"     // "0" to  "255"   Sets the RGB color for Blue. 
// Crosshair Transparency - To enable altering the Alpha (transparency) of the Crosshair. 
// ["1" = ON def)] ["0" = OFF] 
cl_crosshairusealpha "1"  
// Set the visibility of the Crosshair. Values from "0" (completely off) to "255" completely solid. 
// ["200" def)] ["0" (completely off) to..."255" (completely solid)] 
cl_crosshairalpha "200"
// Set the Classic Cros size. The Width and Height of the Static crosshair.
// [Def = 5] [From 0 to 10. Sizes above 10 are possible but are huge]   [0.2 in the minimum limit for the Static.]
cl_crosshairsize "5"
// Set the Thickness of the Classic crosshair lines
// [Def = 0.5] [0-3 are best, 4 and above are possible but they get way too thick]
cl_crosshairthickness "0.5"
// Set the Target ID type
// ON  ["1" (def) You WILL see a X and a circle on teammates ... enemies DO have a red cross and a red name] 
// OFF ["0" You will NOT see a X and a circle on teammates ... enemies WILL NOT have a red cross and a red name]
hud_showtargetid "1"

Enter Amount Copyright © 2011. All Rights Reserved.