Assigning seperate axis to throttle

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
ZondaX15
Posts: 147
Joined: 2009-06-07 02:37

Assigning seperate axis to throttle

Post by ZondaX15 »

Hey, shall skip straight to the chase.

I have a steering wheel system that I use in project reality to drive vehicles, however, I also play racing games. Prior to this I set the pedals to be a combined axis, which has been annoying with my racing games. Seeing as BF2 auto assigns the opposite command (I press the gas pedal for throttle it automatically sets the decellerate control) I had no choice.

How can I get BF2/PR to accelerate and decelerate with the gas and brake pedals set to seperate axis'?
I've been playing around with the controls.con file having no idea what I'm actually doing..


Image
Ford_Jam
Posts: 458
Joined: 2009-06-19 01:06

Re: Assigning seperate axis to throttle

Post by Ford_Jam »

Does the Wheel/Pedal thing have any drivers you can download?

Alternatively, put your Accelerate and Decelerate on a joystick throttle control (or W and S) and make your pedals Turn Left and Turn Right! Like a real helicopter :D
SnipingCoward
Posts: 2326
Joined: 2007-12-31 22:40

Re: Assigning seperate axis to throttle

Post by SnipingCoward »

I do not believe that you can assign two seperate axis to accelerate and decelerate in BF2.

Your best bet is probably the previous "combined axis" mode.

You probably have noticed that when you set the "Accelerate" to something like "Gamepad +X" it automatically assigns "Decelerate" to the oposite "Gamepad -X". I believe this is because its simply both "Throttle".
To switch pedals you would assign only one of the two pedals to either Accelerate or Decelerate, the other will be set automatically. So assign either pedal to Accelerate, then test it in the game, if it did not work, assign the other pedal to Accelerate. Do should not need to assign anything to decelerate at all.



In Controls.con you are looking for this bold line:
ControlMap.create LandPlayerInputControlMap
...
ControlMap.addKeysToAxisMapping c_PIThrottle IDFKeyboard IDKey_W IDKey_S 0
ControlMap.addAxisToAxisMapping c_PIThrottle IDFGameController_0 IDAxis_3 1 1
Note that your "IDFGameController" might not have the "_0".

To to swap which pedal is what you could try to add "-1" like this (should be the same as above procedure with the controls settings menu):
ControlMap.addAxisToAxisMapping c_PIThrottle -1 IDFGameController_0 IDAxis_3 1 1

(not really sure if that is 100% correct).
Got a PROBLEM? Check this: PR:BF2 Installation Guide

Got a common QUESTION? check here first: PR:BF2 FAQ, MUMBLE FAQ

"Hello, IT! ... Yes, have you tried turning it on and off again?"
Post Reply

Return to “PR:BF2 Support”