About this mod
Autohotkey script I found on the internet to make sprinting like how most games are, for games that are only hold to sprint.
- Permissions and credits
Full code:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
#SingleInstance, Force
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
*LShift::Send {Blind}{LShift down}
*LShift up::
*~w up::
*~a up::
*~s up::
*~d up::
If GetKeyState("LShift") && !GetKeyState("w","p") && !GetKeyState("a","p") && !GetKeyState("s","p") && !GetKeyState("d","p") && !GetKeyState("LShift","p")
Send {Blind}{LShift up}
Return
To use, just run the .ahk or .exe.
Shift is now a toggle until WASD (and shift) is let go. Like how most games are.