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

Offline CapperDeluxe

  • Apprentice Dev
  • Star Captain
  • *
  • Thank You
  • -Given: 5
  • -Receive: 27
  • Posts: 835
  • Karma: 62
  • Life is cheap, mechs are expensive.
MWLL Actionmapper/profiler (included with MWLL v0.3.0)
« on: March 02, 2010, 08:13:14 PM »
I'm hoping this will be at least be good enough until in-game assignments are possible.

UPDATE: Actionmapper v0.3.0 available and included as part of Mechwarrior Living Legends v0.3.0


Project location: http://sourceforge.net/projects/actionmapper/





« Last Edit: June 19, 2010, 02:09:08 PM by CapperDeluxe »


Mechwarrior Living Legends Firefox personas: choose from Madcat, Madcat MkII, Awesome, Warhammer or IS Lance Patrol

Offline MWLL|Seraph

  • Lead Developer
  • Living Legend
  • *
  • Thank You
  • -Given: 13
  • -Receive: 19
  • Posts: 2686
  • Karma: 40
  • Sebastian "Seraph" Grewe
    • The Living Legends Mercenary Unit
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #1 on: March 02, 2010, 08:52:45 PM »
Dude that is AWESOME! I was actually trying to find something like that for basic XML editing :D If you got any questions about the actionmaps.xml fire them in my direction through PM.
In the heat of battle, legends are born ...







Online Stahlseele

  • Living Legend
  • *******
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 2350
  • Karma: 6
  • 2nd Level TechSupport Agent(BOFH)
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #2 on: March 02, 2010, 11:21:48 PM »
YAY!
Finally! ^^
"What weights 90t, is armored and armed as heavy as an atlas and can jump?"
*I DON'T KNOW, I DON'T WANNA KNOW, BUT I AM GETTING THE HELL OUT OF HERE!*

Offline Jonttu

  • MechWarrior
  • **
  • Thank You
  • -Given: 28
  • -Receive: 1
  • Posts: 204
  • Karma: 2
  • First Davion Guards fanclub
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #3 on: March 02, 2010, 11:56:00 PM »
Thank you alot. This SHOULD help.

Offline Flyingdebris

  • Quasi contributing concept artist.
  • Apprentice Dev
  • Star Colonel
  • *
  • Thank You
  • -Given: 7
  • -Receive: 15
  • Posts: 1567
  • Karma: 32
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #4 on: March 03, 2010, 08:35:21 AM »
where the crap is the download button :C ?
In short in matters battle armor, aerospace and omnimech
I am the very model of a rabid fan of Battletech
-Aposiopesis-

Offline 7.[WD]Poldi

  • MechWarrior
  • **
  • Thank You
  • -Given: 10
  • -Receive: 12
  • Posts: 340
  • Karma: 23
  • Col. 7th Reg. Wolfs Dragoons
    • 7th Wolf Dragoons HQ
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #5 on: March 03, 2010, 11:57:09 AM »
WOW! Now THAT was needed!!!

I would like to test it all the way if you would make it downloadable... :)
and I also offer my help on actionmap-editing especially when it comes to joystick functions.



Online Stahlseele

  • Living Legend
  • *******
  • Thank You
  • -Given: 1
  • -Receive: 2
  • Posts: 2350
  • Karma: 6
  • 2nd Level TechSupport Agent(BOFH)
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #6 on: March 03, 2010, 12:31:23 PM »
where the crap is the download button :C ?
There is none yet.
"What weights 90t, is armored and armed as heavy as an atlas and can jump?"
*I DON'T KNOW, I DON'T WANNA KNOW, BUT I AM GETTING THE HELL OUT OF HERE!*

Offline Jonttu

  • MechWarrior
  • **
  • Thank You
  • -Given: 28
  • -Receive: 1
  • Posts: 204
  • Karma: 2
  • First Davion Guards fanclub
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #7 on: March 03, 2010, 01:34:38 PM »
I c rofl. I was trying to get it to work by downloading all the files first one by one, and then realizing i mostly had to just download the folders etc...
Anyway it was a long, complex process trying to understand what to download, where to download, and how to run it. And i failed.
If just possible make it a little easier for people like me who can't understand shit about stuff like this. Well I've run some exercise java programs but i don't know if i can pull it off from the start with these things.

