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

0 Members and 1 Guest are viewing this topic.

Offline TRIPTEX

  • Recruit
  • *
  • Posts: 59
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #15 on: January 04, 2010, 04:26:01 AM »
It does work. Just select "Invert Mouse" when you get in your air vehicle and the controls are perfect.

Offline ~SJ~ Xarg Talasko

  • Living Legend
  • *******
  • Posts: 2303
  • Karma: 111
  • KANE LIVES!
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #16 on: January 11, 2010, 01:35:12 AM »
Is there a way to bind the mouse inverting function to a key, so you don't have to go into the menu when you use an aircraft?


Thief gameplay + Doom3 engine = The Dark Mod

Offline HH_Burner

  • Recruit
  • *
  • Posts: 139
  • Karma: 2
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #17 on: January 11, 2010, 03:32:11 AM »
when switching from ground vehicles..aka mechs, ba, tanks etc to helos or aeros you must hit esc and check.uncheck invert mouse.  there is no way at this time to have it both ways unfortunately.
Intel Core i7 930 @ 3.30GHz, ATI HD4870, Catalyst Control Center V11.1, 4GB DDR3 RAM, Windows XP Pro , HOTAS Warthog(1715), Saitek Combat Rudder Pedals




Offline nordwars

  • MechWarrior
  • **
  • Posts: 323
  • Karma: 29
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #18 on: January 12, 2010, 09:09:09 AM »
I second the idea/request for either a hotkey for invert/non-invert mouse, OR having the inversion NOT automatically switched depending on whether you are piloting aero or anything else.

I strangely have always used invert mouse for everything (shooters that is), so moving mouse forward aims down and vice versa. Possibly because it seemed to make sense to me because of the way I understood flight controls to work when I first started gaming.

Now when it comes to playing mech/vehicle/ba this is fine, but when I suddenly actually got into a plane (iirc) I was surprised to find out that it had inverted my invert mouse, so that mouse forward meant aim up. Ironic since I used inverted mouse because of flight controls in the first place.

I then spent about 30 seconds jetting about in what must have been a ridiculous fashion, mainly at the ground, or specifically, the opposite direction of where I wanted to go. I certainly couldn't land! At least noone could target me since I was zig zagging around all over the place. Eventually I just had to jet off in a straight line for about 30 secs while I navigated the menus to un-invert the mouse (to get it to be inverted!). The menus sometimes cause crashes for me so am loathe to use this workaround for the long term.

It's OK, I'm terrible at Aerospace anyway.
Independent MWLL Merc since Jan 12 2010.

Offline Kumquat

  • Bondsman
  • *
  • Posts: 1
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #19 on: January 12, 2010, 11:42:13 PM »
The console command you can use to switch it without going into the options is cl_invertmouse.  You can enter this command with the appropriate flag into the console to switch back and forth

cl_invertmouse 1  turns on invert mouse
cl_invertmouse 0  turns off invert mouse

Note that aeros use the opposite of whatever you have invert set to.  So to have inverted mouse when flying you need to use cl_invertmouse 0

You may need to unrestricted the console before you can use these commands.  To do that type con_restricted 0

Ive tried binding these to keys, but cant get cl_invertmouse 1 to work.  It seems to have the same effect as cl_invertmouse 0 when I try it.  Here is how you can bind keys:
bind "key" "command"
ex. bind 0 cl_invertmouse 0

Hope that makes things a little easier for some people

Offline nordwars

  • MechWarrior
  • **
  • Posts: 323
  • Karma: 29
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #20 on: January 12, 2010, 11:44:26 PM »
Awesome first post Kumquat. Welcome to the forum and thanks for the tres useful tip.
Independent MWLL Merc since Jan 12 2010.

Offline Thorbinator

  • Bondsman
  • *
  • Posts: 32
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #21 on: January 13, 2010, 01:24:22 AM »
The console command you can use to switch it without going into the options is cl_invertmouse.  You can enter this command with the appropriate flag into the console to switch back and forth

cl_invertmouse 1  turns on invert mouse
cl_invertmouse 0  turns off invert mouse

Note that aeros use the opposite of whatever you have invert set to.  So to have inverted mouse when flying you need to use cl_invertmouse 0

You may need to unrestricted the console before you can use these commands.  To do that type con_restricted 0

Ive tried binding these to keys, but cant get cl_invertmouse 1 to work.  It seems to have the same effect as cl_invertmouse 0 when I try it.  Here is how you can bind keys:
bind "key" "command"
ex. bind 0 cl_invertmouse 0

Hope that makes things a little easier for some people

I was about to post the exact same thing.
I also have the solution to your problem, invertmouse is a state, not a toggle.
So you require two keybinds to go back and forth.

A big thanks to the people on IRC who helped me figure this out.

Here is my autoexec.cfg:

Code: [Select]
con_restricted=0
sys_budget_videomem = 620
r_TexturesStreaming=0
s_maxchannels=90
bind 7 cl_invertmouse 1
bind 8 cl_invertmouse 0

