Page 1 of 1

Movement/attack idea

PostPosted: Wed Apr 25, 2012 3:25 am
by Mahther
Just an idea, I haven't tested it yet and I don't know if it's even possible, and will probably only be useful if you're like me and always use shift to attack. Make an ISBoxer key map that uses your in-game key bind for force move as your left click when shift is not being held, maybe key map a left click to the right mouse button to loot. Make another ISBoxer key map with a shift modifier that send shift left click and shift right click to the game.

Re: Movement/attack idea

PostPosted: Wed Apr 25, 2012 5:42 am
by Mahther
Here it is. (I have move bound to F12 in-game) I think it will work wonders for keeping characters synced. It does feel a bit awkward after playing the normal way for so long. I included the right click is left click swap but won't be using that part myself as I have a different key map that sends a click to individual windows so it's redundant in my situation. I also wanted to note that you can press alt left click to send a normal left click and alt right click to send a normal right click, assuming that you haven't made a key map that conflicts with that.

Code:
<?xml version="1.0" encoding="utf-8"?>
<Box xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ObjectType>ISBoxer_Toolkit.Configs.KeyMaps.KeyMap</ObjectType>
  <SerializedObject>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;KeyMap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;
  &lt;Name&gt;Attack/Move&lt;/Name&gt;
  &lt;Description /&gt;
  &lt;UseFTLModifiers&gt;false&lt;/UseFTLModifiers&gt;
  &lt;Hold&gt;true&lt;/Hold&gt;
  &lt;Mode&gt;OnRelease&lt;/Mode&gt;
  &lt;Mappings&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Force Attack 1&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Shift+Mouse1&lt;/Combo&gt;
        &lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;Mouse1&lt;/Key&gt;
          &lt;Code&gt;0&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&gt;
      &lt;UseFTLModifiers&gt;
        &lt;Value&gt;false&lt;/Value&gt;
      &lt;/UseFTLModifiers&gt;
      &lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
      &lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
      &lt;ResetTimer&gt;0&lt;/ResetTimer&gt;
      &lt;ResetType&gt;Never&lt;/ResetType&gt;
      &lt;Mode&gt;OnRelease&lt;/Mode&gt;
      &lt;Steps&gt;
        &lt;Step&gt;
          &lt;Stick&gt;0&lt;/Stick&gt;
          &lt;Stop&gt;false&lt;/Stop&gt;
          &lt;Stump&gt;false&lt;/Stump&gt;
          &lt;Actions&gt;
            &lt;MappedKeyAction xsi:type="Keystroke"&gt;
              &lt;Target&gt;all&lt;/Target&gt;
              &lt;Combo&gt;
                &lt;Combo&gt;Shift+Mouse1&lt;/Combo&gt;
                &lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;Mouse1&lt;/Key&gt;
                  &lt;Code&gt;0&lt;/Code&gt;
                &lt;/Key&gt;
              &lt;/Combo&gt;
              &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
          &lt;/Actions&gt;
        &lt;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Force Attack 2&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Shift+Mouse2&lt;/Combo&gt;
        &lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;Mouse2&lt;/Key&gt;
          &lt;Code&gt;0&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&gt;
      &lt;UseFTLModifiers&gt;
        &lt;Value&gt;false&lt;/Value&gt;
      &lt;/UseFTLModifiers&gt;
      &lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
      &lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
      &lt;ResetTimer&gt;0&lt;/ResetTimer&gt;
      &lt;ResetType&gt;Never&lt;/ResetType&gt;
      &lt;Mode&gt;OnRelease&lt;/Mode&gt;
      &lt;Steps&gt;
        &lt;Step&gt;
          &lt;Stick&gt;0&lt;/Stick&gt;
          &lt;Stop&gt;false&lt;/Stop&gt;
          &lt;Stump&gt;false&lt;/Stump&gt;
          &lt;Actions&gt;
            &lt;MappedKeyAction xsi:type="Keystroke"&gt;
              &lt;Target&gt;all&lt;/Target&gt;
              &lt;Combo&gt;
                &lt;Combo&gt;Shift+Mouse2&lt;/Combo&gt;
                &lt;Modifiers&gt;Shift&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;Mouse2&lt;/Key&gt;
                  &lt;Code&gt;0&lt;/Code&gt;
                &lt;/Key&gt;
              &lt;/Combo&gt;
              &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
          &lt;/Actions&gt;
        &lt;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Move&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Mouse1&lt;/Combo&gt;
        &lt;Modifiers&gt;None&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;Mouse1&lt;/Key&gt;
          &lt;Code&gt;0&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&gt;
      &lt;UseFTLModifiers&gt;
        &lt;Value&gt;false&lt;/Value&gt;
      &lt;/UseFTLModifiers&gt;
      &lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
      &lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
      &lt;ResetTimer&gt;0.1&lt;/ResetTimer&gt;
      &lt;ResetType&gt;Never&lt;/ResetType&gt;
      &lt;Mode&gt;OnRelease&lt;/Mode&gt;
      &lt;Steps&gt;
        &lt;Step&gt;
          &lt;Stick&gt;0&lt;/Stick&gt;
          &lt;Stop&gt;false&lt;/Stop&gt;
          &lt;Stump&gt;false&lt;/Stump&gt;
          &lt;Actions&gt;
            &lt;MappedKeyAction xsi:type="Keystroke"&gt;
              &lt;Target&gt;all&lt;/Target&gt;
              &lt;Combo&gt;
                &lt;Combo&gt;F12&lt;/Combo&gt;
                &lt;Modifiers&gt;None&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;F12&lt;/Key&gt;
                  &lt;Code&gt;88&lt;/Code&gt;
                &lt;/Key&gt;
              &lt;/Combo&gt;
              &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
          &lt;/Actions&gt;
        &lt;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Leftclick&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Mouse2&lt;/Combo&gt;
        &lt;Modifiers&gt;None&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;Mouse2&lt;/Key&gt;
          &lt;Code&gt;0&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&gt;
      &lt;UseFTLModifiers&gt;
        &lt;Value&gt;false&lt;/Value&gt;
      &lt;/UseFTLModifiers&gt;
      &lt;SendNextClickBlockLocal&gt;false&lt;/SendNextClickBlockLocal&gt;
      &lt;ManualLoad&gt;false&lt;/ManualLoad&gt;
      &lt;ResetTimer&gt;0&lt;/ResetTimer&gt;
      &lt;ResetType&gt;Never&lt;/ResetType&gt;
      &lt;Mode&gt;OnRelease&lt;/Mode&gt;
      &lt;Steps&gt;
        &lt;Step&gt;
          &lt;Stick&gt;0&lt;/Stick&gt;
          &lt;Stop&gt;false&lt;/Stop&gt;
          &lt;Stump&gt;false&lt;/Stump&gt;
          &lt;Actions&gt;
            &lt;MappedKeyAction xsi:type="Keystroke"&gt;
              &lt;Target&gt;all&lt;/Target&gt;
              &lt;Combo&gt;
                &lt;Combo&gt;Mouse1&lt;/Combo&gt;
                &lt;Modifiers&gt;None&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;Mouse1&lt;/Key&gt;
                  &lt;Code&gt;0&lt;/Code&gt;
                &lt;/Key&gt;
              &lt;/Combo&gt;
              &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&gt;
          &lt;/Actions&gt;
        &lt;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
  &lt;/Mappings&gt;
&lt;/KeyMap&gt;</SerializedObject>
</Box>

Re: Movement/attack idea

PostPosted: Wed Apr 25, 2012 8:28 am
by Yelgis
Heh I just released an AHK script that does this same thing on my google code page.

It rebinds left click to send a F12 (bound to move) command and then binds a secondary key to left mouse to allow you to use it as an interact button for the ui, npc, and objects or to use your LMB skill. Holding shift will still attack with the LMB.

Yours is probably better to use for Innerspace and multiboxing. Mine allows people playing single copies rebind their LMB to the move action since you can't do that in the game yet.