CSS Crosshair CVARs

Article Section Index


September 2011

After the September 2011 update the crosshair in CSS changed. It now has a lot more adjustments.
Players who had problems adjusting the old crosshair now have many more options.
There are some that still use the "Legacy" type, it has not got the options the new type has.

After the september update the cl_dynamiccrosshair cvar had the value "3" added this now allows a simulated static crosshair.

 

A Team Menu to make it easy?

I make a special Team Menu that holds a lot of crosshair choices, you can read below and set yours up. Alternatively you can download and install a menu that gets your choice ...quick.

 

New Type

The new crosshair solves many issues. Lots of adjustments are now possible. Just go to the "Options" "Multiplayer" in the main menu and fool around until you have your preference.

But what are the commands behind these buttons and sliders? They are below.

Command Default Range Description
cl_dynamiccrosshair 0

0, 1 (note*)

Enables dynamic crosshair. * 0=off, 1=normal behavior(based on actual weapon accuracy), 2=legacy only simulated dynamic behavior 3= legacy only sinulated static behavior  Note "2" and "3" for Legacy only.
cl_legacy_crosshair_scale 0 0/1  (note*) legacy crosshair scaling. * Note it has no affect when using the new type. Leave set at "0". For Legacy only.
cl_crosshairsize 5 0 - 12 Size, "0" - "12" is around the limits of the official sliders and a good range. Of course you can set it less or more like "300" will fill your screen. Note that "0" will give you a dot crosshair, sizes from "0" - "0.2" do the same but "0.3" is the change from a DOT to a cross, the lines of the cross at "0.3" are 4 dots around the centre dot. As you get closer to "1" the lines grow more until it looks normal at "5".
cl_crosshairthickness  0.5  0 - 3 Crosshair thickness, the width of the bars. From "0" - "0.5" not much happens, get t0 "0.8" and you see a change and then "1" gradually go uo to "2.5" and it starts to get real thick. Of course you can place in a silly amount like "300" or "900" and it will fill your screen!
cl_crosshairspreadscale 0.3  0.01 -1.3 This Option is not in the main Menu. Controls the spread while standing still, shooting and moving, seems to be reliant on your screen res. Try a range from "0.01" (almost closed up standing, shooting no effect and opens very little when jumping) to "1.5" (Opens up a lot while standing, quite a bit when shooting and a huge amount while jumping) I am not sure what the official range is but for me range choice is "0.1" - "1.3".
cl_crosshairusealpha 0

0/1

Setting this to "1" will enable you to use the cl_crosshairalpha cvar below.
cl_crosshairalpha 200 0 - 255 Controls how "see through" the Xhair is. Range goes like this "0" is invisible. 255 is totally solid. Values under 255 make it more "see through".
cl_crosshaircolor 0 0 - 5 Set crosshair color: 0=green, 1=red, 2=blue, 3=yellow, 4=cyan, 5=custom. For more info' on custom colors see below.
cl_crosshaircolor_r 0 0 - 255 Sets the amount of Red in the RGB format to color the x-hair. Note that cl_crosshaircolor 5 must be set to use this system. You can use cl_crosshaircolor 0 - 4 or widen your choices using the RGB method, see here for a guide to all those colors.
cl_crosshaircolor_g 0 0 - 255 Sets the amount of Green in the RGB format to color the x-hair. Note that cl_crosshaircolor 5 must be set to use this system. You can use cl_crosshaircolor 0 - 4 or widen your choices using the RGB method, see here for a guide
cl_crosshaircolor_b 0 0 - 255 Sets the amount of Blue in the RGB format to color the x-hair. Note that cl_crosshaircolor 5 must be set to use this system. You can use cl_crosshaircolor 0 - 4 or widen your choices using the RGB method, see here for a guide
cl_crosshairdot 1 0/1 Turns on and off the centre dot.

 

Usage of the New Crosshair commands...

1. To turn it on use these in the console... "cl_dynamiccrosshair 1" and  "cl_legacy_crosshair_scale 0" (This will ensure the new type enabled and has the Legacy commands OFF.)

2. To select the size you use "cl_crosshairsize", read the above guide as it gets tricky, "0" is a DOT. Default is "5".

3. The new crosshair allows thickness, "cl_crosshairthickness", default is "0.5", other options are "0.8"  "1.5"  "2"  "2.5"  "3" is the max on the sliders but it starts to get silly past that.

4. Adjust the way the crosshair spreads outwards, see cl_crosshairspreadscale above. The issue is complex to understand at first, play around with it, when not sure set to "0.3".

5. Transparency. Use cl_crosshairusealpha "1" and then cl_crosshairalpha "20" - "255""200" is default.

6. Colors. Two ways, first way is simple, use cl_crosshaircolor and set one of these... 0=green, 1=red, 2=blue, 3=yellow, 4=cyan. If you want something in between or a Black or White you need to use the RGB method.

Here is Black ...

 "cl_crosshaircolor 5; cl_crosshairusealpha 1; cl_crosshairalpha 255; cl_crosshaircolor_r 0; cl_crosshaircolor_g 0; cl_crosshaircolor_b 0"

Here is White...

"cl_crosshaircolor 5; cl_crosshairusealpha 1; cl_crosshairalpha 255; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255"

