Friday, March 25, 2011

The Simplest Way To Increase Your Gaming Experience Using Autohotkey


Please read Autohotkey Introduction before you continue!
You can set hotkeys/remap keys to be used in any games. I'll use 'Warcraft III - DOTA' as example here which autohotkey proves to be extremely useful.
1) First of all lets map the 6 item shortcut keys in DOTA, which normally requires you to click on the item panel (thus distracting you from the main battle screen), or pressing Numpad buttons on the far right side of your keyboard (thus leaving your 'skills' hotkeys on the left side of keyboard). As for me, I don't even have numpad because I'm using a Laptop :) here is where Autohotkey comes in.
2) Edit your autohotkey script file, and add in the codes below:
!q::Send {Numpad7}
!a::Send {Numpad4}
!z::Send {Numpad1}
!w::Send {Numpad8}
!s::Send {Numpad5}
!x::Send {Numpad2}
3) Now I could press 'Alt + Q' for example to use the item in that relative position(power thread in picture below), notice that the keys above represent the items in the game in relative manner as shown:
     dota hotkeys
4) You could easily use different hotkey combinations such as pressing SHIFT or Ctrl instead of Alt, everyone has their own preference. Now I can Blink, skill and Dagon instantly! :)
5) It doesn't stop here, below are some of the codes I use in DOTA game:
!b::Send {Enter}btm ms{Enter}
^!b::Send {Enter}btm care{Enter}
!l::Send {Enter}lol{Enter}
!m::Send {Enter}mid ms{Enter}
^!m::Send {Enter}mid care{Enter}
!n::Send {Enter}nvm{Enter}
!t::Send {Enter}top ms{Enter}
^!t::Send {Enter}top care{Enter}
6) Anyone that plays DOTA should be able to tell how important the above messages are :)
7) You could even write scripts to do humanly impossible task, for example you could write a script to cast double root (treant ulti) flawlessly, by programming autohotkey to cast the first root, instantly uses refresher orb, wait exactly 5 seconds (check out autohotkey's function 'sleep'), and cast second root! This is one of the examples using Autohotkey creatively.
That ends this simple guide of using Autohotkey in DOTA.

Autohotkey is used in a series of guides in this site:
  • The Simplest Programming Language That's Useful For Everyone
  • The Simplest Way To Automate Routine Tasks Using Autohotkey
  • The Simplest Way To Increase Your Gaming Experience Using Autohotkey

No comments:

Post a Comment