Author Topic: Actionmapper 3.0 weapons group  (Read 356 times)

0 Members and 1 Guest are viewing this topic.

Offline Nytmare

  • Recruit
  • *
  • Posts: 64
  • Karma: 2
Actionmapper 3.0 weapons group
« on: June 19, 2010, 06:03:18 AM »
RE the new actionmapper that is included in the 3.0 MWLL patch.

I cannot get the weapons groups right compared to my previous 2.0 set up.

Weapons group 2 fires a full "alpha" no matter what weapon is actually mapped to that group. I use a 4 way HAT on my JS set up to cycle through the available weapons groups. JS button "1" fires the currently selected weapons group. Everything worked fine in 2.0, despite my best efforts playing with the new actionmapper and manual tweaking the above still occurs (full alpha fires when on group 2).

Here is the appropriate area of my actionmaps.xml:

<actionmap name="vehicle" version="19">
  <action name="Next_CBill_Option" onPress="1" onRelease="1">
   <key name="down"/>
  </action>
  <action name="Prev_CBill_Option" onPress="1" onRelease="1">
   <key name="up"/>
  </action>
  <action name="Choose_CBill_Amount" onPress="1" onRelease="1">
   <key name="right"/>
  </action>
  <action name="Choose_CBill_Player" onPress="1" onRelease="1">
   <key name="left"/>
  </action>
  <action name="Toggle_CBill_Menu" onPress="1" onRelease="1">
   <key name="rctrl"/>
  </action>
  <action name="Confirm_CBill_Menu" onPress="1" onRelease="1">
   <key name="np_enter"/>
   <key name="null"/>
  </action>
  <action name="Next_Weapon_Group" onPress="1">
   <key name="right"/>
   <key name="xi_dpad_right"/>
  </action>
  <action name="Previous_Weapon_Group" onPress="1">
   <key name="left"/>
   <key name="xi_dpad_left"/>
  </action>
  <action name="Fire_Current_Group" onPress="1">
   <key name="joybut_1"/>
  <key name="null"/></action>
  <action name="XI_Fire_Current_Group" onPress="1">
   <key name="xi_triggerr_btn"/>
  </action>
  <action name="Stop_Fire_Group1" onRelease="1">
   <key name="1"/>
  </action>
  <action name="XI_Stop_Fire_Group1" onRelease="1">
   <key name="joybut_1"/>
  </action>
  <action name="Stop_Fire_Group2" onRelease="1">
   <key name="2"/>
   <key name="mouse2"/>
  </action>
  <action name="XI_Stop_Fire_Group2" onRelease="1">
   <key name="joybut_2"/>
  </action>
  <action name="Stop_Fire_Group3" onRelease="1">
   <key name="3"/>
   <key name="mouse3"/>
  </action>
  <action name="XI_Stop_Fire_Group3" onRelease="1">
   <key name="joybut_3"/>
   <key name="xi_shoulderr"/>
  </action>
  <action name="Stop_Fire_Group4" onRelease="1">
   <key name="4"/>
   <key name="mouse4"/>
  </action>
  <action name="XI_Stop_Fire_Group4" onRelease="1">
   <key name="joybut_4"/>
  </action>
  <action name="Stop_Fire_Group5" onRelease="1">
   <key name="5"/>
   <key name="mouse5"/>
  </action>
  <action name="XI_Stop_Fire_Group5" onRelease="1">
   <key name="joybut_5"/>
  </action>
  <action name="Stop_Fire_Group6" onRelease="1">
   <key name="6"/>
   <key name="mouse6"/>
  </action>
  <action name="XI_Stop_Fire_Group6" onRelease="1">
   <key name="joybut_6"/>
  </action>
  <action name="Stop_Fire_Current_Group" onRelease="1">
   <key name="joybut_1"/>
  <key name="null"/></action>
  <action name="XI_Stop_Fire_Current_Group" onRelease="1">
   <key name="xi_triggerr_btn"/>
  </action>
  <action name="SetThrottleReverse" onPress="1">
   <key name="np_subtract"/>
  </action>
  <action name="EnableThrottleval" onPress="1">
   <key name="np_divide"/>
  </action>
  <action name="Toggle_Ramping_Throttle" onPress="1">
   <key name="k"/>
  </action>
  <action name="Toggle_Powerup_Shutdown" onPress="1">
   <key name="p"/>
  </action>
  <action name="Toggle_Auto_Shutdown" onPress="1">
   <key name="o"/>
  </action>
  <action name="firemode" onPress="1">
   <key name="backslash"/>
   <key name="xi_dpad_up"/>
  </action>
  <action name="binoculars" onPress="1">
   <key name="b"/>
  </action>
  <action name="use" onPress="1" onRelease="1">
   <key name="xi_x"/>
  </action>
  <action name="v_changeseat1" onPress="1">
   <key name="f2"/>
  </action>
  <action name="v_changeseat2" onPress="1">
   <key name="="/>
  </action>
  <action name="v_changeseat3" onPress="1">
   <key name="-"/>
  </action>
  <action name="v_changeseat4" onPress="1">
   <key name="0"/>
  </action>
  <action name="v_changeseat5" onPress="1">
   <key name="9"/>
  </action>
  <action name="v_changeview" onPress="1">
   <key name="f1"/>
  </action>
  <action name="v_zoom_in" onPress="1">
   <key name="mwheel_up"/>
  </action>
  <action name="v_zoom_out" onPress="1">
   <key name="mwheel_down"/>
  </action>
  <action name="v_lights" onPress="1" onRelease="1">
   <key name="l"/>
  </action>
  <action name="v_horn" onPress="1" onRelease="1">
   <key name="h"/>
   <key name="xi_thumbr"/>
  </action>
  <action name="v_viewup" onPress="1">
   <key name="pgup"/>
  </action>
  <action name="v_viewdown" onPress="1">
   <key name="pgdn"/>
  </action>
  <action name="v_brake" onPress="1" onRelease="1">
   <key name="x"/>
   <key name="xi_thumbl"/>
  </action>
  <action name="v_boost" onPress="1" onRelease="1" retriggerable="1">
   <key name="lshift"/>
   <key name="xi_shoulderl"/>
  </action>
  <action name="v_changeseat" onPress="1">
   <key name="xi_y"/>
  </action>
  <action name="Next_Weapon" onPress="1">
   <key name="down"/>
  </action>
  <action name="Previous_Weapon" onPress="1">
   <key name="up"/>
  </action>
  <action name="Toggle_Weapon" onPress="1">
   <key name="null"/>
   <key name="enter"/>
  </action>
  <action name="Fire_Group1" onPress="1">
   <key name="1"/>
  </action>
  <action name="XI_Fire_Group1" onPress="1">
   <key name="joybut_1"/>
  </action>
  <action name="Fire_Group2" onPress="1">
   <key name="2"/>
   <key name="mouse2"/>
  </action>
  <action name="XI_Fire_Group2" onPress="1">
   <key name="joybut_2"/>
  </action>
  <action name="Fire_Group3" onPress="1">
   <key name="3"/>
   <key name="mouse3"/>
  </action>
  <action name="XI_Fire_Group3" onPress="1">
   <key name="joybut_3"/>
   <key name="xi_shoulderr"/>
  </action>
  <action name="Fire_Group4" onPress="1">
   <key name="4"/>
   <key name="mouse4"/>
  </action>
  <action name="XI_Fire_Group4" onPress="1">
   <key name="joybut_4"/>
  </action>
  <action name="Fire_Group5" onPress="1">
   <key name="5"/>
   <key name="mouse5"/>
  </action>
  <action name="XI_Fire_Group5" onPress="1">
   <key name="joybut_5"/>
  </action>
  <action name="Fire_Group6" onPress="1">
   <key name="6"/>
   <key name="mouse6"/>
  </action>
  <action name="XI_Fire_Group6" onPress="1">
   <key name="joybut_6"/>
  </action>
  <action name="SetThrottle0" onPress="1">
   <key name="np_0"/>
  </action>
  <action name="SetThrottle1" onPress="1">
   <key name="np_1"/>
  </action>
  <action name="SetThrottle2" onPress="1">
   <key name="np_2"/>
  </action>
  <action name="SetThrottle3" onPress="1">
   <key name="np_3"/>
  </action>
  <action name="SetThrottle4" onPress="1">
   <key name="np_4"/>
  </action>
  <action name="SetThrottle5" onPress="1">
   <key name="np_5"/>
  </action>
  <action name="SetThrottle6" onPress="1">
   <key name="np_6"/>
  </action>
  <action name="SetThrottle7" onPress="1">
   <key name="np_7"/>
  </action>
  <action name="SetThrottle8" onPress="1">
   <key name="np_8"/>
  </action>
  <action name="SetThrottle9" onPress="1">
   <key name="np_9"/>
  </action>
  <action name="SetThrottle10" onPress="1">
   <key name="np_add"/>
  </action>
  <action name="SetThrottleval">
   <key name="invrawslider_0"/>
  </action>
  <action name="CenterTorso" onPress="1" onRelease="1">
   <key name="ralt"/>
  </action>
  <action name="Flush_Coolant" onPress="1" onRelease="1">
   <key name="c"/>
   <key name="xi_y"/>
  </action>
  <action name="sell" onRelease="1">
   <key name="j"/>
  </action>
 </actionmap>




