can sumone covert this script for titan1 plz?below

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

can sumone covert this script for titan1 plz?below

Postby exclaimeddavid » Tue Mar 26, 2019 9:16 am

/*
Instructions
Aim Assist ---> ALWAYS ON
Aim abuse (MagnetAimbot) ---> ALWAYS ON
Ghost peek ---> ALWAYS ON [ ADS (L2) + (R1) RIGHT_BUMP]
100% Accuracy ---> ALWAYS ON [ ADS (L2) + (R1) RIGHT_BUMP]
Dropshot ---> HOLD ADS + SQUARE TO ACTIVATE
Rapid Fire ---> HOLD ADS + RIGHT TO ACTIVATE
Insta edit ---> ALWAYS ON
PUMP SMG ----> HOLD ADS + (Dpad-DOWN) TO ACTIVATE [change back to pump (L1) and shoot]
Anti Recoil ---> ALWAYS ON [ Just fire ]
*/

//Aim Assist Always on
int AimAssist = TRUE;
int AimAssistValues = 23;
int delay = 19;

//Aim Abuse
int AIMABUSE = TRUE;
int ZoomInValues = 290;
int ZoomOutValues = 36;

//Ghost Peek - L2 & RIGHT_BUMP
int ghostpeek = TRUE;
int gpreset = 111;

//100% Accuracy - L2 & RIGHT_BUMP
int PerfectAccuracy = TRUE;

//Dropshot - HOLD ADS + SQUARE TO ACTIVATE
int DropShot = FALSE;
int dsdown = 30;
int dsup = 13;

//Rapid Fire - HOLD ADS + RIGHT TO ACTIVATE
int RapidFire = FALSE;

//PUMP-SMG --- L2 + DOWN TO ACTIVATE
int PUMP_SMG = FALSE;
int tap;
int R2_block;

//Anti Recoil
int recoil_onoff = FALSE;
int ANTI_RECOIL = 18;
int ANTI_RECOIL_H = 0;
int anti_recoil_H;
int anti_recoil;
define AR_Release = 70;
define SCOPE_ACTIVATED = TRUE;

//INSTA EDIT & INSTA RESET
int EDIT_BUTTON = /**/BUILD_BTN/**/; //Insta Edit!)
int EDIT_BUTTON_HOLD = /**/TRUE/**///Does your edit button has a hold delay?
int HOLD_TIME = /**/150/**/; // Type the hold time which is shown in Fortnite settings
int RESET_EDIT_BUTTON = /**/CROUCH_BTN/**///Insta Reset!
int CONFIRM_BUTTON = BUILD_BTN; //Make sure this is set to your CONFIRM BUTTON

//LED
int a; int b;

//BUTTON LAYOUT: BUILDER PRO
define FIRE_BTN = 4; //XB1_RT //PS4_R2
define ADS_BTN = 7; //XB1_LT //PS4_L2
define CROUCH_BTN = 5; //XB1_RS //PS4_R3
define SPRINT_BTN = 8; //XB1_LS //PS4_L3
define JUMP_BTN = 19; //XB1_A //PS4_CROSS
define NEXT_PIECE = 3; //XB1_RT //PS4_R1
define LEFT_BUMP = 6; //XB1_LB //PS4_L1
define RIGHT_BUMP = 3; // XB1_RB //PS4_R1
define SWAP_BTN = 17; //XB1_Y //PS4_TRIANGLE
define BUILD_BTN = 18; //XB1_B //PS4_CIRCLE
define WALL_BTN = 4; //XB1_RB //PS4_R2
define STAIRS_BTN = 7; //XB1_LB //PS4_L2
define FLOOR_BTN = 3; //XB1_RT //PS4_R1
define ROOF_BTN = 6; //XB1_LT //PS4_L1
define RELOAD_BTN = 20; //XB1_X //PS4_SQAURE
define R_X = 9; //XB1_RX //PS4_RX
define R_Y = 10; //XB1_RY //PS4_RY
define L_X = 11; //XB1_LX //PS4_LX
define L_Y = 12; //XB1_LY //PS4_LY
define UP = 13; //XB1_UP //PS4_UP
define DOWN = 14; //XB1_DOWN //PS4_DOWN
define LEFT = 15; //XB1_LEFT //PS4_LEFT
define RIGHT = 16; //XB1_RIGHT //PS4_RIGHT
define MENU = XB1_MENU;
define VIEW_SHARE = PS4_SHARE;
define MENU_OPTIONS = PS4_OPTIONS;

