Search found 7 matches

by Douglas Renato
30 Nov 2021, 20:25
Forum: Ajuda e Suporte Geral
Topic: mouse to wasd(portugues)
Replies: 1
Views: 1097

mouse to wasd(portugues)

boa noite pessoal, tava tentando no forum gringo(por isso coloquei "portugues" pq ja tinha aberto um la) um script para andar de WASD com o mouse, baseado nas coordenatas. eu seguraria um dos botoes laterais do mouse e ele andaria emulando o wasd, eu usaria esse script pra jogar MIR4 com uma mão só(...
by Douglas Renato
30 Nov 2021, 17:26
Forum: Gaming Help (v1)
Topic: Mouse to WASD Topic is solved
Replies: 15
Views: 3284

Re: Mouse to WASD Topic is solved

Then try: Directions := ["sd","s","as","a","wa","w","wd","d"] ; down+right,right,up+right,up,... counterclockwise XButton1:: MouseGetPos, X2, Y2 KeyWait, XButton1 MouseGetPos, X1, Y1 Direction := Directions[1+(Round(3+Atan2(X2-X1,Y2-Y1)/Atan(1))&7)] Loop, Parse,% "wasd" { Is := GetKeyState(A_LoopFi...
by Douglas Renato
29 Nov 2021, 23:03
Forum: Gaming Help (v1)
Topic: Mouse to WASD Topic is solved
Replies: 15
Views: 3284

Re: Mouse to WASD Topic is solved

Sometimes it takes a little time, before a post gets approved. Please be patient, if that happens. I merged your topics. btw, please use code tags. Thank you! (If you have questions how to do this, please ask!) sorry man i completely noob sorry for the inconvenience, i wait for a replay to finish t...
by Douglas Renato
29 Nov 2021, 22:30
Forum: Gaming Help (v1)
Topic: Mouse to WASD Topic is solved
Replies: 15
Views: 3284

Re: Mouse to WASD Topic is solved

this one is almost perfect, I just need the key to keep being pressed and not pressed just once for the script to work as it should, can help me friend?
by Douglas Renato
29 Nov 2021, 22:30
Forum: Gaming Help (v1)
Topic: Mouse to WASD Topic is solved
Replies: 15
Views: 3284

Mouse to WASD 2 Topic is solved

hello people, before I created the Mouse to WASD Post and the users Ludam and Rohwedder were generous and sent me scripts so that I can get the script to walk with WASD with the mouse side button with Mouse coordinates, for some reason my replies aren't getting approved in that post so i'm being for...
by Douglas Renato
29 Nov 2021, 02:27
Forum: Gaming Help (v1)
Topic: Mouse to WASD Topic is solved
Replies: 15
Views: 3284

Re: Mouse to WASD Topic is solved

You may have to polish this code a bit to get rid of some rough edges or to adapt it to your particular use. XButton1:: ; requires AHK_L version 1 MouseGetPos, Xi, Yi ; inital values hRgn_0 := DllCall("CreateRectRgn", "int", Xi-4, "int", Yi-4, "int", Xi+4, "int", Yi+4) ; area around initial mouse p...
by Douglas Renato
29 Nov 2021, 01:27
Forum: Gaming Help (v1)
Topic: Mouse to WASD Topic is solved
Replies: 15
Views: 3284

Mouse to WASD Topic is solved

Hello people, I'm new at this, I don't know how to script... I need help. I need a script that when I hold the mouse's side button or M2 it behaves like a WASD based on the coordinates, when I hold the button and if I tilt the mouse up, it sends W input, to the left the input is A, and if possible w...

Go to advanced search