PDA

View Full Version : problem assigning mouse to controls


imported_Sin317
01-24-2006, 12:45 PM
ok ive to following problem :

(this for copter and planes)

i used to have mouse axis x (left/right) assigned as "yaw" (strafe if you want) and arrow right/left as roll, aswell as mouse axis y as up/down (aswell as up/down arrow).

i reinstalled bf2 few days ago (forgot to keep cfg lol) and now it just wont let me assign those mouse axis anymore.

when i edit them in profil/controls cfg file , it just wont do it


Quote:
ControlMap.addKeysToAxisMapping c_PIYaw IDFMouse IDAxis_0 0 0
ControlMap.addAxisToAxisMapping c_PIPitch IDFMouse IDAxis_1 0 0
ControlMap.addKeysToAxisMapping c_PIPitch IDFKeyboard IDKey_ArrowUp IDKey_ArrowDown 1
ControlMap.addAxisToAxisMapping c_PIRoll IDFKeyboard IDKey_ArrowRight IDKey_ArrowLeft 0

(each command is 1 line of course , just too long for here).

thats how it "should be". however once i start game and it changes it to :


Quote:
ControlMap.addAxisToAxisMapping c_PIPitch IDFMouse IDAxis_1 0 0
ControlMap.addKeysToAxisMapping c_PIPitch IDFKeyboard IDKey_ArrowUp IDKey_ArrowDown 1
ControlMap.addKeysToAxisMapping c_PIRoll IDFKeyboard None None 0


which then looks like this in game menu :
http://img23.imageshack.us/img23/2212/bf2cfg8bo.jpg

i have seriously no clue why this happends, and hope someone can help me.

Talus
01-24-2006, 01:09 PM
So are you saying that the mouse will no longer bind when using the control setup screen?

Or are you saying that you've only tried editing the controls.con file.

Sorry..it isn't clear.

imported_Sin317
01-24-2006, 01:23 PM
well i cant assign them ingame , as mouse axis are assigned (problem which EA never seems to wanna fix lol)

when i change them in controls.con file , it gets changed to what i showed above (even if i make the file read only).

add :

i edit them to
ControlMap.addKeysToAxisMapping c_PIYaw IDFMouse IDAxis_0 0 0
ControlMap.addAxisToAxisMapping c_PIPitch IDFMouse IDAxis_1 0 0
ControlMap.addKeysToAxisMapping c_PIPitch IDFKeyboard IDKey_ArrowUp IDKey_ArrowDown 1
ControlMap.addAxisToAxisMapping c_PIRoll IDFKeyboard IDKey_ArrowRight IDKey_ArrowLeft 0

in controls.con file and once i start game it changes them to :
ControlMap.addAxisToAxisMapping c_PIPitch IDFMouse IDAxis_1 0 0
ControlMap.addKeysToAxisMapping c_PIPitch IDFKeyboard IDKey_ArrowUp IDKey_ArrowDown 1
ControlMap.addKeysToAxisMapping c_PIRoll IDFKeyboard None None 0

and shows like in the picture above.

Talus
01-24-2006, 01:44 PM
Sounds like something is screwy..you SHOULD be able to map the mouse using the in-game GUI.

So..have you tried deleting that contents of ..\My Documents\Battlefield 2?

That will delete your cache, and any graphics, sound, and control configurations to make sure there is nothing corrupted there.

You'll have to retrieve your account on the login screen the next time you start up BF2.

imported_Sin317
01-24-2006, 01:45 PM
i figured it out nm :p

Talus
01-24-2006, 01:51 PM
Do tell!

imported_Sin317
01-24-2006, 05:34 PM
well actually it isnt solved ...

when i had the weird controls i showed in the pic above , i was able to delete all controls (in game) and assign mouse axis (i deleted the mouse part in controls.con first). so i had x and y axis assigned as i wanted them to , after i readded the mouse axis to general controls (otherwise you had no mouselook in game lol) and played, HOWÈVER the mouse didnt respond in copter or plane lol , even tho the controls are in .. controls ...

im really upset lol.

Talus
01-24-2006, 05:36 PM
Did you try what I suggested?

imported_Sin317
01-24-2006, 06:46 PM
i did, didnt do anything. Beside i used mouse axis for right/left since i have bf2 , so i know it should work. Anyway i left it now to axis = roll and arrows = move , it aint that big a deal i guess.