/*ENTER ON BUILD MODE
#ENTER ON DROPSHOT: DROPSHOT WILL DESACTIVATE!
#ENTER ON Rapid Fire: Rapid Fire WILL DESACTIVATE!
#ENTER ON PUMP-SMG: change back to pump (L1) and shoot!
*/

//InstaEdit & InstaReset
if(EDIT_BUTTON_HOLD)
{
if(get_val(EDIT_BUTTON) && get_ptime(EDIT_BUTTON) > HOLD_TIME)
{
edit = TRUE;
}
}
else if(!EDIT_BUTTON_HOLD)
{
if(get_val(EDIT_BUTTON))
{
edit = TRUE;
}
}
if (edit == TRUE) {
if (get_val(BUILD_BTN)) {
AimAssist = TRUE;
AimAbuse = TRUE;
}
if (event_release(FIRE_BTN) || get_val(RESET_EDIT_BUTTON) || get_val(SWAP_BTN)) {
set_click(CONFIRM_BUTTON, 1, 0);
edit = FALSE;
}
}
//Start of the clicker
if (a) {
if (i < num) {
if (!combo_running(master)) {
combo_run(master);
}
} else if (i > num) {
a = FALSE;
}
}

//Ghost Peek
if (get_val(ADS_BTN) && get_val(RIGHT_BUMP)) {
combo_run(ghostpeek_Hold);
combo_run(Notify);a=4;b=2;
set_val(RIGHT_BUMP, 0);
} else {
combo_stop(ghostpeek_Hold);
}

//100% ACCURACY
if (get_val(ADS_BTN) && get_val(RIGHT_BUMP)) {
PerfectAccuracy = !PerfectAccuracy
combo_run(Notify);a=0;b=2;
combo_run(PerfectAccuracy);
set_val(RIGHT_BUMP, 0);
} else {
combo_stop(PerfectAccuracy);
}

//Rapidfire
if(get_val(ADS_BTN) && event_press(RIGHT)){
rumble_A_if_true(RapidFire);
RapidFire =! RapidFire;
if(RapidFire == TRUE){combo_run(Notify);a=0;b=2;}
if(RapidFire == FALSE){combo_run(Notify);a=2;b=0;}
}
if(RapidFire){
if(get_val(FIRE_BTN)){
combo_run(Rapidfire);
}
}

//Dropshot
if(get_val(ADS_BTN) && event_press(RELOAD_BTN)){
DropShot =! DropShot;
if(DropShot == TRUE){combo_run(Notify);a=0;b=2;}
if(DropShot == FALSE){combo_run(Notify);a=2;b=0;}
}
if(DropShot){
if(get_val(ADS_BTN)&&get_val(FIRE_BTN)){combo_run(DropShot);}
if (event_press(18)){ DropShot = FALSE; }
}

//PUMP/SMG
if(get_val(ADS_BTN) && event_press(DOWN)){
PUMP_SMG =! PUMP_SMG;
if(PUMP_SMG == TRUE){combo_run(Notify);a=0;b=2;}
if(PUMP_SMG == FALSE){combo_run(Notify);a=2;b=0;}
}
if (PUMP_SMG) {
if (R2_block) {
set_val(ADS_BTN, 0);
set_val(FIRE_BTN, 0);
}

//------------------------------------------------
if (get_val(ADS_BTN) && event_press(FIRE_BTN)) {
if (!tap) {
tap = TRUE;
combo_run(Double_Tact_R1); //TAP R1
set_val(FIRE_BTN, 0);
}
}
if (event_press(LEFT_BUMP)) {
tap = FALSE;
}
}

//ANTI RECOIL
if (!SCOPE_ACTIVATED || get_val(ADS_BTN) && get_val(FIRE_BTN )) {
combo_run(AntiRecoil);
}

if ( abs(get_val(10)) > AR_Release || abs(get_val(9)) > AR_Release) {
combo_stop (AntiRecoil);
}

//AIM ASSIST
if (AimAssist) {
if (get_val(7)> 98){ combo_run(cAimAssist);}
}
if (abs(get_val(9)) > 19 || abs(get_val(10)) > 19){
combo_stop(cAimAssist);}

