script for r6s Topic is solved
script for r6s
Hello
I need your help for a script creation for r6s .
I would like to know if it is possible to lean automatically right or left, I explain what I want, when I aim and I move on the right (D key) it automatically leans to the right(key E for lean) and the same to the left key Q (key A for lean), if so how?
Thank you for the helps
I need your help for a script creation for r6s .
I would like to know if it is possible to lean automatically right or left, I explain what I want, when I aim and I move on the right (D key) it automatically leans to the right(key E for lean) and the same to the left key Q (key A for lean), if so how?
Thank you for the helps
Re: script for r6s
Hallo,
when the D key is pressed, E should also be pressed
and the same with Q and A?
when the D key is pressed, E should also be pressed
and the same with Q and A?
Code: Select all
~d::e
~q::a
Re: script for r6s
hello thx for the help , I would like that when I stay the click right mouseRohwedder wrote:Hallo,
when the D key is pressed, E should also be pressed
and the same with Q and A?Code: Select all
~d::e ~q::a
and I press the D key that the E key is activated to make "click right mouse + D = click right mouse + D + E "
and the same thing for
when I press the click right mouse to press the A key that the Q key is activated to make " click right mouse + A = click right mouse + A + Q"
sorry if it's not very well explain my english is not very good
Re: script for r6s
Hallo,
then this:
(RButton losts it's native function)or that:
then this:
(RButton losts it's native function)
Code: Select all
RButton & ~d::e
RButton & ~a::q
Code: Select all
#If GetKeyState("RButton","P")
~d::e
~a::q
#If
Re: script for r6s
HelloRohwedder wrote:Hallo,
then this:
(RButton losts it's native function)or that:Code: Select all
RButton & ~d::e RButton & ~a::q
Code: Select all
#If GetKeyState("RButton","P") ~d::e ~a::q #If
nice work
thx for reply
on the other hand, how to make the command not repeat it? just once right mouse + D + E that it does it once the E, a specific command to add?
thx
Re: script for r6s Topic is solved
Hallo,
try this
(RButton losts it's native function):or that:
try this
(RButton losts it's native function):
Code: Select all
RButton & d::
Send de
KeyWait, d
Return
RButton & a::
Send aq
KeyWait, a
Return
Code: Select all
~RButton & d::
Send de
KeyWait, d
Return
~RButton & a::
Send aq
KeyWait, a
Return
Re: script for r6s
nice job perfect thx for you help
Re: script for r6s
can u do please the same thing for logitech script?
Re: script for r6s
Help me finalize it. When you press many times In order to have pressed once. When you press A, Q was pressed once and you could continue to press A as much as you want. A=>QA.. A=>AA... D=>ED.. D=>DD... But after pressing D, you could press AQ, and after pressing A, you could press DE. Without looping. These are the slopes in the game on QE and it is necessary that they work once when you spam AD .Rohwedder wrote: ↑22 Apr 2018, 05:00Hallo,
try this
(RButton losts it's native function):or that:Code: Select all
RButton & d:: Send de KeyWait, d Return RButton & a:: Send aq KeyWait, a Return
Code: Select all
~RButton & d:: Send de KeyWait, d Return ~RButton & a:: Send aq KeyWait, a Return
I searched a lot and couldn't find anything.
https://www.youtube.com/watch?v=5q02NYhtOIU
Re: script for r6s
Hallo,
unfortunately, the video did not help me. I understand spoken English too bad.
Does the fact that a second started KeyWait command pauses an already running one bother you?
Then perhaps?:
unfortunately, the video did not help me. I understand spoken English too bad.
Does the fact that a second started KeyWait command pauses an already running one bother you?
Then perhaps?:
Code: Select all
; RButton losts it's native function
RButton & d::Send,% !KeyWaitD?("de",KeyWaitD := True):
~d Up::KeyWaitD := False
RButton & a::Send,% !KeyWaitA?("aq",KeyWaitA := True):
~a Up::KeyWaitA := False
Re: script for r6s
This is what you need. You're doing great. But it needs to be finalized. The A and D buttons stop being pressed. I checked in a text editor.Rohwedder wrote: ↑06 Apr 2022, 02:52Hallo,
unfortunately, the video did not help me. I understand spoken English too bad.
Does the fact that a second started KeyWait command pauses an already running one bother you?
Then perhaps?:Code: Select all
; RButton losts it's native function RButton & d::Send,% !KeyWaitD?("de",KeyWaitD := True): ~d Up::KeyWaitD := False RButton & a::Send,% !KeyWaitA?("aq",KeyWaitA := True): ~a Up::KeyWaitA := False
Re: script for r6s
Then perhaps:Or if both letters are to remain pressed in each case:
In a text editor, the keyboard driver does autorepeat. Run this as second script to display the logical state of the keys "d e a q":
Code: Select all
; RButton losts it's native function
RButton & ~d::Send,% !KeyWaitD?("e",KeyWaitD := True):
~d Up::KeyWaitD := False
RButton & ~a::Send,% !KeyWaitA?("q",KeyWaitA := True):
~a Up::KeyWaitA := False
Code: Select all
; RButton losts it's native function
RButton & ~d::e
RButton & ~a::q
Code: Select all
#Persistent
OnExit("KeysReset")
;KeyStateTimer shows the logical State of Keys
SetTimer,State,200,Keys:="d e a q"
State: ;Keys separated with space or tab
For all,Key in StrSplit(Keys,[A_Space,A_Tab])
Text.=Trim(Key)>""?"`n" Key "`t" (GetKeyState(Key)?"down":"up"):
MouseGetPos, MX, MY ;separated from another ToolTip
ToolTip,% SubStr(Text,2),MX+16,MY+32,4,Text:=""
Return
KeysReset()
{
Loop, 0xFF
IF GetKeyState(Key:=Format("VK{:X}",A_Index))
SendInput, {%Key% up}
ExitApp
}
Re: script for r6s
Im Allgemeinen habe ich es so gemacht:Rohwedder wrote: ↑06 Apr 2022, 07:46Then perhaps:Or if both letters are to remain pressed in each case:Code: Select all
; RButton losts it's native function RButton & ~d::Send,% !KeyWaitD?("e",KeyWaitD := True): ~d Up::KeyWaitD := False RButton & ~a::Send,% !KeyWaitA?("q",KeyWaitA := True): ~a Up::KeyWaitA := False
In a text editor, the keyboard driver does autorepeat. Run this as second script to display the logical state of the keys "d e a q":Code: Select all
; RButton losts it's native function RButton & ~d::e RButton & ~a::q
Code: Select all
#Persistent OnExit("KeysReset") ;KeyStateTimer shows the logical State of Keys SetTimer,State,200,Keys:="d e a q" State: ;Keys separated with space or tab For all,Key in StrSplit(Keys,[A_Space,A_Tab]) Text.=Trim(Key)>""?"`n" Key "`t" (GetKeyState(Key)?"down":"up"): MouseGetPos, MX, MY ;separated from another ToolTip ToolTip,% SubStr(Text,2),MX+16,MY+32,4,Text:="" Return KeysReset() { Loop, 0xFF IF GetKeyState(Key:=Format("VK{:X}",A_Index)) SendInput, {%Key% up} ExitApp }
Code: Select all
~d::Send,% !KeyWaitD?("e",KeyWaitD := True):
~a Up::KeyWaitD := False
~a::Send,% !KeyWaitA?("q",KeyWaitA := True):
~d Up::KeyWaitA := False
But in the game, the A and D buttons work well, and the slopes on Q and E work every other time. The script in the game slows down for some reason, or the Q and E buttons are pressed very quickly. The game does not work as it should. I tried to do something and nothing works.
Please help me.
In german:
Spoiler
Last edited by gregster on 07 Apr 2022, 03:12, edited 1 time in total.
Reason: Since this is an english language forum, I moved the english text from the spoiler to the front.
Reason: Since this is an english language forum, I moved the english text from the spoiler to the front.
Re: script for r6s
@odin42ru - du solltest dir abgewöhnen komplette Sektionen zu quoten/zitieren (den “-Button) nur um den Ansprechpartner zu triggern. Das macht den thread unleserlich. Benutze stattdessen die "mention"-option (den "@"-button). Danke
Re: script for r6s
You have swapped KeyWaitA and KeyWaitD!
Try:
Try:
Code: Select all
~d::Send,% !KeyWaitD?("e",KeyWaitD := True):
~a Up::KeyWaitA := False
~a::Send,% !KeyWaitA?("q",KeyWaitA := True):
~d Up::KeyWaitD := False
Re: script for r6s
Your script is working. But it doesn't work in the game. Do you understand?Rohwedder wrote: ↑07 Apr 2022, 02:36You have swapped KeyWaitA and KeyWaitD!
Try:Code: Select all
~d::Send,% !KeyWaitD?("e",KeyWaitD := True): ~a Up::KeyWaitA := False ~a::Send,% !KeyWaitA?("q",KeyWaitA := True): ~d Up::KeyWaitD := False
In the game, he does not press Q and E.
How to make it work in the game?
Maybe there is another option?
In german:
Spoiler
Last edited by gregster on 07 Apr 2022, 03:09, edited 1 time in total.
Reason: Since this is an english language forum, I moved the english text from the spoiler to the front.
Reason: Since this is an english language forum, I moved the english text from the spoiler to the front.
Re: script for r6s
Perhaps your game wants a greater PressDuration?
Try:
Try:
Code: Select all
SetKeyDelay, 50, 100
~d::Send,% !KeyWaitD?("e",KeyWaitD := True):
~a Up::KeyWaitA := False
~a::Send,% !KeyWaitA?("q",KeyWaitA := True):
~d Up::KeyWaitD := False
Re: script for r6s
Thanks! You are the best)Rohwedder wrote: ↑07 Apr 2022, 03:50Perhaps your game wants a greater PressDuration?
Try:Code: Select all
SetKeyDelay, 50, 100 ~d::Send,% !KeyWaitD?("e",KeyWaitD := True): ~a Up::KeyWaitA := False ~a::Send,% !KeyWaitA?("q",KeyWaitA := True): ~d Up::KeyWaitD := False
That's what we need. Everything works.
It happens when you spam buttons A and D very quickly, then it starts to slow down the slopes on Q and E.
But come on... And so it will do) Thanks)
Spoiler
Re: script for r6s
I've redone the macro. Now it does not slow down, it works as it should.
Macro for Rainbow six, tilt Q and E on buttons A and D.
Use:
Macro for Rainbow six, tilt Q and E on buttons A and D.
Use:
Code: Select all
#NoEnv
#MaxHotkeysPerInterval 99000000
#HotkeyInterval 99000000
#KeyHistory 0
Process, Priority,, High
SetKeyDelay, -1, 100
~d::Send,% !KeyWaitD?("e",KeyWaitD := 1,KeyWaitA := 0):
~a::Send,% !KeyWaitA?("q",KeyWaitA := 1,KeyWaitD := 0):
`::Suspend
F8::reload
Spoiler
Who is online
Users browsing this forum: No registered users and 61 guests