Offline BlueT

  • Recruit
  • *
  • Posts: 191
  • Karma: 5
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #22 on: January 13, 2010, 02:13:39 AM »
I am confused here....
Everything was right in original Crysis.
But now the flight is backwards.
So something must have changed that for MWLL....
Correct me if I have got this wrong.
Old Guy

Offline Grinnin

  • Bondsman
  • *
  • Posts: 7
  • Karma: 0
  • BLOOD FOR THE BLOOD GOD!!!
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #23 on: January 14, 2010, 02:36:33 AM »
damn guys, thank you so much  :D

Offline A_Roldan

  • Bondsman
  • *
  • Posts: 7
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #24 on: January 15, 2010, 11:51:22 PM »
Hey, Thorbinator, thanks for the information.  I was looking for a solution to the mouse/joystick - invert/non-inverted puzzle so I can't wait to try this.

Could you quickly explain what the other commands in your autoexec.cfg file do?  I understand the "con_restricted" enables the console in game automatically via this file and  I already had added the file to correct the sound with the "s_maxchannels" command but I don't know about the others.

Thanks again.

~Angel

Offline Thorbinator

  • Bondsman
  • *
  • Posts: 32
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #25 on: January 16, 2010, 12:42:07 AM »
Well, the sys_ command does basically nothing except define the top of a graph, nothing that affects performance.

r_texturesStreaming 0 Is an FPS saver and it makes the game look much better to boot.

However, its very specific to your videocard. My videocard (8800gts 640) has a bunch of memory, but the memory access is mildly slow. Normally, the textures go through a level of detail process, where it becomes more and more defined as it loads more of it, and it decreases the amount of memory space needed on the card for textures. However, that is a lot of loading and unloading of textures and is not kind to the video memory. When this command is set to 0, it forces all the detailed textures into video memory when you load the map, and you only see those. Previously I had stuttering when moving fast, and its loading and unloading textures all the time. No such issue now, silky smooth.

s_maxchannels you know of already.

And the binds are what are talked about in this thread. tapping 7 inverts my mouse (inverting the invertedness for aircraft, the double negative makes it noninverted) and tapping 8 puts it back to normal.

Offline A_Roldan

  • Bondsman
  • *
  • Posts: 7
  • Karma: 0
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #26 on: January 16, 2010, 12:57:03 AM »
OK.  Thanks for the info.

Offline =CJW= Zweistein000 (W)

  • Lance Captain
  • ***
  • Posts: 719
  • Karma: 20
  • Trial of position ended; Rank: Warrior
    • Urbie Defense By (TLL)CapperDeluxe
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #27 on: March 03, 2010, 07:32:41 AM »
About thes command: Whin I try to set it it says unknown command: cl_invertmouse 1. Tha eame happenes when I try to bind it.

I have also discovered another thing:
Code: [Select]
  <action name="xi_v_rotateyaw">
   <key name="invmaxis_x"/>
  </action>

Lets you use your mouse x axis for turnng left and right rather than rolling. For rolling I use
Code: [Select]
  <action name="v_rollleft" onPress="1" onRelease="1">
   <key name="a"/>
  </action>
  <action name="v_rollright" onPress="1" onRelease="1">
   <key name="d"/>
  </action>


For rollling, but the problem is that my mouse is inverted (left is right and vise versa)

I triend invmaxis_x or inverting the mouse ingame it didnt help. Any  ideas pls?
..., but this is battletech, and sense is often not made.

Your very own resident troll clan.

Offline nordwars

  • MechWarrior
  • **
  • Posts: 323
  • Karma: 29
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #28 on: March 03, 2010, 02:41:40 PM »
From the 0.2.0 changelog:

- Added command invertMousePitch to invert pitch on aerospace in game.

How does this work? I tried putting it in my autoexec.cfg (where I bind my invert hotkeys to 7/8 as per above) but didn't notice it doing anything when going from BA to Aero, controls were still inveted.
Independent MWLL Merc since Jan 12 2010.

Offline ~SJ~ Xarg Talasko

  • Living Legend
  • *******
  • Posts: 2303
  • Karma: 111
  • KANE LIVES!
Re: Actionmaps.xml and You - Inverting Default Mouse Flight Controls
« Reply #29 on: March 03, 2010, 02:45:52 PM »
Never mind, Thorbinator beat me to it.... by a few days by the looks of it... carry on...

The bind 7/8 to invert stuff does work though, sadly even with them I'm still a terrible pilot, and will be keeping myself firmly grounded, in the interest of national preservation and forest fire prevention.

Zweistein, try removing the 'inv' from 'invmaxis_x', as that command seems to be saying reverse the X axis (left/right) on your mouse. Try just 'maxis_x', see if that helps. Inverting the mouse in-game typically only inverts the Y axis (up/down) and won't help your left/right issue.


Thief gameplay + Doom3 engine = The Dark Mod