#Fixing the sprint key rebinding when auto-sprint is disabled.

1 messages · Page 1 of 1 (latest)

urban nest
#

With the new update auto-sprint can be disabled. But it appears the key to actually enable sprint is not rebindable. This key will always be left shift, with no option in the menu to change it. You can actually work around this, but please note: Dying Light 2 will notice modified data and inform you of it. It does no harm, but it will display a pop up every time you open the game.

  1. Navigate to the file that contains your rebindable keys. This will be at steamapps\common\Dying Light 2\ph\source.
  2. Open data0.pak using 7zip.
  3. Navigate to scripts\inputs\.
  4. Open inputs_keyboard.scr by selecting edit in the right-click menu.
  5. In here, you want to search for the keybind for _ACTION_SPRINT_TOGGLE.
  6. Rebind this key by changing the fifth argument of the AddAction function on that line. It represents the current key, being EKey__LSHIFT.
  • For example, I rebound to space. This means I changed it to EKey__SPACE_.
  • There are different examples in that file, so just look up your key if you're not sure.
  1. Make sure the file is closed and 7zip updates the archive.

Once again: Dying Light 2 will notice modified data and inform you of it. It does no harm, but it will display a pop up every time you open the game.

#

Removing the warning when starting up Dying Light 2
Just to make the circle go round, I tried to get rid of the now-added warning that appears when you open Dying Light 2.
The issue seems that the change put a modification date on the file, and Dying Light 2 notices this.
There's not a whole lot, just verify the integrity of your game files. Steam will get rid of the change.
Please note the rebind will most likely be gone, but I haven't bothered to check because I didn't like it anyway.