Help w/ asigning Controls!!!!

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

    #1

    Help w/ asigning Controls!!!!

    Im trying to manunally re-assign my controls and a like my heli to 'steer right/left' using the mouse. The default for 'roll left/right' is the 'mouse axis'.
    When i delete that control, and try to assign one of the 'mouse axis to the 'steer left/right control, i get NOTHING. As if the game wont recognize that my mouse is moving. This really sux since i love flying, and now i cant :cry: . Does anyone now how i can get around ths? THANK YOU!!!!
  • Talus
    Member
    • Oct 2006
    • 6854

    #2
    Re: Help w/ asigning Controls!!!!

    You're able to assign other buttons properly though, right?

    You may have to manually edit you controls.con.

    Comment

    • iggy21

      #3
      Re: Help w/ asigning Controls!!!!

      I can assign all other buttons properly, except any of the 'mouse axis'. I get no errors for 'double assigning' buttons.

      How do you edit the control console?

      Comment

      • Talus
        Member
        • Oct 2006
        • 6854

        #4
        Re: Help w/ asigning Controls!!!!

        It's a file called 'controls.con'

        C:\Documents and Settings\<Username>\My Documents\Battlefield 2\Profiles\0001\Controls.con

        If you have more than 1 profile, you may have to check under the other profiles subdirectories.

        Comment

        • iggy21

          #5
          Re: Help w/ asigning Controls!!!!

          IM sorry, i didnt phrase the question correctly,... Im able to access the console, but im not the best at being being able to edit it.. whats the specific command i should use... or what exactly to i need to do?


          thanks for helping me

          Comment

          • Talus
            Member
            • Oct 2006
            • 6854

            #6
            Re: Help w/ asigning Controls!!!!

            Sorry...I wasn't clear either. You don't do anything in the game. You don't do anything with the console (~).

            You simply load up windows notepad and edit this file:
            C:\Documents and Settings\<Username>\My Documents\Battlefield 2\Profiles\0001\Controls.con

            Edit this section anc change the mouse axes to your liking:
            Code:
            ControlMap.create HelicopterPlayerInputControlMap
            ControlMap.addKeysToAxisMapping c_PIYaw IDFKeyboard IDKey_D IDKey_A 0
            ControlMap.addAxisToAxisMapping c_PIYaw IDFGameController_0 IDAxis_2 0 1
            ControlMap.addAxisToAxisMapping c_PIPitch IDFMouse IDAxis_1 0 0
            ControlMap.addAxisToAxisMapping c_PIPitch IDFGameController_0 IDAxis_1 1 1
            ControlMap.addAxisToAxisMapping c_PIRoll IDFMouse IDAxis_0 0 0
            ControlMap.addAxisToAxisMapping c_PIRoll IDFGameController_0 IDAxis_0 0 1
            If that doesn't work, delete the controls.con file and load up BF2 and see if you can bind the mouse axes again.

            Comment

            • iggy21

              #7
              Re: Help w/ asigning Controls!!!!

              Thanks So Much!!!

              Comment

              • Talus
                Member
                • Oct 2006
                • 6854

                #8
                Re: Help w/ asigning Controls!!!!

                Don't thank me unless it works

                Comment

                • imported_UH60BHPilot

                  #9
                  Re: Help w/ asigning Controls!!!!

                  Haha Talus you are going to end up ruining his BF2 :P. No, I think Talus is onto something so it should work.

                  Comment

                  • iggy21

                    #10
                    Re: Help w/ asigning Controls!!!!

                    i was hoping there was a script file that i could edit, ... So, this is what i did:

                    -I located the control.con file (and double checked it was the correct one)
                    -I copied it(incase i messed something up)
                    -I found the lines for the controls i want to change (in the active (not copied) file)
                    -I changed the lines:

                    Replace:
                    ControlMap.addKeysToAxisMapping c_PIYaw IDFKeyboard IDKey_D IDKey_A 0
                    with

                    ControlMap.addAxisToAxisMapping c_PIYaw IDFMouse IDAxis_1 0 0
                    -I double checked for double mapped controls
                    -saved
                    -played BF2
                    -Checked to see it it worked
                    -failed miserably.....:cry:

                    Comment

                    • iggy21

                      #11
                      Re: Help w/ asigning Controls!!!!

                      never mind... it worked (nowi can use helis :)) . I must have forgotten to save the change, it wasnt there when i double checked.....

                      Comment

                      • imported_kryptik

                        #12
                        Re: Help w/ asigning Controls!!!!

                        thanks, this worked for me.

                        Comment

                        Working...