Offline CapperDeluxe

  • Apprentice Dev
  • Star Captain
  • *
  • Thank You
  • -Given: 5
  • -Receive: 27
  • Posts: 835
  • Karma: 62
  • Life is cheap, mechs are expensive.
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #8 on: March 03, 2010, 03:11:29 PM »
haha sorry folks its still in pre-release stage, right now doesn't do much more than import an xml file i've included in the code base and exports a modified version of that.  I'll announce when an actual release is available to download thats actually useful


Mechwarrior Living Legends Firefox personas: choose from Madcat, Madcat MkII, Awesome, Warhammer or IS Lance Patrol

Offline MWLL|Seraph

  • Lead Developer
  • Living Legend
  • *
  • Thank You
  • -Given: 13
  • -Receive: 19
  • Posts: 2686
  • Karma: 40
  • Sebastian "Seraph" Grewe
    • The Living Legends Mercenary Unit
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #9 on: March 03, 2010, 03:36:03 PM »
haha sorry folks its still in pre-release stage, right now doesn't do much more than import an xml file i've included in the code base and exports a modified version of that.  I'll announce when an actual release is available to download thats actually useful

Hurry up!  :D I am sick of looking at XML files searching strings and editing them by hand just to move my joystick buttons around :D

Keep in mind that you can only bind 2 Keys per action! As you are already checking for conflicting keys this will be very helpful not to mess things up ;)
In the heat of battle, legends are born ...







Offline 7.[WD]Poldi

  • MechWarrior
  • **
  • Thank You
  • -Given: 10
  • -Receive: 12
  • Posts: 340
  • Karma: 23
  • Col. 7th Reg. Wolfs Dragoons
    • 7th Wolf Dragoons HQ
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #10 on: March 03, 2010, 04:12:42 PM »
don't forget the xi_ functions

and for easier actionmap editing i strongly recommend UltraEdit - with that u can hide sections in the file while editing.



Offline CapperDeluxe

  • Apprentice Dev
  • Star Captain
  • *
  • Thank You
  • -Given: 5
  • -Receive: 27
  • Posts: 835
  • Karma: 62
  • Life is cheap, mechs are expensive.
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #11 on: March 03, 2010, 04:36:22 PM »

Hurry up!  :D I am sick of looking at XML files searching strings and editing them by hand just to move my joystick buttons around :D

Keep in mind that you can only bind 2 Keys per action! As you are already checking for conflicting keys this will be very helpful not to mess things up ;)

Yeah it only allows 2 max keys via the interface, and the conflict code is coming next since I just finished the code that marks modifications.


don't forget the xi_ functions

Those are for the xbox controller I believe, and I don't plan on implementing it for the first release since I'd first need to go out and buy one of those $20 USB wireless adapter for the wireless xbox controller to test with to make sure I know what each function maps to properly.


Mechwarrior Living Legends Firefox personas: choose from Madcat, Madcat MkII, Awesome, Warhammer or IS Lance Patrol

Offline 7.[WD]Poldi

  • MechWarrior
  • **
  • Thank You
  • -Given: 10
  • -Receive: 12
  • Posts: 340
  • Karma: 23
  • Col. 7th Reg. Wolfs Dragoons
    • 7th Wolf Dragoons HQ
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #12 on: March 03, 2010, 04:57:03 PM »
xi_ was intended for XBOX by crysis, but it helps a great deal when setting up joysticks!!!



Offline CapperDeluxe

  • Apprentice Dev
  • Star Captain
  • *
  • Thank You
  • -Given: 5
  • -Receive: 27
  • Posts: 835
  • Karma: 62
  • Life is cheap, mechs are expensive.
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #13 on: March 03, 2010, 05:03:13 PM »
xi_ was intended for XBOX by crysis, but it helps a great deal when setting up joysticks!!!

oh yeah for the actions I am making use of some of those, the ones I have had to use for proper joystick support, like for moving the chassis, torso, and pitch.  But there are other actions and keys that are there just for the xbox controller that it won't be supporting just yet.


Mechwarrior Living Legends Firefox personas: choose from Madcat, Madcat MkII, Awesome, Warhammer or IS Lance Patrol

Offline TorinAldred

  • Apprentice Dev
  • Recruit
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 72
  • Karma: 1
Re: MWLL Actionmapper/profiler (Pre-alpha Java app)
« Reply #14 on: March 03, 2010, 05:29:10 PM »
Here is an almost full list of valid controls.  I'm still missing a couple of keys (I think 5 total) but I'll try to get them sorted out.


Mouse Commands
These commands are standard across all mice.

