Author Topic: Action Maps  (Read 697 times)

0 Members and 1 Guest are viewing this topic.

Offline [CW]Strykerius

  • Bondsman
  • *
  • Posts: 25
  • Karma: 0
Action Maps
« on: June 13, 2010, 02:19:32 AM »
Alright, since the control's for gamepad's changed from 0.2.0 to 0.3.0 I need some help getting this up and running fully.  Yes, I use a gamepad [360 controller to be exact] because my mouse and joystick are crap.


Anyways, using the action mapper, I can setup my control's however I want, with little problem.  My problem comes however, from control's overlapping the same button, and the inability to change it.  For example, my enter/exit key, by default "x", also fires off weapons group three.  "a" my jumpjet key, fires off weapon group one, etc, etc.  And since there is no option in the ActionMapper program to change this, I have hit a bit of a snag in terms of control's and piloting ability.  If there is anyone who can help me out with this, that would be great.  Especially since I cannot use any other input device, short of the keyboard to play.

Offline Redvan

  • Lance Sergeant
  • **
  • Posts: 488
  • Karma: 18
Re: Action Maps
« Reply #1 on: June 13, 2010, 02:29:31 AM »
i knew this patch would be good!  weed out the console controller infidels!!!! 

;)

sry, the only help i can give you is purchase a descent mouse for about $50-$60 and you'll be glad you did.
R.I.P. -43...

-43 karma + +52 karma to get to +17 = 103 total karmas!

100 Karmas achieved 6/24/2010
103 Karmas achieved, 12/29/2010

The Karma Meister

Offline [CW]Strykerius

  • Bondsman
  • *
  • Posts: 25
  • Karma: 0
Re: Action Maps
« Reply #2 on: June 13, 2010, 02:32:05 AM »
i knew this patch would be good!  weed out the console controller infidels!!!! 

;)

sry, the only help i can give you is purchase a descent mouse for about $50-$60 and you'll be glad you did.

Regardless, that does not solve my problem.  Not to sound rude, but I would prefer it if someone could help me with my problem instead of stating an obvious solution, but one that is not always viable.

Offline Toth

  • Project Director
  • Star Captain
  • *
  • Posts: 1074
  • Karma: 104
Re: Action Maps
« Reply #3 on: June 13, 2010, 02:38:13 AM »
Hopefully CapperDeluxe can help you with this, or if its a bug we'll include a fix going forward.

Offline [CW]Strykerius

  • Bondsman
  • *
  • Posts: 25
  • Karma: 0
Re: Action Maps
« Reply #4 on: June 13, 2010, 02:39:33 AM »
Hopefully CapperDeluxe can help you with this, or if its a bug we'll include a fix going forward.

Thank you Mr. Toth, I will see if I can speak to Capper about a possible solution.

Offline Perk

  • MechWarrior
  • **
  • Posts: 203
  • Karma: 7
Re: Action Maps
« Reply #5 on: June 13, 2010, 02:45:07 AM »
In your \Documents\My Games\Crysis\Profiles\%profilename%\ directory is a file called actionmaps.xml.  Open this file with notepad.

If "x" is double bound, search for "x" (with the quotes), and you should find an entry that looks sort of like (I'm copying from the wiki atm so this isn't a perfect example):

<action name="zoom" onPress="1" onRelease="1">
  <key name="x"/>

Search again, and you'll find another action with the same key name assigned.  Delete the one you don't need or change the <key name= to something else.

Where it can get tricky, is that there are multiple sections for the different vehicle types, but keymaps are inherited if not explicitly remapped.  If you map a key in the Aerospace section for instance (since the Aerospace section is the first), that same keymap will apply to the same action in all vehicle types unless you remap it in the other vehicle sections.

Taking the above example again, lets say that action is mapped in the Aerospace section, but you don't want "x" to zoom when you're in a VTOL, you want "z" to zoom.  You'd copy the action name, then scroll down to the VTOL section, and paste, and then change the <key name=:

<action name="zoom" onPress="1" onRelease="1">
  <key name="z"/>

Hope that helps.

<edit> oh yeah, make a copy of the file before you start editing so you can revert if you need to. =)
« Last Edit: June 13, 2010, 02:58:30 AM by Perk »

Offline ~SJ~ Atlessa

  • Star Captain
  • ***
  • Posts: 791
  • Karma: 45
Re: Action Maps
« Reply #6 on: June 13, 2010, 03:46:03 AM »
I think he meant the "x" button on his XB360 Gamepad... that would be the blue one iirc.


In soviet clanspace, trinary bids you.

Offline HH_Burner

  • Recruit
  • *
  • Posts: 139
  • Karma: 2
Re: Action Maps
« Reply #7 on: June 13, 2010, 03:48:37 AM »
I am having similar issues.  X-52 joystick mapping group1-joybut1, group2-joybut3,group3-joybut4 etc....zoom=joybut2 mapping in actionmapper.  however in game when i hit joybut2 it zooms and fires group 2 and when i press joybut3 it fires both weapons group 2 and 3.  Check the default and custom actionmaps for duplicates and havent found any.  puzzling so i deleted the actionmapper commands for buttons 1,2,3 and it is still firing group 2-button2 and group3 with button 3.  Any suggestions other than my 0.2.0 solution to scrap the actionmapper and make an SD6 pr0file?
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 Perk

  • MechWarrior
  • **
  • Posts: 203
  • Karma: 7
