06-25-2008, 02:20 AM | #1 |
no war but class war
Fortress Forever Staff
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout Gametype: ctf Affiliations: [w~k!] Posts Rated Helpful 3 Times
|
Script that treats MWheelDown/Up as regular keypress
I can't seem to adjust the sensitivity on my mousewheel properly, so when i try to cycle through the weapons inventory i usually miss the weapons i want to select..(mwheel bound to next/prev inventory).
Would there be a way to bind mwheeldown/up as a regular keyboard key.. so no matter how long i use the mwheel, it'd just change to the next item in inventory? |
|
06-25-2008, 02:25 AM | #2 |
Fortress Forever Staff
Join Date: Sep 2007
Class/Position: O: Scout Affiliations: {NFO} - New Family Order Posts Rated Helpful 0 Times
|
The thing is that it already is a regular keypress, it just hits a lot if you keep scrolling.
You could only bind 1 weapon per up/down. Like mwheelup goes to slot 3 and down goes to 2 so that no matter how many times you hit each it would just keep selected 2 or 3. Unfortunately, what you want is already implemented, you just hit it too much. You could maybe alias each direction to go to next/prevslot and then rebind itself to do nothing then rebind again to do next/prevslot so that every inbetween click does nothing incase you hit it too much. BTW do you use quickswitch? |
|
06-25-2008, 02:31 AM | #3 |
Stuff Do-er
Lua Team
Wiki Team Fortress Forever Staff |
What if you did something like
Code:
alias "downonce" "invprev; unbind mwheeldown" bind "mwheeldown" "downonce" alias "uponce" "invnext; unbind mwheelup" bind "mwheelup" "uponce" bind "w" "+forward; bind mwheeldown downonce; bind mwheelup uponce"
__________________
#FF.Pickup ยค Fortress-Forever pickups My Non-official Maps Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic Beta FF_Myth - FF_Redlight_Greenlight Sick of the people on the internet, always moanin'. They just moan. - Karl Pilkington |
|
06-25-2008, 02:34 AM | #4 |
Fortress Forever Staff
Join Date: Sep 2007
Class/Position: O: Scout Affiliations: {NFO} - New Family Order Posts Rated Helpful 0 Times
|
I was thinking more like:
Code:
alias switcher "+attack;wait;wait;wait;wait;wait;-attack;bind mwheelup switchup;bind mwheeldown switchdown;bind mouse1 +attack" alias switchup "invprev;unbind mwheelup;bind mouse1 switcher" alias switchdown "invnext;unbind mwheeldown;bind mouse1 switcher" bind mwheelup switchup bind mwheeldown switchdown |
|
06-25-2008, 05:05 AM | #5 |
no war but class war
Fortress Forever Staff
Join Date: Oct 2007
Location: big bad berlin
Class/Position: Soldier / Scout Gametype: ctf Affiliations: [w~k!] Posts Rated Helpful 3 Times
|
Wow guys, thanks for jumping to my rescue.. the bind/unbind/bind/unbind might be a solution to get rid of the jittery weapon selection.. my mousewheel just seems a little erratic / unpredictable, so i'll have to test that solution.
fastweaponswitch is "1", like it should be |
|
06-25-2008, 05:08 AM | #6 |
Fortress Forever Staff
Join Date: Sep 2007
Class/Position: O: Scout Affiliations: {NFO} - New Family Order Posts Rated Helpful 0 Times
|
Code:
alias "downonce" "invprev; unbind mwheeldown; bind mwheelup uponce" bind "mwheeldown" "downonce" alias "uponce" "invnext; unbind mwheelup; bind mwheeldown downonce" bind "mwheelup" "uponce" bind "w" "+forward; bind mwheeldown downonce; bind mwheelup uponce" |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|