maxis_y - This controls the up and down control of your mouse.
maxis_x - This controls the left and right control of your mouse.
mwheel_up - mouse wheel up
mwheel_down - mouse wheel down
mouse1 - Mouse button 1
mouse2 - Mouse button 2
mouse3 - Mouse button 3
mouse4 - Mouse button 4
mouse5 - Mouse button 5
mouse6 - Mouse button 6

Joystick Commands
Different Joysticks report each axis differently.

joyaxis_x - X Axis as reported by the joystick
invjoyaxis_x - inverse X Axis as reported by the joystick
rawjoyaxis_x - X Axis as reported by the joystick without sensitivity multipliers
invrawjoyaxis_x - inverse X Axis as reported by the joystick without sensitivity multipliers

joyaxis_y - Y Axis as reported by the joystick
invjoyaxis_y - inverse Y Axis as reported by the joystick
rawjoyaxis_y - Y Axis as reported by the joystick without sensitivity multipliers
invrawjoyaxis_y - inverse Y Axis as reported by the joystick without sensitivity multipliers

joyaxis_z - Z Axis as reported by the joystick
invjoyaxis_z - inverse Z Axis as reported by the joystick
rawjoyaxis_z - Z Axis as reported by the joystick without sensitivity multipliers
invrawjoyaxis_z - inverse Z Axis as reported by the joystick without sensitivity multipliers

joyrot_x - X Rotation as reported by the joystick
invjoyrot_x - Inverse X Rotation as reported by the joystick
rawjoyrot_x - X Rotation as reported by the joystick without sensitivity multipliers
invrawjoyrot_x - inverse X Rotation as reported by the joystick without sensitivity multipliers
 
joyrot_y - Y Rotation as reported by the joystick
invjoyrot_y - Inverse Y Rotation as reported by the joystick
rawjoyrot_y - Y Rotation as reported by the joystick without sensitivity multipliers
invrawjoyrot_y - inverse Y Rotation as reported by the joystick without sensitivity multipliers

joyrot_z - Z rotation as reported by the joystick
invjoyrot_z - Inverse X Rotation as reported by the joystick
rawjoyrot_z - Z Rotation as reported by the joystick without sensitivity multipliers
invrawjoyrot_Z - inverse Z Rotation as reported by the joystick without sensitivity multipliers

joybut_1 - First Button reported by the joystick
joybut_2 - Second Button reported by the joystick
...
joybut_55 - Fifty-fifth button reported by the joystick
Note: Many joysticks report the first button pressed as button 00 in Direct X, if this is the case all of your button numbers need to add one. so 2 becomes 3 etc.

Slider0 - Joystick Slider 0 Analog Control
Slider1 - Joystick Slider 1 Analog Control
Slider2 - Joystick Slider 2 Analog Control

joypov_1
joypov_2
joypov_3
joypov_4


Xbox Controller Commands
xi_dpad_left - Digital Direction Pad Left
xi_dpad_right - Digital Direction Pad Right
xi_dpad_up - Digital Direction Pad Up
xi_dpad_down - Digital Direction Pad Down

xi_thumblx - Up/Down Axis on the Left Analog Control
xi_thumbry - Right/Left Axis on the Left Analog Control
xi_thumbrx - Up/Down Axis on the Right Analog Control
xi_thumbry - Right/Left Axis on the Right Analog Control

xi_a - A Button
xi_b - B Butotn
xi_x - X Button
xi_y - Y Button
xi_back - Back Button
xi_triggerr_btn - Right Trigger Button
xi_triggerl_btn - Left Trigger Button
xi_shoulderl - Left Shoulder Button
xi_shoulderr - Right Shoulder Button
xi_thumbr - Press Right Analog Thumb Stick
xi_thumbl - Press Left Analog Thumb Stick
disconnect


Keyboard Commands
F1 - F12 - Function Keys F1 to F12
A - Z - Main Keyboard Keys A - Z
1 - 0 - Main Keyboard Keys 1 - 0
tab - tab key
backslash - backslash key
period - period key
comma - comma key
backspace - backspace key
lshift - left shift key
rshift - right shift key
lctrl - left control key
rctrl - right control key
lalt - left alt key
ralt - right alt key
enter - enter key
pgdn - Page Down Key
pgup - Page Up Key
space - space bar
up - arrow key up
down - arrow key down
left - arrow key left
right - arrow key right
np_0 - np_9 - NumberPad Keys 0 - 9
np_add - Numeric Keypad Plus Key
np_subtract - Numeric Keypad Minus Key
np_divide - Numeric Keypad Divide Key
np_multiply - Numeric Keypad Multiply Key
np_enter - Numeric Keypad Enter Key