improvement to counter strafe script csgo

Post a reply


In an effort to prevent automatic submissions, we require that you type the text displayed into the field underneath.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :| :mrgreen: :geek: :ugeek: :arrow: :angel: :clap: :crazy: :eh: :lolno: :problem: :shh: :shifty: :sick: :silent: :think: :thumbup: :thumbdown: :salute: :wave: :wtf: :yawn: :facepalm: :bravo: :dance: :beard: :morebeard: :xmas: :HeHe: :trollface: :cookie: :rainbow: :monkeysee: :monkeysay: :happybday: :headwall: :offtopic: :superhappy: :terms: :beer:
View more smilies

BBCode is ON
[img] is OFF
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: improvement to counter strafe script csgo

Re: improvement to counter strafe script csgo

Post by Guest » 19 Jun 2017, 04:04

;Basically i am no expert but what happens is you run the script get into your csgo game right click to turn it off ( IF IT IS ON! IT WILL BE NOTICEABLE WHEN YOU MOVE AROUND ). Then when you get into an engagement youll press mouse one to shoot and that will toggle the script and enable counterstrafe. After that press mouse to or right click to turn it off.

ScriptActive = 1

~*w up::
If ScriptActive = 1
{
if(GetKeyState("s","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {s down}
While (!GetKeyState("s","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("s","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {s up}
}
return

~*a up::
If ScriptActive = 1
{
if(GetKeyState("d","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {d down}
While (!GetKeyState("d","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("d","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {d up}
}
return

~*d up::
If ScriptActive = 1
{
if(GetKeyState("a","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {a down}
While (!GetKeyState("a","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("a","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {a up}
}
return

~*s up::
If ScriptActive = 1
{
if(GetKeyState("w","P")) ; if w is pressed, do not perform sub
return
start:=A_TickCount
start+=125
Send {w down}
While (!GetKeyState("w","P") && A_TickCount<start) ; if w is pressed, exit this While loop. Exit after 100 ms regardless
Sleep 10
If !GetKeyState("w","P") ; if you are holding w down physically, you don't want to send a w up keystroke
Send {w up}
}
return


~LButton::
If ScriptActive = 1
{
ScriptActive = 0
SoundBeep, 400, 400
}

-RButton::
{
ScriptActive = 1
SoundBeep, 1000, 100
SoundBeep, 1000, 100
}
return

improvement to counter strafe script csgo

Post by jpeg » 16 Jul 2016, 12:17

I discovered this counter strafing script and have been using it for a while and it is weird to just move around. I think improving it by changing the time is counter strafes would be better. So instead of pressing the key to counter strafe when you let go of a key, it would be more natural to counterstrafe as you press the fire button. So you strafe out a corner, counter strafe fire, and then keep going. Im not proficient enough in this scripting language to even get started but I would assume others would like to see a script like this and might help me out.

Code: [Select all] [Expand]GeSHi © Codebox Plus


This is the code im referring to.

Top