Rust
notkiller1 Sep 7, 2017 @ 8:41am
binds fixed, how to bind
Hello all. Me and a buddy got sick of trying to get binds to work so we spent 3 hours figuring it out for you. Make sure to give thanks to Peacemaker my buddy in syntex hell.

Ok, First problem when ever you leave rust it re-writes the key.cfg file back to default or alters your binds. Ill explain how to bypass this at the end of this how to.

Couple things first,
- [key] this is the key u want to bind to
- [command] this is the command u want to use like; tpr,tpa,home,tpc
- [name] this is the name assigned to the command like /home home1, name is home1

Ok lets get started.
- hit f1 ingame and type: input.bind [key] chat.say "[command]"
- example: input.bind I chat.say "/tpa" = this binds the i key to a /tpa
- now this works in-game just fine but when u leave it is gone you will have
to re-enter it everytime you restart the game because on exit the system
resets the key.cfg on you.
- second syntex form with [commands] and [name]. So lets say you want to bind your
home to your insert key this is how it is done.
- input.bind [key] chat.say "[command] [name]'\
- example: input.bind insert chat.say "/home home1"'\
- now notice the / at the start of the command and the \ at the end
commands with a name in them have to have the \ at the end outside the"
or they wont work : its a open and close command line. And again you
lose all of this on exit.
- now lets say u want to bind your pageup key to tpr to your friend
- input.bind [key] chat.say "[command] [name]"\
- example: input.bind pageup chat.say "/tpr peacemaker"\
- this will send peacemaker a tpr from me using the pageup key.

ok, these are the in-game bindings u can set but lose when u exit. To fix this u can edit your
key.cfg file with a trick at the end.
- ok on your desktop u need to surf to your key.cfg for the most part this is in the
/c:programfiles(x86)/steam/steamapp/common/rust/cfg
- right click the key.cfg file and click open with un-check the always use this
program to open this file type and select word pad. Now u must un-check this or
the game will try to open this file with word pad and crash the game so make sure
to un-check the box.
- you should now be in your key.cfg file you will see all kinds of binds, for
us we want to put all are binds in here so using the examples above ill
show u what goes in here. The only difference here is there is no input
before bind.
-example:bind I chat.say "/tpa"
bind insert chat.say "/home home1"'\
bind pageup chat.say "/tpr peacemaker"\
- So at the bottom of the file click on the end of the last line hit enter then enter your
code. When you have all the binds u want entered click file at the top left and click save.
Click the x in the top right to close the file, now right click the key.cfg file and go to
properties: once the properties are opened move down to read only check box, check it
move the the bottom right and click apply, then ok. Your binds are now saved and with
read only on the game cant make changeds. Now understand this can cause problems
if u try to make a keybind change in the game it will crash stating access denied to this
file or if u goto a server with different binds same thing could happen. All you have to do
is go back to your key.cfg file and un-check the read only. Also when ever you exit the
game now u will notice some red writing in the top left of the screen this is just the
system trying and failing to re-write your key.cfg.
P.S. For binds to the numpad they are labeled as keypad not numpad: so a numpad1 is
really keypad1.
P.P.S. With these bind if u set things with a name u must use the same name u have bound
to the key: so a home1 must always be name home1 on what ever server your on for
the binds to work. Same case if a friend changes his name the bind will have to be
changed to that name instead.
Date Posted: Sep 7, 2017 @ 8:41am
Posts: 0