Looking for PUBG PS4 script

Titan One general support. Questions, firmware update, feature request.

Looking for PUBG PS4 script

Postby the old gamer » Thu Oct 24, 2019 4:13 pm

Haven't found one but looking specifically for no recoil and hold breath while in ADS. Any help would be greatly appreciated.
User avatar
the old gamer
Sergeant First Class
Sergeant First Class
 
Posts: 18
Joined: Wed Nov 11, 2015 2:28 am

Re: Looking for PUBG PS4 script

Postby Mad » Thu Oct 24, 2019 6:20 pm

Try this script out, grabbed it from another site and added in hold breath for you. Assuming your hold breath is LB / L1.

You can change this value (currently 3000ms/3sec) based on how long you can stay scoped in for before screen shake.
Code: Select all
define breath_time = 3000;


Code: Select all
// GPC Online Library
// pubg_v0.0.9.gpc
 
//
//          _      _                  _               _       
//         /\ \   /\_\               / /\            /\ \     
//        /  \ \ / / /         _    / /  \          /  \ \     
//       / /\ \ \\ \ \__      /\_\ / / /\ \        / /\ \_\   
//      / / /\ \_\\ \___\    / / // / /\ \ \      / / /\/_/   
//     / / /_/ / / \__  /   / / // / /\ \_\ \    / / / ______ 
//    / / /__\/ /  / / /   / / // / /\ \ \___\  / / / /\_____\
//   / / /_____/  / / /   / / // / /  \ \ \__/ / / /  \/____ /
//  / / /        / / /___/ / // / /____\_\ \  / / /_____/ / / 
// / / /        / / /____\/ // / /__________\/ / /______\/ /   
// \/_/         \/_________/ \/_____________/\/___________/   
 
// v0.0.9
 
    define HOME  =  0;
    define VIEW  =  1;
    define MENU  =  2;
    define RB    =  3;
    define RT    =  4;
    define RS    =  5;
    define LB    =  6;
    define LT    =  7;
    define LS    =  8;
    define RX    =  9;
    define RY    = 10;
    define LX    = 11;
    define LY    = 12;
    define UP    = 13;
    define DOWN  = 14;
    define LEFT  = 15;
    define RIGHT = 16;
    define Y     = 17;
    define B     = 18;
    define A     = 19;
    define X     = 20;
//------------------------------------------------------------------------------------------
//           INSTRUCTIONS:
 
// For steady aim you must be standing still meaning not moving.
// Special thanks to lex,batts,Excalibur,crescens,the community and Legend4Now for testing!
// concocted by Xbl Jedi
//-------------------------------------------------------------------------------------------
//  LED indications:                                 
//  Green:  rapidfire ON  - antirecoil ON           
//  Pink: antirecoil ON  - rapidfire OFF           
//  Yellow:  rapidfire ON  - antirecoil OFF           
//  Red: rapidfire OFF  - antirecoil OFF;         
 
