Gaming

Crosshair Generator

Build your crosshair with a live preview against different backgrounds, then paste it straight into CS2 or Valorant.

Shown at 2× size so you can see the details.

CS2 console commands

Valorant profile code

Keeps this tool on this device so it works without internet, even after a refresh.

Had fun, or did this help? I’d appreciate any donation :) Not needed, but money buys temporary happiness at least lol

What it does

A crosshair you can see clearly on every map, without it covering your target, is worth getting right. Adjust the line length, thickness, gap, color, opacity, center dot and outline, and the preview shows it at in-game size against a bright sky, a dark corridor and a busy textured wall, the three situations where crosshairs usually disappear.

For Counter-Strike 2, copy the console commands and paste them into the developer console (enable it in Settings › Game › "Enable Developer Console", then press ~), or into your autoexec.cfg. For Valorant, copy the profile code and import it in Settings › Crosshair › Primary › Import Profile Code. Valorant measures its lines differently, so the code converts the values to the closest match.

Example

The "Classic green cross" preset (length 3, thickness 1, gap −1, outline on) gives these CS2 commands:

cl_crosshairstyle 4; cl_crosshairsize 3; cl_crosshairthickness 1; cl_crosshairgap -1; cl_crosshair_drawoutline 1; cl_crosshair_outlinethickness 1; cl_crosshairdot 0; cl_crosshair_t 0; cl_crosshaircolor 5; cl_crosshaircolor_r 0; cl_crosshaircolor_g 255; cl_crosshaircolor_b 0; cl_crosshairusealpha 1; cl_crosshairalpha 255

Crosshair Generator FAQ

Why does it look slightly different in game?

Crosshair size scales with your resolution, and CS2 and Valorant draw lines with slightly different rounding. The preview is drawn at the size it appears at 1920 × 1080; at 1440p and 4K it looks proportionally the same.

Valorant says the code is invalid. What now?

Valorant occasionally changes its code format. The settings to type in manually are the same values as the sliders: inner line length, thickness, offset (gap), opacity, outlines and center dot.

Which color is easiest to see?

Cyan and bright green stand out on most maps; yellow and pink are popular too. Avoid colors common in the maps you play, and keep an outline on for busy backgrounds.