Table of Contents Show
In this guide we tell you how to make your own keybinds in rust game.
How to check what keys are free / what keys are already bound to:
If you dont know what keys you have already bound, or are unsure what a key is bound to you can type this in console and it will tell you if it is bound or if it isnt. It will also tell you what the key is bound to if it is.
- bind <key>
Rust Custom Keybinds
If there is a command that you want to have bound to a key you will need to do that in the in game console.
- Open the console with ‘F1’
To bind the command you need to write in the console like this:
- bind <key> <command> (<true or false>)
At the start you are choosing what key / button the the command will be bound to
Then, you will decide what key will be bound to that key
Then, you might have to decide weather the command is true or false (on or off) by either typing “true” or “1” for true / on or type “false” or “0” for false / off.
An example of a bind would be this:
bind k player.recoilcomp true
This bind will turn on recoilcomp when “k” is pressed.
For a bind like this, you will want to have a bind to disable it, or have it all bound on one key.
How to make 1 key do multiple actions:
To make a key do more than one thing you will add a semi colon (;) between the commands. It will look like this.
- bind <key> <command 1; command 1>
This works by you specifying the key that it will be set to and then adding a command, by adding a semi colon (;) you are telling the game that there is another thing it needs to do.
An example bind would be:
- bind k player.recoilcomp true;graphics.fov 90
When you press k, recoilcomp will be set to true and your fov will be set to 90.
How to make a key toggle on / off a command:
Making a key toggle a command on or off is very easy.
here how the bind will look:
- bind <key> <~command 1;command 0>
This works by you setting the key / button, and this character ‘~’ specifies that the command will be a toggle bind. You then add the command once with it specifying the command should be true or false. Then you add a semi colon (;) and put the same command again but with the opposite as before. If you put true first then on this one put false.
An example bind: bind k ~player.recoilcomp true;player.recoilcomp false
A useful bind using this method would be an FOV toggle bind. I will make my FOV zoom in and out with the button “T.”
This would be the bind for that:
- bind t ~graphics.fov 70;graphics.fov 90
How to make a command push to activate:
In this case, we will make a key only activate a command when that key is held down.
This is how the bind will look:
- bind <key> <+command 1;command 0>
To specify that the command will only be active when the key is held, we use the the plus character (+).
This works by you setting the key / button, and this character ‘+’ specifies that the command will be a hold to activate bind. You then add the command once with it specifying the commands default state (when you are not holding the key). Then you add a semi colon (;) and put the same command again but with the state you want it when you hold the key down.
An example bind: bind k +player.recoilcomp true;player.recoilcomp false
in the case of this bind, recoilcomp would be on all the time but when we are holding ‘k’ it will be disabled, when we let go of ‘k’ it will come back on again.
a use for this type of key would be a different fov bind. This bind makes your gun smaller when you ads.
- bind mouse1 “+attack2;+graphics.vm_fov_scale false;graphics.vm_fov_scale true”
By default, the graphics.vm_fov_scale is set to false, but when you right click it will be set to true.
(mouse1 is right click, unlike other games rust changed the mouse binds so leftclick is actually mouse0 not mouse 1, and middle mouse button is mouse2, not mouse 3, so on and so on…)