Upvote Upvoted 0 Downvote Downvoted
Toggling Mousewheel
posted in Customization
1
#1
0 Frags +

Hiya,

I'm wondering if there's a way to toggle bind the mousewheel? Right now I have it as bind mwheeldown +jump, but I don't use it all the time. Would it be possible to toggle it back and forth between jump and weapons switch (next wep, prev wep)?

Any input would be greatly appreciated!

Hiya,

I'm wondering if there's a way to toggle bind the mousewheel? Right now I have it as bind mwheeldown +jump, but I don't use it all the time. Would it be possible to toggle it back and forth between jump and weapons switch (next wep, prev wep)?

Any input would be greatly appreciated!
2
#2
0 Frags +

I just realized that I could just set the weapon switch to my side mouse buttons (3 and 4), but toggling for me would be the more suitable than binding my side mouse buttons.

I just realized that I could just set the weapon switch to my side mouse buttons (3 and 4), but toggling for me would be the more suitable than binding my side mouse buttons.
3
#3
0 Frags +

try this, your mouse wheel will jump normally and switch weapons when held down

alias +scrollwheel "bind mwheelup slot1;bind mwheeldown slot2"
alias -scrollwheel "bind mwheelup +jump;bind mwheeldown +jump"
bind mouse3 +scrollwheel

try this, your mouse wheel will jump normally and switch weapons when held down

alias +scrollwheel "bind mwheelup slot1;bind mwheeldown slot2"
alias -scrollwheel "bind mwheelup +jump;bind mwheeldown +jump"
bind mouse3 +scrollwheel
4
#4
2 Frags +
alias wheel_up "+jump"
alias wheel_down "+jump"

alias wheel_jump "alias wheel_up +jump; alias wheel_down +jump; alias wheel_toggle wheel_wep"
alias wheel_wep "alias wheel_up invnext; alias wheel_down invprev; alias wheel_toggle wheel_jump"
alias wheel_toggle wheel_wep

bind mwheelup wheel_up
bind mwheeldown wheel_down
bind mouse3 wheel_toggle

Written to avoid nested binds/be easier to edit in the future should you want to change it. Toggle is on mouse3, can change that to whatever key you feel is better though. The initial aliasing of wheel_up and wheel_down are what the keys default to.

Reset code:

bind mwheelup +jump
bind mwheeldown +jump
bind mouse3 +attack3
[code]alias wheel_up "+jump"
alias wheel_down "+jump"

alias wheel_jump "alias wheel_up +jump; alias wheel_down +jump; alias wheel_toggle wheel_wep"
alias wheel_wep "alias wheel_up invnext; alias wheel_down invprev; alias wheel_toggle wheel_jump"
alias wheel_toggle wheel_wep

bind mwheelup wheel_up
bind mwheeldown wheel_down
bind mouse3 wheel_toggle[/code]

Written to avoid nested binds/be easier to edit in the future should you want to change it. Toggle is on mouse3, can change that to whatever key you feel is better though. The initial aliasing of wheel_up and wheel_down are what the keys default to.

Reset code:

[code]bind mwheelup +jump
bind mwheeldown +jump
bind mouse3 +attack3[/code]
5
#5
-1 Frags +

Alright, thanks for all the help, hooli and Kairu!

Alright, thanks for all the help, hooli and Kairu!
Please sign in through STEAM to post a comment.