5 changed files with 49 additions and 19 deletions
@ -1,10 +0,0 @@ |
|||
; Press Target button extremely rapidly while Hold button is held down |
|||
|
|||
Turbo(Target,Hold) { |
|||
While GetKeyState(Hold,"P") { |
|||
SendInput, {%Target% down} |
|||
Sleep 25 |
|||
SendInput, {%Target% up} |
|||
Sleep 25 |
|||
} |
|||
} |
@ -0,0 +1,30 @@ |
|||
; Script can be directly run by or compiled into an .exe by the open-source software AutoHotkey |
|||
; https://www.autohotkey.com |
|||
|
|||
; |
|||
; Front Matter |
|||
; |
|||
|
|||
; Include relevant libraries |
|||
#Include ../lib/Prelude.ahk |
|||
#Include ../lib/HoldRepeat.ahk |
|||
|
|||
; Make this a wrapper script |
|||
WrapperPath := Format("C:\Program Files (x86)\Steam\steam.exe -applaunch 892970 --doorstop-enable true --doorstop-target {1}\r2modmanPlus-local\Valheim\profiles\Medusa\BepInEx\core\BepInEx.Preloader.dll",A_AppData) |
|||
WrapperWindow:="Valheim" |
|||
#Include ../lib/Wrapper.ahk |
|||
|
|||
; |
|||
; Hotkeys |
|||
; |
|||
|
|||
; Hold E |
|||
*#e UP::Hold("e",["LButton", "RButton","q","r"]) |
|||
|
|||
; Autorun |
|||
*#w UP::Hold("w",["s"]) |
|||
*#Shift UP::Hold("Shift",["Ctrl"]) |
|||
|
|||
; Autoclick |
|||
*#LButton UP::HoldOrRepeat("LButton",["RButton","MButton"]) |
|||
*#RButton UP::HoldOrRepeat("RButton",["LButton","MButton"]) |
Loading…
Reference in new issue