Any ideas?
NBT-Mercs Clan Smoke Jaguar
NBT-HC Clan Star Adder
Fatty mech connoisseur

Offline (TLL)CapperDeluxe

  • MWLL Developer
  • Living Legend
  • *
  • Posts: 2084
  • Karma: 117
  • Life is cheap, mechs are expensive.
Re: Actionmapper 3.0 weapons group
« Reply #1 on: June 19, 2010, 06:56:34 AM »
here's your problem, fire current and fire group 1 both set to button 1 on joystick. I'm adding the "XI" fire commands to actionmapper on next patch so these will be more apparent when they occur

<action name="XI_Fire_Group1" onPress="1">
   <key name="joybut_1"/>
  </action>

<action name="Fire_Current_Group" onPress="1">
   <key name="joybut_1"/>
  <key name="null"/></action>
Play my free open source web game MiniMek - Urbie Defense!  Its "mega fun" but with mini meks!

Offline Nytmare

  • Recruit
  • *
  • Posts: 64
  • Karma: 2
Re: Actionmapper 3.0 weapons group
« Reply #2 on: June 20, 2010, 08:43:09 PM »
THX,

That solved the problem. Manually editing the xml fixed the problem. The problem is not fixed when using the actionamapper putting no selection in weapons groups 1-6 and keeping fire current group to joystick1.
NBT-Mercs Clan Smoke Jaguar
NBT-HC Clan Star Adder
Fatty mech connoisseur