this post was submitted on 12 Sep 2023
51 points (94.7% liked)

Gaming

19998 readers
116 users here now

Sub for any gaming related content!

Rules:

founded 5 years ago
MODERATORS
 

Playing a lot of RDR2 for the first time. The minigame "Five Finger Filet" annoys the hell outta me. So wrote an AutoHotKey script for it. It goes about 12 fillets(?) per round.

`#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.

keys := ["s", "d", "a", "s", "a"]

SetKeyDelay, 0, 50
^a::
While !(GetKeyState("x", "P"))
{
for key, val in keys
{
Send {w down}
Sleep 50
Send {w up}
Sleep 100
Send {%val% down}
Sleep 50
Send {%val% up}
Sleep 100
}
}`

Read Dead Redemption 2
Five Finger Fillet
AutoHotKey script
(change the keys array every round).

Edit: Just realized hashtags work!
#RDR2
#AutoHotKey

you are viewing a single comment's thread
view the rest of the comments
[–] H2SO4@lemmy.ml 10 points 1 year ago

Still trying to figure out microblogging. Sorry if I used it wrongly. I didn' t expect it to show up on the gaming frontpage. I fucked up the formatting as well I see :/