Rapid fire request/help

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

Rapid fire request/help

Postby Beryl » Fri Aug 19, 2022 10:08 pm

Has anyone got a rapid fire script that still allows you to single tap shots when needed? Mouse user but want the ability to single tap but when i press the RT i want to shoot a dmr fast in pubg?
User avatar
Beryl
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 198
Joined: Fri Nov 27, 2020 7:47 pm

Re: Rapid fire request/help

Postby Beryl » Sat Aug 20, 2022 10:09 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: Rapid fire request/help

Postby Mad » Tue Aug 30, 2022 7:17 am

Code: Select all
#include <xb1.gph>
#define tapTime 300
main {
    if(check_active(XB1_RT, tapTime)) {
        combo_run(rapidFire);
    }
}
 
combo rapidFire {
    set_val(XB1_RT, 100);
    wait(40);
    set_val(XB1_RT, 0);
    wait(40);
}
 

That'll delay rapidfire by 300ms that you can change at the top
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: Rapid fire request/help

Postby Beryl » Fri Sep 23, 2022 11:33 pm

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

Re: Rapid fire request/help

Postby Beryl » Sat Mar 04, 2023 8:00 pm

This works great any chance you could add LT and RT need to be pressed still with delay in, thanks!
User avatar
Beryl
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 198
Joined: Fri Nov 27, 2020 7:47 pm

Re: Rapid fire request/help

Postby Mad » Sat Mar 04, 2023 8:11 pm

Code: Select all
#include <xb1.gph>
#define tapTime 300
main {
    if(is_active(XB1_LT) && check_active(XB1_RT, tapTime)) {
        combo_run(rapidFire);
    }
}
 
combo rapidFire {
    set_val(XB1_RT, 100);
    wait(40);
    set_val(XB1_RT, 0);
    wait(40);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: Rapid fire request/help

Postby Beryl » Sat Mar 04, 2023 9:35 pm

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


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 83 guests