//-------------------------------------------------------------------------------------------
//           INSTRUCTIONS:                       
// RAPIDFIRE (ON by default - Start value: 14 - Pink led = ON; Red led = OFF)
// Hold LT/L2 and Press X/SQUARE to Enable or Disable Rapidfire (with rumble notify)
// ANTI RECOIL (ON by default - Start value: vertical = 25; Horizontal = 0)                 
// Hold LT/L2 and Press LB/L1 to Enable or Disable Antirecoil (with rumble notify)
// Hold LT/L2 and tap DPAD UP to increase Antirecoil (+1 each tap on UP, while holding LT)         
// Hold LT/L2 and tap DPAD DOWN to decrease Antirecoil (-1 each tap on DOWN, while holding LT)       
// Hold LT/L2 and tap DPAD RIGHT to compensate to the right (+1 each tap on RIGHT , while holding LT)
// Hold LT/L2 and tap DPAD LEFT to compensate to the left (+1 each tap on LEFT, while holding LT)     
//------------------------------------------------------------------------------------------- 
// Save new values into the device eeprom: Hold L2/LT and press OPTIONS/MENU (or START, for PS3/Xbox 360 users)
//-------------------------------------------------------------------------------------------
define save       =  2;   // XB1_MENU - PS4_OPTIONS                                         
//------------------------------------------------------------------------------------------- 
define Blue       =  1;                                                                       
define Red        =  2;                                                                       
define Green      =  3;                                                                       
define Pink       =  4;                                                                       
define SkyBlue    =  5;                                                                       
define Yellow     =  6;                                                                       
define White      =  7;                                                                       
//-------------------------------------------------------------------------------------------
data(1,                                                                                   
  2,0,0,0, //1. Blue                                                                     
  0,2,0,0, //2. Red                                                                     
  0,0,2,0, //3. Lime/Green                                                               
  0,0,0,2, //4. Fuchsia/Pink                                                             
  2,0,2,0, //5. SkyBlue                                                                 
  0,2,2,0, //6. Yellow                                                                 
  2,2,2,2  //7. White                                                                   
);                                                                                     
//-------------------------------------------------------------------------------------------
 
//VARIABLES - int
define breath_time = 3000;                                                                       
define AR_Release = 70;      // change this value to set when antirecoil stops working (min: antirecoil value + 10)
define Scope_only = TRUE; // if TRUE Antirecoil IS ON only when scoping - if FALSE, is always ON
int recoil_onoff  = TRUE; // if TRUE Antirecoil is ON by default - if FALSE, OFF by default
int rapid_onoff   = TRUE; // if TRUE Rapidfire is ON by default - if FALSE, OFF by default 
int hold_breath   = TRUE;
int RATE_OF_FIRE  = 14;   // Range: 1 to 25 RPS (Round/s)                               
int ANTI_RECOIL   = 25;                                                                 
int ANTI_RECOIL_H =  0;                                                                   
int anti_recoil;                                                                         
int anti_recoil_H;                                                                       
int Col_ind;                                                                             
int hold_time;                                                                         
int rest_time;                                                                         
int rumble_type = 2;
int onoff;
define time = 2000;
 
init{                                                                                 
 
 
    ANTI_RECOIL   = get_pvar(SPVAR_2, -100,+100, 25);   
    ANTI_RECOIL_H = get_pvar(SPVAR_3, -100,+100, 0);   
 
}
 
 
main{
    if(hold_breath && get_val(LT)) combo_run(breath);
 
    if(get_val(5) && get_ptime(5) >time) {onoff=!onoff;}
    if(onoff) {
    combo_run(fastreload);
    }else{
    combo_stop(fastreload);
    }
    if(event_press(7)) {
        combo_run(aim1);
        combo_run(aim2);
    }
 
    if(get_val(20)){
        set_val(20,100);
        }
    if(get_val(7) && event_press(20))  {
        combo_run (vibrate);                         
        rapid_onoff=!rapid_onoff;                   
    }                                               
 
    if(rapid_onoff   &&  recoil_onoff) colourled(Green);
    if(rapid_onoff   && !recoil_onoff) colourled(Pink);
    if(recoil_onoff  && !rapid_onoff ) colourled(Yellow)
    if(!recoil_onoff && !rapid_onoff ) colourled(Red)
 
 
    if(rapid_onoff) {                                   
        if(get_val(4)) {                                   
                combo_run (RAPID_FIRE);                       
        }                                               
 
        hold_time = 500 / RATE_OF_FIRE;                 
        rest_time = hold_time - 20;                       
        if(rest_time < 0) rest_time = 0;                 
 
}
if(get_val(7) && event_press(6))  {
        recoil_onoff=!recoil_onoff;                 
        set_rumble_type(recoil_onoff);               
    }                                               
 
 
    if(get_val(7) && event_press(save)){                   
        combo_run(vibrate);                                     
        set_pvar(SPVAR_2, ANTI_RECOIL);                         
        set_pvar(SPVAR_3, ANTI_RECOIL_H);                       
        set_val(save, 0);                                       
    }
    if(get_val(7)){                                             
        if(event_press(13)){                                   
            ANTI_RECOIL = ANTI_RECOIL+ 1;                       
        }                                                       
        if(event_press(14)) {                                   
            ANTI_RECOIL = ANTI_RECOIL- 1;                         
        }                                                         
        set_val(13,0); set_val(14,0);                         
 
        if(event_press(16)){                                   
            ANTI_RECOIL_H = ANTI_RECOIL_H+ 1;                   
        }                                                       
        if(event_press(15)) {                               
            ANTI_RECOIL_H = ANTI_RECOIL_H- 1;                   
        }                                                       
        set_val(16,0); set_val(15,0);                     
 
    }                                           
    if(!Scope_only || get_val(7) && get_val(4 )) {   
        combo_run(AntiRecoil);                                     
    }                                                               
 
    if( abs(get_val(10)) > AR_Release || abs(get_val(9)) > AR_Release) {
        combo_stop (AntiRecoil);                                       
    }                                                                   
}                             
 
