Auto Strafe Request
25 posts
• Page 2 of 3 • 1, 2, 3
Re: Auto Strafe Request
Your the best thankyou
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Auto Strafe Request
Hi again is there away to add a B spam in this aswell, my aim when i hip fire i want to move left and right whilst crouching quick? All why shooting? Possible
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Auto Strafe Request
Can anyone add a delay in this script? Iv managed to tweek it to fire on ads to strafe but i still want to be able single tap dmrs without the strafe purely as it pulls left too much and moves me off target thanks
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Auto Strafe Request
Beryl wrote:Can anyone add a delay in this script?
That was in my last reply. You can change the current delay of 500ms to whatever.
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Auto Strafe Request
Thank you mad! I managed to figure a work around by adding another wait strafe time under combo strafe and it worked but will edit and add yours as i know itl work better. Im actually learning abit no. Thanks as always
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Auto Strafe Request
Mad wrote:
- Code: Select all
#include <xb1.gph>
#define STRAFE_TIME 500
main {
if(is_release(XB1_LX) * is_release(XB1_LY)) {
if(is_active(XB1_LB) && is_active(XB1_RT)) combo_run(Strafe);
else if(Strafe) combo_stop(Strafe);
}
}
combo Strafe {
set_val(XB1_LX, -100);
wait(STRAFE_TIME);
set_val(XB1_LX, 100);
wait(STRAFE_TIME);
}
This by far the best strafe script iv used would it be possible to add a toggle version where the activation button is my inventory button which is button_3
Just so i could use this as a standalone auto move for when im looting as the 1 im using feels very slow, thanks!
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Auto Strafe Request
- Code: Select all
#include <xb1.gph>
#define STRAFE_TIME 500
bool toggle;
main {
if(event_active(XB1_MENU)) toggle = !toggle;
if(toggle) {
if(is_release(XB1_LX) * is_release(XB1_LY)) {
if(is_active(XB1_LB) && is_active(XB1_RT)) combo_run(Strafe);
else if(Strafe) combo_stop(Strafe);
}
}
}
combo Strafe {
set_val(XB1_LX, -100);
wait(STRAFE_TIME);
set_val(XB1_LX, 100);
wait(STRAFE_TIME);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Auto Strafe Request
Another request sorry lol
Is there a way to have the straff just to start on RT press so i can straff when hip firing? BUT somehow add a temp deactivation if i press D PAD RIGHT to select a throwable as i dont want to straff when i use these?
Is there a way to have the straff just to start on RT press so i can straff when hip firing? BUT somehow add a temp deactivation if i press D PAD RIGHT to select a throwable as i dont want to straff when i use these?
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Auto Strafe Request
Anyone?
-
Beryl - Sergeant Major of the Army
- Posts: 198
- Joined: Fri Nov 27, 2020 7:47 pm
Re: Auto Strafe Request
- Code: Select all
#include <xb1.gph>
#define STRAFE_TIME 500
#define THROWABLE_DELAY 1500
bool toggle;
main {
if(event_active(XB1_MENU)) toggle = !toggle;
if(toggle) {
if(is_release(XB1_LX) * is_release(XB1_LY)) {
if(check_release(XB1_RIGHT, THROWABLE_DELAY)) {
if(is_active(XB1_LB) && is_active(XB1_RT)) combo_run(Strafe);
else if(Strafe) combo_stop(Strafe);
}
}
else if(Strafe) combo_stop(Strafe);
}
}
combo Strafe {
set_val(XB1_LX, -100);
wait(STRAFE_TIME);
set_val(XB1_LX, 100);
wait(STRAFE_TIME);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
25 posts
• Page 2 of 3 • 1, 2, 3
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 89 guests