FAQ  •  Register  •  Login

Key Map for ROTMG (version 2)

Moderator: MiRai

<<

lax

User avatar

Site Admin

Posts: 7301

Joined: Tue Nov 17, 2009 9:32 pm

Post Fri Apr 13, 2012 10:49 pm

Key Map for ROTMG (version 2)

I have something for you guys to drop in to your ISBoxer configuration. :)

It does the following...
1. Disables Ctrl+W and Ctrl+Q hotkeys which you could otherwise use to accidentally close the game windows. This maps them to do nothing.
2. Replaces the Right Click menu behavior with a broadcast of Left Click to all windows.
3. Makes Insert always broadcast to all windows, for a safe teleport to Nexus.
4. New in v2: Adds a Hotkey, Z by default, which will paste in the /teleport <name> command (built into the game, will work once every 10 seconds) to the other windows, making them teleport to you. This requires your Character names in ISBoxer be filled in with your actual character names. If they do not match, then fill in the "Actual name" field in your ISBoxer configuration, and this Hotkey will automatically work for you from any window. :)

Here's how to use it:
1. Select All of the XML in the code box below (you can use the handy button at the top right of the code box) including the first < and the last >. All of it.
2. Copy it to your clipboard. (either right click and select Copy, or press Ctrl+C)
3. In ISBoxer, in the top left pane, right click on Key Maps and select "Paste Key Map from Clipboard"
4. Now there is a new Key Map called ROTMG. It is NOT assigned to your Character Set just by pasting it in. Select the new ROTMG key map in the upper left pane under Key Maps, so that in the bottom left pane you see its Mapped Keys
5. Drag your Character Set(s) from the top left pane to the bottom left pane so that they appear under Character Sets for the Key Map. (Do not select your Character Set in the top left pane, just drag it. The Key Map has to remain selected)
6. Export to Inner Space

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;ROTMG&lt;/Name&gt;
  &lt;Description /&gt;
  &lt;UseFTLModifiers&gt;false&lt;/UseFTLModifiers&gt;
  &lt;Hold&gt;false&lt;/Hold&gt;
  &lt;Mode&gt;OnRelease&lt;/Mode&gt;
  &lt;Mappings&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Close override&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Ctrl+W&lt;/Combo&gt;
        &lt;Modifiers&gt;Ctrl&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;W&lt;/Key&gt;
          &lt;Code&gt;17&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&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;Default&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;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Quit override&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Ctrl+Q&lt;/Combo&gt;
        &lt;Modifiers&gt;Ctrl&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;Q&lt;/Key&gt;
          &lt;Code&gt;16&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&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;Default&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;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Right click override&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;Hold&gt;
        &lt;Value&gt;true&lt;/Value&gt;
      &lt;/Hold&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;Default&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="SyncCursorAction"&gt;
              &lt;Target&gt;all other&lt;/Target&gt;
              &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
            &lt;/MappedKeyAction&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;MappedKey&gt;
      &lt;Name&gt;Nexus&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Insert&lt;/Combo&gt;
        &lt;Modifiers&gt;None&lt;/Modifiers&gt;
        &lt;Key&gt;
          &lt;Key&gt;Insert&lt;/Key&gt;
          &lt;Code&gt;338&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&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;Default&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;Insert&lt;/Combo&gt;
                &lt;Modifiers&gt;None&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;Insert&lt;/Key&gt;
                  &lt;Code&gt;338&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;Teleport to Me&lt;/Name&gt;
      &lt;Description /&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;OnPressAndRelease&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 other&lt;/Target&gt;
              &lt;Combo&gt;
                &lt;Combo&gt;Enter&lt;/Combo&gt;
                &lt;Modifiers&gt;None&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;Enter&lt;/Key&gt;
                  &lt;Code&gt;28&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;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="KeyStringAction"&gt;
              &lt;Target&gt;all other&lt;/Target&gt;
              &lt;Text&gt;/teleport {CHARACTER}&lt;/Text&gt;
            &lt;/MappedKeyAction&gt;
          &lt;/Actions&gt;
        &lt;/Step&gt;
      &lt;/Steps&gt;
    &lt;/MappedKey&gt;
    &lt;MappedKey&gt;
      &lt;Name&gt;Teleport to Me Hotkey&lt;/Name&gt;
      &lt;Description /&gt;
      &lt;Combo&gt;
        &lt;Combo&gt;Z&lt;/Combo&gt;
        &lt;Key&gt;
          &lt;Key&gt;Z&lt;/Key&gt;
          &lt;Code&gt;44&lt;/Code&gt;
        &lt;/Key&gt;
      &lt;/Combo&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;OnPressAndRelease&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="MappedKeyExecuteAction"&gt;
              &lt;Target&gt;self&lt;/Target&gt;
              &lt;RoundRobin&gt;false&lt;/RoundRobin&gt;
              &lt;KeyMapString&gt;ROTMG&lt;/KeyMapString&gt;
              &lt;MappedKeyString&gt;Teleport to Me&lt;/MappedKeyString&gt;
            &lt;/MappedKeyAction&gt;
          &lt;/Actions&gt;
        &lt;/Step&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 other&lt;/Target&gt;
              &lt;Combo&gt;
                &lt;Combo&gt;Enter&lt;/Combo&gt;
                &lt;Modifiers&gt;None&lt;/Modifiers&gt;
                &lt;Key&gt;
                  &lt;Key&gt;Enter&lt;/Key&gt;
                  &lt;Code&gt;28&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>


If you would like to SOMETIMES be able to right click and have it actually right click (e.g. to access the flash player settings), see
FAQ: I added a new Key Map but the Key Maps toggle does not disable it? to add it to the Shift+Alt+M toggle.
<<

alludus

Posts: 1

Joined: Sat Apr 14, 2012 9:03 pm

Post Sat Apr 14, 2012 9:08 pm

Re: Key Map for ROTMG

Thanks this helps alot as I have left ctrl as my voice activation key usually. How I could bind "Tab" instead of insert?
<<

Alge

User avatar

League of Extraordinary Multiboxers

Posts: 1223

Joined: Wed Jan 26, 2011 2:17 am

Location: Under the milky way tonight

Post Sat Apr 14, 2012 9:24 pm

Re: Key Map for ROTMG

Go into the Mapped Key and change both the Hotkey and the Key Combination to Tab.

Return to Realm of the Mad God

Who is online

Users browsing this forum: No registered users and 5 guests