0 of 0

File information

Last updated

Original upload

Created by

Angelo Shaheen

Uploaded by

Angeloshaheen12

Virus scan

Safe to use

30 comments

  1. Anharath
    Anharath
    • premium
    • 1 kudos
    Hi, made an extension of your mod to allow for modifiers.
    Bar 1 == 1234
    Bar 2 == shift+1234
    Bar 3 == ctrl+1234
    Bar 4 == F1 F2 F3 F4
    Mount remains on H, but moved the "suspend script" key to F8

    $1:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F1}
    Send, {1}


    Return
    $2:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F1}
    Send, {2}


    Return
    $3:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F1}
    Send, {3}


    Return
    $4:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F1}
    Send, {4}


    Return
    +$1:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F2}
    Send, {1}


    Return
    +$2:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F2}
    Send, {2}


    Return
    +$3:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F2}
    Send, {3}


    Return
    +$4:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F2}
    Send, {4}


    Return
    ^$1:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F3}
    Send, {1}


    Return
    ^$2:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F3}
    Send, {2}


    Return
    ^$3:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F3}
    Send, {3}


    Return
    ^$4:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F3}
    Send, {4}


    Return
    $F1:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F4}
    Send, {1}


    Return
    $F2:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F4}
    Send, {2}


    Return
    $F3:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F4}
    Send, {3}


    Return
    $F4:: ;$ To avoid autoignition

    SetKeyDelay, 200, 50 ;SetKeyDelay , Delay, PressDuration
    Send, {F4}
    Send, {4}


    Return
    $H::
    setKeyDelay, 200,50
    Send, {Tab Down}
    Sleep 100
    Send, {3}
    Sleep, 100
    Send, {Tab Up}
    Return
    F8::
    Suspend
    Pause,, 1
    Return


    Feel free to upload it if you want
    1. outlawzgosu
      outlawzgosu
      • premium
      • 13 kudos
      
      Getting an error with this . Is your script something you add to the downloaded script or is this a new script?

      Error at line 1.
      Line Text :$1::
      Error: Invalid hotkey.

      The program will now exit

      The script from the download works.
    2. sr383
      sr383
      • premium
      • 20 kudos
      This loads without error, on my PC. I think it requires v1x of AHK, rather than the new AHK v2.

      As a matter of practice, I always include a condition in AHK so that it only runs when its target executable is running. Otherwise, it can get in the way of normal typing.

      In this case, I would lead off with
      #ifwinactive ahk_exe HogwartsLegacy.exe

      The shift versions of this script work fine. The others are harder to test, because CTRL is mapped to dodge and F1-F4 switch my spell rows. I'll have to remap those in game or edit the script to use some other combo.

      OK. In my case, I remapped Dodge to "E". (Can't believe that was available.) And I mapped Sprint to "B". (I don't think that conflicts with dismounting brooms.)

      That freed up CTRL, ALT and SHIFT, which are the modifiers most of us reach for, first.
    3. Battlestar1994
      Battlestar1994
      • member
      • 0 kudos
      I have the same error. how do i use it? which AHK version do i need? Tried downloading. Youre version is exaclty what im looking for but im sadly getting the same error
  2. MonkeyEnki
    MonkeyEnki
    • member
    • 0 kudos
    User guide could be great, i installed the software, clic on the script, but nothing happened so..... don't work.
  3. Essundym
    Essundym
    • premium
    • 1 kudos
    im confused so does this actually give u 8 bars visually to assign spells or is it something else?
    i guess its something else oh well guess i'll w8 maybe i'll give it a try just don't like dling from other sites :-/
    1. Angeloshaheen12
      Angeloshaheen12
      • supporter
      • 0 kudos
      It works as if u have 8 bars but it does not visually show it so if u use 5678 it will ise the the next spell set  u have 
    2. sr383
      sr383
      • premium
      • 20 kudos
      There's a new mod that shows all 16 slotted spells. That could be useful for getting your bearings, with a mod like this.

      https://www.nexusmods.com/hogwartslegacy/mods/968
  4. DracoAngel
    DracoAngel
    • premium
    • 54 kudos
    This seems like the perfect mod for less stressful spell casting while in the middle of fights. Unfortunately I'm not able to get it to work. I installed AHK and double-clicked your mod, but nothing is changed :(
  5. luhtora
    luhtora
    • member
    • 0 kudos
    I would love to see a guide for this, I installed AHK but don't know how to proceed from there.
    1. Anharath
      Anharath
      • premium
      • 1 kudos
      just doubleclick the downloaded script and it will run in the system tray (green H icon). Make sure you install AHK v1.0
  6. Taijima97230
    Taijima97230
    • supporter
    • 0 kudos
    Could it be possible to have clearer informations ? Not everyone is skilled in mods or scripts etc.
    1. ShadoxLunik
      ShadoxLunik
      • member
      • 1 kudos
      well its an .AHK file , you just need to double click on it for turn ON the script.

      you may need to instal AutoHotKey software for make it work.
    2. darkracer125
      darkracer125
      • premium
      • 0 kudos
      ofcourse he needs to install AutoHotKey software if he hasn't done so already.  
      and you can safely assume he doesn't have autohotkey otherwise he would know what an AHK script is. 

      what do you think AHK stands for?  
      can't exactly run an AHK file without AHK (AutoHotKey) 


      @kingsavage2  
      autohotkey is a program to change key inputs to other key inputs.

      so you can change the keys on your keyboard (or controllers or flightstick or whatever) to any other key.  or a set of keys.  or maybe even a series of keys i don't know for sure about that last one.  

      so in short it turns all your paripheral buttons into configurable buttons. 

      (paripheral is things like mouse. keyboard. monitor excetra)
      it won't be able to change buttons on your monitor though.  those do not communicate with the pc.  but with a control board in the monitor itself. 
    3. asflack
      asflack
      • supporter
      • 0 kudos
      I can't figure out the issue in the code myself but every time I try to start the script I get an error:

      Error: Function calls require a space or "(".  Use comma only between parameters.
      Text:SetKeyDelay, 200, 50
      Line:3
      File:D:\Vortex Mods\hogwartslegacy\AutoHotKey extended Spell bar-175-1-1676329573\aa.ahk
      The program will exit.
  7. MCeceli
    MCeceli
    • member
    • 0 kudos
    Oh, man. This was almost what I was looking for. Reaching beyond number 5 key is not ideal. I wish someone would make a mode adding 1 spell slot to all spell sets, so instead of 1 2 3 4, it would be 1 2 3 4 5. That would be optimal!

    But, sure, being able to go all the way to 8 or more, in addition to what I said, because we could use the mission based spells, the blue ones, in the 6 7 8 9 0 buttons.
  8. pepeDaFrog69
    pepeDaFrog69
    • member
    • 0 kudos
    Do you think you could make a version that could do spell lines 3 and 4 by maybe having the second two spell rows be activated by holding shift and pressing 1-8?
  9. Taq2142
    Taq2142
    • member
    • 0 kudos
    Hi ,  have a question is it possible to make something for the cx box controller , i wisht to have something like this RT = RT+Button up ( for the first 4 spells ) and LT = LT+ Button down ( for the third 4 spells ) so i can use 8 spells infight and can change the spells by just using RT and LT , the toggle on LT is not important for me but maybe we can put it on select where is only map and map can be find under start ... this mod would made me soo happy 
    1. Angeloshaheen12
      Angeloshaheen12
      • supporter
      • 0 kudos
      autohotkey does not work with xbox contorler but if ur using it on steam then u can prolly use steam controller support to translate those movments to normal keystrokes which will trigger autohotkey sadly i cant test anything sicne i have no controler andu have to try it ur self
  10. milou80
    milou80
    • member
    • 10 kudos
    thanks, the vanilla control scheme was getting on my nerves. Mouse4 & 5 would be nice shortcuts to add too.