Author Topic: Actionmaps.xml and You - Inverting Default Mouse Flight Controls  (Read 2864 times)

0 Members and 1 Guest are viewing this topic.

Offline DrHuggles

  • Bondsman
  • *
  • Posts: 6
  • Karma: 0
Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« on: December 29, 2009, 02:56:50 PM »
First up, MWLL is amazing. The random crashes, sound issues and lag spikes aside.

But this isn't about praising the teams godly Crysis modding skills. Its a matter of control. My only major gripe so far has to do with the Flight controls and the fact that the mouse is inverted.

Long story short, I'd like to know if its possible to have 'up' as 'up' and 'down' as 'down', whilst using my mouse to control the VTOLs and Aerospace vechiles. I believe I've found the consponding entries in the actionmaps.xml file, but I'm at a loss as to what to do from here. If someone would care to enlighten me on the subject, it would be appriecated.

Quote
<actionmap name="helicopter" version="19">
  <action name="v_brake" onPress="1" onRelease="1">
   <key name="x"/>
  </action>
  <action name="v_boost" onPress="1" onRelease="1" retriggerable="1">
   <key name="lshift"/>
   <key name="xi_shoulderl"/>
  </action>
  <action name="v_rotateyaw">
   <key name="joyaxis_x"/>
  </action>
  <action name="v_rotatepitch">
   <key name="maxis_y"/>
   <key name="joyaxis_y"/>
  </action>

Quote
<actionmap name="vtol" version="19">
  <action name="v_boost" onPress="1" onRelease="1" retriggerable="1">
   <key name="lshift"/>
   <key name="xi_shoulderl"/>
  </action>
  <action name="v_rotatepitch" always="1">
   <key name="maxis_y"/>
   <key name="joyaxis_y"/>
  </action>

« Last Edit: December 29, 2009, 06:21:26 PM by DrHuggles »

Offline CHHš Jazz

  • MWLL Developer
  • Recruit
  • *
  • Posts: 182
  • Karma: 0
  • Sound Designer
Re: Actionmaps.xml and You.
« Reply #1 on: December 29, 2009, 03:00:20 PM »
In the Helicopter section, look at this function:

  <action name="v_rotatepitch">
   <key name="maxis_y"/>
   <key name="joyaxis_y"/>
  </action>

to invert your mouse axis, it should look like this:

  <action name="v_rotatepitch">
   <key name="invmaxis_y"/>
   <key name="joyaxis_y"/>
  </action>

Note the "invmaxis_y" command.

Hope that helps!

Edit: Ignore the VTOL section. The Helicopter section covers both VTOL and Aerospace flight mechanics presently.
« Last Edit: December 29, 2009, 03:07:17 PM by CHHš Jazz »

Might before Metal - 35th Infantry Division, Star League Defense Force

Offline DrHuggles

  • Bondsman
  • *
  • Posts: 6
  • Karma: 0
Re: Actionmaps.xml and You.
« Reply #2 on: December 29, 2009, 03:15:26 PM »
Legend. Thanks for that mate.


Edit: I couldnt' get this method to work.
« Last Edit: December 29, 2009, 05:51:30 PM by DrHuggles »

Offline MrLawbreaker

  • Bondsman
  • *
  • Posts: 27
  • Karma: 0
Re: Actionmaps.xml and You.
« Reply #3 on: December 29, 2009, 03:39:40 PM »
This invmaxis does not work for me. Nothing has changed when i save the cfg.
« Last Edit: December 29, 2009, 04:02:34 PM by MrLawbreaker »

Offline DrHuggles

  • Bondsman
  • *
  • Posts: 6
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #4 on: December 29, 2009, 06:47:31 PM »
*bump*

Can anyone help with this?

