Upvote Upvoted 6 Downvote Downvoted
Script: CS:GO-Style Scoreboard Mouse Input for TF2
posted in Customization
1
#1
0 Frags +

So if you've ever played CS:GO, you probable would've noticed that you need to right click in order to enable mouse input and right click on people to do whatever.

Just use tf_scoreboard_mouse_mode 2.
I wasn't aware of the command having a second value besides 1, my bad.

As far as I know, I've done it with the following script. If you like it, let me know. If you're having trouble, I'll be glad to help if you add me on steam.
Put it in the bottom of your autoexec.cfg, and you're all good to go.

alias enable.mouse.input "tf_scoreboard_mouse_mode 1"
alias +scoreboard "+showscores; bind mouse2 enable.mouse.input; net_graph 1"
alias -scoreboard "-showscores; tf_scoreboard_mouse_mode 0; bind mouse2 +attack2; net_graph 0"
bind tab +scoreboard

If you use your right click button for anything other than your secondary attack, do this:
1. Put the above code into each of the class config files that are using m2 as secondary attack, then place this into any of the class configs that do something else with your m2 button.

alias enable.mouse.input "tf_scoreboard_mouse_mode 1"
alias +scoreboard "+showscores; bind mouse2 enable.mouse.input; net_graph 1"
alias -scoreboard "-showscores; tf_scoreboard_mouse_mode 0; bind mouse2 [PUT WHATEVER YOU WANT YOUR M2 TO DO HERE]; net_graph 0"
bind tab +scoreboard

Thanks and enjoy.

So if you've ever played CS:GO, you probable would've noticed that you need to right click in order to enable mouse input and right click on people to do whatever.

[b]Just use tf_scoreboard_mouse_mode 2.
I wasn't aware of the command having a second value besides 1, my bad.[/b]

[s]As far as I know, I've done it with the following script. If you like it, let me know. If you're having trouble, I'll be glad to help if you add me on steam.
Put it in the bottom of your autoexec.cfg, and you're all good to go.

[code]alias enable.mouse.input "tf_scoreboard_mouse_mode 1"
alias +scoreboard "+showscores; bind mouse2 enable.mouse.input; net_graph 1"
alias -scoreboard "-showscores; tf_scoreboard_mouse_mode 0; bind mouse2 +attack2; net_graph 0"
bind tab +scoreboard[/code]

If you use your right click button for anything other than your secondary attack, do this:
1. Put the above code into each of the class config files that are using m2 as secondary attack, then place this into any of the class configs that do something else with your m2 button.

[code]alias enable.mouse.input "tf_scoreboard_mouse_mode 1"
alias +scoreboard "+showscores; bind mouse2 enable.mouse.input; net_graph 1"
alias -scoreboard "-showscores; tf_scoreboard_mouse_mode 0; bind mouse2 [PUT WHATEVER YOU WANT YOUR M2 TO DO HERE]; net_graph 0"
bind tab +scoreboard[/code][/s]

Thanks and enjoy.
2
#2
0 Frags +

isn't there already a command for this?

isn't there already a command for this?
3
#3
0 Frags +

Awesome dude, thanks a bunch i'll defo be using this now :D

Awesome dude, thanks a bunch i'll defo be using this now :D
4
#4
0 Frags +

Am I the only one who has really broken mouse input on the scoreboard? Most of the times when I click on someones name nothing happens. Same when I right-click...

Am I the only one who has really broken mouse input on the scoreboard? Most of the times when I click on someones name nothing happens. Same when I right-click...
5
#5
0 Frags +

whats the difference between this and tf_scoreboard_mouse_mode 2

whats the difference between this and tf_scoreboard_mouse_mode 2
6
#6
0 Frags +
Pendaisn't there already a command for this?

Nope, tf_scoreboard_mouse_mode 1 simply enables the mouse input whenever you open the scoreboard, but some people (like me) don't like the idea of not being able to shoot while I can still see through their scoreboard.

Kyl_Awesome dude, thanks a bunch i'll defo be using this now :D

Awesome! Glad you like it!

[quote=Penda]isn't there already a command for this?[/quote]

[i]Nope[/i], tf_scoreboard_mouse_mode 1 simply enables the mouse input whenever you open the scoreboard, but some people (like me) don't like the idea of not being able to shoot while I can still see through their scoreboard.

[quote=Kyl_]Awesome dude, thanks a bunch i'll defo be using this now :D[/quote]

Awesome! Glad you like it!
7
#7
4 Frags +
Paladin_IMSwhats the difference between this and tf_scoreboard_mouse_mode 2

Wasn't aware of a second value for that command... This is embarrassing.

[quote=Paladin_IMS]whats the difference between this and tf_scoreboard_mouse_mode 2[/quote]

Wasn't aware of a second value for that command... This is embarrassing.
8
#8
0 Frags +

Thanks! That's really awesome!

Thanks! That's really awesome!
9
#9
2 Frags +

tf_scoreboard_mouse_mode 2 doesn't work while you are dead and spectating so if this script actually works during these moments then this script isn't redundant.

Edit: it does, you should probably un strikethrough the op

tf_scoreboard_mouse_mode 2 doesn't work while you are dead and spectating so if this script actually works during these moments then this script isn't redundant.

Edit: it does, you should probably un strikethrough the op
Please sign in through STEAM to post a comment.