Rebind keys (that are not in keybinds)

Guide Reasoning

If you like me think B stands for backpack and not Binoculars, you will have to change game files to change your keybinds because Binoculars are not in the options - keybinds. (Imagine moving your hand away from wasd to open inventory on I, jeez man)

I wanted to swap B and I keybinds around (I, since it's only used for one thing and won't cause other problems. And you rarely use binoculars so it's fine to move the wasd hand :) )

How To

You will need a program like WinZip (I use 7-Zip) to open the data archive. So get one of these if you don't have one.

Next find your DL2 Data file and open it with previously mentioned program. Steamapps/common/Dying Light 2/ph/source

https://steamuserimages-a.akamaihd.net/ugc/1829026830912864294/401315B4328A542D57273841C1A1A17EE1DE12F6/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%2300000&letterbox=false

Next find the inputs_keyboard.scr file, right click and select edit.

Steamapps/common/Dying Light 2/ph/source/data0.pak/scripts/inputs/ (not sure why steam insist this is a link)

https://steamuserimages-a.akamaihd.net/ugc/1829026830912867487/C8E7CB09490774CF711D6F1A0F2E36CE2D0B58CD/?imw=256&&ima=fit&impolicy=Letterbox&imcolor=%2300000&letterbox=false

Now you search for the button you want to change, so in my case B and I. I search for "EKey__B" and change all those to what you want. And if something else is bound to your desired key, make sure you go all the way to the top of the document and search for the new key. In my case I, so "EKey__I" and change those to "EKey__B".

And that's all there is to it. Close your inputs_keyboard.scr file and it will ask if you want to save, click yes. The Zip program will then ask if you want to update the archive, click yes. Just make sure ALL keybinds are changed.

Seems like mouse button 4 and higher is not supported by the game as default, so I added the line

export int EMouse__BUTTON_4 = 0x0003 + 0xF000;

to the inputenums.def file at the very bottom and now I can use it for ACTION_USE_EQUIPMENT

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

More Dying Light 2 guilds