Author Topic: actionmaps.xml changes from .2 to .3?  (Read 782 times)

0 Members and 1 Guest are viewing this topic.

Offline Perk

  • MechWarrior
  • **
  • Posts: 203
  • Karma: 7
actionmaps.xml changes from .2 to .3?
« on: June 12, 2010, 03:07:35 AM »
Since you guys are recommending a complete reinstall, I have to ask:

Can I keep my actionmaps.xml file or have the functions and / or mappings changed significantly?

The reason I ask, is it took me about four hours of fooling around to actually get it working right with my joystick, throttle, and pedals.  While I'll do it again if I have to, I'd obviously rather not.  =)

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: actionmaps.xml changes from .2 to .3?
« Reply #1 on: June 12, 2010, 03:17:21 AM »
you will need to reconfigure

Offline Seraph

  • Lead Developer
  • Living Legend
  • *
  • Posts: 4080
  • Karma: 101
    • The Living Legends Mercenary Unit
Re: actionmaps.xml changes from .2 to .3?
« Reply #2 on: June 12, 2010, 03:33:31 AM »
The Installer is setup to auto-overwrite your file. We added a lot of changes that require this action(map). :P
Seraph - "The Can Man"
In the heat of battle, legends are born ...



Offline Perk

  • MechWarrior
  • **
  • Posts: 203
  • Karma: 7
Re: actionmaps.xml changes from .2 to .3?
« Reply #3 on: June 12, 2010, 03:34:04 AM »
Is there any way to reload the .xml file from the Crysis command line without restarting the game?

I'll try Actionmapper again once I have 0.3.0 in hand, but I ended up having to manually edit a stock file to get the axis mappings how I wanted them.  Who's the guy that wrote that app, and would you be willing to chat after I've had a chance to break your new version? =P

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: actionmaps.xml changes from .2 to .3?
« Reply #4 on: June 12, 2010, 03:48:09 AM »
I wrote the Actionmapper app and a new version is being included with 0.3.0 so you'll want to uninstall any previous version since its not compatible with the new improved layout of the actionmaps.xml.


I would prefer not to be contacted in private, not because I don't want to talk to you though :) Its because if you have a question it should be posted in a new thread or an existing thread so others can benefit from the knowledge as well, or so others can answer your question in case I don't see it for a while.

Offline Perk

  • MechWarrior
  • **
  • Posts: 203
  • Karma: 7
Re: actionmaps.xml changes from .2 to .3?
« Reply #5 on: June 12, 2010, 04:01:29 AM »
lol, yer skeered, admit it~

Do you happen to know if there's anyway to test actionmap changes without relaunching the game?  In Quake and the Source engine games, you can save the file, then alt-tab and use the exec command from the console, and the keymaps will change on the fly.  Is there anything similar in Crysis, or does it only load the maps when the game / map starts?

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: actionmaps.xml changes from .2 to .3?
« Reply #6 on: June 12, 2010, 04:04:10 AM »
I would imagine if it were present it would be a common Crysis copnsole command that could be googled for, but I myself have never tried to look so I don't know.

Offline Perk

  • MechWarrior
  • **
  • Posts: 203
  • Karma: 7
Re: actionmaps.xml changes from .2 to .3?
« Reply #7 on: June 12, 2010, 04:14:04 AM »
Yeah, haven't been able to find anything, there's a command (exec) to load batches of console commands, but I tried that and it doesn't seem to work on the actionmaps.xml.

Ah well, thanks for the answers!

Offline Perk

  • MechWarrior
  • **
  • Posts: 203
  • Karma: 7
Re: actionmaps.xml changes from .2 to .3?
« Reply #8 on: June 12, 2010, 05:31:26 PM »
Hey Capper, here are the problems I'm running into with Actionmapper:

1) Remapping jumpjets key does not also remap the crysis jump key:

<action name="jump" onPress="1" onRelease="1">

This needs to either be added as a seperate option to player section or automatically remapped to whatever the jumpjets key gets remapped to.  The way MWLL JJs are working, the BA jets don't fire unless you're already in the air.  Since normally jump and jumpjets are both on "space" this isn't a problem, but if you remap JJs, you don't jump and hence they don't fire.

2) There is no way to map the throttle axis for VTOL and Aero:

