
|
|||||||
| QUAKE Wars Tips, Tricks & Strategies Share your favorite Enemy Territory: QUAKE Wars tips and strategies with your fellow soldiers. |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Global Volunteer Force
![]() Join Date: Apr 2007
Location: Austria
|
i have started making a configuration for flying vehicles using the xbox360 controller on the pc. if someone wants to try out, here it is:
Code:
/* ====================== */ /* xbox360 controller */ /* ====================== */ // ---------------- // d-pad: // ---------------- // up: enter vehicle/switch seats bind "joy1_DPAD_UP" "_activate" "" "vehicle" bind "joy1_DPAD_UP" "_usevehicle" "" "default" // down: leave vehicle/parachute bind "joy1_DPAD_DOWN" "_usevehicle" "" "vehicle" bind "joy1_DPAD_DOWN" "_activate" "" "default" // left: select rockets bind "joy1_DPAD_LEFT" "_weapon1" "" "vehicle" // right: select LAW etc bind "joy1_DPAD_RIGHT" "_weapon2" "" "vehicle" // ---------------- // buttons: // ---------------- // right analog trigger: thrust forward bind "joy1_RIGHT_TRIGGER" "_sprint" "" "vehicle" // top right button: thrust backwards bind "joy1_6" "_speed" "" "vehicle" // left analog trigger: fire weapon bind "joy1_LEFT_TRIGGER" "_attack" "" "vehicle" // top left button: switch weapon bind "joy1_5" "_weapnext" "" "vehicle" // A button: fire decoy bind "joy1_1" "_weapon0" "" "vehicle" // B button: select rockets bind "joy1_2" "_weapon2" "" "vehicle" // X: vehicle camera bind "joy1_3" "_vehiclecamera" "" "vehicle" // Y button: select missile bind "joy1_4" "_weapon1" "" "vehicle" feel free to extend it and share what you've created ![]() Last edited by Joe999 : 06-23-2007 at 09:39 AM. |
|
|
|
|
|
#2 |
|
Sergeant
![]() Join Date: Jun 2007
|
Does this work with a stick Joystick too? Or is it possible to modify it to work with one?
|
|
|
|
|
|
#3 |
|
Global Volunteer Force
![]() Join Date: Apr 2007
Location: Austria
|
don't know how mine works with a single stick, but it's definitely possible to modify the binding script that it works with yours
you can also use the controls settings menu to configure your stick |
|
|
|
|
|
#4 |
|
Sergeant
![]() Join Date: Jun 2007
|
Problem is...I can't, there isn't any option for the Joystick there and attempting to bind keys to it doesn't work either, but the Joystick works perfect in other games. Is there any secret setting to enable the Joystick?
|
|
|
|
|
|
#5 |
|
Master Sergeant
![]() Join Date: May 2007
|
You can indeed configure other controllers & joysticks for the game, however as it is not yet exposed to the menu it is quite tricky. For those of you who already have a good understanding of using the console to set variables and bind controls though it shouldn't be too hard.
We support very flexible & powerful analog controller input, supporting up to four joysticks that can all be mapped to different controls/axes. For example, I once took a wheel & pedal setup and put just the pedals underneath my desk, and a joystick on either side of my keyboard - I set it up so the pedals give me Anansi yaw control, and the sticks controlling the other axes. All sorts of funky things like that are possible ![]() Without further ado, here is a guide I wrote some time ago on the topic: Code:
CONTROLLER INPUT GUIDE
Each controller device has a unique ID value identifying it.
Use the "listControllers" command to display a list of currently
connected controllers and their unique IDs. There are 4 joystick
slots available for binding, and you set the controller associated
with each using the cvars in_joy1_device through in_joy4_device.
BUTTON BINDING
The buttons of a controller are bound as follows:
bind joy<number>_<button> [command]
where <number> is the slot number for the controller, and <button>
is between 1 & 32, or one of the following:
DPAD_UP
DPAD_DOWN
DPAD_LEFT
DPAD_RIGHT
LEFT_TRIGGER
RIGHT_TRIGGER
eg: You want to bind the right trigger of the first joystick
bind JOY1_RIGHT_TRIGGER _attack
AXIS ASSIGNMENT AND ADJUSTMENT
There are several different input modes, at the moment these are
player, car, heli, and hovertank. Each input mode has a number of
axes defined - each is fully configurable. The parameters to tune
are:
joy - Joystick number (1-4) used to control this axis
axis - The axis of the controller that provides the input (0-7)
Note that the axis numbers vary between different
devices.
invert - Reverses the axis
deadZone - The threshold of controller input. Eg, if dead zone is
0.2, you have to move your controller past the 20% point
before it starts to affect the game
offset - The value of the controller when it first passes the
dead zone. Eg 0.2 deadzone with 0.1 offset: When the
controller is at 20% the input value will be 0.1 (10%),
and will increase from there
power - The input value is raised to the power of this number,
to allow acceleration. By default, the player input uses
a power of 4 for aiming, providing the ability to finely
aim using small inputs, but turn fast by moving the
stick to its limits. One gives a linear response.
speed - The scale factor used once the other calculations are
complete. The maximum value the other calculations will
reach is 1.0, so the speed is equal to the maximum value
that is fed into the game.
The CVars used to control these settings are of the form:
in_<mode>_<axis>_<parameter>
eg: in_player_yaw_axis
A quick tutorial of me setting up a controller:
Then test it out. You will almost definitely need to use trial-and-error to figure out which axis number you should be using to map to the stick twist. All you need to do is set in_heli_yaw_axis to different numbers until you discover the right one. Odds are this may be reversed - you can flip this by using in_heli_yaw_invert. Once you've got that right you can then tweak the other values for the axis. The main ones of interest will be deadZone and speed, most likely - speed is basically sensitivity, and deadZone is how much you have to move the stick before the game will start responding. By increasing power you can make it so that the further you move the stick from the center the faster it will respond. Binding is much simpler, eg: bind "JOY1_1" "_attack" This will set up button number one on your joystick to shoot. Most joysticks these days have the main trigger as button one, and the secondary trigger (often a thumb trigger) as button two - but these can vary wildly from manufacturer to manufacturer. I generally set mine up in windowed mode, configuring it & tweaking it in a .cfg file so that my settings are all saved and easy to read & retrieve. Note that the console has tab completion, so you can type things like in_heli_<TAB> and it'll list the cvars you can tweak. I hope this helps! ![]() |
|
|
|
|
|
#6 |
|
Lance Corporal
![]() |
Thats awesome thanx heaps, just going through the motions now of setting it up, will let you know how i go.
|
|
|
|
|
|
#7 |
|
Gunnery Sergeant
![]() Join Date: Jun 2007
|
the in_heli commands don't seem to work with the hovercraft.
|
|
|
|
|
|
#8 |
|
Sergeant
![]() Join Date: Jun 2007
|
A lot of good information in the guide, but I'm afraid it still isn't working. The strange thing is that my joystick is able to move the mouse cursor in the menus and such.
Edit: To provide some more information to the developers in case the problem isn't that common: Saitek X45 Joystick (and throttle) Windows Vista 32 bit And it's using the drivers provided by Vista, Joystick works perfectly in Flight Simulator X and the calibration tool in Windows but only the buttons work in ET:QW. Last edited by Rawrness : 06-24-2007 at 05:20 PM. |
|
|
|
|
|
#9 |
|
Gunnery Sergeant
![]() Join Date: Jun 2007
|
|
|
|
|
|
|
#10 |
|
3rd Lieutenant
![]() Join Date: May 2007
|
no success here either.
in menu it works, slow though. but in the world, no matter what axis I set, it does not change anything. |
|
|
|
|
|
#11 |
|
First Sergeant
![]() Join Date: May 2007
|
I have the logitech extreme 3d pro. I would like to fly the tormentor with it, although i do not think i have the patience to write all those commands in console. If any1 has already dont it id much appreciate it if they posted the binds they used here and i could just copy them over. At this stage in the game i find it pretty stupid that there is no joystick configuration
|
|
|
|
|
|
#12 |
|
Gunnery Sergeant
![]() Join Date: May 2007
|
DITTO, buttons work, Axes don't
what gives? using original xbox controller w/ xbcd 1.07 |
|
|
|
|
|
#13 |
|
Gunnery Sergeant
![]() Join Date: May 2007
|
how about a bump!
|
|
|
|
|
|
#14 |
|
Colonel
![]() |
I also have a logitech extreme 3d pro and would like to be able to fly the tormentor with it, FeaRog enlighten us
![]() edit: hmm i have the joystick moving the flyer left and right and up and down. Now i just have to figure out how to assign the throttle Ok now another problem, why does setting up the heli give the joystick control of the player movements too? i hope this is a bug. I thought vehicle control setup would not affect player control too... Last edited by dommafia : 06-26-2007 at 07:13 AM. |
|
|
|
|
|
#15 |
|
Private
![]() Join Date: Jun 2007
|
I have had some success, but i am having similar problems too. I managed to get the twist action of my stick set to the yaw (or rudder) as i want and i have set my throttle to gain and lower my altitude as I want. but i cannot at all seem to get my pitch and roll axis set. THIS IS EXTREMELY FRUSTRATING!!
I am using a microsoft force feedback 2 which the console picked up straight away. I have made a stop gap solution for the time being using joytokey and using it to mimic the mouse for pitch and roll, but it wont let me adjust the speed of which they work. (if i pull back it will pull back at one speed, pulling back slightly will go at the same speed as if i had pulled back hard) |
|
|
|
|
|
#17 |
|
Private
![]() Join Date: May 2007
|
Here's a very basic config that I've just set up. The in_player, car and tank lines are to stop the joystick from working when I'm not in the flyer. Remember to use listControllers to find your joystick ID and use that instead of what I've used in "in_joy1_device". The axes may be messed up for you, but trial and error can fix that easily enough. Next task for me is to get the deadzones and power nice.
Code:
in_joy1_device "449029" in_player_side_joy "0" in_player_forward_joy "0" in_player_yaw_joy "0" in_player_pitch_joy "0" in_car_side_joy "0" in_car_forward_joy "0" in_car_yaw_joy "0" in_car_pitch_joy "0" in_hovertank_side_joy "0" in_hovertank_forward_joy "0" in_hovertank_yaw_joy "0" in_hovertank_pitch_joy "0" in_heli_side_joy "1" in_heli_forward_joy "1" in_heli_yaw_joy "1" in_heli_pitch_joy "1" in_heli_throttle_axis "3" in_heli_forward_axis "0" in_heli_side_axis "2" in_heli_yaw_axis "1" |
|
|
|
|
|
#18 |
|
Gunnery Sergeant
![]() Join Date: May 2007
|
I think only those who have the logitech or MS joysticks seem to have it working. The rest of us have no axes.
I tried mapping all axes 0-7 to my player movement, to no avail. Axes do not work for my controller. xbox controller s, xbcd 1.07 # 300866 |
|
|
|
|
|
#19 |
|
Corporal
![]() Join Date: Jun 2007
|
Use Joy2Key as well, really good tool.
|
|
|
|
|
|
#20 |
|
3rd Lieutenant
![]() Join Date: May 2007
Location: Cleveland, OH
|
For some reason my Logitech Dual Action (kind of like the PS2 controller) axis's are reversed (not inverted). Pushing left makes me go forward, right makes me go back, forward makes me turn left and backward makes me turn right.
Seems we need a in_heli_switch_axis command or something.
__________________
My very old Tribes mod |
|
|
|
|
|
#21 |
|
3rd Lieutenant
![]() Join Date: May 2007
|
having a logitech wingman extreme digital here, using microsofts "logitech wingman extreme" drivers.
the joystick works, as I can see the movement in the menu, but ingame does not work. any ideas besides an emulator ? |
|
|
|
|
|
#22 |
|
Private
![]() Join Date: Jun 2007
|
i still cannot map my stick axis except for throttle and twist only, they are axis 0 and 1 will be picked up by QW but any other axis are not picked up. switched every cvar to every access to test. every command i assign to 0 and 1 axis work fine. wondering if QW is having trouble picking up joystick configs properly. there is nothing wrong with my stick, works fine with other games for years
|
|
|
|
|
|
#23 |
|
Gunnery Sergeant
![]() Join Date: May 2007
|
maybe they didn't implement the joystick code fully into the public beta
|
|
|
|
|
|
#24 |
|
Master Sergeant
![]() Join Date: May 2007
|
Keep in mind that this is an unsupported system at the moment, as we are focusing on getting everything else right first. As such it is possible that there are currently bugs for some joysticks etc.
If you're having trouble getting it working then sit tight for now. |
|
|
|
|
|
#25 | |
|
Gunnery Sergeant
![]() Join Date: May 2007
|
Quote:
![]() |
|
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT. The time now is 06:44 AM.


























