PUBG Script request (XBOX ONE)

GPC1 script programming for Titan One. Code examples, questions, requests.

PUBG Script request (XBOX ONE)

Postby Technoobie » Mon Feb 26, 2018 1:16 am

Hello all. I'm new here and trying to learn how to edit scripts. For now, is it possible for someone to make me a quick and simple mod for me to use? I would like ONLY Anti Recoil, Rapid fire and Faster reload. I would like for this script to be on by default. Please don't add any additional mod as these 3 are the only ones I'm interested in.

Thanks in advance.
User avatar
Technoobie
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Tue Feb 20, 2018 4:20 am

Re: PUBG Script request (XBOX ONE)

Postby J2Kbr » Mon Feb 26, 2018 12:07 pm

Rapidfire and Anti-Recoil only:
Code: Select all
define FIRE_BUTTON      =  PS4_R2;
define ANTIRECOIL_FORCE = 25;
 
int ar_tmp;
 
main {
    // RAPIDFIRE
    if(get_val(FIRE_BUTTON)) {
        combo_run(Rapidfire);
    }
    // ANTI RECOIL
    if(get_val(FIRE_BUTTON)) {
        combo_run(AntiRecoil);
    }
}
 
combo Rapidfire {
    set_val(FIRE_BUTTON, 100);
    wait(40);
    set_val(FIRE_BUTTON, 0);
    wait(30);
    set_val(FIRE_BUTTON, 0);
}
 
combo AntiRecoil { // This combo must be the last one
    ar_tmp = get_val(PS4_RY) + ANTIRECOIL_FORCE;
    if(ar_tmp > 100) ar_tmp = 100;
    else if(ar_tmp < -100) ar_tmp = -100;
    set_val(PS4_RY, ar_tmp);
}
 

What is faster reload? there is any YouTube video showing this mod for PUBG?
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: PUBG Script request (XBOX ONE)

Postby bmpt guard » Mon Feb 26, 2018 4:53 pm

J2Kbr wrote:Rapidfire and Anti-Recoil only:
Code: Select all
define FIRE_BUTTON      =  PS4_R2;
define ANTIRECOIL_FORCE = 25;
 
int ar_tmp;
 
main {
    // RAPIDFIRE
    if(get_val(FIRE_BUTTON)) {
        combo_run(Rapidfire);
    }
    // ANTI RECOIL
    if(get_val(FIRE_BUTTON)) {
        combo_run(AntiRecoil);
    }
}
 
combo Rapidfire {
    set_val(FIRE_BUTTON, 100);
    wait(40);
    set_val(FIRE_BUTTON, 0);
    wait(30);
    set_val(FIRE_BUTTON, 0);
}
 
combo AntiRecoil { // This combo must be the last one
    ar_tmp = get_val(PS4_RY) + ANTIRECOIL_FORCE;
    if(ar_tmp > 100) ar_tmp = 100;
    else if(ar_tmp < -100) ar_tmp = -100;
    set_val(PS4_RY, ar_tmp);
}
 

What is faster reload? there is any YouTube video showing this mod for PUBG?


faster reload was implemented in cod. its basically a timed reload when you press reload so its to the millisec
User avatar
bmpt guard
Command Sergeant Major
Command Sergeant Major
 
Posts: 142
Joined: Thu May 12, 2016 9:33 pm

Re: PUBG Script request (XBOX ONE)

Postby Technoobie » Mon Feb 26, 2018 5:15 pm

J2Kbr wrote:Rapidfire and Anti-Recoil only:
Code: Select all
define FIRE_BUTTON      =  PS4_R2;
define ANTIRECOIL_FORCE = 25;
 
int ar_tmp;
 
main {
    // RAPIDFIRE
    if(get_val(FIRE_BUTTON)) {
        combo_run(Rapidfire);
    }
    // ANTI RECOIL
    if(get_val(FIRE_BUTTON)) {
        combo_run(AntiRecoil);
    }
}
 
combo Rapidfire {
    set_val(FIRE_BUTTON, 100);
    wait(40);
    set_val(FIRE_BUTTON, 0);
    wait(30);
    set_val(FIRE_BUTTON, 0);
}
 
combo AntiRecoil { // This combo must be the last one
    ar_tmp = get_val(PS4_RY) + ANTIRECOIL_FORCE;
    if(ar_tmp > 100) ar_tmp = 100;
    else if(ar_tmp < -100) ar_tmp = -100;
    set_val(PS4_RY, ar_tmp);
}
 

What is faster reload? there is any YouTube video showing this mod for PUBG?


Thanks J2Kbr. This is good enough man. Faster reload is not a must to have for me. Really apprciate the script.

Thank you
Last edited by Technoobie on Mon Feb 26, 2018 8:49 pm, edited 1 time in total.
User avatar
Technoobie
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Tue Feb 20, 2018 4:20 am

Re: PUBG Script request (XBOX ONE)

Postby Technoobie » Mon Feb 26, 2018 5:22 pm

norge1 wrote:
J2Kbr wrote:Rapidfire and Anti-Recoil only:
Code: Select all
define FIRE_BUTTON      =  PS4_R2;
define ANTIRECOIL_FORCE = 25;
 
int ar_tmp;
 
main {
    // RAPIDFIRE
    if(get_val(FIRE_BUTTON)) {
        combo_run(Rapidfire);
    }
    // ANTI RECOIL
    if(get_val(FIRE_BUTTON)) {
        combo_run(AntiRecoil);
    }
}
 
combo Rapidfire {
    set_val(FIRE_BUTTON, 100);
    wait(40);
    set_val(FIRE_BUTTON, 0);
    wait(30);
    set_val(FIRE_BUTTON, 0);
}
 
