Anyone interested in knowing how to do this. I have it setup using my Logitech extreme 3d pro, but should work on any joystick with a hat switch and software where you can assign keyboard keys to your jstick buttons.
----
Ok I will type it up and post later today.
----
As for inverting mouse look I think it can be done but haven't tried myself....
You will need to modify the control.con file, which is located in your "My Documents" directory. Go to My Documents\Battlefield 2 \Profiles
Open up Global.con
Note which profile it's using (I Default, 0001 and 0002 and mine was set to 0002)
Open up the Controls.con from that profile
If you look at the top line for each subsection, it says Infantry, Land, Air, Helicopter, Sea, and Default.
I added the following 2 lines to my control.con file in both ControlMap.create HelicopterPlayerInputControlMap
and ControlMap.create AirPlayerInputControlMap sections
(NOTE The following should be type all on one line)
ControlMap.addKeysToAxisMapping c_PIMouseLookX IDFKeyboard IDKey_Y IDKey_U 0
(NOTE The following should also be type all on one line) ControlMap.addKeysToAxisMapping c_PIMouseLookY IDFKeyboard IDKey_O IDKey_I 0
Also for me this line was already there (again in both sections). Just check to make sure it exists:
ControlMap.addKeyToTriggerMapping c_PIMouseLook IDFKeyboard IDKey_LeftShift 0 0
Now for a few details...
-The line that contains IDKey_Y IDKey_U 0 at the end means that you are mapping
keys Y and U to the X axis of the mouse. (left-right I think)
-The line that contains IDKey_O IDKey_I 0 means that you are mapping
keys O(thats the letter O) and I to the X axis of the mouse. (up-down I think)
-The line that contains IDFKeyboard IDKey_LeftShift 0 0, means that you are gonna use
the left shift key to toggle mouse look.
You can map whatever keys you want to these as long as they aren't used in other mappings under
planes or helo's
Next you need to map these keys to your joystick hat (keys Y,U,O and I) and another button (left shift) using the software that came with the joystick.
I have the WingMan Extreme Digital 3d joystick and use Logitech's WingMan profiler to do this. However most joysticks
come with software that allows you to map keys to you jstick button.
So in my example, I would map keys Y and U to the left/right axis on the jstick hat, keys O and I to the up/down axis on the jstick hat and the left shift to a button on the joystick base.(I guess you can reverse this to invert the controls if you'd like)
Then when I'm flying, all I need to do is press the button on the base (mapped to left shift) and move my joystick hat
at the same time, and voila, mouselook on the joystick.
Hope the instructions make sense.
----
Ok I will type it up and post later today.
----
As for inverting mouse look I think it can be done but haven't tried myself....
You will need to modify the control.con file, which is located in your "My Documents" directory. Go to My Documents\Battlefield 2 \Profiles
Open up Global.con
Note which profile it's using (I Default, 0001 and 0002 and mine was set to 0002)
Open up the Controls.con from that profile
If you look at the top line for each subsection, it says Infantry, Land, Air, Helicopter, Sea, and Default.
I added the following 2 lines to my control.con file in both ControlMap.create HelicopterPlayerInputControlMap
and ControlMap.create AirPlayerInputControlMap sections
(NOTE The following should be type all on one line)
ControlMap.addKeysToAxisMapping c_PIMouseLookX IDFKeyboard IDKey_Y IDKey_U 0
(NOTE The following should also be type all on one line) ControlMap.addKeysToAxisMapping c_PIMouseLookY IDFKeyboard IDKey_O IDKey_I 0
Also for me this line was already there (again in both sections). Just check to make sure it exists:
ControlMap.addKeyToTriggerMapping c_PIMouseLook IDFKeyboard IDKey_LeftShift 0 0
Now for a few details...
-The line that contains IDKey_Y IDKey_U 0 at the end means that you are mapping
keys Y and U to the X axis of the mouse. (left-right I think)
-The line that contains IDKey_O IDKey_I 0 means that you are mapping
keys O(thats the letter O) and I to the X axis of the mouse. (up-down I think)
-The line that contains IDFKeyboard IDKey_LeftShift 0 0, means that you are gonna use
the left shift key to toggle mouse look.
You can map whatever keys you want to these as long as they aren't used in other mappings under
planes or helo's
Next you need to map these keys to your joystick hat (keys Y,U,O and I) and another button (left shift) using the software that came with the joystick.
I have the WingMan Extreme Digital 3d joystick and use Logitech's WingMan profiler to do this. However most joysticks
come with software that allows you to map keys to you jstick button.
So in my example, I would map keys Y and U to the left/right axis on the jstick hat, keys O and I to the up/down axis on the jstick hat and the left shift to a button on the joystick base.(I guess you can reverse this to invert the controls if you'd like)
Then when I'm flying, all I need to do is press the button on the base (mapped to left shift) and move my joystick hat
at the same time, and voila, mouselook on the joystick.
Hope the instructions make sense.


Comment