Great! I don't know why the developers doesn't integrate that command on his game. We have to take care to our fingers ;)
Personally I'm not feeling comfortable using the double w tab. So, with ChatGPT I found a better choice for me. Ideally I wanted to use W+LAlt and LAlt+W , but it have some conflicts and then you can't tab between programs. So, finally I decided that using W+CapsLock fits well and it's comfortable. Also you have just down the shift button for running.
Then, with all my love and respect, I write here the code for anyone interested.
" #Requires AutoHotkey v2.0 #SingleInstance Force global autoWalk := false #HotIf WinActive("ahk_exe KingdomCome.exe") ; Activar o desactivar el auto-walk con la combinación W + CapsLock ~w & CapsLock:: { global autoWalk ; Declaramos la variable como global if (!autoWalk) { Send("{w down}") ; Comienza a caminar hacia adelante autoWalk := true ; Activa el auto-walk } else { Send("{w up}") ; Detiene el movimiento hacia adelante autoWalk := false ; Desactiva el auto-walk } return } ; Movimiento normal hacia adelante (W) w:: { global autoWalk ; Declaramos la variable como global if (!autoWalk) { Send("{w down}") ; Movimiento normal hacia adelante } return } w up:: { global autoWalk ; Declaramos la variable como global if (!autoWalk) { Send("{w up}") ; Detiene el movimiento normal hacia adelante } return } ; Movimiento normal hacia atrás (S) y detener el auto-walk si está activo s:: { global autoWalk ; Declaramos la variable como global if (autoWalk) { Send("{w up}") ; Detiene el movimiento hacia adelante autoWalk := false ; Desactiva el auto-walk } Send("{s down}") ; Movimiento normal hacia atrás return } s up:: { Send("{s up}") ; Detiene el movimiento hacia atrás return } #HotIf ; Finaliza la configuración específica para el juego "
I saw this and thought 'Finally someone made a mod where you walk by default instead of jogging'... I honestly don't understand why you can even jog or run with full armour. It makes no sense at all. I've grown tired of the game with how often it defaults to jogging.
Cheers, but nah I meant I was looking for something that removes jogging entirely basically. It makes no sense to jog or run with full armour. Caps lock is fiddly and often just doesn't work.
Not sure if this is done right. It didn't work properly and then it was like shift was just stuck anywhere I tried to use my PC and I had to restart. It also said it required AHK v1 when I tried to run it.
I will update the files to remove the shift option since in kcd 2 pressing shift instead of holding while holding W will keep you sprinting. If you want to stop the script from holding shift, all you have to do is press shift.
16 comments
alternate method: hold down walk key, press ALT-F12, press tilde (~), done
Personally I'm not feeling comfortable using the double w tab.
So, with ChatGPT I found a better choice for me.
Ideally I wanted to use W+LAlt and LAlt+W , but it have some conflicts and then you can't tab between programs.
So, finally I decided that using W+CapsLock fits well and it's comfortable. Also you have just down the shift button for running.
Then, with all my love and respect, I write here the code for anyone interested.
"
#Requires AutoHotkey v2.0
#SingleInstance Force
global autoWalk := false
#HotIf WinActive("ahk_exe KingdomCome.exe")
; Activar o desactivar el auto-walk con la combinación W + CapsLock
~w & CapsLock::
{
global autoWalk ; Declaramos la variable como global
if (!autoWalk) {
Send("{w down}") ; Comienza a caminar hacia adelante
autoWalk := true ; Activa el auto-walk
} else {
Send("{w up}") ; Detiene el movimiento hacia adelante
autoWalk := false ; Desactiva el auto-walk
}
return
}
; Movimiento normal hacia adelante (W)
w::
{
global autoWalk ; Declaramos la variable como global
if (!autoWalk) {
Send("{w down}") ; Movimiento normal hacia adelante
}
return
}
w up::
{
global autoWalk ; Declaramos la variable como global
if (!autoWalk) {
Send("{w up}") ; Detiene el movimiento normal hacia adelante
}
return
}
; Movimiento normal hacia atrás (S) y detener el auto-walk si está activo
s::
{
global autoWalk ; Declaramos la variable como global
if (autoWalk) {
Send("{w up}") ; Detiene el movimiento hacia adelante
autoWalk := false ; Desactiva el auto-walk
}
Send("{s down}") ; Movimiento normal hacia atrás
return
}
s up::
{
Send("{s up}") ; Detiene el movimiento hacia atrás
return
}
#HotIf ; Finaliza la configuración específica para el juego
"
"To use this script double click one the .ahk file and once you're inside the game..."
when i double click the - how do you want to open this file? - pops up.
am i missing something?