//combos
combo aim1 {
    set_val(7, 0);
    wait(400);
    set_val(7, 100);
    wait(50);
    set_val(7, 100);
}
combo aim2 {
    set_val(7, 100);
    wait(50);
    set_val(7, 0);
}
combo fastreload {
    set_val(20, 100);
    wait(10);
    set_val(20, 100);
    wait(1500);
    set_val(20, 100);
}
combo vibrate {                                     
    set_rumble(rumble_type, 100);                   
    wait(300);                                       
    reset_rumble();                                 
}                                                   
 
combo RAPID_FIRE {                                   
    set_val(4, 100);                         
    wait(hold_time);                                 
    set_val(4, 0);                           
    wait(rest_time);                                 
    set_val(4, 0);                           
}
 
combo breath {
    set_val(LB, 100);
    wait(breath_time);
    set_val(LB, 0);
    wait(10);
}
 
combo AntiRecoil {                                   
    if(recoil_onoff) {                               
        anti_recoil = get_val(10) + ANTI_RECOIL;       
        if(anti_recoil > 100) anti_recoil = 100;       
        set_val(10, anti_recoil);                       
        anti_recoil_H = get_val(9) + ANTI_RECOIL_H;     
        if(anti_recoil_H > 100) anti_recoil_H = 100;   
        set_val(9, anti_recoil_H);                     
    }                                               
}
 
function set_rumble_type ( val) {                   
    if( val) rumble_type = RUMBLE_A ;               
    else   rumble_type = RUMBLE_B ;                 
    combo_run(vibrate);                             
}                                                             
// COLOR LED function                               
//--------------------------------------------------------------
function colourled(Colour) {                         
    Col_ind=(Colour*4)- 3;                           
    set_led(LED_1,dbyte(Col_ind  ));                 
    set_led(LED_2,dbyte(Col_ind+ 1));               
    set_led(LED_3,dbyte(Col_ind+ 2));               
    set_led(LED_4,dbyte(Col_ind+ 3));               
}
 
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: Looking for PUBG PS4 script

Postby the old gamer » Fri Oct 25, 2019 1:03 pm

Thanks. I did this yesterday but unfortunately my headset would not work. I have a Hyperx Cloud 2 headset. Seems like the headset was being blocked by the TitanOne.
User avatar
the old gamer
Sergeant First Class
Sergeant First Class
 
Posts: 18
Joined: Wed Nov 11, 2015 2:28 am

Re: Looking for PUBG PS4 script

Postby J2Kbr » Fri Oct 25, 2019 3:30 pm

With Titan One, the support for controller headsets is not present (hardware limitation), the alternative is use full wireless headset solutions, or USB Sound Dongles (PS4), or secondary controller (XB1).

With the Titan Two, our new device, controller headsets are supported.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 97 guests