How to disable scrollwheel?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • F.Z.Bunny

    #1

    How to disable scrollwheel?

    Poor Mr. Bun is going nuts. EVERY time he tries to sight his rocket launcher on a tank, he DRAWS HIS KNIFE! THe 'alt fire' is bound to the middle mouse button, see? But that $#!@ scrollwheel kicks in and selects another weapon!

    Poor Mr. Bun is way too old and set in his ways to learn other bindings... so 'alt fire' HAS to stay bound to the middle button.

    Is there no way to disable the 'scroll-wheel-selects-a-weapon' functionality? Any way at all? Help! Knives don't work against tanks...
  • Sneakydave

    #2
    Re: How to disable scrollwheel?

    Well you could always just buy a cheap mouse without a scroll wheel but with 3 buttons...

    Other than that, theres no way to do it i dont think

    Comment

    • Harmor

      #3
      Re: How to disable scrollwheel?

      I looked in the Controls.con file and found this:

      Code:
      ControlMap.create defaultGameControlMap
      ControlMap.addAxisToTriggerMapping c_GIMouseWheelUp -1 IDFMouse IDAxis_2 0
      ControlMap.addAxisToTriggerMapping -1 c_GIMouseWheelDown IDFMouse IDAxis_2 0
      The above looks like it controls the Mouse wheel functionality in the defaultGameControlMap section.

      Try removing the last 2 lines and see what happens.

      Comment

      • lostinspace

        #4
        Re: How to disable scrollwheel?

        edited

        Comment

        • jpardo

          #5
          Re: How to disable scrollwheel?

          could you disable it in the mouse software - or under the mouse applet in the windows cp?

          Comment

          • Dangerdog
            Member
            • Oct 2007
            • 1011

            #6
            Re: How to disable scrollwheel?

            Originally posted by DooDaH
            Close...

            It's the 2 lines under "ControlMap.create defaultPlayerInputControlMap" all the way at the bottom of the file

            these lines control weapon switch:
            ControlMap.addAxisToTriggerMapping c_PINextItem -1 IDFMouse IDAxis_2 0
            ControlMap.addAxisToTriggerMapping -1 c_PIPrevItem IDFMouse IDAxis_2 0
            Be warned though that if you do that you won't be able to use your scroll wheel to zoom while being commander.

            To avoid this from happening, leave those two lines at the bottom of your controls.con file and assign the scroll wheel movements to 'alt fire', that way even if you slip with the mouse wheel it'll still select 'alt fire'

            You want to make this change under the top heading of:

            ControlMap.create InfantryPlayerInputControlMap

            ControlMap.addAxisToTriggerMapping c_PIAltFire -1 IDFMouse IDAxis_2 1

            ControlMap.addAxisToTriggerMapping -1 c_PIAltFire IDFMouse IDAxis_2 1

            This might not work though because you can only have two keys/buttons assigned to one function.

            Comment

            Working...