Dying Light 2
0 of 0

File information

Last updated

Original upload

Created by

SpiritF1re

Uploaded by

SpiritF1re

Virus scan

Safe to use

Tags for this mod

About this mod

For players who want to slow down and take in the sights. This mod adds the ability to toggle walking on & off on controller.

Permissions and credits
Changelogs
Recently, I remembered one of the main reasons that I used to be so engrossed in the world of Dying Light 1. I used to spend a lot of time walking through the streets of Harran, whether it was to loot or simply sneak around the hordes of infected. At first, Dying Light 2 lacked the ability to truly let the players slow down and navigate Villedor at a calmer pace. Techland added a toggle walk option for keyboard and mouse, however I couldn't help but notice they didn't include this option for controllers. Now obviously, most controller players can just ease up a little on the analog stick if they want to walk. However, if you're like me and have a fairly old controller, those precious analogs are no longer as precise as they used to be.

TLDR: This mod implements a toggle input on controller which allows players to walk smoothly, without old analog sticks causing funky dead-zone reactions.

HOW TO USE
To toggle walking on/off, simply press the right analog stick (R3).
In case you're wondering, no, this will not clash with survivor sense.
To use survivor sense, simply hold down R3 for a short period. This will not mess with the walk toggle.

HOW TO INSTALL
Find your Dying Light 2 folder and navigate through the following folders: "ph" > "source".
In the source folder, you should see data0 and data1. Drop the data2 file in the same spot and you're good to go.
If you already have a data2 file, rename my mod to data3 or 4...and so on, depending on how many mods you have.


The technical stuff
Essentially how I got these two inputs to co-exist on the same button is all thanks to a couple of input parameters.
"Tap Time" and "Hold Time".
Tap Time: A window of time in which a command will activate provided the button is pressed and let go of within the time frame.
Hold Time: A window of time in which a button needs to be held before a command is activated.

In relation to toggle walk and survivor sense...
THE TAP TIME FOR TOGGLE WALK IS [0.21 SECS] - the default window for all button presses.
THE HOLD TIME FOR SURVIVOR SENSE IS
[0.26 SECS] 
So, by the time you activate SS, you wont accidentally trigger the walk toggle.


I hope you enjoy!