Quantcast
Channel: Recent Discussions — Marvel Heroes Omega
Viewing all articles
Browse latest Browse all 13621

How to add more hotkeys

$
0
0

If the 8 hotkeys (LMB, ASDFGH, RMB) aren't enough for all of your powers, you can add keybindings by manually editing the .ini where the keybindings are stored. I have included two methods here, one for direct keybindings and another for a 'modifier' key.

Update: I have created a tool for adding keybindings here which is a lot simpler to use and includes some extra options. If you wish to use it, you don't need to follow any steps from here. If you prefer to manually edit the .ini file continue reading.

Method 1 makes direct keybindings to the powers you've assigned to the right mouse F2-F6 hotkey swaps. (You will assign your default right click power to F1). This preserves target lock.
Method 2 creates a 'modifier' key to hold and access powers on hotkey bar 2 (this breaks target lock but is a good way to access toggles and any powers that can't be placed on F1-F6, such as Ziggurat).

A working sample MarvelInputUserSettings.ini with these bindings (Q,E,R, and LeftAlt) applied can be downloaded here.


Follow these steps:

  1. If you have no existing rebinded keys, then in the game, go into Options, Keybindings, and rebind one of the keys to the exact same key you already use! I know it seems to do nothing, but this generates the keybindings file.
  2. On PC go to "My Documents\My Games\Marvel Heroes Game\MarvelGame\Config" On Mac go to "~/Library/Application Support/Marvel Heroes/MarvelGame/Config"
  3. Open "MarvelInputUserSettings.ini"
  4. Add the lines from either method (or both) to the end of the file:
  5. Method 1 (direct keybindings w/target lock):


-Bindings=(Name="Q",Command="HotkeyPressed 1 | PowerButtonPressed 1 | OnRelease PowerButtonReleased 1 | OnRelease HotkeyPressed 0")
-Bindings=(Name="E",Command="HotkeyPressed 2 | PowerButtonPressed 1 | OnRelease PowerButtonReleased 1 | OnRelease HotkeyPressed 0")
-Bindings=(Name="R",Command="HotkeyPressed 3 | PowerButtonPressed 1 | OnRelease PowerButtonReleased 1 | OnRelease HotkeyPressed 0")
.Bindings=(Name="Q",Command="HotkeyPressed 1 | PowerButtonPressed 1 | OnRelease PowerButtonReleased 1 | OnRelease HotkeyPressed 0")
.Bindings=(Name="E",Command="HotkeyPressed 2 | PowerButtonPressed 1 | OnRelease PowerButtonReleased 1 | OnRelease HotkeyPressed 0")
.Bindings=(Name="R",Command="HotkeyPressed 3 | PowerButtonPressed 1 | OnRelease PowerButtonReleased 1 | OnRelease HotkeyPressed 0")

  1. Method 2 (hold alt to toggle):


-Bindings=(Name="LeftAlt",Command="SetCurrentAvatarAbilitySet 1 | OnRelease SetCurrentAvatarAbilitySet 0")
.Bindings=(Name="LeftAlt",Command="SetCurrentAvatarAbilitySet 1 | OnRelease SetCurrentAvatarAbilitySet 0")

  • 5. In-Game:
    • For Method 1: Right click the Right Mouse Button slot and assign the ability you want your right mouse button to be to F1, then assign abilities for your new keybindings by pressing F2, F3, F4 for the 'Q', 'E', and 'R' keybindings respectively.)
    • For Method 2: Just switch hotkey pages and drag powers onto the second bar.

That's all there is to it.


WASD Movement


Since controller support has been added, keyboard movement can now be achieved by adding these keybindings:

-Bindings=(Name="W",Command="Axis aBaseY Speed=1.0 DeadZone=0.2")
-Bindings=(Name="A",Command="Axis aStrafe Speed=-1.0 DeadZone=0.2")
-Bindings=(Name="S",Command="Axis aBaseY Speed=-1.0 DeadZone=0.2")
-Bindings=(Name="D",Command="Axis aStrafe Speed=1.0 DeadZone=0.2")
.Bindings=(Name="W",Command="Axis aBaseY Speed=1.0 DeadZone=0.2")
.Bindings=(Name="A",Command="Axis aStrafe Speed=-1.0 DeadZone=0.2")
.Bindings=(Name="S",Command="Axis aBaseY Speed=-1.0 DeadZone=0.2")
.Bindings=(Name="D",Command="Axis aStrafe Speed=1.0 DeadZone=0.2")

