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?
6:13 am, December 17, 2022
Red Purger 0 comments 0 likes

[+] hadji replied to Is it possible to rebind the Dodgeroll key? February 15, 2023 @ 11:32:23 am PST

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.
9:13 am, February 16, 2023
0 comments 0 likes

Springheel replied to Is it possible to rebind the Dodgeroll key? January 29, 2023 @ 9:31:41 am PST

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
6:13 pm, January 29, 2023
0 comments 0 likes

[+] hadji replied to Is it possible to rebind the Dodgeroll key? January 29, 2023 @ 9:50:23 am PST

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?
6:13 pm, January 29, 2023
0 comments 0 likes

[+] hadji replied to Is it possible to rebind the Dodgeroll key? January 28, 2023 @ 11:13:28 am PST

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/
9:13 pm, January 28, 2023
0 comments 0 likes

Cooperal replied to Is it possible to rebind the Dodgeroll key? January 28, 2023 @ 12:49:36 pm PST

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.
9:13 pm, January 28, 2023
0 comments 0 likes

FissionChips replied to Is it possible to rebind the Dodgeroll key? January 28, 2023 @ 12:52:56 pm PST

It is one key - the jump key. While already blocking and moving 😉.
9:13 pm, January 28, 2023
0 comments 0 likes

Springheel replied to Is it possible to rebind the Dodgeroll key? January 28, 2023 @ 10:16:33 am PST

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
9:13 pm, January 28, 2023
0 comments 0 likes

kingboo replied to Is it possible to rebind the Dodgeroll key? January 28, 2023 @ 10:24:05 am PST

ik with some games you can have 1 action have 2 buttons wish we had the same here
9:13 pm, January 28, 2023
0 comments 0 likes

FissionChips replied to Is it possible to rebind the Dodgeroll key? January 28, 2023 @ 11:00:37 am PST

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.
9:13 pm, January 28, 2023
0 comments 0 likes

Zep Tepi replied to Is it possible to rebind the Dodgeroll key? December 17, 2022 @ 10:58:04 am PST

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.
6:13 pm, December 24, 2022
0 comments 0 likes

Red Purger replied to Is it possible to rebind the Dodgeroll key? December 17, 2022 @ 1:25:06 pm PST

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.
6:13 pm, December 24, 2022
0 comments 0 likes

Webbman replied to Is it possible to rebind the Dodgeroll key? December 17, 2022 @ 1:28:24 pm PST

you can remap in in steam overlay.
6:13 pm, December 24, 2022
0 comments 0 likes

[+] hadji replied to Is it possible to rebind the Dodgeroll key? December 24, 2022 @ 9:29:16 am PST

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.
6:13 pm, December 24, 2022
0 comments 0 likes

OneEye replied to Is it possible to rebind the Dodgeroll key? December 17, 2022 @ 4:09:50 am PST

If not if you have a gaming keyboard you could add a button macro to a key press and put it where you like.
12:13 pm, December 17, 2022
0 comments 0 likes