combo AntiRecoil { // This combo must be the last one
    ar_tmp = get_val(PS4_RY) + ANTIRECOIL_FORCE;
    if(ar_tmp > 100) ar_tmp = 100;
    else if(ar_tmp < -100) ar_tmp = -100;
    set_val(PS4_RY, ar_tmp);
}
 

What is faster reload? there is any YouTube video showing this mod for PUBG?


faster reload was implemented in cod. its basically a timed reload when you press reload so its to the millisec


Thanks for explaining norge1.
User avatar
Technoobie
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Tue Feb 20, 2018 4:20 am

Re: PUBG Script request (XBOX ONE)

Postby Technoobie » Mon Feb 26, 2018 9:10 pm

J2Kbr wrote:Rapidfire and Anti-Recoil only:
Code: Select all
define FIRE_BUTTON      =  PS4_R2;
define ANTIRECOIL_FORCE = 25;
 
int ar_tmp;
 
main {
    // RAPIDFIRE
    if(get_val(FIRE_BUTTON)) {
        combo_run(Rapidfire);
    }
    // ANTI RECOIL
    if(get_val(FIRE_BUTTON)) {
        combo_run(AntiRecoil);
    }
}
 
combo Rapidfire {
    set_val(FIRE_BUTTON, 100);
    wait(40);
    set_val(FIRE_BUTTON, 0);
    wait(30);
    set_val(FIRE_BUTTON, 0);
}
 
combo AntiRecoil { // This combo must be the last one
    ar_tmp = get_val(PS4_RY) + ANTIRECOIL_FORCE;
    if(ar_tmp > 100) ar_tmp = 100;
    else if(ar_tmp < -100) ar_tmp = -100;
    set_val(PS4_RY, ar_tmp);
}
 

What is faster reload? there is any YouTube video showing this mod for PUBG?



J2Kbr, can you add toggle on and off for me. completely forget to ask. Reason is, when i get into a vehicle it wont drive lol i guess its because of the rapidfire. Adding a easy on and off would be perfect. Maybe Dpad right to turn on and hold A to turn off? Can you help?

thanks
User avatar
Technoobie
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Tue Feb 20, 2018 4:20 am

Re: PUBG Script request (XBOX ONE)

Postby J2Kbr » Tue Feb 27, 2018 9:51 am

you are right, it is because the rapidfire.

toggle added (dpad right).
Code: Select all
define FIRE_BUTTON      =  PS4_R2;
define ANTIRECOIL_FORCE = 25;
 
int ar_tmp;
int toggle;
 
main {
    if(event_press(PS4_RIGHT)) {
        toggle = !toggle;
    }
    if(toggle) {
        // RAPIDFIRE
        if(get_val(FIRE_BUTTON)) {
            combo_run(Rapidfire);
        }
        // ANTI RECOIL
        if(get_val(FIRE_BUTTON)) {
            combo_run(AntiRecoil);
        }
    }
}
 
combo Rapidfire {
    set_val(FIRE_BUTTON, 100);
    wait(40);
    set_val(FIRE_BUTTON, 0);
    wait(30);
    set_val(FIRE_BUTTON, 0);
}
 
combo AntiRecoil { // This combo must be the last one
    ar_tmp = get_val(PS4_RY) + ANTIRECOIL_FORCE;
    if(ar_tmp > 100) ar_tmp = 100;
    else if(ar_tmp < -100) ar_tmp = -100;
    set_val(PS4_RY, ar_tmp);
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: PUBG Script request (XBOX ONE)

Postby Technoobie » Wed Feb 28, 2018 1:51 am

J2Kbr wrote:you are right, it is because the rapidfire.

toggle added (dpad right).
Code: Select all
define FIRE_BUTTON      =  PS4_R2;
define ANTIRECOIL_FORCE = 25;
 
int ar_tmp;
int toggle;
 
main {
    if(event_press(PS4_RIGHT)) {
        toggle = !toggle;
    }
    if(toggle) {
        // RAPIDFIRE
        if(get_val(FIRE_BUTTON)) {
            combo_run(Rapidfire);
        }
        // ANTI RECOIL
        if(get_val(FIRE_BUTTON)) {
            combo_run(AntiRecoil);
        }
    }
}
 
combo Rapidfire {
    set_val(FIRE_BUTTON, 100);
    wait(40);
    set_val(FIRE_BUTTON, 0);
    wait(30);
    set_val(FIRE_BUTTON, 0);
}
 
combo AntiRecoil { // This combo must be the last one
    ar_tmp = get_val(PS4_RY) + ANTIRECOIL_FORCE;
    if(ar_tmp > 100) ar_tmp = 100;
    else if(ar_tmp < -100) ar_tmp = -100;
    set_val(PS4_RY, ar_tmp);
}
 


J2Kbr, you are the man. Thank you
User avatar
Technoobie
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Tue Feb 20, 2018 4:20 am

Re: PUBG Script request (XBOX ONE)

Postby SourWax702 » Sun Mar 25, 2018 2:35 am

How do i add these scripts too my xbox?
User avatar
SourWax702
Private
Private
 
Posts: 1
Joined: Sun Mar 25, 2018 2:34 am

Re: PUBG Script request (XBOX ONE)

Postby J2Kbr » Tue Mar 27, 2018 6:13 pm

SourWax702 wrote:How do i add these scripts too my xbox?

You need a Titan One device (or Titan Two). the controller is connected to the Titan device and the Titan to the Xbox One.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Next

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 52 guests