No announcement yet.

mouse wheel binding

  • Filter
  • Time
  • Show
Clear All
new posts

  • mouse wheel binding

    Hello tactical gamers:

    this is my first post here, i'm new to both the community and BF2, but i'm enjoying this place (and the game) a lot.

    Well i did a search but couldnt come up with anything to help me so i brought my question to the community: is there a way to disable or change the default binding the mousewheel has to weapon cycling? Idealy i'd like to be able to bind my wheel moves to something else, but if i can turn them off that's fine too.

    Now i DID find a fairly sweet and in depth post called "anatomy of controls.con" i think, but it was a little above me. It seemed to me there were entries in that file that i could alter thereby changing what the mousewheel is bound to, since there seems to be no way to do it through the in-game options. I saw in that post what looked to be entries for the wheel binds - except for there were lots of exclaimations and big letters surrounding it saying "DO NOT CHANGE" or words to that effect.

    I think all i really need is a little help in having the proper entries to change pointed out, figuring out what to change time to should be ok with what that post has already provideded.

    Well thanks for checking out my words guys hope i make any sense at all!


  • #2
    Re: mouse wheel binding

    I too want to be able to bind mousewheel.

    Originally posted by onixxxxxxxx-barn
    i did a search
    Well done. More people need to use the search feature.
    Steam Community? Add me. | Free Remote, Encrypted Backup

    Darkilla: In short, NS is pretty much really fast chess. With guns. Apophis: I haven't seen anyone say that SM's are better than non-SMs. Nordbomber: This is THE first server I've seen where either side can comeback from out of seemingly nowhere with the right teamwork. en4rcment: I have NEVER experienced the type of gameplay that I have found here. Nightly I am amazed at the personalities and gaming talent. Zephyr: Apophis is clearly a highly sophisticated self-aware AI construct that runs on a highly modified toaster oven in Wyzcrak's basement.


    • #3
      Re: mouse wheel binding

      The file that you can edit to manually set your bindings is Controls.con found in your BF2 Profile directory ( "My Documents\Battlefield 2\Profiles\0001" is where mine is stored).

      In there if you do a find for "wheel" you'll find these two default entries for your Mouse wheel.

      ControlMap.addAxisToTriggerMapping c_GIMouseWheelUp -1 IDFMouse IDAxis_2 0
      ControlMap.addAxisToTriggerMapping -1 c_GIMouseWheelDown IDFMouse IDAxis_2 0
      Using this as a search, I found this thread that can give you guys a hand in doing what you want. Basically though, you can edit those lines to bind any control you want to the mouse wheel. If you don't know the syntax, bind something else to that action, then lookup the syntax by looking in that file for that key, and copying it over to the mouse wheel.

      Here's the quote I found in my search:
      Originally posted by
      This is probably OFN to those that have dug into the controls.con file with notepad and made adjustments to their keybinds directly. The mousewheel defaults to the next-weapon, previous-weapon menu on the right which is painfully slow and if you’re using it as your main weapon select system chances are you’re getting owned. Some people use the numbers across the top which is also subject to problems of striking the wrong key at the wrong time, forward strafe and try to select you knife.

      My Documents\Battlefield 2\Profiles\0001 is where your primary controls.con file is located, open it up in notepad.

      Down towards the bottom you'll find the default mouse wheel assignments:

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

      The first one is mousewheel up, second one mousewheel down

      Cut the first line and paste under the heading at the top of the file labeled:

      ControlMap.create InfantryPlayerInputControlMap

      paste it under the line:
      ControlMap.addKeyToTriggerMapping c_PIWeaponSelect1 IDFKeyboard IDKey_1 10000 0
      ControlMap.addAxisToTriggerMapping c_PINextItem -1 IDFMouse IDAxis_2 0

      now change it to read like so:

      ControlMap.addKeyToTriggerMapping c_PIWeaponSelect1 IDFKeyboard IDKey_1 10000 0
      ControlMap.addAxisToTriggerMapping c_PIWeaponSelect1 -1 IDFMouse IDAxis_2 1

      We've now assigned the mousewheel up action to select the knife directly, changing the 0 to a 1 at the end tells the game that this is your secondary key/button assignment. You can do the same thing for the mousewheel down action only assign it to the pistol.

      ControlMap.addKeyToTriggerMapping c_PIWeaponSelect2 IDFKeyboard IDKey_2 10000 0
      ControlMap.addAxisToTriggerMapping -1 c_PIWeaponSelect2 IDFMouse IDAxis_2 1

      Happy knifing and pistol sniping, or assign whatever weapon you want to this fast switch method.


      • #4
        Re: mouse wheel binding


        thanks chief!


        • #5
          Re: mouse wheel binding

          I went a step farther and found even more info for you. Instead of posting it here where not everyone would see it though, I made a new thread.

          Wyz, would that new thread be helpful enough to be stickied?




          TeamSpeak 3 Server




          Twitter Feed