Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
If you don't have an earthly idea of what that is, then I'm here to explain the best I can.
What you do is, you open note pad, make a document and paste all the commands into it.
In this case, someone suggested the following:
"
You can try something like this;
// What to do when CTRL+R is pressed
alias action "say Hi"
// Used for enabling/disabling the bind
alias do_action "action"
alias +bind_action "alias do_action action" // Enable do_action
alias -bind_action "alias do_action" // Disable do_action
bind CTRL "+bind_action"
bind R "do_action"
"
Once you got this pasted and edited to your liking, go and "save it as".
There, you will be able to save it as "all files" and not just as a document. Name the file to "autoexec.cfg" (don't forget the .cfg-part!)
(Make sure that it is a .cfg file at this state. If it isn't, then you didn't save it correctly.)
So where do you put this cfg file then? Go to the Garry's Mod local files, and there should be a folder called "cfg".
(Someone correct me on this but you might need to open a folder inside of that one called "autorun" as well)
Next to a bunch of other cfg files, paste it there, if there isn't already one there.
If there is, you could just paste the coding into that one without making a new one, lol
Hope I made it clear, and I hope it works. Don't forget to restart Garry's Mod to test it.
(I'm on the phone as I'm writing this so I can't confirm a lot of the details right now)
And by told I mean that's what I found on Google, is this any different?
However, if you haven't done anything with autoexec before then chances are you don't even have an autoexec.cfg
If you don't have a autoexec file, follow my instructions, if you do, just edit the one you have and paste in the coding suggested above
And the correct pathing is Garrysmod/garrysmod/*cfg* (not "config")
The "config CFG" you are describing from that tutorial has to be the autoexec in question.
It could be some other file but I think you are better off doing this in an autoexec.
unbindall
bind "0" "slot0"
bind "1" "slot1"
and such.
Its way better to just make an autoexec.cfg file and just put it in there.
The game doesn't need it, so if you ever screw something up, just delete the autoexec.Thats why its so preferable.
The autoexec file does what it says. It performs itself (executes itself) when you start the game (automatically). So you don't need to do it yourself.
alias action "say Hi" to alias action "bt_toggle"
and stuff like that?
Also, make sure that you don't have anything you don't want bound to those keys already as the binds in the control-scheme will still work.