Nioh 2 – The Complete Edition

Nioh 2 – The Complete Edition

Not enough ratings
Dashing and Dodging by using both Mouse Scroll Wheel Up and Down
By Geroiko
This guide is for keyboard and mouse users who want to use their scroll wheel (both scroll up and down directions) in order to perform a dodge / roll, and their middle mouse button to sprint (or any other keybind honestly for sprinting). Unlike Nioh 1 that had extra customisable controls to set up the aforementioned keybindings, Nioh 2 sadly does not offer this in control settings, hence, it requires an external workaround to achieve this effect.
   
Award
Favorite
Favorited
Unfavorite
About this guide:
For any keyboard and mouse user out there who played Nioh 1 (or any other game for that matter) and got used to the extra customisation controls for various inputs, specifically for sprinting and dodging, you will be disappointed to figure out once you launch Nioh 2 that the controls have been butchered and you might not be able achieve the exact same keybind mapping you had in Nioh 1.

To be more precise, in Nioh 1 you could achieve the following keybind mapping:

Set 'Sprint' on Middle Mouse Button (held) in the "Dash / Dodge" input of the controls;
"Scroll Wheel Up" in the "Dodge (1)" input of the controls;
"Scroll Wheel Down" in the "Dodge (2)" input of the controls.

In short, Nioh 1 had these extra two control inputs, "Dodge 1" and "Dodge 2" to achieve the aforementioned effect. Nioh 2 doesn't have these extra two customisable buttons, so you are pretty much restricted to choosing only one button instead of three, which is extremely inconvenient and pretty much forces you to rebuild your muscle memory from scratch using different keybinds.

Worry not, this short guide will show you a workaround via external means to remap both directions of your mouse scroll to achieve this. This might be a niche guide given that many k+m users might be used to spacebar or another keybind to sprint / dodge. However, after some search I have seen a few posts on steam forums and on reddit pointing that annoyance out without any reported solution. So, here is your solution.

Before someone asks, the software by Logitech and Corsair does NOT allow you to remap scroll wheel, only the clickable buttons (e.g. Left, Right, Middle click, etc).


How to remap your mouse scroll wheel:
To achieve the aforementioned keybind mapping, you will require an extremely lightweight program called "AutoHotKey" (AHK for short). This program allows you to create small scripts to remap any bindings in your mouse and keyboard. Once you write the script and run it, it appears as a tray icon which you can easily close when you don't want it. Moreover, you can set a condition for the script to be active only when your game window is active, so when you Alt+Tab to desktop or to your browser, the keybinds return back to normal.

Steps

1) Download and install AutoHotKey

2) After installing it, you can do the following:
Go to Desktop => Right Click => New => Create "AutoHotkey Script"

3) Name your file however you like but do not change the ".ahk" extension that defines the file type.

4) Do not run it, simply right click on it and press "Edit Script". A text file should pop up. Delete all the text that is there by default.

5) Copy and paste the script I am providing to you in the next section to the text file.

6) Make sure to save the text and close it.

7) Now you can run your script and everything should be working as intended. Just in case your PC has multiple users or in case you don't have administrative rights, make sure to select "Run as Administrator".
Script Text:
SetKeyDelay 50, 50

#IfWinActive Nioh2 1.28.00

WheelUp::
Send {MButton}
Sleep 0
return

WheelDown::
Send {MButton}
Sleep 0
return

+WheelUp::
Send {Shift Up}
Send {MButton}
Sleep 0
return

+WheelDown::
Send {Shift Up}
Send {MButton}
Sleep 0
return


====================================================


Some notes:
-Updating the script after a new patch in Nioh:
In the future you might have to update some of the text in the script to make sure that is still working, specifically talking about the part: "#IfWinActive Nioh2 1.28.00".

This condition makes sure that the script is active only when the Nioh 2 window is active. However, if you hover over the window in your taskbar to check its name, you will see that it is not called "Nioh 2", but "Nioh2 1.28.00". The number at the end corresponds to the current version / patch of the game. In the future when the game receives a new patch, you will have to check the window name again and make sure that you edit the script with the updated name.

===========================================================================

-Important: Adapting the script based on your keybind for "dash / dodge" control option:
The script effectively makes sure that the scroll wheel up/down are mapped to trigger the same effect as middle mouse button. This assumes that you have set your middle mouse button as the trigger for the "Dash / Dodge" option in the control settings of the game. If you have set a different button for "Dash / Dodge", then make sure that you replace all {MButton} commands with {<<desirable keybind>>}. For that matter, you might have to check the database in the website of AutoHotkey to find the correct syntax for your desired keybind.

===========================================================================

-Adjusting the script based on your keybind for "Blocking":
The first two blocks of the script (which include the "WheelUp::...", "Wheeldown::..." part) basically remap the scroll wheel to another keybind. The last two blocks (that include "+WheelUp", "+WheelDown") make sure that the keybind we set up still takes place even after you press modifier key "Shift". I used Shift in my script because that's the keybind I use for blocking. That way, if you try to dodge while blocking, then the script will cancel the blocking button (Shift), will perform the dodge, and then continue to block (if you are still holding the block button), which is the expected behaviour. Without the last two blocks, we wouldn't be able to dodge while blocking, hence, we would have to stop pressing the block button, then scroll to dodge.

If you are using a modifying button other than Shift (e.g. Ctrl, Alt etc), then you have to adjust the text in the script for that matter. You can click here[www.autohotkey.com] to find the command list with correct syntax for the particular button you are looking for your AHK script.

For example, if you are using Alt to block, the symbol for Alt in AHK is the exclamation mark " ! ".
Hence, you would have to change the "+WheelDown..." and "+WheelUp...." to "!WheelDown..." and "!WheelUp...", as well as change the {Shift Down} text to {Alt Down} etc etc. Once you find the correct command syntax, it is pretty intuitive and straightforward.

===========================================================================

Happy Gaming!