I tweaked this a bit to my liking, tought i'd share as some people might like this better.This bassicaly swaps to youre pre determined spell pages as you press modifiers (Mouse 1, Mouse 4 and Mouse 5) and they return to F1 preset as you release them. I found this way better so i can see my spell bar at the bottom without having to remember all the spells and their placements. Feel free to upload this as a 3rd version
Famousqc's script has a problem when you press down Mouse 1, it always shoots the basic cast, even when what you want to do is just to see your second spell bar. I tweaked the script a bit to fix the problem. #IfWinActive ahk_exe HogwartsLegacy.exe ~LButton:: { KeyWait, LButton, T0.14 if(ErrorLevel) { Send, {F2} KeyWait, LButton if(ErrorLevel = 0) { Send, {F1} } } return }
Hello! Can I add a command to AHK to cast magic directly? For example: L = Lumos, P = Reparo. When you press the key, you can use it! Sorry for my bad English
How do you install it ? I tried putting it in my directory : nothing happened. Tried opening the akh file with the exe located in the original mod, didnt work.
EDIT : okay, I've managed to install it. Yet, when I press 1, 2, 3 or 4, it doesnt use F1+1....etc... How is that so? maybe because I use an AZERTY keyboard?
look up reWASD. You can use it to mod controller for most PC games. It is what I have been using. I can even upload my set up currently. I still havent completely ironed it out especially the spell aspects since I was constrained by how the devs set it up to begin with. Most games released on PC and console allows the PC versions to maintain PC benefits such as having most spells assigned to multiple buttons but it seems the devs were focused on a system for mostly console players. But these new mods are giving access to be able to assing spells to different buttons all at once. I just have to find one that works best
21 comments
~LButton::
Send, {LButton}
Send, {F2}
Sleep, 50
return
~LButton UP::
Send, {LButton UP}
Send, {F1}
Sleep, 50
return
~XButton2::
Send, {F3}
Sleep, 50
return
~XButton2 UP::
Send, {F1}
Sleep, 50
return
~XButton1::
Send, {F4}
Sleep, 50
return
~XButton1 UP::
Send, {F1}
Sleep, 50
return
#IfWinActive ahk_exe HogwartsLegacy.exe
~LButton::
{ KeyWait, LButton, T0.14
if(ErrorLevel)
{ Send, {F2}
KeyWait, LButton
if(ErrorLevel = 0)
{
Send, {F1}
}
}
return
}
~XButton2::
Send, {F3}
Sleep, 50
return
~XButton2 UP::
Send, {F1}
Sleep, 50
return
~XButton1::
Send, {F4}
Sleep, 50
return
~XButton1 UP::
Send, {F1}
Sleep, 50
return
For example: L = Lumos, P = Reparo. When you press the key, you can use it!
Sorry for my bad English
I tried putting it in my directory : nothing happened.
Tried opening the akh file with the exe located in the original mod, didnt work.
EDIT : okay, I've managed to install it. Yet, when I press 1, 2, 3 or 4, it doesnt use F1+1....etc...
How is that so? maybe because I use an AZERTY keyboard?
Edit, Alright got it to work, need to open the file with AutoHotKey Porogram
good mod though
Example:
1, 2, 3, 4 (first group)
RMB + 1, 2, 3, 4 (second group)
MB4 + 1, 2, 3, 4 (third group)
MB5 + 1, 2, 3 ,4 (fourth group)
So I don't "need" to change the F1-4 keys. (just because I don't feel like using it If I can do anything with the mouse)
hold shift + holding lmb + number instead of using the function keys at all