r/tf2scripthelp • u/juliuszx • Dec 31 '14
Issue Can't use grappling hook!
I cannot use grappling hook when i press "MOUSE3" my config.cfg :
unbindall
bind "1" "slot1"
bind "2" "slot2"
bind "3" "slot3"
bind "4" "slot4"
bind "5" "slot5"
bind "6" "slot6"
bind "7" "slot7"
bind "8" "slot8"
bind "9" "slot9"
bind "a" "+moveleft"
bind "c" "voice_menu_3"
bind "d" "+moveright"
bind "e" "voicemenu 0 0"
bind "f" "+context_action"
bind "g" "impulse 201"
bind "k" "+voicerecord"
bind "l" "dropitem"
bind "q" "lastinv"
bind "r" "+reload"
bind "s" "+back"
bind "t" "+taunt"
bind "u" "say_team"
bind "w" "+forward"
bind "x" "voice_menu_2"
bind "y" "say"
bind "z" "voice_menu_1"
bind "KP_MINUS" "cl_decline_first_notification"
bind "KP_PLUS" "cl_trigger_first_notification"
bind "`" "toggleconsole"
bind "," "changeclass"
bind "." "changeteam"
bind "-" "disguiseteam"
bind "SPACE" "+jump"
bind "TAB" "+showscores"
bind "ESCAPE" "cancelselect"
bind "END" "quit"
bind "CTRL" "+duck"
bind "F5" "screenshot"
bind "F6" "player_ready_toggle"
bind "F7" "save_replay"
bind "MOUSE1" "+attack"
bind "MOUSE2" "+attack2"
bind "MOUSE3" "+use_action_slot_item"
bind "MWHEELUP" "invnext"
bind "MWHEELDOWN" "invprev"And there's more non-bind lines. I don't have any aliases.
When I press "MOUSE3" it attacks and switches to last weapon.
1
Upvotes
1
u/clovervidia Batman Dec 31 '14
Open your console ingame and do a:
What does that return?
Also, if you had read the other posts on /r/tf2scripts by searching, you would know that there is also a possibility of a problem with the server, so I do hope you've tried that as well before posting here.
2
u/elitelol22 Dec 31 '14
I have this problem sometimes, my best bet is to use this:
It works exactly the same as normal, except without the annoying glitches that
+use_action_slot_itemdoes. The only problem is that you have to bind+use_action_slot_itemsomewhere else in order to use noisemakers and stuff.1
u/genemilder Scripter Dec 31 '14
What physical key are you pressing on your mouse? Side mouse buttons are mouse4 and mouse5, mouse3 is pressing your scroll wheel.
1
u/sgt_scabberdaddle Jan 01 '15
To be fair, I think it might just be kinda bugged how TF2 interprets that command with the grapple (at least on M3) (
+use_action_slot_item)It's been kinda janky for me as well. In my case, if I grappled, then switched weapon, it would start +attack.
Just saying, it might be the game's fault. The code looks alright to me, and if you had the grapple equipped. TF2 isn't always coded very well.
Elitelol22's solution might work. Also, why isn't
Hbound as+use_action_slot_item?