CS2 crosshair generator
Move the sliders — the preview and the code update at once. The preview is true to size for 1080p, as in the game; next to it the same crosshair enlarged. You get an import code, a console command, a command line and an autoexec fragment.
Output
CSGO-FOkvh-B3vhN-5RDG4-oaaJh-8EAkEapply_crosshair_code CSGO-FOkvh-B3vhN-5RDG4-oaaJh-8EAkEcl_crosshairstyle 4; cl_crosshairsize 5; cl_crosshairthickness 1; cl_crosshairgap 0; cl_crosshairdot 0; cl_crosshair_drawoutline 0; cl_crosshair_outlinethickness 1; cl_crosshaircolor 1; cl_crosshaircolor_r 0; cl_crosshaircolor_g 255; cl_crosshaircolor_b 0; cl_crosshairusealpha 1; cl_crosshairalpha 200; cl_crosshair_t 0; cl_crosshair_recoil 0; cl_crosshairgap_useweaponvalue 0; cl_fixedcrosshairgap 3; cl_crosshair_dynamic_splitdist 7; cl_crosshair_dynamic_splitalpha_innermod 1; cl_crosshair_dynamic_splitalpha_outermod 0.5; cl_crosshair_dynamic_maxdist_splitratio 0.3autoexec.cfg
// CS2Price crosshair generator — https://cs2price.com/en/crosshair-generator cl_crosshairstyle 4 cl_crosshairsize 5 cl_crosshairthickness 1 cl_crosshairgap 0 cl_crosshairdot 0 cl_crosshair_drawoutline 0 cl_crosshair_outlinethickness 1 cl_crosshaircolor 1 cl_crosshaircolor_r 0 cl_crosshaircolor_g 255 cl_crosshaircolor_b 0 cl_crosshairusealpha 1 cl_crosshairalpha 200 cl_crosshair_t 0 cl_crosshair_recoil 0 cl_crosshairgap_useweaponvalue 0 cl_fixedcrosshairgap 3 cl_crosshair_dynamic_splitdist 7 cl_crosshair_dynamic_splitalpha_innermod 1 cl_crosshair_dynamic_splitalpha_outermod 0.5 cl_crosshair_dynamic_maxdist_splitratio 0.3 // or: apply_crosshair_code CSGO-FOkvh-B3vhN-5RDG4-oaaJh-8EAkE
Switch binds
bind F6 "apply_crosshair_code CSGO-FOkvh-B3vhN-5RDG4-oaaJh-8EAkE" bind F7 "apply_crosshair_code CSGO-…" // second crosshair, e.g. a dot for AWP
Pro player presets
Click to load the parameters into the generator; the nickname link opens the player page with history.
How it works
A crosshair code is 18 bytes written as 25 characters after CSGO-: style, size, thickness, gap, colour and flags (dot, outline, T-style, recoil), with the first byte as a checksum. The generator encodes the parameters with the same algorithm as the game and decodes any code back. The preview counts pixels the way the game renders at 1080p: arm width and length are rounded to whole pixels, which is why thickness 0.5 and 0.9 look the same.
| Command | What it does |
|---|---|
| cl_crosshairstyle | style: 4 — classic static (what almost every pro uses), 3 — dynamic |
| cl_crosshairsize | arm length; pros use 0–2 |
| cl_crosshairthickness | arm thickness; pros use 0–2 |
| cl_crosshairgap | gap between arms, negative pulls them in; pros use −3 to −5 |
| cl_crosshairdot | centre dot: 0 or 1 |
| cl_crosshair_drawoutline | black outline: 0 or 1; width — cl_crosshair_outlinethickness |
| cl_crosshaircolor | 0 red, 1 green, 2 yellow, 3 blue, 4 cyan, 5 custom (cl_crosshaircolor_r/_g/_b) |
| cl_crosshairalpha | opacity 0–255 when cl_crosshairusealpha is 1 |
Frequently asked
How do I get a crosshair code from the generator?
Can I paste my own code or commands?
What is a crosshair code and how is it built?
Why is the preview so small?
How do I keep the crosshair permanently?
How do I switch between two crosshairs mid-match?
" and bind F7 "apply_crosshair_code ". For example a regular cross and a dot for AWP.