Login

russian armor

COH2 AUTOHOTKEY SCRIPT [RELEASE]

22 Apr 2017, 09:47 AM
#1
avatar of le_saucisson_masque

Posts: 485 | Subs: 1

While i was deleting coh2 on my hardware, i noticed the autohotkey script i had make and thought it would be interesting to release it for everyone.


Autohotkey is a tool used to rebind key, most game have this option but relic in its infinite windsom never dare to make hotkey rebind available in any of its game .. even DOW3 :thumb:


It's a simple script that can be run even by people without autohotkey installed if you use the exe file.
But then, you can't rebind the key.

If you install autohotkey, you can edit as much as you want ahk file and then compile it in a exe file.


the autohotkey script :

#ifwinactive, Company Of Heroes 2

$z::up
return

$+z::
send {LShift up}
send {z}
return

$q::left
return

$+q::
send {LShift up}
send {q}
return

$d::right
return

$+d::
send {LShift up}
send {d}
return

$s::down
return

$+s::
send {LShift up}
send {s}
return

$MButton::Numpad0
return

$+f::
SendInput {f 5}
return

$+t::
SendInput {t 5}
return



$+Wheelup::
SendInput {LAlt down}
BlockInput MouseMove
SendInput {:}
SendInput {LAlt up}
SendInput {' 2}
BlockInput MouseMoveoff
return

$+Wheeldown::
SendInput {LCtrl down}
BlockInput MouseMove
SendInput {:}
SendInput {LCtrl up}
BlockInput MouseMoveoff
return


#ifwinactive
$^z::
Suspend,Toggle
return


and for the people who don't want to install autohotkey, the EXE file :

https://mega.nz/#!8O4RhYzC!E3IxObm2sb4ZLzoj78jwHEWmxoKoYoqtU6LDkMTPakQ

Always run it in ADMINISTRATOR MOD, else it doesn't work.


what the script does :

- make you use ZQSD key to moove camera
but you can still use these keys for other actions, like Q for attack moove, if you press SHIFT & Q.

- press SHIFT & F to make it press 5 times F, usefull when you reinforce a squad.

- press SHIFT & T to make it press 5 times T, usefull when you could abuse a bug to get 2 LMG42 on
grenadiers squad. Don't think it's still working now.

- Mouse Wheel UP to select ALL your units

- Mouse Wheel DOWN to switch between the units that are not doing anything (IDLE). Don't work on vehicle,
only infantry.

- script automaticaly stop if you alt tab to browse internet and work again when get back in coh2.


EDIT : i always used it with the regular hotkey, the one where you use the key "A" to attack moove. I don't know how it would works with the other type of hotkey.
22 Apr 2017, 13:36 PM
#2
avatar of Tiger Baron

Posts: 3145 | Subs: 2

Wait, isn't the hotkey to reinforce squads R, and not F?

I swear I keep mashing the R button to reinforce my squads.
22 Apr 2017, 13:40 PM
#3
avatar of le_saucisson_masque

Posts: 485 | Subs: 1

there are 2 types of hotkeys that you can set in option, you must be using the wrong one.
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

221 users are online: 221 guests
0 post in the last 24h
2 posts in the last week
35 posts in the last month
Registered members: 49263
Welcome our newest member, Wethe184
Most online: 2043 users on 29 Oct 2023, 01:04 AM