Rebind/disable your middle mouse wheel using options.xml
SamusDroid
Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts
I've found a way to rebind the mouse when in the game using the options.xml file.
In Steam/userdata/USERID/4920/remote/options.xml look for a value called "NextWeapon", which should be bound to "MouseZ"
For people who want to disable the middle wheel entirely, just remap the value to an unused key, n for example.
For those who want to use middle mouse wheel for something else, just change MouseZ to the action key of your choice, crouch for example. Whatever key you use for crouch, put in MouseZ for it.
In Steam/userdata/USERID/4920/remote/options.xml look for a value called "NextWeapon", which should be bound to "MouseZ"
For people who want to disable the middle wheel entirely, just remap the value to an unused key, n for example.
For those who want to use middle mouse wheel for something else, just change MouseZ to the action key of your choice, crouch for example. Whatever key you use for crouch, put in MouseZ for it.
Comments
And why this isnt in the options menu is a mystery.
thanks for sharing, I was so happy when I reading this post. But it seems that I do not have any options.xml file in the Steam/userdata/USERID/4920/ folder. I have one in the Steam/userdata/USERID/4920/remote/ folder but it does not contain mouse.z or next/previous weapon.
Do you mind sharing your file as I might be able to edit the one I have to match yours?
Thanks!
Just feels so awkward trying to bunnyhop using spacebar.
Replace space at <Jump></Jump> with mouse.z bind NextWeapon to some other key.
What if I want to be able to jump with scrollwheel and spacebar as well?
I found the file you were talking about, it included <Jump>space</Jump> but I never found the mouse.z function.. I tried replacing "space" by "mouse.z" but it didn't work. Am I having a weird options.xml file?
I changed jump to mouse.z but it is not working and my space bar still jumps... ??
by the way, I deleted the section with the TIPS because my post was being rejected (I guess it was too long)
I'm totally for freedom of key-binding but not a the expense of quality. I mean you will feel better with your keys while you ruin the other players game experience. If all players do that, what's gonna happen ??? worse? NS isn't about pistolero style.
I do vote for mouse-wheel but not without filtering keystrokes properly as it can become a nasty technical issue.
And anyway, I would still like to understand why my file is not working and not the same as the other guys
there too.
Add <NextWeapon> anykey </NextWeapon> to your file, think the engine stopps you from doing two things at the same time with one key.