[Utility] Autosprint and Autoquell Scripts to alleviate repetitive stress injury

Introduction

Fatshark's -tide games can be very punishing on your hands/fingers/wrists, especially with all the repetitive actions that you need to achieve certain specific combat loops and sequences. All this repetitive stress ultimately leads to problems in your wrists, resulting in carpal tunnel issues, or general RSI (repetitive stress injuries).

To compensate, players usually rely on external tools like Autohotkey - writing simple scripts to help with repetitive actions, like autoclicking, autocasting, etc., in order to alleviate this repetitive stress.

For example, in Deep Rock Galactic, to this very day there is no autosprint function, even though sprinting is a key aspect of the gameplay. To this end, I have been using an Autosprint script to help me continuously sprint in-game without having to spam the sprint button all the time (credits to Reddit user Thorlian - Google 'Deep Rock Autosprint' if you're interested).

As I needed a similar script for Darktide, I repurposed the same script for Deep Rock and extended it heavily to suit Darktide.

I have also added an autoquell function to alleviate stress from having to hold down reload/quell all the time as a Psyker.

Requirements And Prerequisites

AutoHotkey installed

Keyboard with function keys (recommended)

WASD for movement keys (this should be the case unless you're an uncultured heretic, in which case, good luck)

Read the guide (the scripts aren't usable 'out of the box' and it needs some work from you)

Key Features

The script(s) have two functions (I may want to separate them or add more features in the future - TBC):

Autosprint

Autoquell / Psyker mode

What 'autosprint' does in this script:

Script holds down sprint button 24/7 unless you're doing things that do not allow you to sprint (shooting, ADS, etc.)

Exception to the above: Moving forward + holding LClick: Charging forward as zealot with a charged heavy will not break sprint, but every other type of movement (strafing, forward+strafe) will have sprint broken if you're spamming L/R clicks

What 'autoquell' does in this script (only if Psyker mode is active):

Allows you to press a single button to continuously quell without holding the key down (script will hold the key down for you for 4 seconds max, afterwhich it will automatically release reload/quell)

Quelling auto-stops when you shoot/ADS or switch weapons/tools, with the exception of switching to staff

What 'Psyker mode' toggle does in this script:

Psyker mode enables the autoquell functionalities of this script, turn it off for all other classes

You should hear a sound when the mode is switched on/off (2 beeps mean psykermode is on)

By default, Psyker mode is switched off

Usage Notes And Instructions

You will need to do some work to use these scripts.

This involves changing your keybinds, both in-game and in the script, otherwise the scripts are not going to work.

The SIMPLEST way to use this script, is to download the 'personal keybind' version of the script, and rebind your ingame Darktide keys to match mine (you can refer to the top of the script for the keys that I use in-game)

There are TWO scripts that I will provide, one script is dependent on my custom keybinds in Darktide.

The other script is customizable but requires you to 'Find & Replace' the keys to match your in-game keybinds.

Regardless of which script you use, there are TWO keys you should replace in-game for best compatibility with this script:

Sprint: try to replace to a function key (defaults to F7 in my pre-binded script)

Reload: try to replace to a function key (default to F8 in my pre-binded script)

Other notable keys (that you can change, but try not to):

F6 / SUSPEND key: Suspends the script hotkeys

F4 / PSYKERMODE key: Toggles 'Psyker mode' on/off

Also, 'Psyker mode' is turned off by default, by turning it on, you'll be able to use the 'Autoquell' features of this script, where you just hit a button once, and the script holds reload/quell for you without you having to hold it down.

The alternative 'reload' hotkey set in the script (3_ALTRELOAD for customizable, 'r' for my keybind config) will also change it's functionality slightly to 'tap for reload, hold briefly for toggle-on' when Psyker mode is on.

Lastly, and most importantly - Hit and release the WALK key when you're ingame to 'kickstart' the script - the script wont immediately start holding down sprint for you when you first start it.

The script jams occasionally as well, use the WALK key to restart and unjam it - make a habit of tapping this key from time to time to ensure the script doesn't jam. (This key helps because it resets certain key states that it's tracking internally, whether you were sprinting/reloading/shooting/etc. - this tracking can be jumbled up during intense fights because AHK isn't able to keep up).

Download Links

Copy and paste the contents of this script and paste them into a text file, then save them as .AHK files.

Finally, run one of them with Autohotkey (do not run both, you only need one).

For usage instructions, read the Usage notes section above.

Script using my personal Darktide keybinds: https://pastebin.com/4F96Y68X

Script with customizable keys: https://pastebin.com/QD3kxiL8

Known Issues

Certain melee attacks/attack chains can be interrupted when you move in circles while spamming attacks (try to avoid doing this in the meantime)

Script can jam from time to time, and especially during/after rapid combination-key inputs - use the WALK key to 'kickstart/restart' the script

(Customizable script only) Your sprint key is being inputted into chat or other text programs - suspend the script, then hit and release the 'sprint' key on your keyboard, afterwhich the key will no longer be in a 'held down' state. This should NOT be a problem if you are using Function keys for sprint/reload, as what was recommended above

FAQ

TBC, but do let me know your comments and questions so I can populate this section.

Source: https://steamcommunity.com/sharedfiles/filedetails/?id=2917953014					

More Warhammer 40,000: Darktide guilds