Hi,
I have this question;
how can I assign arrows keys to control the turret on land vehicles (and perhaps the cannon/FLIR on helicopters/jets).
I know you should do it by editing the control.con, but I have no idea which line represent the movement of the mouse.
Neither I know what ID the arrow keys have to assign to.
I think it's this one
"ControlMap.addKeysToAxisMapping c_PIYaw IDFKeyboard IDKey_D IDKey_A 0"
I hope this is in the right sub-forum.
Thanks
Assigning controls
-
Careless
- Posts: 390
- Joined: 2013-07-02 19:01
Assigning controls
Building a new computer? Check this out:
http://www.logicalincrements.com/
http://www.videocardbenchmark.net/
http://www.logicalincrements.com/
http://www.videocardbenchmark.net/
-
Careless
- Posts: 390
- Joined: 2013-07-02 19:01
Re: Assigning controls
Bumping this thread 
Building a new computer? Check this out:
http://www.logicalincrements.com/
http://www.videocardbenchmark.net/
http://www.logicalincrements.com/
http://www.videocardbenchmark.net/
- Mats391
- PR:BF2 Lead Developer
- Posts: 7643
- Joined: 2010-08-06 18:06
Re: Assigning controls
Look for
and/or
The first should be for controlling mouse in menus (e.g. spawn menu) and the second for actual ingame.
try adding those:
That should make the arrow keys alternative input for controlling your view. This however will be for all vehicles, not sure if you can make it just landvehicle specific
Code: Select all
ControlMap.addAxisToAxisMapping c_GIMouseLookX IDFMouse IDAxis_0 0 0
ControlMap.addAxisToAxisMapping c_GIMouseLookY IDFMouse IDAxis_1 0 0Code: Select all
ControlMap.addAxisToAxisMapping c_PIMouseLookX IDFMouse IDAxis_0 0 0
ControlMap.addAxisToAxisMapping c_PIMouseLookY IDFMouse IDAxis_1 0 0try adding those:
Code: Select all
ControlMap.addKeysToAxisMapping c_PIMouseLookX IDFKeyboard IDKey_ArrowRight IDKey_ArrowLeft 1
ControlMap.addKeysToAxisMapping c_PIMouseLookY IDFKeyboard IDKey_ArrowUp IDKey_ArrowDown 1
-
Careless
- Posts: 390
- Joined: 2013-07-02 19:01
Re: Assigning controls
Thanks for your support'[R-CON wrote:Mats391;2042935']Look forand/orCode: Select all
ControlMap.addAxisToAxisMapping c_GIMouseLookX IDFMouse IDAxis_0 0 0 ControlMap.addAxisToAxisMapping c_GIMouseLookY IDFMouse IDAxis_1 0 0
The first should be for controlling mouse in menus (e.g. spawn menu) and the second for actual ingame.Code: Select all
ControlMap.addAxisToAxisMapping c_PIMouseLookX IDFMouse IDAxis_0 0 0 ControlMap.addAxisToAxisMapping c_PIMouseLookY IDFMouse IDAxis_1 0 0
try adding those:That should make the arrow keys alternative input for controlling your view. This however will be for all vehicles, not sure if you can make it just landvehicle specificCode: Select all
ControlMap.addKeysToAxisMapping c_PIMouseLookX IDFKeyboard IDKey_ArrowRight IDKey_ArrowLeft 1 ControlMap.addKeysToAxisMapping c_PIMouseLookY IDFKeyboard IDKey_ArrowUp IDKey_ArrowDown 1
I'll try this out tomorrow!
Building a new computer? Check this out:
http://www.logicalincrements.com/
http://www.videocardbenchmark.net/
http://www.logicalincrements.com/
http://www.videocardbenchmark.net/
