Recoil Macros

CSGO RCS (recoil control system) made in AHK

This section of the script was made by akihiko#3123.

Since the RCS part is made by akihiko and not made by me, there will be a significant difference in the bind system. You can modify other functions to fit this style of keybinds if you like.

The bind system for RCS is located from line 6 to line 18 of the script.

;Key binds
key_AK:="F4"
key_M4A1:="F5"
key_M4A4:="F6"
key_Famas:="F7"
key_Galil:="F8"
key_UMP:="F9"
key_AUG:="F2"
key_SG:="F12"
key_RCoff:="F11"
key_Terminate:="F10"
key_shoot:="LButton"
key_zoom:="RButton"

All the keys in brackets (line 2 to line 9) represent the key to activate the recoil control on certain guns. While the key_shoot is pressed, the mouse will auto play the opposite recoil pattern of the weapon.

The recoil can not be toggled off by pressing the weapon key again. It has to be turned off by pressing key_RCoff. It can be overlapped when pressed a different RCS key on a different gun however. The recoil has to be manually changed / disabled. The pattern will still play if you have it on and use a different gun

Change the binds from line 2 to line 11 based on your preference. Two variables

key_shoot and key_zoom has to be changed to match your in-game settings to shoot and zoom.

Once pressed, the script will play a dedicated sound from the "sounds" folder and initiate the RCS of the dedicated weapon. The sound is used to avoid confusion and accidentally mixing up the recoil patterns. For example.

if GetKeyState(key_AK)
{
SoundPlay, %A_ScriptDir%\1.mp3
ak:=true
m4a1:=false
m4a4:=false
famas:=false
galil:=false
ump:=false
aug:=false
sg:=false
humanizer:=3.8
waitdivider:=4.7
}

When key_AK is pressed. The script will play 1.mp3.

The sound can be changed to your liking.

Last updated

Was this helpful?