How to use joystick in a tank

General discussion of the Project Reality: BF2 modification.
Post Reply
weixman
Posts: 88
Joined: 2009-07-20 10:22

How to use joystick in a tank

Post by weixman »

How can I set up/use a joystick for gunning in a tank/apc/ifv etc. etc. In game control options gives only options to set up joystick buttons. But turret traverse is still by mouse.
How to make it by joystick ?
-Prowler-
Posts: 169
Joined: 2010-03-10 15:06

Re: How to use joystick in a tank

Post by -Prowler- »

Select the setting and move the joystick...works for me.
Image
"Teamwork is essential; it gives the enemy other people to shoot at."
weixman
Posts: 88
Joined: 2009-07-20 10:22

Re: How to use joystick in a tank

Post by weixman »

-Prowler- wrote:Select the setting and move the joystick...works for me.
I did try that. By that i control tank`s movment (like WASD buttons on keyboard) But turret traverse is still by mouse.
User avatar
bad_nade
Support Technician
Posts: 1500
Joined: 2008-04-06 18:26
Location: Finland

Re: How to use joystick in a tank

Post by bad_nade »

You have to edit your controls.con manually and add these lines into ControlMap.create defaultPlayerInputControlMap section:

Code: Select all

ControlMap.addAxisToAxisMapping c_PIMouseLookX IDFGameController_1 IDAxis_0 0 1
ControlMap.addAxisToAxisMapping c_PIMouseLookY IDFGameController_1 IDAxis_1 1 1
Depending on your controller count and axis order & polarity, you might have to adjust the numbers in IDFGameController_X and IDAxis_X X to match your controller's configuration.
Last edited by bad_nade on 2010-05-06 17:00, edited 1 time in total.
weixman
Posts: 88
Joined: 2009-07-20 10:22

Re: How to use joystick in a tank

Post by weixman »

clueless_noob wrote:You have to edit your controls.con manually and add these lines into ControlMap.create defaultPlayerInputControlMap section:

Code: Select all

ControlMap.addAxisToAxisMapping c_PIMouseLookX IDFGameController_1 IDAxis_0 0 1
ControlMap.addAxisToAxisMapping c_PIMouseLookY IDFGameController_1 IDAxis_1 1 1
Depending on your controller count and axis order & polarity, you might have to adjust the numbers in IDFGameController_X and IDAxis_X X to match your controller's configuration.
Expected something like that. I will try it.

Thanks.
Jarryd_455495
Posts: 175
Joined: 2009-02-19 06:20

Re: How to use joystick in a tank

Post by Jarryd_455495 »

is this the same for heli's gunner control? or will that stuff up the ability to fly?
User avatar
bad_nade
Support Technician
Posts: 1500
Joined: 2008-04-06 18:26
Location: Finland

Re: How to use joystick in a tank

Post by bad_nade »

Jarryd_455495 wrote:is this the same for heli's gunner control? or will that stuff up the ability to fly?
It maps right/left and up/down axis of a joystick to the respective mouse axis as a secondary controls, thus making joystick move cursor/crosshairs same way as mouse does (it works with infantry too). So it should not effect your ability to fly with keyboard and mouse, but as aircrafts have dedicated support for joysticks, flying with a stick might become impossible after adding those lines.
Last edited by bad_nade on 2010-05-07 09:43, edited 1 time in total.
Jarryd_455495
Posts: 175
Joined: 2009-02-19 06:20

Re: How to use joystick in a tank

Post by Jarryd_455495 »

ok so you can only have one or the other, gotcha
Alex123
Posts: 39
Joined: 2008-01-17 10:53

Re: How to use joystick in a tank

Post by Alex123 »

Go to google and find the program Joy2Key. It allows translating joystick movement to mouse movements. I use it and have set it up for different sensitivities with buttons. Takes some time to set-up but then you can move the turret quickly, normal or in very fine movements for accuracy. I use peddals for acceleration and joystick twist/rudder for steering left right.
Dr.Roy.Mustang
Posts: 76
Joined: 2009-04-30 01:49

Re: How to use joystick in a tank

Post by Dr.Roy.Mustang »

That is never heard of... I know we can use them for pilots...
[Special Response Team]
Teamwork is one - Experience is second - Tactic is third
R.Mustang reporting in - Do you copy? ましょうか?
Enlisted since: PR 0.85

Image
Post Reply

Return to “PR:BF2 General Discussion”