Thursday 19 September 2013

Warcraft 3 Hotkey

Greetings, Audience.

I'm pretty sure there are still a lot of you guys who still play War3 even though that game already at least a decade old.

Thanks to the vast number of custom map developer available, the number of interesting maps keep increasing, along with the game complexity where the need for micromanagement now also include the good timing in using the 'clickable' item in the inventory.

By default, the key for the unit's inventory are mapped to the keyboard's numpad (1,2, 4,5, 7 and 8). On normal keyboard, these keys are pretty far from our left hand (where mostly right hand will only be on the mouse). To make your gameplay easier, you can 'bind' these key to another key that is closer to 'WASD' region.

To do this, I prefer to use a software called Autohotkey. It is a lightweight program, and highly customize-able. For those who are familiar with programming, the learning cure is pretty simple.

To get back to the topic, below is the hotkey that I use to remap War3 intentory keys:

!z::send {Numpad1}
!x::send {Numpad2}
!a::send {Numpad4}
!s::send {Numpad5}
!q::send {Numpad7}
!w::send {Numpad8}

To use it, simply copy paste those 6 line of code into your favourite text editor, and save it with the extension of '.ahk'. Then run it to use it. Make sure you have the autohotkey software installed. You might need to run it as administrator on vista / 7, depending on your computer's setting.

In that code, I remapped numpad 1 to ALT + Z, numpad 2 to ALT + X, and so on.

Have fun trying it in game. ^.^

1 comment: