Risk of Rain (2013)

Risk of Rain (2013)

View Stats:
Odai Jun 24, 2014 @ 8:21am
Autohotkey for Mouse?!
Hello, is anyone using Autohotkey here to use their mouse, i tried to get it working but somehow its not o.O

Can maybe someone telling me what i did wrong?

#IfWinActive, Risk of Rain

~LButton::g
~RButton::h
~MButton::l
XButton1::j
XButton2::k

g,h,l,j and k are for abilitys and use item
< >
Showing 1-13 of 13 comments
Odai Jun 25, 2014 @ 2:29am 
noone? still looking for help.
Odai Jul 12, 2014 @ 8:03am 
still could use a hint
Buck Jul 8, 2015 @ 4:35pm 
Its probably too late but AHK wont work with risk of rain
Odai Jul 9, 2015 @ 1:14am 
yup i noticed that and i was sad :O
DarlingLionheart Jul 9, 2015 @ 8:08pm 
Hi Odai, I haven't had good luck with AHK working on ANY steam game. I feel like they block it. Have seen some forum confirmation of that. Seems they used to actually ban for using it (even if not directly on a game).
Odai Jul 10, 2015 @ 1:31am 
that would be a stupid reason to ban someone for using it because the game doesn let you change the keyboard config and has a retarded key configuration. o.o
DarlingLionheart Jul 10, 2015 @ 8:49pm 
Indeed, it is dumb. But you can use it to automate things you shouldn't (rapid fire scripts being easiest example...but MICE can do that these days!). I learned this when trying to rebind several games that didn't allow it internally.
SilverStar Jul 10, 2015 @ 10:32pm 
Steam doesn't block it. But sometimes you can't get the right keyboard hooks into the engine to take care of it (I've set up some stuff for ARK so I don't wear out my E key when trying to harvest stone, for example).

You might want to try playing around with the SendMode, and possibly #InstallKeybdHook and #InstallMouseHook at the top of your script. The game itself may have keyboard/mouse hooks in the engine, or just have ignores set up.
DarlingLionheart Jul 10, 2015 @ 10:39pm 
Ty SilverStar, block must have been assumed by the others reporting it when I went searching for my bugs. Sadly, all my scripts already have the kbd/mouse hook entries at the top, and don't work for some key games (Dungeon Defenders...FFS!). Don't recall which key send method I use atm.
SilverStar Jul 10, 2015 @ 10:44pm 
Originally posted by Man'sLaughter:
Ty SilverStar, block must have been assumed by the others reporting it when I went searching for my bugs. Sadly, all my scripts already have the kbd/mouse hook entries at the top, and don't work for some key games (Dungeon Defenders...FFS!). Don't recall which key send method I use atm.
I very specifically use AHK for DunDef, to loop E while held.
I'm running some tests. I'll let you know if I can get things to work for basic functions.
SilverStar Jul 10, 2015 @ 10:56pm 
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #persistent #IfWinActive, Risk of Rain ~LButton::z ~RButton::x ~MButton::c XButton1::v XButton2::g

Using default keybindings for the keyboard, this works just fine.
x/Left click is action 1/shoot
x/Rclick is action 2
c/Middle click is action 3
v/Mouse wheel tilt left is action 4
g/Mouse wheel tilt right is use item

Do make sure you don't have gamepad still enabled, or none of the keyboard stuff will work.
Last edited by SilverStar; Jul 10, 2015 @ 10:58pm
Odai Jul 11, 2015 @ 1:16am 
Originally posted by SilverStar:
Steam doesn't block it. But sometimes you can't get the right keyboard hooks into the engine to take care of it (I've set up some stuff for ARK so I don't wear out my E key when trying to harvest stone, for example).

You might want to try playing around with the SendMode, and possibly #InstallKeybdHook and #InstallMouseHook at the top of your script. The game itself may have keyboard/mouse hooks in the engine, or just have ignores set up.

haha same "e spam" for collecting berries and rocks and holding down W for autorun for ark ;D

Originally posted by SilverStar:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #persistent #IfWinActive, Risk of Rain ~LButton::z ~RButton::x ~MButton::c XButton1::v XButton2::g

Using default keybindings for the keyboard, this works just fine.
x/Left click is action 1/shoot
x/Rclick is action 2
c/Middle click is action 3
v/Mouse wheel tilt left is action 4
g/Mouse wheel tilt right is use item

Do make sure you don't have gamepad still enabled, or none of the keyboard stuff will work.

hmm okay wierd i have to try this sometime again. atm to many other games going on ^^
DarlingLionheart Jul 11, 2015 @ 10:33pm 
Originally posted by SilverStar:
Originally posted by Man'sLaughter:
Ty SilverStar, block must have been assumed by the others reporting it when I went searching for my bugs. Sadly, all my scripts already have the kbd/mouse hook entries at the top, and don't work for some key games (Dungeon Defenders...FFS!). Don't recall which key send method I use atm.
I very specifically use AHK for DunDef, to loop E while held.
I'm running some tests. I'll let you know if I can get things to work for basic functions.
Man that'd have been nice to know way back when I played. I use DVORAK keyboard, and play my FPS/3PS with EDSF, or for me, .OEU. DunDef absolutely refuses to bind some of those keys, so I always had to bind QWERTY keys, then kbd swap in order to chat. I tried AHK to get it to tell DD my un-bindable keys were normal EDSF....never worked.
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Jun 24, 2014 @ 8:21am
Posts: 13