Dying Light 2
0 of 0

File information

Last updated

Original upload

Created by

Minty Fresh Death

Uploaded by

MintyFreshDeath

Virus scan

Safe to use

Tags for this mod

68 comments

  1. MintyFreshDeath
    MintyFreshDeath
    • member
    • 0 kudos
    Locked
    Sticky
    Greetings everyone.

    I have uploaded a new version of this mod as Patch 1.06 has launched and Techland have updated the inputs_keyboard.scr file with some new options.

    The game should still run on the old version of the file, but if you're suddenly having trouble with your configs then I recommend you download the new version and make your keybind changes as necessary.
  2. CoNzz97
    CoNzz97
    • supporter
    • 0 kudos
    Sticky
    Not sure why, but after changing C to CTRL (made sure to use the correct name for it from inputenums.def) my mouse is no longer picked up. If I delete data3.pak it works again.
    Edit; Fixed it, I think I just changed a binding that shouldn't be changed.
    Also heres inputenums.def it contains the names of all the bindings that are available:

    Spoiler:  
    Show
    //namespace EKey
    export int EKey__NONE           = 0x00;
    export int EKey__ESCAPE         = 0x01;
    export int EKey__1              = 0x02;
    export int EKey__2              = 0x03;
    export int EKey__3              = 0x04;
    export int EKey__4              = 0x05;
    export int EKey__5              = 0x06;
    export int EKey__6              = 0x07;
    export int EKey__7              = 0x08;
    export int EKey__8              = 0x09;
    export int EKey__9              = 0x0A;
    export int EKey__0              = 0x0B;
    export int EKey__MINUS          = 0x0C;         // '-' on main keyboard
    export int EKey__EQUALS         = 0x0D;
    export int EKey__BACK           = 0x0E;         // backspace
    export int EKey__TAB            = 0x0F;
    export int EKey__Q              = 0x10;
    export int EKey__W              = 0x11;
    export int EKey__E              = 0x12;
    export int EKey__R              = 0x13;
    export int EKey__T              = 0x14;
    export int EKey__Y              = 0x15;
    export int EKey__U              = 0x16;
    export int EKey__I              = 0x17;
    export int EKey__O              = 0x18;
    export int EKey__P              = 0x19;
    export int EKey__LBRACKET       = 0x1A;
    export int EKey__RBRACKET       = 0x1B;
    export int EKey__RETURN         = 0x1C;         // Enter on main keyboard
    export int EKey__LCONTROL       = 0x1D;         // on x360 left and right CONTROL are the same
    export int EKey__A              = 0x1E;
    export int EKey__S              = 0x1F;
    export int EKey__D              = 0x20;
    export int EKey__F              = 0x21;
    export int EKey__G              = 0x22;
    export int EKey__H              = 0x23;
    export int EKey__J              = 0x24;
    export int EKey__K              = 0x25;
    export int EKey__L              = 0x26;
    export int EKey__SEMICOLON      = 0x27;
    export int EKey__APOSTROPHE     = 0x28;
    export int EKey__GRAVE          = 0x29;         // Accent grave
    export int EKey__LSHIFT         = 0x2A;         // on x360 left and right SHIFT are the same
    export int EKey__BACKSLASH      = 0x2B;
    export int EKey__Z              = 0x2C;
    export int EKey__X              = 0x2D;
    export int EKey__C              = 0x2E;
    export int EKey__V              = 0x2F;
    export int EKey__B              = 0x30;
    export int EKey__N              = 0x31;
    export int EKey__M              = 0x32;
    export int EKey__COMMA          = 0x33;
    export int EKey__PERIOD         = 0x34;         // '.' on main keyboard
    export int EKey__SLASH          = 0x35;         // '/' on main keyboard
    export int EKey__RSHIFT         = 0x36;
    export int EKey__MULTIPLY       = 0x37;         // '*' on numeric keypad
    export int EKey__LMENU          = 0x38;         // left Alt
    export int EKey__SPACE_         = 0x39;
    export int EKey__CAPITAL        = 0x3A;
    export int EKey__F1             = 0x3B;
    export int EKey__F2             = 0x3C;
    export int EKey__F3             = 0x3D;
    export int EKey__F4             = 0x3E;
    export int EKey__F5             = 0x3F;
    export int EKey__F6             = 0x40;
    export int EKey__F7             = 0x41;
    export int EKey__F8             = 0x42;
    export int EKey__F9             = 0x43;
    export int EKey__F10            = 0x44;
    export int EKey__NUMLOCK        = 0x45;
    export int EKey__SCROLL         = 0x46;         // Scroll Lock
    export int EKey__NUMPAD7        = 0x47;
    export int EKey__NUMPAD8        = 0x48;
    export int EKey__NUMPAD9        = 0x49;
    export int EKey__SUBTRACT       = 0x4A;         // '-' on numeric keypad
    export int EKey__NUMPAD4        = 0x4B;
    export int EKey__NUMPAD5        = 0x4C;
    export int EKey__NUMPAD6        = 0x4D;
    export int EKey__ADD            = 0x4E;         // '+' on numeric keypad
    export int EKey__NUMPAD1        = 0x4F;
    export int EKey__NUMPAD2        = 0x50;
    export int EKey__NUMPAD3        = 0x51;
    export int EKey__NUMPAD0        = 0x52;
    export int EKey__DECIMAL        = 0x53;         // '.' on numeric keypad
    export int EKey__OEM_102        = 0x56;         // < > | on UK/Germany keyboards
    export int EKey__F11            = 0x57;
    export int EKey__F12            = 0x58;
    export int EKey__F13            = 0x64;
    export int EKey__F14            = 0x65;
    export int EKey__F15            = 0x66;
    export int EKey__KANA           = 0x70;         // (Japanese keyboard)
    export int EKey__ABNT_C1        = 0x73;         // / ? on Portugese (Brazilian) keyboards
    export int EKey__CONVERT        = 0x79;         // Japanese keyboard
    export int EKey__NOCONVERT      = 0x7B;         // Japanese keyboard
    export int EKey__YEN            = 0x7D;         // Japanese keyboard
    export int EKey__ABNT_C2        = 0x7E;         // Numpad '.' on Portugese (Brazilian) keyboards
    export int EKey__NUMPADEQUALS   = 0x8D;         // '=' on numeric keypad (NEC PC98)
    export int EKey__PREVTRACK      = 0x90;         // Previous Track (_CIRCUMFLEX on Japanese keyboard)
    export int EKey__AT             = 0x91;
    export int EKey__COLON          = 0x92;
    export int EKey__UNDERLINE      = 0x93;
    export int EKey__KANJI          = 0x94;         // Japanese keyboard
    export int EKey__STOP           = 0x95;
    export int EKey__AX             = 0x96;
    export int EKey__UNLABELED      = 0x97;
    export int EKey__NEXTTRACK      = 0x99;         // Next Track
    export int EKey__NUMPADENTER    = 0x9C;         // Enter on numeric keypad
    export int EKey__RCONTROL       = 0x9D;
    export int EKey__MUTE           = 0xA0;         // Mute
    export int EKey__CALCULATOR     = 0xA1;         // Calculator
    export int EKey__PLAYPAUSE      = 0xA2;         // Play / Pause
    export int EKey__MEDIASTOP      = 0xA4;         // Media Stop
    export int EKey__VOLUMEDOWN     = 0xAE;         // Volume -
    export int EKey__VOLUMEUP       = 0xB0;         // Volume +
    export int EKey__WEBHOME        = 0xB2;         // Web home
    export int EKey__NUMPADCOMMA    = 0xB3;         // ';' on numeric keypad (NEC PC98)
    export int EKey__DIVIDE         = 0xB5;         // '/' on numeric keypad
    export int EKey__SYSRQ          = 0xB7;
    export int EKey__RMENU          = 0xB8;         // right Alt
    export int EKey__PAUSE          = 0xC5;         // Pause
    export int EKey__HOME           = 0xC7;         // Home on arrow keypad
    export int EKey__UP_            = 0xC8;         // UpArrow on arrow keypad
    export int EKey__PRIOR          = 0xC9;         // PgUp on arrow keypad
    export int EKey__LEFT           = 0xCB;         // LeftArrow on arrow keypad
    export int EKey__RIGHT          = 0xCD;         // RightArrow on arrow keypad
    export int EKey__END            = 0xCF;         // End on arrow keypad
    export int EKey__DOWN           = 0xD0;         // DownArrow on arrow keypad
    export int EKey__NEXT           = 0xD1;         // PgDn on arrow keypad
    export int EKey__INSERT         = 0xD2;         // Insert on arrow keypad
    export int EKey__DELETE         = 0xD3;         // Delete on arrow keypad
    export int EKey__LWIN           = 0xDB;         // Left Windows key
    export int EKey__RWIN           = 0xDC;         // Right Windows key
    export int EKey__APPS           = 0xDD;         // AppMenu key
    export int EKey__POWER          = 0xDE;         // System Power
    export int EKey__SLEEP          = 0xDF;         // System Sleep
    export int EKey__WAKE           = 0xE3;         // System Wake
    export int EKey__WEBSEARCH      = 0xE5;         // Web Search
    export int EKey__WEBFAVORITES   = 0xE6;         // Web Favorites
    export int EKey__WEBREFRESH     = 0xE7;         // Web Refresh
    export int EKey__WEBSTOP        = 0xE8;         // Web Stop
    export int EKey__WEBFORWARD     = 0xE9;         // Web Forward
    export int EKey__WEBBACK        = 0xEA;         // Web Back
    export int EKey__MYCOMPUTER     = 0xEB;         // My Computer
    export int EKey__MAIL           = 0xEC;         // Mail
    export int EKey__MEDIASELECT    = 0xED;         // Media Select
    export int EKey__MOUSE_BUTTON1  = 0xF000;       // Mouse Button1
    export int EKey__MOUSE_BUTTON2  = 0xF001;       // Mouse Button2
    export int EKey__MOUSE_BUTTON3  = 0xF002;       // Mouse Button3
    export int EKey__MOUSE_BUTTON4  = 0xF003;       // Mouse Button4
    export int EKey__MOUSE_BUTTON5  = 0xF004;       // Mouse Button5
    export int EKey__MOUSE_BUTTON6  = 0xF005;       // Mouse Button6
    export int EKey__MOUSE_BUTTON7  = 0xF006;       // Mouse Button7
    export int EKey__MOUSE_BUTTON8  = 0xF007;       // Mouse Button8
    export int EKey__MOUSE_WHEEL_UP = 0x00F1;
    export int EKey__MOUSE_WHEEL_DN = 0x00F2;


    //namespace EJoy
    export int EJoy__AXIS_X         = 0x0000;
    export int EJoy__AXIS_Y         = 0x0001;
    export int EJoy__AXIS_Z         = 0x0002;
    export int EJoy__AXIS_RX        = 0x0003;
    export int EJoy__AXIS_RY        = 0x0004;
    export int EJoy__AXIS_RZ        = 0x0005;
    export int EJoy__AXIS_SLIDER_0  = 0x0006;
    export int EJoy__AXIS_SLIDER_1  = 0x0007;
    export int EJoy__AXIS_POV_0     = 0x0008;
    export int EJoy__AXIS_POV_1     = 0x0009;
    export int EJoy__AXIS_POV_2     = 0x000A;
    export int EJoy__AXIS_POV_3     = 0x000B;

    export int EJoy__BUTTON_1       = 0x0F00;
    export int EJoy__BUTTON_2       = 0x0F01;
    export int EJoy__BUTTON_3       = 0x0F02;
    export int EJoy__BUTTON_4       = 0x0F03;
    export int EJoy__BUTTON_5       = 0x0F04;
    export int EJoy__BUTTON_6       = 0x0F05;
    export int EJoy__BUTTON_7       = 0x0F06;
    export int EJoy__BUTTON_8       = 0x0F07;
    export int EJoy__BUTTON_9       = 0x0F08;
    export int EJoy__BUTTON_10      = 0x0F09;
    export int EJoy__BUTTON_11      = 0x0F0A;
    export int EJoy__BUTTON_12      = 0x0F0B;
    export int EJoy__BUTTON_13      = 0x0F0C;
    export int EJoy__BUTTON_14      = 0x0F0D;
    export int EJoy__BUTTON_15      = 0x0F0E;
    export int EJoy__BUTTON_16      = 0x0F0F;

    export int EJoy__AXIS_LEFTTRIGGER       = 2;
    export int EJoy__AXIS_RIGHTTRIGGER      = 5;
    export int EJoy__AXIS_THUMBLX           = 0;
    export int EJoy__AXIS_THUMBLY           = 1;
    export int EJoy__AXIS_THUMBRX           = 3;
    export int EJoy__AXIS_THUMBRY           = 4;

    export int EJoy__BUTTON_A             = 0x0F00;     //_BUTTON_1
    export int EJoy__BUTTON_B             = 0x0F01;     //_BUTTON_2
    export int EJoy__BUTTON_X             = 0x0F02;     //_BUTTON_3
    export int EJoy__BUTTON_Y             = 0x0F03;     //_BUTTON_4
    export int EJoy__BUTTON_LEFTSHOULDER  = 0x0F04;     //_BUTTON_5
    export int EJoy__BUTTON_RIGHTSHOULDER = 0x0F05;     //_BUTTON_6
    export int EJoy__BUTTON_START         = 0x0F07;     //_BUTTON_7
    export int EJoy__BUTTON_BACK          = 0x0F06;     //_BUTTON_8
    export int EJoy__BUTTON_LEFTTHUMB     = 0x0F08;     //_BUTTON_9
    export int EJoy__BUTTON_RIGHTTHUMB    = 0x0F09;     //_BUTTON_10

    export int EJoy__BUTTON_DPADUP        = 0x0F0A;     //_BUTTON_11
    export int EJoy__BUTTON_DPADDOWN      = 0x0F0B;     //_BUTTON_12
    export int EJoy__BUTTON_DPADLEFT      = 0x0F0C;     //_BUTTON_13
    export int EJoy__BUTTON_DPADRIGHT     = 0x0F0D;     //_BUTTON_14

    export int EJoy__BUTTON_TOUCHPAD      = 0x0F0E;     //EJoy__BUTTON_15

    //namespace EMouse
    export int EMouse__AXIS_X          = 0x0000;
    export int EMouse__AXIS_Y          = 0x0001;
    export int EMouse__AXIS_Z          = 0x0002;

    export int EMouse__AXIS_RX         = 0x0003;
    export int EMouse__AXIS_RY         = 0x0004;
    export int EMouse__AXIS_RZ         = 0x0005;

    export int EMouse__BUTTON_1        = 0x0000 + 0xF000;
    export int EMouse__BUTTON_2        = 0x0001 + 0xF000;
    export int EMouse__BUTTON_3        = 0x0002 + 0xF000;
    1. Kaineyy
      Kaineyy
      • member
      • 0 kudos
      Thanks this comment should be pinned
  3. Wolfram312
    Wolfram312
    • member
    • 0 kudos
    I don't know what I did, but now I can't run(sprint). I tried to reinstall the file, but the file is somehow saved and I can't roll back to the original version
  4. DAGODINDAWORLD
    DAGODINDAWORLD
    • member
    • 0 kudos
    So yeah, i dont have drivers for my touchpad(i cant install them dont talk about this), on water tower mission you need to press m and scroll up or down in order to continue the storyline, but since i dont have drivers(nor emulators for scrolling) i cant scroll, because the game begs for scrolling down or up to zoom in the map, cant find something which would help me at this mod, can anyone help me?
  5. WuulfKnight
    WuulfKnight
    • member
    • 0 kudos
    So I changed the bindings for the Air Kick and Use Equipment, and after reentering the game I suddenly cant move my cursor anymore and when the game intro plays (epilepsy warning etc) instead of it saying "Skip with Enter" i cant skip it anymore and it says "Skip with UNKNOWN KEY".

    Anybody got an idea? Im pretty sure I didnt change anything other than those 2 controls.
    1. MintyFreshDeath
      MintyFreshDeath
      • member
      • 0 kudos
      Which lines in the file did you edit? Was one of them under a tab that read "View("&Keybinding_View_Actions&")"?
    2. WuulfKnight
      WuulfKnight
      • member
      • 0 kudos
      nope, all the changes were done in the "sub Keyboard" category, where the "AddAction" lines are
    3. MintyFreshDeath
      MintyFreshDeath
      • member
      • 0 kudos
      If you replaced "AddAction(_ACTION_USE_EQUIPEMENT,", that binds to Mouse Button 3 by default. If you changed it to a keyboard bind then you'll need to switch the part earlier on the line that reads "EInputDevice_Mouse" with "EInputDevice_Keyboard".

      If you tried to bind it to another mouse button other than left, right or centre, then it probably won't work. I think it's something to do with only 3 buttons being defined at the very end of the inputenums.def file.
    4. WuulfKnight
      WuulfKnight
      • member
      • 0 kudos
      yup, i tried to rebind it to mouse 4, i also changed the "EInputDevice_Mouse" line, but i guess u're right, hopefully Techland adds the ability to bind more mouse buttons in the future
    5. Massacher
      Massacher
      • member
      • 0 kudos
      I checked "AddAction(_ACTION_USE_EQUIPEMENT,"

      and its BUTTON_3 but when in game it doesn't do the action I want it to.

      I previously had it bound to V and in my mouse software I bound my middle mouse button to V. But the thing is it has three zones as its also the scroll wheel. (You can see the other two zones above and below are grey - unbound). And I can only bind one zone to one key. I can't put all three zones to V. If that makes sense?
      Here's a ss to illustrate:

      Basically I want to have my middle mouse button as the use consumable key but only for throwable weapons like the throwing knives. Is this possible?

      And I changed H so its bound to BUTTON_2 in the inputs_keyboard.scr file. So I can heal with mouse button 2.
      I'm going to see if that works right now.
    6. Massacher
      Massacher
      • member
      • 0 kudos
      bump
    7. MintyFreshDeath
      MintyFreshDeath
      • member
      • 0 kudos
      I don't think it's possible to bind the "Use consumable" key to just one or two particular consumables. It's all of them or nothing.

      The way you might get around that is to use the in game Inventory menu and make sure only one type of consumable is available for use (so only select throwing knives and leave the other three spots blank).
    8. Adeline
      Adeline
      • supporter
      • 21 kudos
      Hello,

      What is the name of action of Air Kick ?
      Cannot find in file :/

      Thanks
  6. iRhyiku
    iRhyiku
    • member
    • 0 kudos
    Any way to use the shift keys?

    i.e:

    ! " £ $ % ^ & * ( ) 
  7. koalaeio
    koalaeio
    • member
    • 0 kudos
    Hello,

    I just wanted to thank you for sharing the method.

    I'll be able to change the keys to conflict options (R to sprint while R is used for merchants, mouse 2 to aim with a bow while mouse 2 is used for blocking) because the devs added a lot of possibilities in-game for remapping but all the mappings are exclusive.
  8. ryanjp89
    ryanjp89
    • member
    • 9 kudos
    Edit:Got it working. ty for the awesome mod.
  9. YukiBoo
    YukiBoo
    • member
    • 0 kudos
    Anyone have a clue what the binding is called for the weapon wheel, I think I've gone blind as I cannot find it in the key binding file. I use mouse button 3 to interact and every time I hold it down the damn weapon wheel comes up. I did change my interact button because of this but I just don't like as I'm too used to using mouse button 3. Any help would be appreciated.
    1. MintyFreshDeath
      MintyFreshDeath
      • member
      • 0 kudos
      Try experimenting with the following lines:

      AddAction(_ACTION_GUI_EXTENDED_HUD
      AddAction(_ACTION_GUI_WHEEL_LEFT
      AddAction(_ACTION_GUI_WHEEL_UP
      AddAction(_ACTION_GUI_WHEEL_RIGHT
    2. MrCBlower
      MrCBlower
      • supporter
      • 0 kudos
      Thank for the info, I'll have a go.
  10. Lovis44
    Lovis44
    • member
    • 0 kudos
    hello i want to change the aim button for ranged weapons  from  Control to right  mouse  button. but i dont know what to do.   
    1. MintyFreshDeath
      MintyFreshDeath
      • member
      • 0 kudos
      Look for the line that begins with "AddAction(_ACTION_WEAPON_ZOOM,". You actually have a few options here.

      You can change the part of that line that reads "EInputDevice_Keyboard" to "EInputDevice_Mouse" and "EKey__LCONTROL" to "EMouse__BUTTON_2".

      Or you could remove the two slashes from the line above it (because the line above already has the action assigned to Mouse 2) and comment out the line with two slashes at the beginning.

      I should warn you though - doing this may break your game, especially if you still have Block assigned to Mouse 2. If Techland's dev team commented out the line it may well be because it didn't work as intended.
  11. TroyS64
    TroyS64
    • member
    • 0 kudos
    Does anyone know the name of the grappling/grapple throw combat skill?
  12. kentylad
    kentylad
    • premium
    • 0 kudos
    when i change jump to capslock the cursor gets stuck in the corner and says unknown key can someone help
    1. kentylad
      kentylad
      • premium
      • 0 kudos
      worried ive broke it
    2. MintyFreshDeath
      MintyFreshDeath
      • member
      • 0 kudos
      It sounds like you've made a typo. The game is very specific about what the keys should be defined as. Try using "EKey__CAPITAL" for Caps Lock.
    3. kentylad
      kentylad
      • premium
      • 0 kudos
      ok ill try
    4. kentylad
      kentylad
      • premium
      • 0 kudos
      i tried putting everything back to normal and mouse still not working
    5. kentylad
      kentylad
      • premium
      • 0 kudos
      i need to get original files bk
    6. kentylad
      kentylad
      • premium
      • 0 kudos
      whats the actual word for CAPSLOCK
    7. kentylad
      kentylad
      • premium
      • 0 kudos
      hi can u help me
    8. MintyFreshDeath
      MintyFreshDeath
      • member
      • 0 kudos
      If you need to restore the original config, just redownload the mod and move data3.pak into the Dying Light 2/ph/source folder without changing anything.

      Also, you can change the key for jumping by using the in-game options menu. This mod is meant for redefining keys that can't be accessed through those means.