Offline Grinnin

  • Bondsman
  • *
  • Posts: 7
  • Karma: 0
  • BLOOD FOR THE BLOOD GOD!!!
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #5 on: December 30, 2009, 12:54:23 AM »
Gmorning :) I have same prob with aeros, however Ive dicovered a log-files in Crysis folder and it contains this strings:

Quote
[PlayerProfiles] Login of user 'Grinnin' successful.
[PlayerProfiles] Found 2 profiles.
   Profile 0 : 'default'
   Profile 1 : 'Grinnin'
[GameProfiles]: Successfully activated profile 'default' for user 'Grinnin'

so it seems like we have to change mouse settings usin actionmaps from default profile... I cant test it right now, but maybe it will work  ::)


Offline m00ndancer

  • Bondsman
  • *
  • Posts: 1
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #6 on: December 30, 2009, 03:54:47 AM »
No, doesn't work.

Offline Grinnin

  • Bondsman
  • *
  • Posts: 7
  • Karma: 0
  • BLOOD FOR THE BLOOD GOD!!!
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #7 on: December 30, 2009, 01:59:17 PM »
yep, it doesnt work... sad  :(

Offline TRIPTEX

  • Recruit
  • *
  • Posts: 59
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #8 on: December 30, 2009, 02:21:46 PM »
I'm looking for a fix on this as well. Hopefully we can get another workaround soon.

Offline Grinnin

  • Bondsman
  • *
  • Posts: 7
  • Karma: 0
  • BLOOD FOR THE BLOOD GOD!!!
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #9 on: December 30, 2009, 08:30:05 PM »
heh, we need dev's comment  :)

Offline Aruin

  • Apprentice Dev
  • Recruit
  • *
  • Posts: 61
  • Karma: 0
  • Shigata ga nai
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #10 on: December 30, 2009, 10:41:25 PM »
The input code for mouse input is the original from crysis and not from me. I took a look at the mouse functions and found no possibility to invert the mouse by actionmap. So invmaxis_x will not work. Funny thing never thought about this:). Maybe i find a possibility to do this, but atm thats a unsolved problem.
Shigata ga nai

Offline DrHuggles

  • Bondsman
  • *
  • Posts: 6
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #11 on: December 31, 2009, 03:48:51 AM »
Thanks for letting us know, mate. I'm sure we'll be able to make do in the timebeing.

*begins the hunt for my joystick*


Offline Grinnin

  • Bondsman
  • *
  • Posts: 7
  • Karma: 0
  • BLOOD FOR THE BLOOD GOD!!!
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #12 on: December 31, 2009, 08:06:35 AM »
Thanks for attention :) well, its still veeery funny to be an elemental  ;D

Offline Rifleman89

  • Bondsman
  • *
  • Posts: 5
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #13 on: January 03, 2010, 05:38:28 PM »
Just go to the OPTIONS menu from MAIN and click the INVERSE MOUSE box in the MOUSE & KEYBOARD tab.  Swich back and forth if needed/desired.  I play with an inverted mouse/joystick for all, so no need to switch.

Offline kludger

  • Bondsman
  • *
  • Posts: 13
  • Karma: 0
  • Gauss'tard
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #14 on: January 03, 2010, 06:14:02 PM »
The input code for mouse input is the original from crysis and not from me. I took a look at the mouse functions and found no possibility to invert the mouse by actionmap. So invmaxis_x will not work. Funny thing never thought about this:). Maybe i find a possibility to do this, but atm thats a unsolved problem.
Just go to the OPTIONS menu from MAIN and click the INVERSE MOUSE box in the MOUSE & KEYBOARD tab.  Swich back and forth if needed/desired.  I play with an inverted mouse/joystick for all, so no need to switch.

Can you confirm that the inverse mouse is working for you not just on the ground vehicles but the aero and VTOL vehicles too?

I use inverse mouse successfully for the ground vehicles and BA, but per this thread it doesn't seem to work for the air vehicles, which makes it impossible to fly them for now (brain can't seem to adjust to opposite control just for the air vehicles).