Re: Action Maps
« Reply #8 on: June 13, 2010, 04:06:48 AM »
I think he meant the "x" button on his XB360 Gamepad... that would be the blue one iirc.

Lol... I don't know what the key name values are for gamepad buttons... Capper can you help us out there?

Still my recommendation's not totally invalid, he just needs to figure out what the key name is and add specific actions for those keys in each of the sections.

I am having similar issues.  X-52 joystick mapping group1-joybut1, group2-joybut3,group3-joybut4 etc....zoom=joybut2 mapping in actionmapper.  however in game when i hit joybut2 it zooms and fires group 2 and when i press joybut3 it fires both weapons group 2 and 3.  Check the default and custom actionmaps for duplicates and havent found any.  puzzling so i deleted the actionmapper commands for buttons 1,2,3 and it is still firing group 2-button2 and group3 with button 3.  Any suggestions other than my 0.2.0 solution to scrap the actionmapper and make an SD6 pr0file?

I'd search the file and make sure the key name is gone from all sections and that you're not inheriting.  If it's completely gone, the only thing I can figure is that the joystick buttons are mapped in some other Crysis file somewhere.  I was under the impression that the MWLL actionmaps.xml took complete precedence over anything set in the Crysis configs (considering modifying keys from the in-game menus while mod=MWLL edits the MWLL actionmaps), but I could be completely wrong.  If that's the case, it might end up being easier to remap the buttons to a key or different directx joybutton in the Saitek software.  I'm doing similar with my CH gear to combine three joysticks into one six axis controller so Crysis doesn't shat itself.


Offline Toth

  • Project Director
  • Star Captain
  • *
  • Posts: 1074
  • Karma: 104
Re: Action Maps
« Reply #9 on: June 13, 2010, 04:16:45 AM »
Well the defaultProfile.xml in the mwll/libs/config directory takes precedence if a command does not exist. However, I thought it was ignored in the event you assign something. The default profile should have a base setup for a 360 controller. I'm trying to understand here if the issue you're having is with the actionmapper or the actionmaps themselves.

Offline HH_Burner

  • Recruit
  • *
  • Posts: 139
  • Karma: 2
Re: Action Maps
« Reply #10 on: June 13, 2010, 04:46:19 AM »
I am not sure what is going on..i removed all the default crysis actionmaps from the folder..checked the actionmaps and the active actionmap in my profile..not quite sure why it continues to fire group2 with button 2 when it is clearly overwritten.  I've been playing with these actionmaps since 0.1.0 so, its not like i haven;t done this before.  I manually made a joystick setup for 0.2.0 before the actionmapper with some help from Jazz.
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 [CW]Strykerius

  • Bondsman
  • *
  • Posts: 25
  • Karma: 0
Re: Action Maps
« Reply #11 on: June 13, 2010, 05:53:33 PM »
Well the defaultProfile.xml in the mwll/libs/config directory takes precedence if a command does not exist. However, I thought it was ignored in the event you assign something. The default profile should have a base setup for a 360 controller. I'm trying to understand here if the issue you're having is with the actionmapper or the actionmaps themselves.

Even using the basic/default actionmaps, the controller still registers button 1 "A", button 2 "B", etc; as fire weapon group 1-6.  I have checked through the actionmaps, and unfortunately not been able to find where it has been mapped.


I am not sure what is going on..i removed all the default crysis actionmaps from the folder..checked the actionmaps and the active actionmap in my profile..not quite sure why it continues to fire group2 with button 2 when it is clearly overwritten.  I've been playing with these actionmaps since 0.1.0 so, its not like i haven;t done this before.  I manually made a joystick setup for 0.2.0 before the actionmapper with some help from Jazz.

 
I am in the same situation as Burner; both the default, and created actionmaps worked fine in 0.2.0, but now that 0.3.0 has released, it is mapping the button's by default, and ignoring any overwritten command's.  At the risk of sounding like a dick, I am going to assume that this is due to a change in code from beta versions, over a stock crysis problem that cannot be fixed.

Offline [CW]Strykerius

  • Bondsman
  • *
  • Posts: 25
  • Karma: 0
Re: Action Maps
« Reply #12 on: June 13, 2010, 06:12:54 PM »
I think I finally found a change.  Give me a bit of time to test and make sure it work's, and I will report back. ^^

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: Action Maps
« Reply #13 on: June 13, 2010, 06:18:03 PM »
since I recently got an adapter for the wireless xbox 360 controls I'll try configuring for myself and fill in those holes in the actionmapper. Of course if you have any specific xi actions you know aren't there that need to be let me know!

Offline HH_Burner

  • Recruit
  • *
  • Posts: 139
  • Karma: 2
Re: Action Maps
« Reply #14 on: June 13, 2010, 07:12:14 PM »
I am not sure what is going on..i removed all the default crysis actionmaps from the folder..checked the actionmaps and the active actionmap in my profile..not quite sure why it continues to fire group2 with button 2 when it is clearly overwritten.  I've been playing with these actionmaps since 0.1.0 so, its not like i haven;t done this before.  I manually made a joystick setup for 0.2.0 before the actionmapper with some help from Jazz.

Bump
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