//AIM ABUSE
if(AimAbuse){
if(get_val(ADS_BTN)> 95){
combo_run(AimAbuse);}
if(event_release(ADS_BTN)){ combo_stop(AimAbuse);}
}
}

//COMBOS SECTION
combo TAP
{
doubleClick = TRUE;
wait(400);
doubleClick = FALSE;
}
combo PerfectAccuracy {
set_val(FIRE_BTN,100);
wait(100);
wait(250);
set_val(FIRE_BTN,100);
}
combo Rapidfire {
set_val(FIRE_BTN, 100);
wait(120);
set_val(FIRE_BTN, 0);
wait(30);
}
combo cAimAssist {
set_val(R_X, AimAssistValues);
wait(delay);
set_val(R_X, AimAssistValues*(-1));
wait(delay);
}

combo AimAbuse {
set_val(ADS_BTN, 100);
wait(ZoomInValues);
set_val(ADS_BTN, 0);
wait(ZoomOutValues);
}

combo ghostpeek_Hold {
set_val(5, 100);
wait(15); wait(15);
set_val(4, 100);
wait(15); wait(10);
set_val(5, 100);
wait(15); wait(gpreset);
}

combo DropShot{
set_val(5,100);
wait(dsdown);
wait(dsup);
set_val(5,100);
}
combo Double_Tact_R1 {
R2_block = TRUE;
set_val(4, 100);
wait(15);
wait(5);
set_val(7, 100);
set_val(8, 100);
set_val(3, 100);
wait(15);
R2_block = FALSE;
}
combo RUMBLE {
set_rumble(RMBLE, 100); wait(300);
reset_rumble(); }

combo Notify {
set_led(LED_1, 0);
set_led(LED_2, a);
set_led(LED_3, b);
set_led(LED_4, 0);
wait(550);
set_led(LED_1, 0);
set_led(LED_2, 0);
set_led(LED_3, 0);
set_led(LED_4, 0);
wait(250);
set_led(LED_1, 0);
set_led(LED_2, a);
set_led(LED_3, b);
set_led(LED_4, 0);
wait(250);
set_led(LED_1, 0);
set_led(LED_2, 0);
set_led(LED_3, 0);
set_led(LED_4, 0);
wait(250);
set_led(LED_1, 0);
set_led(LED_2, a);
set_led(LED_3, b);
set_led(LED_4, 0);
wait(250);
reset_leds();
}

combo VIBRATE {
set_rumble(rumble_type, 100);
wait(300);
reset_rumble();
}
combo master {
wait(WAIT);
set_val(button, 100);
wait(28);
set_val(button, 0);
wait(28);
i = i + 1;
}
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 resetPress(P0,P1,P2,P3,T,S) {
if(!P0){pressedIt[0] = FALSE;} else if(P0) {pressedIt[0] = TRUE;}
if(!P1){pressedIt[1] = FALSE;} else if(P1) {pressedIt[1] = TRUE;}
if(!P2){pressedIt[2] = FALSE;} else if(P2) {pressedIt[2] = TRUE;}
if(!P3){pressedIt[3] = FALSE;} else if(P3) {pressedIt[3] = TRUE;}
}
function set_click(B, Num, Wait) {
WAIT = Wait;
i = 0;
button = B;
num = Num;
a = TRUE;
}
int edit = FALSE;
int pressedIt[6];
int WAIT;
int num, i;
int button;
function rumble_A_if_true(var) {
}




PS. i cant run the gpc converter on win10 for somereason n its minor changes i believe plz n thnx u
User avatar
exclaimeddavid
Sergeant First Class
Sergeant First Class
 
Posts: 22
Joined: Wed Aug 15, 2018 12:52 am

Re: can sumone covert this script for titan1 plz?below

Postby Buffy » Wed Mar 27, 2019 6:17 pm

Code: Select all
//#pragma METAINFO("Fortnite.gpc", 1, 0, "Buffy's GPC Converter v0.23"))
//#include <titanone.gph>


