QuestionHelp editing Pean's AHK MultiScript for smoother recoil control.

Posts 12 of 2 · Page 1 of 1
Help editing Pean's AHK MultiScript for smoother recoil control.
Hey MPGH,
I very new to AHK and was looking for help with one aspect of Pean's Multi script anti recoil.
I'm currently trying to add more movements to the AK-47 anti recoil to apply a smoother anti recoil. I managed quite easily to add the extra movements by dividing the original movement by 2, as seen below.

ORIGINAL:

sleep 50
GetKeyState, state, LButton
if state = U
break
DllCall("mouse_event", "UInt", 0x01, "UInt", -4, "UInt", 7)
sleep 99
GetKeyState, state, LButton
if state = U
break
DllCall("mouse_event", "UInt", 0x01, "UInt", 4, "UInt", 19)

MY EDITS:

sleep 50
GetKeyState, state, LButton
if state = U
break
DllCall("mouse_event", "UInt", 0x01, "UInt", -2, "UInt", 3.5)
sleep 49.5
GetKeyState, state, LButton
if state = U
break
DllCall("mouse_event", "UInt", 0x01, "UInt", -2, "UInt", 3.5)
sleep 49.5
GetKeyState, state, LButton
if state = U
break
DllCall("mouse_event", "UInt", 0x01, "UInt", 2, "UInt", 9.5)
sleep 49.5
GetKeyState, state, LButton
if state = U
break
DllCall("mouse_event", "UInt", 0x01, "UInt", 2, "UInt", 9.5)

I did this throughout the entire AK-47 Anti Recoil, however when i tested this i found that the recoil did not match the in-game's speed although i also applied the same math to the Speed values (99/2 = 49.5). is there something i've done wrong or missed?
Friendly advice would be much appreciated as i'm only new and still learning.

Extra information can be supplied if needed along with videos.
Been over a week since last update/bump after answers, assuming solved.

/Closed.
Posts 12 of 2 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?