Upvote Upvoted 1 Downvote Downvoted
Unable to bind keys.
posted in Q/A Help
1
#1
0 Frags +

Hello,

EDIT:
-Figured it out, thanks for your help, problem solved.-

For some reason, that I am unaware of, I cannot bind commands to keys using the developers console. I had done it once before, but after re installing my TF2, it doesn't seem to work.

I had bound r_drawviewmodel 1 and r_drawviewmodel 0, to "[" and "]" keys.
Each time I enter the bind command into console, there is no result.

Can anyone provide to me some possible insight as to what the problem might be?

-Thanks

Hello,

EDIT:
-Figured it out, thanks for your help, problem solved.-


For some reason, that I am unaware of, I cannot bind commands to keys using the developers console. I had done it once before, but after re installing my TF2, it doesn't seem to work.

I had bound r_drawviewmodel 1 and r_drawviewmodel 0, to "[" and "]" keys.
Each time I enter the bind command into console, there is no result.

Can anyone provide to me some possible insight as to what the problem might be?

-Thanks
2
#2
0 Frags +

The bind command never gives you a response in the console unless the code is invalid. Did you test the binds to see if they worked?

Also, try adding them to your autoexec.cfg.

The bind command never gives you a response in the console unless the code is invalid. Did you test the binds to see if they worked?

Also, try adding them to your autoexec.cfg.
3
#3
0 Frags +

After you enter the binds into console you can check to see if the game remembers your bind by typing "bind [" or "bind ]". If the console returns the correct information then your bind should work.

After you enter the binds into console you can check to see if the game remembers your bind by typing "bind [" or "bind ]". If the console returns the correct information then your bind should work.
4
#4
0 Frags +

#2
Yes, I have tried/tested numerous times. I Didn't think of adding them to my auto exec, I'll give it a try though.

Thanks

#2
Yes, I have tried/tested numerous times. I Didn't think of adding them to my auto exec, I'll give it a try though.

Thanks
5
#5
0 Frags +
thinkAfter you enter the binds into console you can check to see if the game remembers your bind by typing "bind [" or "bind ]". If the console returns the correct information then your bind should work.

Hello,

I did what you suggested, and here's the result.

bind <key> [command] : attach a command to a key
] bind [ r_drawviewmodel 0
]
bind <key> [command] : attach a command to a key
] bind [
]
"[" is not bound

So, what does it mean when console is not remembering my bind? Could this problem be related to something else entirely?

Thanks.

[quote=think]After you enter the binds into console you can check to see if the game remembers your bind by typing "bind [" or "bind ]". If the console returns the correct information then your bind should work.[/quote]

Hello,

I did what you suggested, and here's the result.

bind <key> [command] : attach a command to a key
] bind [ r_drawviewmodel 0
]
bind <key> [command] : attach a command to a key
] bind [
]
"[" is not bound

So, what does it mean when console is not remembering my bind? Could this problem be related to something else entirely?

Thanks.
6
#6
0 Frags +

Ah hold on, before anyone else reply's, I think I may have in fact been the victim to human error.

Ah hold on, before anyone else reply's, I think I may have in fact been the victim to human error.
7
#7
0 Frags +

Oh, you need to put "r_drawviewmodel 0" in quotations since it has a space in the command. So put the following in console and it should save:

bind [ "r_drawviewmodel 1"
bind ] "r_drawviewmodel 0"

Oh, you need to put "r_drawviewmodel 0" in quotations since it has a space in the command. So put the following in console and it should save:

bind [ "r_drawviewmodel 1"
bind ] "r_drawviewmodel 0"
8
#8
0 Frags +

he put his config.cfg into autoexe.cfg didn't he

he put his config.cfg into autoexe.cfg didn't he
Please sign in through STEAM to post a comment.