SolvedGuideUpdated

Deep Rock Galactic - A Guide to Autosprint Script Setup

Short answer

Autohotkey script that doesn't suck ass. by nicaea sera.

Autohotkey script that doesn't suck ass

by nicaea sera

Deep Rock Galactic Autosprint Script Setup

walking := false

Walk() {
if GetKeyState("insert") {
Send "{blind}{insert up}"
}
}

Sprint() {
if !GetKeyState("insert") && WinActive("Deep Rock Galactic") && !walking && !GetKeyState("LButton") && !GetKeyState("RButton") {
Send "{blind}{insert down}"
}
}

~W::
~LButton up::
~RButton up::
{
Sprint()
}

~W up::
~LButton:: ; Forcing walk when firing so charging up shots while running and jumping don't get interrupted
~RButton::
{
Walk()
}

; Laser pointer sometimes makes your sprint stuck, this fixes it
~Ctrl up::
~X up::
{
Walk()
Sprint()
}

~Shift::
{
global walking := true
Walk()
}

~Shift up::
{
global walking := false
Sprint()
}

If steam messes up formatting, here's the script on github gist

How the Autohotkey Script Works

Explanations and letters words numbers letters

Deep Rock Galactic - A Guide to Autosprint Script Setup

To use, install autohotkey 2.0, make a file with an .ahk extension, paste the code in, save, and open it. A green H will appear in your tray.

Go to DRG settings and rebind the Run key to insert. Turn on hold to sprint.

Right click on the tray icon and select Exit when you're done playing.

.

Since this is just keyboard input, you can use second wind perk without cheating. Completely vanilla behavior.

You can hold shift to walk. I find the option useful to traverse some terrain like falling down very steep vertical tunnels.

Unlike other AHK scripts, this one doesn't rely on any complex logic and just holds sprint whenever you hold W, and lets it go when you stop.

Unlike other AHK scripts, it doesn't randomly let go of sprint when you may be moving, as that can mess up jumps.

Even if something causes it to break, like super high ping or navigating menus, it repairs itself whenever you press W, or mouse 1, or mouse 2... or ctrl, or X.

.

Side effects:

Holding left or right mouse buttons will force you to walk. You already walk when shooting guns in the game so nothing really changes. This is just to prevent interrupting charging up shots with guns like the coilgun when you run and jump.

Cannot dash, unless you like reaching for the insert key. I use this script with simpleqol, it has an option for binding a custom dash key and I just use that.

.

Modifications:

If you have custom keybindings, it isn't hard to adjust the script accordingly. You can find the list of keys here.

For example, I like to have the walking key on my side mouse button, so I just changed ~Shift:: and ~Shift up:: to ~XButton1:: and XButton1 up::.

I also like to have the laser pointer on my other mouse button, so below ~X up:: I added ~XButton2 up::

.

If you have any issues with forced walking on mouse1 and mouse2, here's a version without it. Even simpler, but I find it annoying.

About Deep Rock Galactic

Keep your finger on the trigger, and learn to defend yourself against hordes of over 50 different enemy types, all of which are keen to bite, slash and acid-spit you to death. Some fly, some crawl, some snatch you from above and below. You’ll need to keep your wits about you, and make sure your teammates have your back.

Unlock thousands of cosmetics, weapons and player upgrades, making for hundreds of hours of gameplay as you work your way up the ranks and become a star employee.

The Deep Rock Galactic Corporation isn’t known for its benefits package. But at least there’s a bar on the Space Rig.

Enough talk – it’s time to get to work, and join millions of other motivated employees!

More Deep Rock Galactic guides

Did this work for you?

13 players say this worked

Related topics: save fixes, mods fixes

More for Deep Rock Galactic

All Deep Rock Galactic guides →

SolvedGuide

Deep Rock Galactic - A Guide to Rock and Stone Differences

You’ll need to rely on your wits and your traversal tools to navigate through narrow, snaking passages and vast caverns alike. Dig into 11 distinct biomes, each with their own unique cave formations and colorful (sometimes deadly) flora and fauna.

#crash#performance#multiplayer

SolvedGuide

Deep Rock Galactic - A Guide to Deepcore GK2 Builds for Hazard 5 Plus

Complete guide to properly building your Deepcore GK2 against the danger and darkness Hazard 5+ missions (also max modifiers). The guide covers builds for each overclock, providing various options according to necessity.

#performance#mods#quest

More fixes for other games

All fixes →

SolvedFixNo Asteroids

No Asteroids - How to Share Save Files and Change the Host

Why your No Asteroids save is stuck on the host's PC, why copying it by hand doesn't work, and how to let any friend take over hosting. by ReferencedMemory.

#crash#save#multiplayer#achievement

SolvedGuideMelvor Idle 2: A RuneScape Adventure

Melvor Idle 2: A RuneScape Adventure - A Guide to the Astrolabe Wiki

A free Melvor Idle 2 wiki built from the game's own data: every item, monster and skill, 1 to 99 training guides, a quest guide, money making by gold per hour, a combat calculator and a planner. Updated with each patch.

#crash#save#audio#mods

SolvedHow-toHUNGER

HUNGER - How to Find Saltpetre in Camp Lazaret

Saltpetre is the dull white salt of powder makers and physicians alike. Eloise needs a large number of it for her medicines, and the game itself tells you where to begin.

#crash#multiplayer#quest