Valheim

Valheim

Red Purger Dec 16, 2022 @ 7:37pm
Is it possible to rebind the Dodgeroll key?
Basically title. I'm more of a roller than a blocker, since dodge rolling gives you I-frames and allows more versatility in combat. Having to press two keys to roll can be a bit cumbersome in combat especially if you need to roll suddenly to avoid a quick attack (such as the bite from a Lox) so I'm wonder if it's possible to rebind the dodge roll key to something else.

Looked in options and it wasn't there. Is it possible to rebind it with commands?
< >
Showing 1-15 of 16 comments
OneEye Dec 17, 2022 @ 4:09am 
If not if you have a gaming keyboard you could add a button macro to a key press and put it where you like.
Zep Tepi Dec 17, 2022 @ 10:58am 
Mods. I use Dodge on Double Tap (be careful about accidentally rolling off your roof). V+ also has an option to bind keys for roll, but only for forward and backward.

Pressing three things, direction, block and jump, is very cumbersome.
Red Purger Dec 17, 2022 @ 1:25pm 
Originally posted by Zep Tepi:
Pressing three things, direction, block and jump, is very cumbersome.
This. Especially when I'm fighting a boss. I've taken so many hits because I have to fumble to press all the different keys just to dodge. Unfortunately I don't really like installing mods (for valheim at least) so i'll have to figure out some other way.
Rungar Dec 17, 2022 @ 1:28pm 
you can remap in in steam overlay.
[+] hadji Dec 24, 2022 @ 9:29am 
AutoHotkey.

If you decide to try it out, I will help you write the script. It's terribly easy, and I'll show you how to make it so it only activates when you run the specific program. You can make single button presses equate to multiple button presses, too, so there's that.

If you decide to go another route, disregard.
Last edited by [+] hadji; Dec 24, 2022 @ 9:40am
Springheel Jan 28, 2023 @ 10:16am 
Originally posted by + hadji:
AutoHotkey.

If you decide to try it out, I will help you write the script. It's terribly easy, and I'll show you how to make it so it only activates when you run the specific program. You can make single button presses equate to multiple button presses, too, so there's that.

If you decide to go another route, disregard.

I'd be interested. I tried the one below, but for some reason it doesn't work...my character just jumps instead of dodging.

; Remap Left Shift to Right Mouse button and Space
LShift::
Send, {RButton}
Send, {Space}
return
Valsh Jan 28, 2023 @ 10:24am 
ik with some games you can have 1 action have 2 buttons wish we had the same here
FissionChips Jan 28, 2023 @ 11:00am 
Originally posted by Springheel:
Originally posted by + hadji:
AutoHotkey.

If you decide to try it out, I will help you write the script. It's terribly easy, and I'll show you how to make it so it only activates when you run the specific program. You can make single button presses equate to multiple button presses, too, so there's that.

If you decide to go another route, disregard.

I'd be interested. I tried the one below, but for some reason it doesn't work...my character just jumps instead of dodging.

; Remap Left Shift to Right Mouse button and Space
LShift::
Send, {RButton}
Send, {Space}
return
Been a long time since I used autokey so I don't know the commands, but the sequence should be RButton down, Space, RButton up - otherwise it's not holding the rbutton when space is pressed so the combo isn't triggered.
[+] hadji Jan 28, 2023 @ 11:13am 
Originally posted by Springheel:
; Remap Left Shift to Right Mouse button and Space
LShift::
Send, {RButton}
Send, {Space}
return

Have you tried switching the order of the inputs? I do know that they are not sent at the same time, on a technical level. That might have something to do with it.

Also might and to try adding "down" and "up" indications. See the following reddit thread for examples.

https://www.reddit.com/r/AutoHotkey/comments/3yi6w1/two_keys_at_once/
Cooperal Jan 28, 2023 @ 12:49pm 
I'm sure there are programs to turn your regular keys into macros. I'm pretty sure steam also has a similar feature.

Personally I would just recommend that you commit to learning the muscle memory. It is easy to practice as it is a heck of a lot more generous than Dark Souls when it comes to i-frames. You just want to do it in one split second clenching motion. The only thing you can mess up is hitting jump before block. Don't even think of it as hitting two separate keys. It is all one key.
FissionChips Jan 28, 2023 @ 12:52pm 
It is one key - the jump key. While already blocking and moving 😉.
Springheel Jan 29, 2023 @ 9:31am 
Originally posted by + hadji:
Originally posted by Springheel:
; Remap Left Shift to Right Mouse button and Space
LShift::
Send, {RButton}
Send, {Space}
return

Have you tried switching the order of the inputs? I do know that they are not sent at the same time, on a technical level. That might have something to do with it.

Also might and to try adding "down" and "up" indications. See the following reddit thread for examples.

https://www.reddit.com/r/AutoHotkey/comments/3yi6w1/two_keys_at_once/


You're right, that was the problem. I did the following and now it works great!

#IfWinExist, Valheim
#IfWinActive, Valheim
LShift::
Send, {RButton down}
Send, {Space down}
Sleep 20
Send {RButton up} {Space up}
return
#IfWinExist
#IfWinActive
[+] hadji Jan 29, 2023 @ 9:50am 
Awesome, glad it works!

For me, the biggest problem I've had are keys getting "stuck" in a down position. For example, I play games on the ten key rather than WASD. Often, movement gets stuck. I've tried using send functions with downs and ups, but I still run into the issue. One thing I haven't tried is using a sleep command.

Below is an example of something I have setup for a few games, after looking around trying to find a solution. Still getting stuck.

Numpad8::Send, {w down} Numpad8 UP::Send, {w up} Numpad4::Send, {a down} Numpad4 UP::Send, {a up} Numpad5::Send, {s down} Numpad5 UP::Send, {s up} Numpad6::Send, {d down} Numpad6 UP::Send, {d up}

Mind keeping an eye on your result, see if anything like that seems to happen with your buttons, and letting me know if it does?
Last edited by [+] hadji; Jan 29, 2023 @ 9:53am
[+] hadji Feb 15, 2023 @ 11:32am 
Nice, Riz. More than one solution is always good.

Question is, will OP ever show back up? Hope they get it sorted out either way.
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: Dec 16, 2022 @ 7:37pm
Posts: 16