You can change WASD to ESDF or Up Left Down Right (for arrow keys) or whatever you prefer.


Additional notes/troubleshooting:


If you are having trouble getting this working I would highly suggest using the hotkey editor I've made over here.

Other keys are possible, try "LeftShift", "LeftControl", "one", "two","three". See http://udn.epicgames.com/Three/KeyBinds.html for a full list.

Lines should always be made in duplicate, the first line starting with a '-' and an identical line starting with a '.'

It is possible your game is using a different folder to store the .ini files than the folder I suggested. You should check these folders for the correct .ini files (time stamps can be useful for identifying the correct folder):

\Documents\My Games\Marvel Heroes\MarvelGame\Config

\Documents\My Games\Marvel Heroes Game\MarvelGame\Config

Razer Naga users should check the bindings @Xenosaj set up here.

Older method direct keybinds directly to slots on bar 2/3 (Use for Ziggurat):

The guide originally had a method for direct keybindings that would switch the bar, push the button, and switch the bar back. This can still be handy for using a Ziggurat since it needs to be on the bar, or if you just need more keys. So for posterity here is that method:


-Bindings=(Name="Q",Command="SetCurrentAvatarAbilitySet 1 | PowerButtonPressed 2 | OnRelease PowerButtonReleased 2 | OnRelease SetCurrentAvatarAbilitySet 0")
-Bindings=(Name="E",Command="SetCurrentAvatarAbilitySet 1 | PowerButtonPressed 3 | OnRelease PowerButtonReleased 3 | OnRelease SetCurrentAvatarAbilitySet 0")
-Bindings=(Name="R",Command="SetCurrentAvatarAbilitySet 1 | PowerButtonPressed 4 | OnRelease PowerButtonReleased 4 | OnRelease SetCurrentAvatarAbilitySet 0")
.Bindings=(Name="Q",Command="SetCurrentAvatarAbilitySet 1 | PowerButtonPressed 2 | OnRelease PowerButtonReleased 2 | OnRelease SetCurrentAvatarAbilitySet 0")
.Bindings=(Name="E",Command="SetCurrentAvatarAbilitySet 1 | PowerButtonPressed 3 | OnRelease PowerButtonReleased 3 | OnRelease SetCurrentAvatarAbilitySet 0")
.Bindings=(Name="R",Command="SetCurrentAvatarAbilitySet 1 | PowerButtonPressed 4 | OnRelease PowerButtonReleased 4 | OnRelease SetCurrentAvatarAbilitySet 0")
  • Name="Q" - is the key to be bound. Change "Q" to what you want (for numbers, use "one", "two", etc. See 'Mappable Keys' here: http://udn.epicgames.com/Three/KeyBinds.html)
  • SetCurrentAvatarAbilitySet 1 - 1 is the number of the hotkey page, ranging from 0-2 (0 is default, 1 is page 2, 2 is page 3..)
  • PowerButtonPressed 2 - This can be 0-7, 0 is the slot that would be the left mouse button slot, 1 is the right mouse button slot, and 2-7 are the 6 'normal' slots in between. (thx @Xenosaj )
  • OnRelease PowerButtonRelease 2 - Just make sure this matches the button pressed above.
  • OnRelease SetCurrentAvatarAbilitySet 0 - This returns you to the default hotkey bar when you let go of the key. Keep it set to 0.

The layout for the PowerButtonPressed looks like this:

So for each hotkey you want just paste that line again and change "Q" to whatever key you want (it will override any assignment that appears before it), and change PowerButtonPressed and PowerButtonRelease to the next number up.


If you have any issues, post here or PM me.

You might find @sifuedition's guide helpful as well: http://forums.marvelheroes.com/discussion/comment/2506221#Comment_2506221


Viewing all articles
Browse latest Browse all 13621

Trending Articles