Author Topic: VTOL/Aero keybind changes not sticking  (Read 136 times)

0 Members and 1 Guest are viewing this topic.

Offline RalenSharr

  • Bondsman
  • *
  • Posts: 12
  • Karma: 0
VTOL/Aero keybind changes not sticking
« on: January 16, 2010, 08:30:08 AM »
I've been looking at some of the keybind change threads and I've tried following what they suggest. However, it just won't seem to stick.
(modified the xml file several times, but the old binds end up coming back and no changes stay)

I'm trying to trade the "a" and "d" keybinds with the mouse left and right movement. The mouse rolling my craft doesn't feel natural and I can't track targets for crap with a&d.

I would also like to reverse the mouse pitching for aircraft as well if at all possible.

Thanks in advance for the help

Offline Dalmp

  • Recruit
  • *
  • Posts: 72
  • Karma: 0
Re: VTOL/Aero keybind changes not sticking
« Reply #1 on: January 16, 2010, 08:42:51 AM »
I went through a similar problem.  

If your actionmaps.xml has a syntax error, it will use another profile (usually default).  If all profiles have a syntax error, as near as I can figure it, it uses your last known good actionmaps.  I don't know where this is stored, but it does have a backup somewhere and it's not in the profiles.  

So basically, make sure you don't have a syntax error.  'invmaxis_y' btw is not a valid axis.  I tried that one myself and it created the same problem.  

EDIT:  Here's a link to a post discussing how to bind mouse inversion to a key. 
http://www.mechlivinglegends.net/forum/index.php/topic,6456.msg95277.html#msg95277
You'll still have to use the key to switch back and forth every time you change from mech/vehicle/BA to VTOL (and back), but at least it's workable. 
« Last Edit: January 16, 2010, 09:00:44 AM by Dalmp »

Offline RalenSharr

  • Bondsman
  • *
  • Posts: 12
  • Karma: 0
Re: VTOL/Aero keybind changes not sticking
« Reply #2 on: January 16, 2010, 06:23:11 PM »
ok, that takes care of the inversion, but is there a way to switch the yaw control to the mouse and let the "a" and "d" keys handle roll?
I don't know enough about the .xml stuff to get it right I guess.

From what I am reading it's done through the helicopter controls.

this is the default

  <action name="v_rotatepitch" always="1">
   <key name="maxis_y"/>
  </action>
  <action name="v_moveup" onPress="1" onRelease="1" retriggerable="1">
   <key name="w"/>
  </action>
  <action name="v_movedown" onPress="1" onRelease="1" retriggerable="1">
   <key name="s"/>
  </action>
  <action name="v_rotatedir" always="1">
   <key name="maxis_x"/>
  </action>
  <action name="v_rollleft" onPress="1" onRelease="1" onHold="1">
   <key name="a"/>
  </action>
  <action name="v_rollright" onPress="1" onRelease="1" onHold="1">
   <key name="d"/>
  </action>


now from what I am reading, I need to find a way to change the roll left/right to the mouse and rotatedir to the keyboard. I've tried a few things but none of it seems to work. Alot of the info I got was from joystick binding commands, but most of that seemed to try to map it similar to the way it's already setup with the mouse.