Author Topic: MWLL Actionmapper/profiler (included with MWLL v0.3.0)  (Read 9164 times)

0 Members and 5 Guests are viewing this topic.

Offline (TLL)Siilk

  • Techpriest software engineer
  • Apprentice Dev
  • Living Legend
  • *
  • Posts: 3025
  • Karma: 124
  • A single trueborn is an army by himself
    • My facebook profile
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #75 on: March 10, 2010, 07:22:38 AM »
Siilk, should I PM you my actionmaps.xml?
Ok, I'll look what I could do.



"This Clan posses intelligence, the burning passion of true hunters, and a spirit that serves as a beacon to the rest. I mingle my blood with the Wolves."
- ilKhan Nicholas Kerensky, Strana Mechty, 2815

Offline Nytmare

  • Recruit
  • *
  • Posts: 66
  • Karma: 3
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #76 on: March 11, 2010, 08:02:36 AM »
Quote

    Something is strange:

    For mech everything is fine. Pushing my JS forward makes the head go down, while pulling it back makes the head going up. Z-Axis is acting normally on the mech and tank, turning left is left, right is right

    1. On a VTOL pushing makes the nose go up and pulling down. I want to inverse just THAT VTOL that Pushing makes nose go down and pulling nose high (normal flight controls)
    2. z-Axis on VTOL is working exactly opposite of the mech controls. turning left makes it turn right and other way around.

    As far as I know if I only change setting in the helicopter section it will only affect the VTOL and Aeros, but it also affect the Mech (wich is vehicle section? or landvehicle?)

    Would anyone please have a loog at my xml and tell me what went wrong and why actionmapper didnt help (read at the end please)? 


I got the EXACT same problem with the actionmapper program. I am also looking for a solution to this problem. Maybe Capper will chime in.  :-*

I am also curious.....
After manually looking at the actionmaps.xml after I used the actionmapper program, I noticed commands were inserted  under the "landvehicle" section.
I am confused. I thought.......
mech/tank control -----> is under the "vehicle" section
VTOL/aerospace -----> is under the "helicopter" section.

Am I misinformed?
NBT-Mercs Clan Smoke Jaguar
NBT-HC Clan Star Adder
Fatty mech connoisseur

Offline (TLL)Siilk

  • Techpriest software engineer
  • Apprentice Dev
  • Living Legend
  • *
  • Posts: 3025
  • Karma: 124
  • A single trueborn is an army by himself
    • My facebook profile
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #77 on: March 11, 2010, 11:07:16 AM »
 While actionmapper 0.2 is on it's the way to see release, to have fps-like controls in aero/vtol you can modify your "helicopter" actionmap section with the following values(if the actions mentioned aren't exist there, just add them):

Code: [Select]
  <action name="v_rotateyaw">
   <key name="joyaxis_x"/>
  </action>
  <action name="v_rotatepitch">
   <key name="joyaxis_y"/>
  </action>
  <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 joystick or

Code: [Select]
  <action name="v_rotateyaw">
   <key name="maxis_x"/>
  </action>
  <action name="v_rotatepitch">
   <key name="maxis_y"/>
  </action>
  <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 mouse.
 Also make sure, that <action name="v_rotateroll"> in "helicopter section" does not contain <key name="joyaxis_x"/> or <key name="maxis_x"/>


 P.S.: I want to thank Seraph for a very useful wiki article on actionmaps and recommend it to anyone, interested in understanding how actionmaps work.

Edit: I tested this a bit on my PC and, strangely enough, it only allows to have both X and Y controls in inverted mode, regardless of "inv" being added to "maxis_" or "joyaxis_". Seems like fps-like controls for flying assets are a bit harder to achieve. I'll try get help from the devs on this issue.
« Last Edit: March 14, 2010, 09:25:43 AM by Siilk »



"This Clan posses intelligence, the burning passion of true hunters, and a spirit that serves as a beacon to the rest. I mingle my blood with the Wolves."
- ilKhan Nicholas Kerensky, Strana Mechty, 2815

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #78 on: March 16, 2010, 04:23:15 AM »
Updated preview of 0.2 with profiler capability, action table with current key binds, and categorized actions:



[attachment deleted by admin]
« Last Edit: March 16, 2010, 02:10:40 PM by CapperDeluxe »

Offline Aidan

  • Living Legend
  • *******
  • Posts: 2280
  • Karma: 41
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #79 on: March 17, 2010, 04:33:19 PM »
Capper,

Good work on creating this configuration tool. Can you please provide a short discussion of the inputs to this program and the resulting outputs created? Also, how would someone using this program return their client computer to the state it was in before using your utility.

Cheers,

Aidan  :)


Intel Core i7 @ 3.50GHz, AMD/ATI HD6990 LCS, Catalyst Control Center V12.3, 6GB Tri-Channel Dram, 640GB HD, 128GB SSD, DirectX 11,  Windows 7 Pro (64 bit), Corsair 1200 Watt Power Supply, Liquid Cooled GPU and CPU.

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #80 on: March 17, 2010, 06:07:21 PM »
Capper,

Good work on creating this configuration tool. Can you please provide a short discussion of the inputs to this program and the resulting outputs created? Also, how would someone using this program return their client computer to the state it was in before using your utility.

Cheers,

Aidan  :)

The tool just opens the actionmaps.xml file, and the document object created from it sits in memory while you make your changes. Once you press Save it then writes that document object back out to a file.

As of version 0.1.2 and its predecessors you will be solely responsible for keeping an original/backups in case you become unsatisfied with your changes.

