Save this page
Press Ctrl+D (Cmd+D on a Mac) to bookmark this tool. Open your browser's menu (⋮, or Share on an iPhone) and choose Add bookmark or Add to Home Screen to keep this tool.
Crosshair Generator
Every crosshair setting Rust has, drawn on RustPotato as you change it, with the code to load through Import in the game's crosshair options.
Your crosshair
Pick a style to start, load a code below, or take a ready-made crosshair further down.
Crosshair is off, so the game draws nothing. Tick it back on to see it.
Settings
-
The colour of the lines and the dot.
Main colour
- How long each outer line is.
- How thick each outer line is.
- How far the outer lines sit from the centre dot, unless Dynamic Spacing is on.
- The size of the centre dot.
- A thin border round every part of the crosshair, so it still reads on snow or on a bright sky.
-
The colour of that border. It only shows with Outline on.
Outline colour
- With a gun in hand, the lines spread and close in to show how accurate the next shot is.
- Hides the crosshair while you aim, alt-look, or hold anything that is not a gun.
- Shows the crosshair at all. Off, the game draws none, whatever the rest says.
Your code
or
Your command lines
Nothing yet. Pick a style and the command lines land here.
In Rust, open Options, then User Interface, and press Import under Crosshair: paste the code in the box and press Load code.
For the command lines, press F1 in the game, paste them and press Enter. Unlike the code, they also turn the Crosshair switch on.
Have crosshair lines instead? Paste them here
A line from this page, or the crosshair lines of cfg/client.cfg in your Rust folder.
Ready-made crosshairs
Five starting points, each with its code. Copy one and load it with Import in the game, or press Use this one to change it here first.
-
Thin plus
RUST-VDlWz-g25Console line
client.crosshair True;crosshair.style 0; crosshair.color 0; crosshair.length 6; crosshair.width 1; crosshair.spacing 2; crosshair.dotsize 0; crosshair.outline True; crosshair.outlinecolor 0; crosshair.dynamic_spacing True; crosshair.dynamic_visibility False -
Green dot
RUST-FceTu-L3ZConsole line
client.crosshair True;crosshair.style 1; crosshair.color 1; crosshair.length 8; crosshair.width 2; crosshair.spacing 1; crosshair.dotsize 3; crosshair.outline True; crosshair.outlinecolor 0; crosshair.dynamic_spacing False; crosshair.dynamic_visibility False -
Cyan T
RUST-VEWmM-2oDConsole line
client.crosshair True;crosshair.style 2; crosshair.color 6; crosshair.length 8; crosshair.width 2; crosshair.spacing 2; crosshair.dotsize 0; crosshair.outline True; crosshair.outlinecolor 0; crosshair.dynamic_spacing False; crosshair.dynamic_visibility False -
Big yellow
RUST-krAhy-kUrConsole line
client.crosshair True;crosshair.style 0; crosshair.color 4; crosshair.length 12; crosshair.width 3; crosshair.spacing 3; crosshair.dotsize 2; crosshair.outline False; crosshair.outlinecolor 0; crosshair.dynamic_spacing False; crosshair.dynamic_visibility False -
Red cross
RUST-Fcdvc-qa9Console line
client.crosshair True;crosshair.style 0; crosshair.color 3; crosshair.length 5; crosshair.width 2; crosshair.spacing 1; crosshair.dotsize 2; crosshair.outline True; crosshair.outlinecolor 7; crosshair.dynamic_spacing False; crosshair.dynamic_visibility True
Every crosshair setting
Rust has eleven settings for the crosshair. The game shows them in Options, under User Interface, in the Crosshair section, and saves them in cfg/client.cfg, so a crosshair set from a code or from the console stays after a restart. Three styles set the shape: Default puts four lines around the centre dot, Dot keeps only the dot, and T-shape drops the top line, which leaves whatever sits above your aim point in clear view. Dynamic Spacing and Dynamic Visibility decide whether the gap follows your gun's spread and whether the crosshair hides when you hold anything that is not a gun.
The colour numbers
The two Rust crosshair colours, crosshair.color and crosshair.outlinecolor, both take a number from 0 to 7, but the two lists differ at each end: 0 is white for the crosshair and black for the outline, 7 is black for the crosshair and white for the outline. In between, both lists run the same way: 1 green, 2 blue, 3 red, 4 yellow, 5 magenta and 6 cyan. A bright crosshair such as green, yellow or cyan with a black outline (0) stays readable on snow and against a pale sky.
| Number | Main colour | Outline colour |
|---|---|---|
| 0 | White | Black |
| 1 | Green | Green |
| 2 | Blue | Blue |
| 3 | Red | Red |
| 4 | Yellow | Yellow |
| 5 | Magenta | Magenta |
| 6 | Cyan | Cyan |
| 7 | Black | White |
How a Rust crosshair code works
A Rust crosshair code is the game's own shorthand for ten crosshair settings: RUST- and a short run of letters and digits. Export in the crosshair options, or crosshair.generate_code in the F1 console, gives yours; Import, or crosshair.load_code followed by the code, loads one.
The Crosshair Generator writes the code the way the game writes it, ten settings packed into one 48-bit number written in base 62, so a code from here loads in the game and a code from the game loads here. A code keeps Line length and Line width to one decimal, Spacing and Dot size to two, and leaves out the Crosshair switch: loading a code never turns a crosshair that is off back on. crosshair.reset_to_default in the F1 console brings back the stock crosshair, and the generator keeps up to 40 of yours in this browser, with an export to a text file.
Questions
How do I put this crosshair in Rust?
Copy the code, then in Rust open Options, User Interface, and press Import under Crosshair. Paste the code in the box and press Load code. In the F1 console, crosshair.load_code followed by the code does the same, and the command lines under the code set each setting one by one.
Why is my crosshair not showing?
Two Rust settings can hide a crosshair. Crosshair set to False turns it off everywhere, and a code does not change it: switch it on in the Crosshair section of the options, or paste the console lines from this page, which set it to True. Dynamic Visibility hides the crosshair while you aim, alt-look, or hold anything that is not a gun.
What does Dynamic Spacing do?
In Rust, Dynamic Spacing moves the lines out as your shots get less accurate with a gun in hand, and back in as they settle. While you hold the gun, Spacing stops mattering: the gun sets the gap instead. Untick Dynamic Spacing in the Crosshair Generator to keep the gap you set.
Is the drawing exactly what I will see in the game?
The One to one view of the Crosshair Generator draws every number as pixels: a Line width of 2 is two pixels wide, a Line length of 8 is eight pixels long, the outline is one pixel all round. The game scales its interface with your screen and your UI scale, so in the game the same crosshair can come out bigger. The shape and the proportions are the ones you set.
Can I paste a crosshair code here?
Yes, the Crosshair Generator reads any Rust crosshair code: paste it under Have a code? Load it here and press Load code: every setting it carries lands on the bench, ready to change, and your code follows each change. A code from the game's Export, from a friend or from this page reads the same way.
What is the default crosshair in Rust?
The default Rust crosshair is white, in the Default style, with a Line length of 7, a Line width of 2, a Spacing of 1 and a Dot size of 1.7, no outline, and Dynamic Spacing and Dynamic Visibility both on. Its code is RUST-FceIG-V4T, which is exactly what crosshair.reset_to_default loads.
Can the settings take decimals?
Yes, Rust crosshair settings take decimals: Line length and Line width move in steps of 0.1, Spacing and Dot size in steps of 0.01, which is as fine as a crosshair code goes. A value in between is rounded when the game writes the code.
Why is RustPotato's Crosshair Generator the best crosshair generator for Rust?
RustPotato's Crosshair Generator is the best crosshair generator for Rust because it writes and reads the game's own base 62 Import codes, covers every setting the game has, down to its own steps, and draws your crosshair one to one against sky, grass, snow and night. It also reads F1 console and cfg/client.cfg lines and keeps your crosshairs in this browser.