I've set my config to both change sensitivity and mouse wheel up/down key binds when I zoom in/out, although it isn't 100% perfect. I ended up changing extra buttons to avoid some of the situations that leave you with the wrong sensitivity and key binds too. Even then, I occasionally have to use a separate button that toggles between them without zooming. But it does work.
Hope this helps (for toggle zoom, by the way):
Code:
Bindings=(Name="LeftShift",Command="DoZoom")
Bindings=(Name="DoZoom",Command="PressedZoom | setbind MouseScrollUp MagnifyZoom | setbind MouseScrollDown DemagnifyZoom | setsensitivity 9 | setbind B RealignUnscoped | setbind R SniperReload | setbind Q SniperSwapWeapon | setbind LeftShift UnZoom | OnRelease ReleasedZoom")
Bindings=(Name="UnZoom",Command="PressedZoom | setbind MouseScrollUp PressedMelee | setbind MouseScrollDown BehindView | setsensitivity 16 | setbind B RealignScoped | setbind R ReloadWeapon | setbind Q NextWeapon | setbind LeftShift DoZoom | OnRelease ReleasedZoom")
Bindings=(Name="B",Command="RealignUnscoped")
Bindings=(Name="RealignUnscoped",Command="setbind MouseScrollUp PressedMelee | setbind MouseScrollDown BehindView | setsensitivity 16 | setbind LeftShift DoZoom | setbind B RealignScoped")
Bindings=(Name="RealignScoped",Command="setbind MouseScrollUp MagnifyZoom | setbind MouseScrollDown DemagnifyZoom | setsensitivity 9 | setbind LeftShift UnZoom | setbind B RealignUnscoped")
Bindings=(Name="R",Command="ReloadWeapon")
Bindings=(Name="SniperReload",Command="ReloadWeapon | setbind MouseScrollUp PressedMelee | setbind MouseScrollDown BehindView | setsensitivity 16 | setbind LeftShift DoZoom | setbind R ReloadWeapon")
Bindings=(Name="Q",Command="NextWeapon | setbind MouseScrollUp PressedMelee | setbind MouseScrollDown BehindView | setsensitivity 16 | setbind LeftShift DoZoom")
Bindings=(Name="One",Command="EquipPrimary | setbind MouseScrollUp PressedMelee | setbind MouseScrollDown BehindView | setsensitivity 16 | setbind LeftShift DoZoom")
Bindings=(Name="Two",Command="EquipSecondary | setbind MouseScrollUp PressedMelee | setbind MouseScrollDown BehindView | setsensitivity 16 | setbind LeftShift DoZoom")
Bindings=(Name="Three",Command="SwitchToCallIn 1 | setbind MouseScrollUp PressedMelee | setbind MouseScrollDown BehindView | setsensitivity 16 | setbind LeftShift DoZoom")
Bindings=(Name="Four",Command="SwitchToCallIn 2 | setbind MouseScrollUp PressedMelee | setbind MouseScrollDown BehindView | setsensitivity 16 | setbind LeftShift DoZoom")
Bindings=(Name="Five",Command="SwitchToCallIn 3 | setbind MouseScrollUp PressedMelee | setbind MouseScrollDown BehindView | setsensitivity 16 | setbind LeftShift DoZoom")
"When you run out of ammo and reload automatically you'll be left with low sensitivity, so I set R to change it back as well. Just make sure you hit it even when you're auto-reloading."
"Yeah, after some more testing, you will need a separate bind in case the sensitivity and zoom go out sync, like if you die while scoped. I've set B to always be the sensitivity you're not using, so you can flip between them. Obviously, if you want another button, just change all Bs and set bind Bs to whatever you want."
Bookmarks