define AR_Release = 70;
define SCOPE_ACTIVATED = TRUE;
define FIRE_BTN = 4;
define ADS_BTN = 7;
define CROUCH_BTN = 5;
define SPRINT_BTN = 8;
define JUMP_BTN = 19;
define NEXT_PIECE = 3;
define LEFT_BUMP = 6;
define RIGHT_BUMP = 3;
define SWAP_BTN = 17;
define BUILD_BTN = 18;
define WALL_BTN = 4;
define STAIRS_BTN = 7;
define FLOOR_BTN = 3;
define ROOF_BTN = 6;
define RELOAD_BTN = 20;
define R_X = 9;
define R_Y = 10;
define L_X = 11;
define L_Y = 12;
define UP = 13;
define DOWN = 14;
define LEFT = 15;
define RIGHT = 16;
define MENU = XB1_MENU;
define VIEW_SHARE = PS4_SHARE;
define MENU_OPTIONS = PS4_OPTIONS;

int AimAssist = TRUE;
int AimAssistValues = 23;
int delay = 19;
int AimAbuse = TRUE;
int ZoomInValues = 290;
int ZoomOutValues = 36;
int ghostpeek = TRUE;
int gpreset = 111;
int PerfectAccuracy = TRUE;
int DropShot = FALSE;
int dsdown = 30;
int dsup = 13;
int RapidFire = FALSE;
int PUMP_SMG = FALSE;
int tap;
int R2_block;
int recoil_onoff = FALSE;
int ANTI_RECOIL = 18;
int ANTI_RECOIL_H = 0;
int anti_recoil_H;
int anti_recoil;
int EDIT_BUTTON = BUILD_BTN;
int EDIT_BUTTON_HOLD = TRUE;
int HOLD_TIME = 150;
int RESET_EDIT_BUTTON = CROUCH_BTN;
int CONFIRM_BUTTON = BUILD_BTN;
int a;
int b;
int edit = FALSE;
int pressedIt[6];
int WAIT;
int num,  i;
int button;

main {
    if (EDIT_BUTTON_HOLD) {
        if (get_val(EDIT_BUTTON)&&get_ptime(EDIT_BUTTON)>HOLD_TIME) {
            edit=TRUE;
        }
    }
    else if (!EDIT_BUTTON_HOLD) {
        if (get_val(EDIT_BUTTON)) {
            edit=TRUE;
        }
    }
    if (edit==TRUE) {
        if (get_val(BUILD_BTN)) {
            AimAssist=TRUE;
            AimAbuse=TRUE;
        }
        if (event_release(FIRE_BTN)||get_val(RESET_EDIT_BUTTON)||get_val(SWAP_BTN)) {
            f_set_click(CONFIRM_BUTTON, 1, 0);
            edit=FALSE;
        }
    }
    if (a) {
        if (i<num) {
            if (!combo_running(c_master)) {
                combo_run(c_master);
            }
        }
        else if (i>num) {
            a=FALSE;
        }
    }
    if (get_val(ADS_BTN)&&get_val(RIGHT_BUMP)) {
        combo_run(c_ghostpeek_Hold);
        combo_run(c_Notify);
        a=4;
        b=2;
        set_val(RIGHT_BUMP, 0);
    }
    else {
        combo_stop(c_ghostpeek_Hold);
    }
    if (get_val(ADS_BTN)&&get_val(RIGHT_BUMP)) {
        PerfectAccuracy=!PerfectAccuracy;
        combo_run(c_Notify);
        a=0;
        b=2;
        combo_run(c_PerfectAccuracy);
        set_val(RIGHT_BUMP, 0);
    }
    else {
        combo_stop(c_PerfectAccuracy);
    }
    if (get_val(ADS_BTN)&&event_press(RIGHT)) {
        f_rumble_A_if_true(RapidFire);
        RapidFire=!RapidFire;
        if (RapidFire==TRUE) {
            combo_run(c_Notify);
            a=0;
            b=2;
        }
        if (RapidFire==FALSE) {
            combo_run(c_Notify);
            a=2;
            b=0;
        }
    }
    if (RapidFire) {
        if (get_val(FIRE_BTN)) {
            combo_run(c_Rapidfire);
        }
    }
    if (get_val(ADS_BTN)&&event_press(RELOAD_BTN)) {
        DropShot=!DropShot;
        if (DropShot==TRUE) {
            combo_run(c_Notify);
            a=0;
            b=2;
        }
        if (DropShot==FALSE) {
            combo_run(c_Notify);
            a=2;
            b=0;
        }
    }
    if (DropShot) {
        if (get_val(ADS_BTN)&&get_val(FIRE_BTN)) {
            combo_run(c_DropShot);
        }
        if (event_press(18)) {
            DropShot=FALSE;
        }
    }
    if (get_val(ADS_BTN)&&event_press(DOWN)) {
        PUMP_SMG=!PUMP_SMG;
        if (PUMP_SMG==TRUE) {
            combo_run(c_Notify);
            a=0;
            b=2;
        }
        if (PUMP_SMG==FALSE) {
            combo_run(c_Notify);
            a=2;
            b=0;
        }
    }
    if (PUMP_SMG) {
        if (R2_block) {
            set_val(ADS_BTN, 0);
            set_val(FIRE_BTN, 0);
        }
        if (get_val(ADS_BTN)&&event_press(FIRE_BTN)) {
            if (!tap) {
                tap=TRUE;
                combo_run(c_Double_Tact_R1);
                set_val(FIRE_BTN, 0);
            }
        }
        if (event_press(LEFT_BUMP)) {
            tap=FALSE;
        }
    }
    if (!SCOPE_ACTIVATED||get_val(ADS_BTN)&&get_val(FIRE_BTN)) {
        combo_run(c_AntiRecoil);
    }
    if (abs(get_val(10))>AR_Release||abs(get_val(9))>AR_Release) {
        combo_stop(c_AntiRecoil);
    }
    if (AimAssist) {
        if (get_val(7)>98) {
            combo_run(c_cAimAssist);
        }
    }
    if (abs(get_val(9))>19||abs(get_val(10))>19) {
        combo_stop(c_cAimAssist);
    }
    if (AimAbuse) {
        if (get_val(ADS_BTN)>95) {
            combo_run(c_AimAbuse);
        }
        if (event_release(ADS_BTN)) {
            combo_stop(c_AimAbuse);
        }
    }
}