The Mech and Tank sections have (X) Move chassis forward/back which can be mapped to a joystick axis:

<action name="xi_v_movey">
   <key name="invjoyrot_z"/>

This works fine in the Aerospace and VTOL sections of the actionmaps.xml, I just had to manually change the mapping.  Could you please add the same option to the respective sections of Actionmapper?

Other than that, it looks like the weird reversing axis issues have all gone away, great job, and a great tool!

Offline =CJW= Zweistein000 (W)

  • Lance Captain
  • ***
  • Posts: 719
  • Karma: 20
  • Trial of position ended; Rank: Warrior
    • Urbie Defense By (TLL)CapperDeluxe
Re: actionmaps.xml changes from .2 to .3?
« Reply #9 on: June 13, 2010, 07:41:42 AM »
Slider for Logitech Extreme 3D Pro Still doesn't work (I still have 2 use the profiler to get it working, which is hard because you can't gradually increase your reverse speed and are forced to go to max reverse)
..., but this is battletech, and sense is often not made.

Your very own resident troll clan.

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: actionmaps.xml changes from .2 to .3?
« Reply #10 on: June 13, 2010, 06:00:29 PM »
have you check the sensitivity of your slider in the Joystick Settings tab?  it may be set too low that its not registering

Offline Perk

  • MechWarrior
  • **
  • Posts: 203
  • Karma: 7
Re: actionmaps.xml changes from .2 to .3?
« Reply #11 on: June 13, 2010, 07:47:19 PM »
[quote author=Perk link=topic=9231.msg131770#msg131770 date=1276356686
2) There is no way to map the throttle axis for VTOL and Aero:

The Mech and Tank sections have (X) Move chassis forward/back which can be mapped to a joystick axis:

<action name="xi_v_movey">
   <key name="invjoyrot_z"/>

This works fine in the Aerospace and VTOL sections of the actionmaps.xml, I just had to manually change the mapping.  Could you please add the same option to the respective sections of Actionmapper?

Other than that, it looks like the weird reversing axis issues have all gone away, great job, and a great tool!
[/quote]

I was wrong on this section - these only sort of work with the analog throttle, they let you go full forward or full back, but don't set incremental throttle values.  There's another mapping in the vehicle section for that.

The trouble is, I don't think axis settings in the vehicle section are being inherited.  I need to do some more testing on this, but I had to copy the analog throttle action maps to the Aerospace, Mech, Tank, and VTOL sections to get the throttle working.  This might be Zweistein's problem too.

Capper, can you also check your code for the Throttle Stop mapping?  The secondary mapping seems to be capturing the wrong joystick button.

Once I get back from vacation in a couple of weeks I'll do some real testing... there's definitely some wonkiness in how the joystick actionmaps are being interpreted by the game - at least compared to how it worked in 0.2.0.

Offline =CJW= Zweistein000 (W)

  • Lance Captain
  • ***
  • Posts: 719
  • Karma: 20
  • Trial of position ended; Rank: Warrior
    • Urbie Defense By (TLL)CapperDeluxe
Re: actionmaps.xml changes from .2 to .3?
« Reply #12 on: June 14, 2010, 03:00:17 PM »
have you check the sensitivity of your slider in the Joystick Settings tab?  it may be set too low that its not registering
this just passed my mind today. Will try  :P
..., but this is battletech, and sense is often not made.

Your very own resident troll clan.

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: actionmaps.xml changes from .2 to .3?
« Reply #13 on: June 14, 2010, 08:02:59 PM »
Do you happen to know if there's anyway to test actionmap changes without relaunching the game?

I just happened upon the 'loadactionmap' console command but when I actually tried it, it responded "Can't change configuration while game is running (yet)". So looks like unless they added it to Crysis Wars it ain't happenin

Offline Brainwright

  • Star Captain
  • ***
  • Posts: 1134
  • Karma: 29
  • AKA : Rotten
Re: actionmaps.xml changes from .2 to .3?
« Reply #14 on: June 14, 2010, 08:09:36 PM »
I'm having a problem where the actionmapper doesn't seem to write its changes to my profile's actionmaps, so I'm stuck with the a configuration that I can't really access.  If you've heard about people claiming they're throwing grenades with the right mouse button, then you've heard about it.  Anyone know how to fix this?
Thanks for the view.