Works great, does exactly what it says it should. Would be PERFECT (for me anyway) if there were also a way to still walk when necessary/wanted, like when pressing shift to toggle walk.
This seems to override the walk toggle (G by default), which I can live with. But if there is any way to still have a walk toggle, that'd be awesome. Great mod though!
yo mate I got a request. can you make sprint in all directions mod like when I press A it sprints left and when I press S it sprints backwards? thanks in advance.
I have been tinkering around with autohotkeys and wrote a script that works for every single game not just cyberpunk (except multiplayer cuz you will get banned)
global isShiftHeld := false
; Hotkey to toggle holding the Shift key Up:: { global isShiftHeld ; Declare the variable as global isShiftHeld := !isShiftHeld ; Toggle the state if (isShiftHeld) { Send("{Shift down}") ; Hold down the Shift key } else { Send("{Shift up}") ; Release the Shift key } }
Step 1: Download autohotkeys Step 2: Open autohotkeys and select create new script (doesnt matter the name) then paste this code into the ahk file [u can change Up key to different key base on autohotkeys key list: https://www.autohotkey.com/docs/v1/KeyList.htm ] Step 3: Run the script by right click on it Step 4: In game, press Up or key of your chosen once for the script to run and press shift if u want the script to stop. Press Up or your chosen key twice to enable the script again
NOTICE: ALWAYS PRESS SHIFT BEFORE EXITING THE GAME FOR THE SCRIPT TO STOP
Frankly, it is hard for me to understand why you wanted this (besides as a workaround for Continue to Sprint after Slide). The main reason I created this is because it took me only a few minutes to make it. (Not trying to be mean or anything. Just being honest.)
No offense taken, I personally have some experience with coding but lately im just too burnt out and just want to have some time chilling, cant stand looking a screen with bunch of codes, learning and testing the code until it works
16 comments
This seems to override the walk toggle (G by default), which I can live with. But if there is any way to still have a walk toggle, that'd be awesome. Great mod though!
global isShiftHeld := false
; Hotkey to toggle holding the Shift key
Up:: {
global isShiftHeld ; Declare the variable as global
isShiftHeld := !isShiftHeld ; Toggle the state
if (isShiftHeld) {
Send("{Shift down}") ; Hold down the Shift key
} else {
Send("{Shift up}") ; Release the Shift key
}
}
Step 1: Download autohotkeys
Step 2: Open autohotkeys and select create new script (doesnt matter the name) then paste this code into the ahk file [u can change Up key to different key base on autohotkeys key list: https://www.autohotkey.com/docs/v1/KeyList.htm ]
Step 3: Run the script by right click on it
Step 4: In game, press Up or key of your chosen once for the script to run and press shift if u want the script to stop. Press Up or your chosen key twice to enable the script again
NOTICE: ALWAYS PRESS SHIFT BEFORE EXITING THE GAME FOR THE SCRIPT TO STOP