combo c_PerfectAccuracy {
    set_val(FIRE_BTN, 100);
    wait(100);
    wait(250);
    set_val(FIRE_BTN, 100);
}

combo c_Rapidfire {
    set_val(FIRE_BTN, 100);
    wait(120);
    set_val(FIRE_BTN, 0);
    wait(30);
}

combo c_cAimAssist {
    set_val(R_X, AimAssistValues);
    wait(delay);
    set_val(R_X, AimAssistValues*(-1));
    wait(delay);
}

combo c_AimAbuse {
    set_val(ADS_BTN, 100);
    wait(ZoomInValues);
    set_val(ADS_BTN, 0);
    wait(ZoomOutValues);
}

combo c_ghostpeek_Hold {
    set_val(5, 100);
    wait(15);
    wait(15);
    set_val(4, 100);
    wait(15);
    wait(10);
    set_val(5, 100);
    wait(15);
    wait(gpreset);
}

combo c_DropShot {
    set_val(5, 100);
    wait(dsdown);
    wait(dsup);
    set_val(5, 100);
}

combo c_Double_Tact_R1 {
    R2_block=TRUE;
    set_val(4, 100);
    wait(15);
    wait(5);
    set_val(7, 100);
    set_val(8, 100);
    set_val(3, 100);
    wait(15);
    R2_block=FALSE;
}


combo c_Notify {
    set_led(LED_1, 0);
    set_led(LED_2, a);
    set_led(LED_3, b);
    set_led(LED_4, 0);
    wait(550);
    set_led(LED_1, 0);
    set_led(LED_2, 0);
    set_led(LED_3, 0);
    set_led(LED_4, 0);
    wait(250);
    set_led(LED_1, 0);
    set_led(LED_2, a);
    set_led(LED_3, b);
    set_led(LED_4, 0);
    wait(250);
    set_led(LED_1, 0);
    set_led(LED_2, 0);
    set_led(LED_3, 0);
    set_led(LED_4, 0);
    wait(250);
    set_led(LED_1, 0);
    set_led(LED_2, a);
    set_led(LED_3, b);
    set_led(LED_4, 0);
    wait(250);
    reset_leds();
}


combo c_master {
    wait(WAIT);
    set_val(button, 100);
    wait(28);
    set_val(button, 0);
    wait(28);
    i=i+1;
}

combo c_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 f_set_click(B, Num, Wait) {
    WAIT=Wait;
    i=0;
    button=B;
    num=Num;
    a=TRUE;
}

function f_rumble_A_if_true(var) {
}
ConsoleTuner Support Team || Discord || Custom Scripts
User avatar
Buffy
Lieutenant
Lieutenant
 
Posts: 422
Joined: Wed Jul 20, 2016 5:23 am


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 86 guests

cron