Deep Rock Galactic

Deep Rock Galactic

Not enough ratings
Autosprint via Autohotkey
By MisterSpock
No more pressing shift.
Save your pinky!
   
Award
Favorite
Favorited
Unfavorite
Instructions
1. Download autohotkey. Google it or use the link:
https://www.autohotkey.com/

2. Install autohotkey.

3. Rightclick on your desktop > new > Auto-Hotkey Script

4. Open via Editor or Notepad (you have to rightclick on the file and then select "open with" and then select Editor etc)

5. Paste the Script down here (delete the old stuff first)

6. Doubleclick the file to run it.

You can cancel autorun in your taskbar

Script
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.

SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

;Sprintkey=k (rebind "Run" to k in controls)
;Set Sprint to “Hold To Sprint” in controls.

#IfWinActive, Deep Rock Galactic
#MaxHotkeysPerInterval 200
#InstallMouseHook

sprinting := true

~w::
if sprinting && !(GetKeyState("LButton", "P") ||GetKeyState("RButton", "P") ||GetKeyState("LControl", "P")) {
Send {k down }
sprinting := false
}
Return

~ESC::
~w Up::
Send {k Up}
sprinting := true
Return

~LControl::
Send {k Up}
sprinting := false
KeyWait, LControl
sprinting := true
Return

~RButton::
~LButton::
Send {k Up}
sprinting := false
Return

~LButton Up::
~RButton Up::
~LControl Up::
sleep 150
if GetKeyState("w", "P") && !(GetKeyState("LButton", "P") ||GetKeyState("RButton", "P")) {
Send {k down }
}
else if !GetKeyState("w", "P") && !(GetKeyState("LButton", "P") ||GetKeyState("RButton", "P")) {
sprinting := true
}
Return

Notes
You have to set Sprint to “Hold” in controls
Sprint button has to be set to k
How it works
When the Game Window is active:
Everytime you press w down, the programm simulates a continuous pressing of the shift key, except the right or left mousebutton is pressed
1 Comments
Mr. Mishima Dec 5, 2021 @ 1:09am 
This is outdated, you can't use it with dash.