configuring wheeup/wheeldown

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lamah

    #1

    configuring wheeup/wheeldown

    i can't config the wheelup and wheeldown of my logitech G5.

    is it possible to manually config them in the file?

    thanks for your help
  • imported_jjgrant

    #2
    Re: configuring wheeup/wheeldown

    what is it set to in the mouse itself anything different to the old one if its new?

    Comment

    • lamah

      #3
      Re: configuring wheeup/wheeldown

      the default wheelup and down are just set to cycle through the weapons. bf2 doesn't allow you to change them. but you can manually do it in the controls.con, here's how: (found the answer on pbf)

      Edited by Random Skratch on Jun 12 2005 1:09PM
      In Reply To #54
      [agb]kungfujesus wrote:


      Can someone figure out how to bind mousewheel to specific weapons? In DC i had wheelup = main gun and wheeldown = pistol. I messed with the controls.con last night for HOURS and all I managed to do was unbind weapon 2 and 3.
      I can't figure it out, it should work...
      Here's how to do what you want.

      Open up the appropriate controls.con file

      Scroll to the very bottom and remove these 2 lines
      ControlMap.addAxisToTriggerMapping c_PINextItem -1 IDFMouse IDAxis_2 0
      ControlMap.addAxisToTriggerMapping -1 c_PIPrevItem IDFMouse IDAxis_2 0

      Now scroll up to the top and find these lines

      ControlMap.addKeyToTriggerMapping c_PIWeaponSelect2 IDFKeyboard IDKey_2 10000 0
      ControlMap.addKeyToTriggerMapping c_PIWeaponSelect3 IDFKeyboard IDKey_3 10000 0

      THis is the default weapon select

      Add this under the 2
      ControlMap.addAxisToTriggerMapping -1 C_PIWeaponSelect2 IDFMouse IDAxis_2 1

      And add this under the 3
      ControlMap.addAxisToTriggerMapping C_PIWeaponSelect3 -1 IDFMouse IDAxis_2 1

      Comment

      • Cigar_Man

        #4
        Re: configuring wheeup/wheeldown

        I use my wheel to select the knife or pistol.

        ControlMap.addAxisToTriggerMapping c_PIWeaponSelect1 -1 IDFMouse IDAxis_2 1

        ControlMap.addAxisToTriggerMapping -1 c_PIWeaponSelect2 IDFMouse IDAxis_2 1

        Very handy.

        Comment

        • Hugh G. Wrection

          #5
          Re: configuring wheeup/wheeldown

          But doesn't changing the wheel config from default NextItem and PrevItem, totally screw up your zooming? eg. you can't zoom in or out on commander's screen w/wheel, nor can you zoom in or out on the map you see when dead, etc.

          Comment

          • Cigar_Man

            #6
            Re: configuring wheeup/wheeldown

            Originally posted by Hugh G. Wrection
            But doesn't changing the wheel config from default NextItem and PrevItem, totally screw up your zooming? eg. you can't zoom in or out on commander's screen w/wheel, nor can you zoom in or out on the map you see when dead, etc.
            Nope

            Those are different sections in the controls.con file

            Comment

            • Hugh G. Wrection

              #7
              Re: configuring wheeup/wheeldown

              What sections are you referring to exactly? Here's all I am trying to do -- I just want wheel up and wheel down to zoom the minimap, ie. N key.

              However, if I remove:

              ControlMap.addAxisToTriggerMapping c_PINextItem -1 and IDFMouse IDAxis_2 0
              ControlMap.addAxisToTriggerMapping -1 c_PIPrevItem IDFMouse IDAxis_2 0

              from defaultPlayerInputControlMap then the wheel zoom no longer works as described in previous post. But if I add any ControlMap.addAxisToTriggerMapping -1 xxx IDFMouse IDAxis_2 0 to any other section of controls.con, it just gets deleted when BF2 runs.

              Do you have more than ControlMap.addAxisToTriggerMapping for the mouse wheel in more than 1 section of controls.con to do the weapon select?

              Comment

              • Cigar_Man

                #8
                Re: configuring wheeup/wheeldown

                Read the Anatomy of Controls.con to see what everything in the file does. There are 26 pages of info there that may help.

                I just changed the wheel weapon select to k&p, so I did not go any further.
                Originally posted by Hugh G. Wrection
                What sections are you referring to exactly? Here's all I am trying to do -- I just want wheel up and wheel down to zoom the minimap, ie. N key.

                However, if I remove:

                ControlMap.addAxisToTriggerMapping c_PINextItem -1 and IDFMouse IDAxis_2 0
                ControlMap.addAxisToTriggerMapping -1 c_PIPrevItem IDFMouse IDAxis_2 0

                from defaultPlayerInputControlMap then the wheel zoom no longer works as described in previous post. But if I add any ControlMap.addAxisToTriggerMapping -1 xxx IDFMouse IDAxis_2 0 to any other section of controls.con, it just gets deleted when BF2 runs.

                Do you have more than ControlMap.addAxisToTriggerMapping for the mouse wheel in more than 1 section of controls.con to do the weapon select?
                EDIT NOTE - I just checked on some of that info for the map zoom feature and from what I can see, since the nextitem controls are in the defaultPlayerInputControlMap and the map zoom is in the defaultGameControlMap, you will need to do some extra entries to replace what is removed.

                These 2 lines control the mouse map zoom when the minimap is opened with the "M" key:
                ControlMap.addAxisToTriggerMapping c_GIMouseWheelUp -1 IDFMouse IDAxis_2 0
                ControlMap.addAxisToTriggerMapping -1 c_GIMouseWheelDown IDFMouse IDAxis_2 0

                Since EA/Dice has tied the removed lines to several other functions and some fail when it is removed. I did not see a solution in the controls.con post at pbf. Just have to use some trial and error or keep on searching.

                Sorry.

                Comment

                Working...