Strafe request

GPC2 script programming for Titan Two. Code examples, questions, requests.

Strafe request

Postby Beryl » Fri Aug 06, 2021 9:15 pm

Has anyone got a strafe to hand that will work with pubg so when you ads itl auto strafe for like 2 or 3 seconds then itl stop?
User avatar
Beryl
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 198
Joined: Fri Nov 27, 2020 7:47 pm

Re: Strafe request

Postby Beryl » Sat Aug 07, 2021 11:52 am

Anyone?
User avatar
Beryl
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 198
Joined: Fri Nov 27, 2020 7:47 pm

Re: Strafe request

Postby Beryl » Tue Aug 10, 2021 5:46 am

Bump
User avatar
Beryl
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 198
Joined: Fri Nov 27, 2020 7:47 pm

Re: Strafe request

Postby Beryl » Sat Aug 14, 2021 8:51 am

Anyone??
User avatar
Beryl
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 198
Joined: Fri Nov 27, 2020 7:47 pm

Re: Strafe request

Postby Herpityderpity » Sat Aug 14, 2021 3:50 pm

I honestly can't believe the lack of interest in making pubg scripts. It's basically just us asking for them on here dude lmao.
User avatar
Herpityderpity
Staff Sergeant
Staff Sergeant
 
Posts: 15
Joined: Sun May 30, 2021 9:09 pm

Re: Strafe request

Postby Beryl » Mon Aug 16, 2021 7:20 am

I know right, i wish i had a better understanding to make the things myself as bar 1 maybe 2 people on this forum people dont want to share there stuff.
User avatar
Beryl
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 198
Joined: Fri Nov 27, 2020 7:47 pm

Re: Strafe request

Postby Tahsin » Mon Aug 16, 2021 9:50 am

Try this

Code: Select all
 
 
main
{
    ///strafe
    if (get_actual(BUTTON_8)) {
            if (event_active(BUTTON_8)){
            combo_run(AutoStrafe);
 
        }
        }else{
            combo_stop(AutoStrafe);
 
        }
}
 
//Auto Strafe
combo AutoStrafe
{
    set_val(STICK_2_X, 100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, -100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, 100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, -100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, 100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, -100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
 
   }
 
 

Edite script Updated
I'm new in T2 codding :oops:
User avatar
Tahsin
Sergeant Major
Sergeant Major
 
Posts: 100
Joined: Wed May 15, 2019 7:57 am

Re: Strafe request

Postby Beryl » Mon Aug 16, 2021 5:31 pm

1 step ahead of me my friend ill give it a try, thank you
User avatar
Beryl
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 198
Joined: Fri Nov 27, 2020 7:47 pm

Re: Strafe request

Postby Tahsin » Mon Aug 16, 2021 5:39 pm

And this works when ADS and doble tap L1

Code: Select all
 
 
main
{
    ///strafe ADS + doble tap L1
   if (get_actual(BUTTON_8)){
       if ( event_active(BUTTON_7) && time_release(BUTTON_7) <250 ) {
       combo_run(AutoStrafe);
     }
     }else {
           combo_stop(AutoStrafe);
     }
}
 
//Auto Strafe
combo AutoStrafe
{
    set_val(STICK_2_X, 100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, -100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, 100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, -100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, 100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
    set_val(STICK_2_X, -100.0);
    wait(600);
    set_val(STICK_2_X, 0.0);
    wait(60);
 
   }
 
 
 
 
User avatar
Tahsin
Sergeant Major
Sergeant Major
 
Posts: 100
Joined: Wed May 15, 2019 7:57 am

Re: Strafe request

Postby Beryl » Mon Aug 16, 2021 6:30 pm

Your auto strafe when you ads have you any idea if a delay could be added to stop it after say 3 or 4 seconds? I move all the time but iv found that scope change over i stop moving briefly lol
User avatar
Beryl
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 198
Joined: Fri Nov 27, 2020 7:47 pm

Next

Return to GPC2 Script Programming

Who is online

Users browsing this forum: midg3t2 and 204 guests