Warhammer: Vermintide 2 – Simple AutoHotkey Script for Light Attack Spam with Mouse Wheel

A simple macro for those who find clicking or holding down mouse buttons a bit tiring.

My .ahk

Note: Credit goes to Tyomk

#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
Helena Stamatina
About Helena Stamatina 2739 Articles
My first game was Naughty Dog’s Crash Bandicoot (PlayStation) back in 1996. And since then gaming has been my main hobby. I turned my passion for gaming into a job by starting my first geek blog in 2009. When I’m not working on the site, I play mostly on my PlayStation. But I also love outdoor activities and especially skiing.

Be the first to comment

Leave a Reply

Your email address will not be published.


*