RPGWatch Forums

RPGWatch Forums (https://www.rpgwatch.com/forums/index.php)
-   General RPG (https://www.rpgwatch.com/forums/forumdisplay.php?f=14)
-   -   Dark Souls 2 AutoHotKey Setup (https://www.rpgwatch.com/forums/showthread.php?t=42560)

ToddMcF2002 April 11th, 2019 13:57

Dark Souls 2 AutoHotKey Setup
 
This might help a fellow mouse and keyboarder someday. AutoHotKey script for Dark Souls 2. As you can see in the script when the game is active the utility sends key commands to the game based on AutoHotKey intercepting all input from mouse and keyboard. It works perfectly in terms of feel. So you use this as a template for your own play style. AutoHotKey is a free download of course.

changes from default mappings in game I made:
  • clear all mouse mapping except target lock
  • map "confirm" to 'e' along with interact. This is necessary because if you don't use a key to confirm pop up windows your character will take a swing after the you click 'ok' so be careful!
  • map item use to 'r'
  • map quick slot toggles to 1, 2, 3, 4 like the first game
  • map any key conflicts you create to something you'll never use like numbers 7-0 etc

The smiley face below are ':' and 'S' together being misinterpreted.

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
#SingleInstance, force

#NoEnv
#IfWinActive, DARK SOULS II

;;;;;; normal attack right hand weapon
~LButton::H

;;;;;; heavy attack right hand weapon
~RButton::Send {G down} {G up}

;;;;;; blocking mapped to mouse thumb button
XButton2::u

;;;;;; two handed weapon toggle
tab::N

;;;;;; target lock cycling up and down
~WheelUp::
{

Send {J down}
Sleep 20
Send {J up}
return
}

~WheelDown::
{

Send {L down}
Sleep 20
Send {L up}
return
}

;;;;;; sprinting
SHIFT::SPACE


;;;;;; auto walk toggle
c::Z

return

;;;;;; block break (similar to kick in DS2) mapped to q
q::
send {w up}{a up}{s up}{d up}{sleep 10}
Send {W down}
Sleep 10
Send {H down}
Sleep 10
Send {W up}
Send {H up}
return

;;;;;; Jump attack mapped to x
x::
send {w up}{a up}{s up}{d up}{sleep 10}
Send {W down}
Sleep 10
Send {G down}
Sleep 10
Send {W up}
Send {G up}
return


All times are GMT +2. The time now is 03:44.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, vBulletin Solutions Inc.
vBulletin Security provided by DragonByte Security (Pro) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging (Lite) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
Copyright by RPGWatch