Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

CSGO half done recoil script


  • Please log in to reply
5 replies to this topic
floodindahood
  • Members
  • 383 posts
  • Last active: Apr 20 2018 01:45 PM
  • Joined: 21 Oct 2011

Some random dude asked me to help him with CSGO "anti-recoil" so wrote him a script to get some feedback so i could smooth it out for him but, no replies so figured I'll post it here.

For AK only since I didn't bother going further without knowing if it works fine or not since I don't have CSGO.

;;"static" vars;;
static_multiplier := 0.5
ak47_magSize := 30
ak47_rpm := 600
ak47_sleepRate := 1000/(600/60)
ak47_pattern := "2,-17;-6,-12;2,-39;2,-51;10,-62;14,-60;15,-54;-2,-39;-26,-22;-45,-11;-36,-7;-27,-8;-24,-5;-17,-3;7,-2;35,-8;46,-10;48,-8;43,0;30,5;7,3;-4,-5;-4,-8;2,-8;7,-3;-4,-5;-31,5;-54,13;-66,17;"
stringsplit,ak,ak47_pattern,`;return
;;"static" vars end;;

;;hotkeys;;
~^lbutton::
while (A_Index <= ak47_magSize && GetKeyState("LButton","P")) {
tooltip, % A_Index
tempholder := ak%A_Index%
stringsplit,temp,tempHolder,`,
temp1 := temp1*static_multiplier, temp2 := temp2*static_multiplier 
DllCall("mouse_event", "UInt", 0x01, "UInt", temp1, "UInt", temp2)
sleep % ak47_sleepRate
}
return

wheelup::tooltip % (static_multiplier+=0.05)
wheeldown::tooltip % (static_multiplier-=0.05)

Fairly simple to use.

Ctrl+LButton starts pattern "tracing" and if you release it, then it returns to the beginning of the pattern, if not then It'll finish the pattern and return.

Wheelup & Wheeldown will increase/decrease the static multiplier which essentially just dictates how "big" moves it'll make.

Sensitivity and such and such affect it anyway so couldn't be static.

 

Anyway message back on how it worked and how it didn't.

If it's gucchi then I'll add a bit of randomness and smoothing to the actuation of the pattern.



EpicnessCoding
  • Members
  • 217 posts
  • Last active: Feb 05 2016 12:48 AM
  • Joined: 29 Dec 2014

Hi!

I am very interested in coding CSGO scripts, and u can check out my post on

http://www.autohotke...o-multi-script/

about my CSGO norecoil script. (it moves the mouse fast, and then slows down because most guns in csgo moves up fast at the beginning and then it slows down). I was also considering the idea of saving the csgo recoil patterns for every weapon and make the mouse move like that.

If you do have time, we can work together


I make custom scripts for money!

Sorry my website is down. Contact me by adding me on Steam. My steam is EpicnessCoding.

Just add me on steam if you have to. (Hint: Search EpicnessCoding, my name changes a lot :D)


Shadesss
  • Members
  • 5 posts
  • Last active: Jun 17 2016 08:39 PM
  • Joined: 13 Feb 2015

first 9 shots are really accurate, but then it goes totally off

my settings are in game 1600x1024 resolution and sens 1.2

Dpi from razer manager is 1800



floodindahood
  • Members
  • 383 posts
  • Last active: Apr 20 2018 01:45 PM
  • Joined: 21 Oct 2011

first 9 shots are really accurate, but then it goes totally off

my settings are in game 1600x1024 resolution and sens 1.2

Dpi from razer manager is 1800

Updated the first post with a bit different pattern which should yield the desired resultand removed some unnecessary shiznaz.

Would be great if you could check if it replicates the pattern properly.



Tornike
  • New members
  • 1 posts
  • Last active: Aug 27 2015 03:18 PM
  • Joined: 27 Aug 2015

How to install it ? :) can you please explain to me 



SnowFlake_FlowSnake
  • Members
  • 845 posts
  • Last active: Jan 24 2016 05:24 PM
  • Joined: 08 Oct 2012

1) Download Autohotkey (http://ahkscript.org...ahk-install.exe)
2) Install Autohotkey 64 or 32 Bits.
3) Copy the Code.
4) Paste it in to notepad or any other text editor you use
5) Save it as CSGO.ahk.ahk
6) Dubble click at "CSGO.ahk"
7) Now its running, you should see a small icon with a "H" on it in the corner of the Taskbar/Startbar.

 

more information about how to make a script and how to downland Autohotkey can be found in this Link (http://ahkscript.org...utorial.htm#s11)


  • Download link of my scripts on Autohotkey.com 2/10/2015 [DOWNLAND]
  • Contact Info:  https://github.com/floowsnaake //  FloowSnaake(A)gmail.com
  • IF you need Help send me a PM,Email or Post on Github

  • Quote by tank  Posted 29 September 2015 - 06:14 PM

  • "Eventually i will find a way to convert the DB back to PHPBB3. but i dont have the bandwidth right now. No one that has tried has had success. It is the Only way i can keep this open is if i could successfully convert it."