A simple autohotkey script for light attack spam with mouse wheel (AHK v1.1)

Warhammer: Vermintide 23 · 25 ratings3k views19 favorites1 min readby TyomkUpdated 5 Sep, 2024View on Steam ↗

My .ahk:

#IfWinActive Warhammer: Vermintide 2 ahk_exe vermintide2.exe WheelUp::MouseClick WheelDown::MouseClick ^WheelDown::MouseClick ^WheelUp::MouseClick *WheelUp::MouseClick *WheelDown::MouseClick !WheelUp::MouseClick !WheelDown::MouseClick

Notes

Basically, this is a single macro with a couple of variants. I wanted to keep it clean, so there is no unimportant lines.

I personally find it tiring to hold LMB (another popular method of macroing light attack spam) or god forbid clicking repeatedly in a tense situation where I may subconsciously sqeeze my mouse so darn hard it hurts after a long sessions. Maybe so are you, who knows. So I prefer scrolling up and down with mouse wheel. It also doesn't prevent default heavy attacks on LMB hold if you are used to it like I am.

I know, pretty much everyone who uses AHK for VT2 already knows this, but for those who don't, let me explain the script.

Description

Before starting we let AHK know that we don't want to use this script outside of VT2:
#IfWinActive Warhammer: Vermintide 2 ahk_exe vermintide2.exe
(change vermintide2.exe to vermintide2_dx12.exe if you are using DX12) Since VT2 doesn't let you bind multiple keys to a single action, these commands allow spamming light attacks with mouse wheel scrolling up and down:
WheelUp::MouseClick WheelDown::MouseClick

Next, we want to prevent switching your weapons'n'stuff while scrolling up and down when holding Ctrl/Shift/Alt (when crouchng or dodging for example). When holding Ctrl:
^WheelUp::MouseClick ^WheelDown::MouseClick

When holding Shift:
*WheelUp::MouseClick *WheelDown::MouseClick

When holding Alt:
!WheelUp::MouseClick !WheelDown::MouseClick

In the end

That's it. This script has been working for me for two years now with no problems or hiccups whatsoever. Feel free to add something of yours to it if you like. Or if you want more useful bindings you may like, please refer to the guide mentioned above.

I hope it will save someone's left mouse button (or hand) from hurting :)

Cheers.

This guide was created by its original author on the Steam Community. Are you the author and want it removed? Request removal.