Some of you may have seen me on the Wolf server (as =JFF=VyvyanBasterd), but I never found a reason to post, until now.
In another thread I saw someone asking for the ability to use the keyboard arrow keys for tank turret movement. Since I too get pretty frustrated when having to pull the mouse over my desk over and over again trying to turn the Tiger turret, I did some experimenting and finally found the answer and wanted to share it with all of you.
In your profile folder (in \Battlefield 1942\Mods\bf1942\Settings\Profiles\[your profile]\Controls) open the land.con file in an editor. Look for the following lines:
ControlMap.addAxisToAxisMapping c_PIMouseLookX IDFMouse IDAxis_0 0 ControlMap.addAxisToAxisMapping c_PIMouseLookY IDFMouse IDAxis_1 0
If you want to be able to use for instance the arrowkeys for all directions of the turret, change it to the following (add the two lines):
ControlMap.addAxisToAxisMapping c_PIMouseLookX IDFMouse IDAxis_0 0 ControlMap.addKeysToAxisMapping c_PIMouseLookX IDFKeyboard IDKey_ArrowRight IDKey_ArrowLeft 1 ControlMap.addAxisToAxisMapping c_PIMouseLookY IDFMouse IDAxis_1 0 ControlMap.addKeysToAxisMapping c_PIMouseLookY IDFKeyboard IDKey_ArrowUp IDKey_ArrowDown 1
You can now use both your keyboard arrow keys and your mouse to move the turret in any direction. As a bonus you now get a very smooth and realistic looking movement of the tank turret! You won't get any speed advantages, in fact I think it moves just slightly slower. But due to the smoothness of the movement it probably turns just as "fast" as the jurky mouse controls. I don't think the Y-axis keyboard moving part adds anything useful (mouse will do just fine), but I added it here anyway.
You can ofcourse map it to other keys, you just have to find out what the IDs are (just look in the .con files after changing something else ingame). Personally I will change the mapping for X-controlling the turret to numpad delete and numpad enter, since I got everything mapped there and will never taken my hand off those keys... :daddy:
A few thinks to consider. First, don't use the ingame control's save button, because then these changes will be lost. Second, make sure the keys you're going to use aren't already used in land.con or common.con, because it will result in a conflict, and you're changes will be lost.
Hey, nice one
Sticky this, very usefull...
I think id feel wierd taking my hand off the wasd. In a tank i need to be moving almost all the time....
Very nice :cool:
Hmm.... Cool stuff. Can we get these keys to work for AA guns as well? And while we're saying this, has anyone had any trouble re-binding the C Key for the Camera in-game? Mine does not want to re-bind, and always remains C. I do not want a camera button, as the F9-11 do just fine for the views I want. I sometimes accidentally hit C when going prone or crouching (which I bound to X), which totally screws my aim.
I agree. You have to be ready to scoot at a moments notice. What would be nice is if you could set up a mouse button that would override the A-D keys while it is being pressed. Say, press mouse button 4 and the A-D keys would now rotate the turret. Release the button and they would revert to left and right turn of the vehicle.
wait wait wait........we can make it even cooler if we can control the turrent with the joystick...the whole trigger thing would be kewl
That, or just use my side mouse buttons 4 and 5 to rotate the turret left and right, that would be really nice. Does BF even recognize 4th and 5th mouse buttons? I'd have to go check I guess.
BTW, thanks VyvyanBasterd, very useful.
AequitasThat, or just use my side mouse buttons 4 and 5 to rotate the turret left and right, that would be really nice. Does BF even recognize 4th and 5th mouse buttons? I'd have to go check I guess. BTW, thanks VyvyanBasterd, very useful.
You're welcome! I was thinking of doing the same thing, and since I can't seem to get the numpad decimal and enter keys to work :( , I decided to use those mouse buttons. To map the two side-buttons of my Logitech MX510 I used: ControlMap.addButtonsToAxisMapping c_PIMouseLookX IDFMouse IDButton_4 IDButton_3 1 But I just found out after starting the game a 2nd time the settings seem to be gone... :( Strange.