Configuring VS for use with 360 Controller

Just downloaded Vega Strike and need help? Have a question but don't know where to start? Ask here.
Post Reply
MechWarrior001
Atmospheric Pilot
Atmospheric Pilot
Posts: 1
Joined: Sun May 16, 2010 1:14 am
Location: Chico, CA
Contact:

Configuring VS for use with 360 Controller

Post by MechWarrior001 »

Hey, new here. I'm trying to configure Vega Strike to use my 360 Controller (XBCD+ driver) and I'm not sure what to do. I've tried using the setup utility but I don't see a menu for advanced configuration for controls on there, and I don't know how to edit the *.config file directly. Is there a app I can use to set keyboard & joystick controls without editing vegastrike.config directly?
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: Configuring VS for use with 360 Controller

Post by klauss »

I'm afraid not. AFAIK, there are detailed instructions for many joystick models in the wiki, not sure if yours is listed, but it's probably easy to go on from there.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Skywoulf
Star Pilot
Star Pilot
Posts: 6
Joined: Mon Oct 25, 2010 9:54 pm

Re: Configuring VS for use with 360 Controller

Post by Skywoulf »

you will need to manually edit your "vegastrike.config" file with a program like notepad++ to be able to use this.

Mad Catz xbox 360 gamepad config
====================================
A - Autopilot, and Spec drive
B - Jump Drive
X - Afterburner
Y - Nearest Hostile Target

Left Thumbstick - Fly up/left/right/down
Right Thumbstick - null/Roll left/Roll Right/null

Right Bumper - Gun Loaduot Select
Right Trigger - "Fire!" Guns

Left Bumper - Missile Loadout Select
Left Trigger - "Missile Aweigh!" (fire missile)

Back Button - Cycle nav targets
Start Button - Pause

Click Left Thumbstick - cycle Left VDU
Click Right thumbstick - cycle Right VDU

D-pad - unused
========================================

I could not figure out axis "5", so I commented out the bindings.
Axis "3" is the up/down on the right thumbstick, I didn't have a use for it, but you might.
Just un-comment the bind lines and put your own key bindings in there.

If anyone figures out the D-pad, i have a few ideas i would like to use there.

I am not a programmer, or a coder. the last language i learned was the first run of
COBOL for the PC back in the '80s. the following code is the result of 2 days trial and error.
comments, kudo's, hate mail, and death threats can be mailed to: lockmiller1962@hotmail.com
=========================================
Mad Catz xbox 360 gamepad (using a USB adaptor commonly available)

Add the joystick-name to the dropdown menu

add joy_mad to the line
#cat Joystick no_joy joy_normal joy_throttle joy_axis joy_throttle_and_axis joy_t_a_rev

like this
#cat Joystick no_joy joy_normal joy_throttle joy_axis joy_throttle_and_axis joy_t_a_rev joy_mad

Add the description text
#desc joy_joy_mad MadCatz GamePad

Make the joystick the current one
edit the #set Joystick xxxx line to
#set Joystick joy_mad

place the binding code before the </bindings> line in the vegastrike.config file.

Binding code:

<!-- #joy_mad -->
<axis name="x" joystick="0" axis="0" inverse="false" />
<axis name="y" joystick="0" axis="1" inverse="true" />
<!-- <axis name="z" joystick="0" axis="3" inverse="false" /> -->

<axis name="hatswitch" nr="0" margin="0.26" joystick="0" axis="4">
<hatswitch value="-0.75"/>
<hatswitch value="0.75"/>
</axis>

<axis name="hatswitch" nr="1" margin="0.26" joystick="0" axis="5">
<hatswitch value="-0.75"/>
<hatswitch value="0.75"/>
</axis>

<axis name="hatswitch" nr="2" margin="0.26" joystick="0" axis="2">
<hatswitch value="-0.75"/>
<hatswitch value="0.75"/>
</axis>

<axis name="hatswitch" nr="3" margin="0.26" joystick="0" axis="3">
<hatswitch value="-0.75"/>
<hatswitch value="0.75"/>
</axis>


<bind hatswitch="0" button="0" command="RollRightKey" />
<bind hatswitch="0" button="1" command="RollLeftKey" />
<!-- <bind hatswitch="1" button="1" command="TurretAIFireAtWill" /> -->
<!-- <bind hatswitch="1" button="0" command="SigTargetKey" /> -->
<bind hatswitch="2" button="0" command="FireKey" />
<bind hatswitch="2" button="1" command="MissileKey" />
<!-- <bind hatswitch="3" button="0" command="AccelKey" /> -->
<!-- <bind hatswitch="3" button="1" command="DecelKey" /> -->



<bind joystick="0" button="0" modifier="none" command="ASAP" />
<bind joystick="0" button="1" modifier="none" command="JumpKey" />
<bind joystick="0" button="2" modifier="none" command="ABKey" />
<bind joystick="0" button="3" modifier="none" command="NearestHostileTargetKey" />
<bind joystick="0" button="4" modifier="none" command="MisSelKey" />
<bind joystick="0" button="5" modifier="none" command="WeapSelKey" />
<bind joystick="0" button="6" modifier="none" command="MissionTargetKey" />
<bind joystick="0" button="7" modifier="none" command="PauseKey" />
<bind joystick="0" button="8" modifier="none" command="Cockpit::SwitchLVDU" />
<bind joystick="0" button="9" modifier="none" command="Cockpit::SwitchRVDU" />

<!-- #end -->
===========================================
follow the spacing format that you will find for other joysticks already in the file.



Please see this is posted to Wiki for all to use!
klauss
Elite
Elite
Posts: 7243
Joined: Mon Apr 18, 2005 2:40 pm
Location: LS87, Buenos Aires, República Argentina

Re: Configuring VS for use with 360 Controller

Post by klauss »

Skywoulf wrote: If anyone figures out the D-pad, i have a few ideas i would like to use there.
I had an usb PS-2 controller (had, past, my dog ate it a few weeks ago - yap), and the D-pad there was controlling a set of axis, just like the thumbstick.
Oíd mortales, el grito sagrado...
Call me "Menes, lord of Cats"
Wing Commander Universe
Post Reply