Complex and a lot of commands to get a special color, but at least you can.

7. Center dot. cl_crosshairdot "1" will give you a dot in the center of the cross, "0" will turn it off.

 

Legacy Type

If you are convinced the "Legacy" crosshair is your choice, (you may miss out on a lot of adjustment if you do). The commands involved...

 

Command Default Range Description
cl_legacy_crosshair_scale 0 0/1 legacy crosshair scaling
cl_legacy_crosshair_recoil 0 0/1 legacy framerate dependent crosshair recoil
cl_crosshairscale 0 800-10000

Will control size. Default can be considered 1200. Depends on screen and resolution settings.

cl_dynamiccrosshair 0

2-3 (note*)

Enables dynamic crosshair...  "2" =legacy only simulated dynamic behavior. "3" = legacy only sinulated static behavior     * 0=off, 1=normal behavior(based on actual weapon accuracy, for New crosshair only)
cl_crosshairusealpha 0

0/1

Setting this to "1" will enable you to use the cl_crosshairalpha cvar below.
cl_crosshairalpha 200

0 - 255

Controls how "see through" the Xhair is. Range goes like this "0" is invisible. 255 is totally solid. Values under 255 make it more "see through".

cl_crosshaircolor 0 0 - 5 Set crosshair color: 0=green, 1=red, 2=blue, 3=yellow, 4=cyan, 5=custom. For more info' on custom colors see below.
cl_crosshaircolor_r 0 0 - 255 Sets the amount of Red in the RGB format to color the x-hair. Note that cl_crosshaircolor 5 must be set to use this system. You can use cl_crosshaircolor 0 - 4 or widen your choices using the RGB method, see here for a guide to all those colors.
cl_crosshaircolor_g 0 0 - 255 Sets the amount of Green in the RGB format to color the x-hair. Note that cl_crosshaircolor 5 must be set to use this system. You can use cl_crosshaircolor 0 - 4 or widen your choices using the RGB method, see here for a guide
cl_crosshaircolor_b 0 0 - 255 Sets the amount of Blue in the RGB format to color the x-hair. Note that cl_crosshaircolor 5 must be set to use this system. You can use cl_crosshaircolor 0 - 4 or widen your choices using the RGB method, see here for a guide
cl_crosshairdot 1 0/1 Turns on and off the centre dot.

 

Usage of the Legacy commands...

1. To turn it on use these in the console... "cl_dynamiccrosshair "2" (static) or "3" (dynamic) and "cl_legacy_crosshair_scale 1"  (These two will ensure the Legacy commands are ON.)

2. Now you need to adjust the scale so you can have a smaller or bigger cross.... "cl_crosshairscale 1200" and try from 800 (very big) to 10000 (very small). If it disappears you went too far. All monitors and resolutions will have different displays with this cvar's value range.

3. Next is the recoil setting, "cl_legacy_crosshair_recoil". As you shoot the crosshair reacts to the shots in a different way. This video explains it. When set to "0" the crosshair opens up and stays that way until you stop, if set at "1" the action is moving in between shots.

4. Transparency. Use cl_crosshairusealpha "1" and then cl_crosshairalpha "20" - "255". "200" is default.

5. Colors. Two ways, first way is simple, use cl_crosshaircolor and set one of these... 0=green, 1=red, 2=blue, 3=yellow, 4=cyan. If you want something in between or a Black or White you need to use the RGB method.

Here is Black ...

 "cl_crosshaircolor 5; cl_crosshairusealpha 1; cl_crosshairalpha 255; cl_crosshaircolor_r 0; cl_crosshaircolor_g 0; cl_crosshaircolor_b 0"

Here is White...

"cl_crosshaircolor 5; cl_crosshairusealpha 1; cl_crosshairalpha 255; cl_crosshaircolor_r 255; cl_crosshaircolor_g 255; cl_crosshaircolor_b 255"

Complex and a lot of commands to get a special color, but at least you can. 

6. Center dot. cl_crosshairdot "1" will give you a dot in the center of the cross, "0" will turn it off.

7. Adjusting the dynamic/static crosshair. "cl_dynamiccrosshair" for the legacy crosshair is one of two you need to set the legacy crosshair, you can change it afterwards of course... "2" =legacy only simulated dynamic behavior. "3" = legacy only sinulated static behavior

 

 

How can I set my favorite crosshair?

To set this in a Autoexec.cfg file so your settings are always there on start up you have to find all the commands.

After you have you crosshair set up you can place this in console, warning it is huge...

"cl_legacy_crosshair_scale; cl_legacy_crosshair_recoil; cl_crosshairthickness; cl_crosshairspreadscale; cl_crosshairscale; cl_dynamiccrosshair; cl_crosshairusealpha; cl_crosshairalpha; cl_crosshaircolor; cl_crosshaircolor_r; cl_crosshaircolor_g; cl_crosshaircolor_b; cl_crosshairdot"

A total of 13 commands... holy cow!

 

See this image, After doing this type “condump” and it will save a text file to the cstrike folder and show a name it named it, typically “condump000.txt”. There are all the possible commands, your console will show what you have and what the default is.

If you got this far you now realize how complex the CSS cross now is... and also why I made a menu to get the most out of it.

 

Enter Amount

dodbits.com Copyright © 2011. All Rights Reserved.