Aller au contenu

Photo

[PC] Autohotkey script to allow movement with right + left mouse button held down


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Chumm

Chumm
  • Members
  • 1 messages
If you're like me, one of the biggest problems you have with the PC controls in Dragon Age: Inquisition is that you can't move while holding down both mouse buttons. And, if you're like me, you keep trying to do so out of habit and end up autoattacking all over the place! Here's an Autohotkey script to make that possible.
 
The script is activated when you hold right click and then hold left click, which is how this sort of MMO control scheme is usually used (holding right click to rotate camera then holding left click at the same time to move). It should feel natural if you're used to this sort of control. 
 
If you've never used Autohotkey before, just download the program, copy the following script into a text file and save it with a .ahk extension. Double click the file and you'll see it running in your taskbar notification area. Right click the little green box with the white H to close the script when needed. This will only be active while running the game, so no need to worry about it messing with other applications.
/* 
 
Dragon Age Inquisition - Left Click + Right Click to Move

This script binds left click, when right click is already held down, to "w".  The purpose is to emulate typical MMO movement.  

 
*/
 
 
#NoEnv                      
#Persistent                 
#SingleInstance Force       
SendMode Input              
SetTitleMatchMode, 2        
SetWorkingDir %A_ScriptDir% 
 
 
#IfWinActive Dragon Age: Inquisition
$LButton::
  SendInput, % GetKeyState("RButton","P") ? "{w down}" : "{LButton down}"
  KeyWait, LButton
  SendInput, {w Up}
  SendInput, {LButton Up}
Return
#IfWinActive


  • Sylvius the Mad, BioBrainX, rubynorman et 1 autre aiment ceci

#2
ReadingRambo220

ReadingRambo220
  • Members
  • 745 messages
I do indeed auto hack soooo much, if I figure out how to use this when I get home from family holiday I will be so happy

#3
texhnolyze

texhnolyze
  • Members
  • 90 messages

Nice guide, I hope this is still relevant.

There's another guide made by GhoXen earlier. It's a bit different, it automates hold clicking your right mouse so you can freely move the camera. I'm using this atm and loving it, despite its flaws.

http://forum.bioware...ntrols-fix-ahk/



#4
Pembs

Pembs
  • Members
  • 1 messages

Thanks OP, this is a life saver.  I'm so used to mouse click movement in Wow, DA:I just felt weird without this macro.  What with auto-run mapped to one of the side buttons on my mouse via the Logitech mouse interface too, I'm all set to go!