For the upcoming version 0.2 a profiler systems is put in place and your original is stored with the name "original", however after that if you make changes you'll be in the same boat. Basically its just a safe recommendation that you make a backup of the file before you use the actionmapper and place it somewhere safe.

Offline Jonttu

  • MechWarrior
  • **
  • Posts: 272
  • Karma: 4
  • First Davion Guards fanclub
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #81 on: March 17, 2010, 10:43:36 PM »
Isn't there an extra actionmaps.xml (different file name) in the main mwll folder with the original keys though?

Offline (TLL)Siilk

  • Techpriest software engineer
  • Apprentice Dev
  • Living Legend
  • *
  • Posts: 3025
  • Karma: 124
  • A single trueborn is an army by himself
    • My facebook profile
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #82 on: March 18, 2010, 06:26:02 AM »
Isn't there an extra actionmaps.xml (different file name) in the main mwll folder with the original keys though?

 This one is provided by MWLL dev team as an actionmap example/backup and is does not used by the game. You could copy it to your profile folder and rename to "actionmaps.xml" to revert to default key binding, but you shouldn't modify the original file in mods/mwll folder, as it will trigger the mod's anticheat system.



"This Clan posses intelligence, the burning passion of true hunters, and a spirit that serves as a beacon to the rest. I mingle my blood with the Wolves."
- ilKhan Nicholas Kerensky, Strana Mechty, 2815

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #83 on: March 18, 2010, 03:15:03 PM »
An actionmaps file is actually provided in the actionmapper tool, when you select the File -> New option. Its based on the actionmaps given in the documentation folder for the Saitek X52 in MWLL v0.2.

Offline Serge

  • Bondsman
  • *
  • Posts: 21
  • Karma: 0
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #84 on: March 21, 2010, 05:08:30 PM »
OK, for us 50+ year old guys that have played the game since... Well, long enough, this action map thingamajig is a bit much to follow.
Is there going to be, at some point a Plug and Play version of this? Preferably before I'm in an old folks home?

I use an X52 and I'm used to just assigning the buttons in the Saitek Software that came with the game. Is this the same thing?

Sorry If I seem ignorant in the matter, but frankly.... I am.

Maybe a step by step SOP would be nice in setting this thing up.

Thanks
Windows XP - SP3
AMD Athlon 64X2 - Dual Core 4200+
2.21Ghz - 3GB RAM
NVIDIA GeForce GT 240 - 512MB
1024x768 - 32bit

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #85 on: March 21, 2010, 05:12:35 PM »
Just released version 0.2, made a new thread for it since its extra special:

http://www.mechlivinglegends.net/forum/index.php/topic,8387.0.html


OK, for us 50+ year old guys that have played the game since... Well, long enough, this action map thingamajig is a bit much to follow.
Is there going to be, at some point a Plug and Play version of this? Preferably before I'm in an old folks home?

I use an X52 and I'm used to just assigning the buttons in the Saitek Software that came with the game. Is this the same thing?

Sorry If I seem ignorant in the matter, but frankly.... I am.

Maybe a step by step SOP would be nice in setting this thing up.

Thanks


Since MWLL introduced a lot of new actions you can't yet use the in-game key changing effectively until they can take the time to implement it for the mod.  In the meantime, take a peek at the new version I just released, it makes it much easier and I think should be really intuitive for anyone regardless of their affinity for computers.  Let me know if you have any specific questions after you load it up and give it a try!

Offline NerdyTB

  • Bondsman
  • *
  • Posts: 5
  • Karma: 0
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #86 on: March 23, 2010, 08:49:34 AM »
How do you enter controls for hats on a joystick?

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #87 on: March 23, 2010, 01:37:09 PM »
How do you enter controls for hats on a joystick?

unfortunately hat binding is not yet supported by MWLL at this time, so they were intentionally left out. 

your best bet for using your hat controls are to pick up the program JoyToKey and map them to a keyboard key.

http://www.electracode.com/4/joy2key/JoyToKey%20English%20Version.htm

Offline Duster

  • Bondsman
  • *
  • Posts: 2
  • Karma: 0
Throttle Trouble
« Reply #88 on: June 01, 2010, 09:16:21 PM »
well this works like a charm and really does make this a lot easier but slider throttle still doesnt work for me no matter which way i try it :(
Does slider work with any of the assets, or there's no response whatsoever? 
Does actionmaps.xml contain similar lines, after you save your config:
Code: [Select]
<action name="SetThrottleval">
   <key name="joyslider_0"/>
  </action>

Also, try to assign slider to a different analog action to see if actionmapper and MWLL recognize your throttle at all.

Hey all,
I ran into this old problem again and was hoping to get a little help.
I am running v0.2.1 and have found that it is not writing the element that would allow my joystick slider to set the value of the throttle. The rest seems to work great.
I can drop these lines in easy enough, but I’m not sure where in the markup it needs to go. I assume with the rest of the throttle controls, but that’s not how it appears in the program.
Thought you might like to hear about the issue. Thanks for any help you can offer.

Duster

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2476
  • Karma: 128
  • Life is cheap, mechs are expensive.
Re: MWLL Actionmapper/profiler (Alpha Java app released)
« Reply #89 on: June 01, 2010, 10:05:05 PM »
after you have used Actionmapper to set a control to any of the slider joystick axis, you will need to go to your My Documents\My Games\Crysis\Profiles\ folder, open the actionmaps.xml file in a text editor.

Then you will need to search for any instances of the word "joyslider" and replace with "slider"

so "joyslider_0" should be just "slider_0"