WASD map movement with AutoHotkey?

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
User avatar
Zakhal
Posts: 1409
Joined: Thu Jan 04, 2001 10:00 am
Location: Jyväskylä, Finland

WASD map movement with AutoHotkey?

Post by Zakhal »

Yesterday I got WASD work with WarPlan with this script after I made sure VirusScanner does not mark it as false positive:

#IfWinActive ahk_exe WarPlan.exe
w::Up
s::Down
a::Left
d::Right
#IfWinActive

I played north africa campaign through after that. And today excited I bought WarPlan pacific. But for some reason there is no way I can get the AutoHotkey to work. I tried all possible combinations. I even tried this one, which works even in notepad but not WarPlan Pacific:

w::Up
s::Down
a::Left
d::Right

Did warplan pacific somehow drop support for AutoHotkey? Has anyone managed to get it working? WASD are the only keys I need for wargames, I dont need any other. WASD is very important for my wrists. They start to hurt if I dont have them. I like wargames but Im not masochist.
"99.9% of all internet arguments are due to people not understanding someone else's point. The other 0.1% is arguing over made up statistics."- unknown poster
"Those who dont read history are destined to repeat it."– Edmund Burke
User avatar
Zakhal
Posts: 1409
Joined: Thu Jan 04, 2001 10:00 am
Location: Jyväskylä, Finland

RE: WASD map movement with AutoHotkey?

Post by Zakhal »

My last hope was to try my microsoft numeric keypad which stopped working due to broken battery acid few years ago. I never managed to get it working and where I live they dont sell these anymore:
https://www.amazon.co.uk/Microsoft-CYD- ... B002KEQ34G

But now that I tried, it worked instantly. Wow Im saved wow! Still I would like AutoHotkey to work. I would use 5 instead of 2 to make it perfect. Would be nice if the developers would actually test their games with AutoHotkey to make sure it works (if they dont support WASD). So far WarPlan Pacific is the only game for me that doesnt seem to work.
"99.9% of all internet arguments are due to people not understanding someone else's point. The other 0.1% is arguing over made up statistics."- unknown poster
"Those who dont read history are destined to repeat it."– Edmund Burke
eskuche
Posts: 1152
Joined: Tue Mar 27, 2018 2:29 am
Location: OH, USA

RE: WASD map movement with AutoHotkey?

Post by eskuche »

Yup I tried writing some scripts to take screenshots. Doesn’t work even in administrator mode. Perhaps Alvaro can shed light on permissions for the game.
User avatar
AlvaroSousa
Posts: 12047
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: WASD map movement with AutoHotkey?

Post by AlvaroSousa »

I don't block anything in WP series.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
HeinzHarald
Posts: 139
Joined: Mon Dec 30, 2013 11:40 pm
Location: Varberg, Sweden

RE: WASD map movement with AutoHotkey?

Post by HeinzHarald »

Could it be an active window issue perhaps? Tried toggling between windowed and fullscreen?
eskuche
Posts: 1152
Joined: Tue Mar 27, 2018 2:29 am
Location: OH, USA

RE: WASD map movement with AutoHotkey?

Post by eskuche »

Doesn't work either. Any line after changing window to WP stops the scripts right after.
Post Reply

Return to “Warplan Pacific”