r/tf2scripthelp • u/ScootaLewis • Aug 27 '14
Answered Bind sensitivity script to hold mouse2 after scoping in
I had an odd notion a short time ago: to make a script that, after right-clicking, binds mouse2 to a sensitivity toggle such as from here: http://www.reddit.com/r/Tf2Scripts/comments/si0pa/little_tweaks_and_scripts_by_nobody/
And then when letting go of right-click, rebinds it to attack2.
What it would allow me to do is right-click to zoom in, then right-click and hold to lower my sensitivity, hopefully allowing me to make a good shot, then let go of mouse2 to return to normal sensitivity and reset mouse2 to allow me to zoom out.
What I need help with is how to bind mouse2 like that.
What I have so far:
alias zoombind "bind mouse2 +attack2"
alias +sens "sensitivity 1"
alias -sens "sensitivity 2"
alias +steady "+sens"
alias -steady "-sens, zoombind"
bind mouse2 "+steady"Can anyone see any problems with this? I understand it would only allow one attempt at a lowered-sensitivity shot. And reading through it, I just realized it would only work once, if at all.
Can you folks see any way to make this happen?
EDIT: thanks for your input, folks. You've shown me that such a script would be unwieldy at best, and useless at worst.
View all comments
Show parent comment
1
u/CAPSLOCK_USERNAME Valued contributor Aug 27 '14
Ah okay.
The script you asked for will go something like this:
There are a few issues with a script like this though. If you shoot without using the sensitivity changer, mouse2 will still be bound to that and you'll have to right-click twice to scope in again. Every second click just changes sensitivity instead of scoping, no matter the context.
It would probably be much easier and more convenient to bind the sensitivity reduction to something like shift, alt, or mouse3.