Autohotkey remapping

WarPlan Pacific is an operational level wargame which covers all the nations at war in the Pacific theatre from December 1941 to 1945 on a massive game scale.

Moderator: AlvaroSousa

Post Reply
eskuche
Posts: 1155
Joined: Tue Mar 27, 2018 2:29 am
Location: OH, USA

Autohotkey remapping

Post by eskuche »

Tired of scrolling with arrow keys or mouse?
This script will let you scroll with WSAD. Because W/S/A are already weather, supply, and enemy action, these are rebound to e, q, and z for easy access.

https://drive.google.com/file/d/1TgdIWn ... sp=sharing
https://www.autohotkey.com/


I don't have time to write out a full description, but the gist is this. Autohotkey is a program that lets you rebind keys to other keys. While it can do much more complicated things (I use it to take full map screenshots, for example), this is a very basic function that is currently missing from the series. Quick steps before I get screenshots up:

1. Install autohotkey. When this program is installed, any .ahk files can be opened, and the script is run (with a green "H" icon on your taskbar by the time.
2. Download the file. Put it anywhere. Right click, open it as an administrator. You can also right click, open with notepad, and see the exact script. It's very basic. I have some other junk in there for screenshotting and rebinding the reports stuff to control + # keys. Not finalized yet but you can check it out (depends on screen resolution).

Code: Select all

 
 #IfWinActive ahk_exe Warplan Pacific.exe
 w::Up
 s::Down
 a::Left
 d::Right
 q::s
 e::w
 z::a
 


That's it. Have fun zipzooping around with your left hand and clicking with the mouse.
Post Reply

Return to “Warplan Pacific”