Fortnite aim abuse script

Forum to discuss the scripts, configs and connection of XIM with the Titan devices.

Moderator: antithesis

Fortnite aim abuse script

Postby Nate36 » Tue Jun 19, 2018 1:51 am

hello new to the titan two would someone be able to make me a script for aim abuse that is able to be turned on/off with LT+UP D-PAD and off would signal 0 while on would signal 1 on the titan device.


much like in this script but without the extras




Code: Select all
#include <display.gph>
 
#define shot_per_second  12  // adjust fire rate
#define burst            3   // adjust tap burst
 
#define hold_abuse_adjustment    300 //hold adjustmetnt for aim abuse
#define release_abuse_adjustment 50  //release adjustment for aim abuse
 
bool toggle_rapid;
bool toggle_abuse;
bool toggle_assist;
uint32 tap_fire;
uint32 hold_time;
uint32 rest_time;
uint32 time_counter;
 
uint32    IND[] = {
    _0_,                  // 0
    _1_                   // 1
};
 
init
{
    hold_time = 500 / shot_per_second;
    rest_time = hold_time;
    if(rest_time < 0) rest_time = 0;
 
    tap_fire = burst * 1000 / shot_per_second;
}
main
{
// toggles will show 0 on titan for off and 1 for on.
 
    // left trigger + left d-pad (rapid fire on/off)
    if(get_actual(BUTTON_8)) {
        set_val(BUTTON_12, 0.0);
    if(event_active(BUTTON_12)) {
    if(toggle_rapid == 0) {
        toggle_rapid = 1;
        display (1);
    }else if(toggle_rapid == 1) {
        toggle_rapid = 0;
        display (0);
    }
    }
    }
    // left trigger + up d-pad (aim abuse on/off)
    if(get_actual(BUTTON_8)) {
        set_val(BUTTON_10, 0.0);
    if(event_active(BUTTON_10)) {
    if(toggle_abuse == 0) {
        toggle_abuse = 1;
        display (1);
    }else if(toggle_abuse == 1) {
        toggle_abuse = 0;
        display (0);
    }
    }
    }
    // left trigger + down d-pad (aim assist on/off)
    if(get_actual(BUTTON_8)) {
        set_val(BUTTON_11, 0.0);
    if(event_active(BUTTON_11)) {
    if(toggle_assist == 0) {
        toggle_assist = 1;
        display (1);
    }else if(toggle_assist == 1) {
        toggle_assist = 0;
        display (0);
    }
    }
    }
    if(toggle_rapid == 0) {
    if(get_actual(BUTTON_5)) {
        set_val(BUTTON_5, 100.0);
    }else if(is_release(BUTTON_5) &&
     time_active(BUTTON_5) <= tap_fire) {
        set_val(BUTTON_5, 100.0);
    }
    }
    if(toggle_rapid == 1) {
    if(get_actual(BUTTON_5)) {
        combo_run(rapid_fire);
    }else if(is_release(BUTTON_5) &&
     time_active(BUTTON_5) <= tap_fire) {
        combo_run(rapid_fire);
    }
    }
    if(toggle_abuse == 1) {
    if(get_actual(BUTTON_8)) {
    time_counter += elapsed_time();
    if(time_counter >= hold_abuse_adjustment) {
        time_counter = 0;
        combo_run(aim_abuse);
    }
    }
    }
    if(toggle_assist == 1) {
    if(get_actual(BUTTON_8) && !get_actual(BUTTON_5)) {
        combo_run(ads_assist);
        combo_run(strafe);
    }else if(get_actual(BUTTON_8) && get_actual(BUTTON_5)) {
        combo_run(fire_assist);
        combo_run(strafe);
    }
    }
}
 
combo rapid_fire
{
    set_val(BUTTON_5, 100.0);
    wait(hold_time);
    set_val(BUTTON_5, 0.0);
    wait(rest_time);
    set_val(BUTTON_5, 0.0);
}
 
combo aim_abuse {
    set_val(BUTTON_8, 0.0);
    wait(release_abuse_adjustment);
}
 
combo strafe
{
    aim_assist(STICK_2_X, 30.0);
    wait(16);
    aim_assist(STICK_2_X, -30.0);
    wait(17);
}
 
combo ads_assist
{
    aim_assist(STICK_1_Y, 30.0);
    wait(16);
    aim_assist(STICK_1_X, -30.0);
    wait(17);
    aim_assist(STICK_1_Y, -30.0);
    wait(16);
    aim_assist(STICK_1_X, 30.0);
    wait(17);
}
 
combo fire_assist
{
    aim_assist(STICK_1_Y, 35.0);
    wait(16);
    aim_assist(STICK_1_X, -35.0);
    wait(17);
    aim_assist(STICK_1_Y, -35.0);
    wait(16);
    aim_assist(STICK_1_X, 35.0);
    wait(17);
}
 
void aim_assist(uint8 axis, fix32 recoil)
{
    set_val(axis, (recoil * (100.0 - abs(get_val(axis)))) / 100.0 + get_actual(axis));
}
 
 // Display Numbers
void display (uint8 indc)
{
    uint8 VIE;
    VIE = IND[indc];
    display_overlay(VIE, 2000 );
}
User avatar
Nate36
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Apr 24, 2018 12:33 am

Re: Fortnite aim abuse script

Postby J2Kbr » Tue Jun 19, 2018 2:44 pm

Removed the parts you don't want from the posted script. Hopefully this helps.
Code: Select all
#include <display.gph>
 
#define hold_abuse_adjustment    300 //hold adjustmetnt for aim abuse
#define release_abuse_adjustment 50  //release adjustment for aim abuse
 
bool toggle_abuse;
uint32 time_counter;
 
uint32    IND[] = {
    _0_,                  // 0
    _1_                   // 1
};
 
main
{
// toggles will show 0 on titan for off and 1 for on.
    // left trigger + up d-pad (aim abuse on/off)
    if(get_actual(BUTTON_8)) {
        set_val(BUTTON_10, 0.0);
    if(event_active(BUTTON_10)) {
    if(toggle_abuse == 0) {
        toggle_abuse = 1;
        display (1);
    }else if(toggle_abuse == 1) {
        toggle_abuse = 0;
        display (0);
    }
    }
    }
    if(toggle_abuse == 1) {
    if(get_actual(BUTTON_8)) {
    time_counter += elapsed_time();
    if(time_counter >= hold_abuse_adjustment) {
        time_counter = 0;
        combo_run(aim_abuse);
    }
    }
    }
}
 
combo aim_abuse {
    set_val(BUTTON_8, 0.0);
    wait(release_abuse_adjustment);
}
 
combo ads_assist
{
    aim_assist(STICK_1_Y, 30.0);
    wait(16);
    aim_assist(STICK_1_X, -30.0);
    wait(17);
    aim_assist(STICK_1_Y, -30.0);
    wait(16);
    aim_assist(STICK_1_X, 30.0);
    wait(17);
}
 
void aim_assist(uint8 axis, fix32 recoil)
{
    set_val(axis, (recoil * (100.0 - abs(get_val(axis)))) / 100.0 + get_actual(axis));
}
 
 // Display Numbers
void display (uint8 indc)
{
    uint8 VIE;
    VIE = IND[indc];
    display_overlay(VIE, 2000 );
}
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: Fortnite aim abuse script

Postby Nate36 » Tue Jun 19, 2018 8:22 pm

Thankyou sir will try it today.
User avatar
Nate36
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Apr 24, 2018 12:33 am

Re: Fortnite aim abuse script

Postby Nate36 » Wed Jun 20, 2018 2:15 am

thankyou J2kbr it works exactly how I wanted would you be able to incorporate your double pump script into this as well using LT+Left D-PAD to activate and signal 0 for off and 1 for on on the titan two much appreciate it.
User avatar
Nate36
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Apr 24, 2018 12:33 am

Re: Fortnite aim abuse script

Postby J2Kbr » Wed Jun 20, 2018 7:54 am

Sure, :)
Code: Select all
#include <display.gph>
 
#define hold_abuse_adjustment    300 //hold adjustmetnt for aim abuse
#define release_abuse_adjustment 50  //release adjustment for aim abuse
 
bool toggle_abuse;
bool toggle_doublepump;
uint32 time_counter;
 
uint32    IND[] = {
    _0_,                  // 0
    _1_                   // 1
};
 
main
{
// toggles will show 0 on titan for off and 1 for on.
    // left trigger + left d-pad (rapid fire on/off)
    if(get_actual(BUTTON_8)) {
        set_val(BUTTON_12, 0.0);
    if(event_active(BUTTON_12)) {
    if(toggle_doublepump == 0) {
        toggle_doublepump = 1;
        display (1);
    }else if(toggle_doublepump == 1) {
        toggle_doublepump = 0;
        display (0);
    }
    }
    }
    // left trigger + up d-pad (aim abuse on/off)
    if(get_actual(BUTTON_8)) {
        set_val(BUTTON_10, 0.0);
    if(event_active(BUTTON_10)) {
    if(toggle_abuse == 0) {
        toggle_abuse = 1;
        display (1);
    }else if(toggle_abuse == 1) {
        toggle_abuse = 0;
        display (0);
    }
    }
    }
    if(toggle_doublepump == 1) {
        if(event_active(BUTTON_5)) {
            combo_run(DoublePumpShotguns);
            set_val(BUTTON_5, 0.0);
        }
    }
    if(toggle_abuse == 1) {
    if(get_actual(BUTTON_8)) {
    time_counter += elapsed_time();
    if(time_counter >= hold_abuse_adjustment) {
        time_counter = 0;
        combo_run(aim_abuse);
    }
    }
    }
}
 
combo aim_abuse {
    set_val(BUTTON_8, 0.0);
    wait(release_abuse_adjustment);
}
 
combo ads_assist
{
    aim_assist(STICK_1_Y, 30.0);
    wait(16);
    aim_assist(STICK_1_X, -30.0);
    wait(17);
    aim_assist(STICK_1_Y, -30.0);
    wait(16);
    aim_assist(STICK_1_X, 30.0);
    wait(17);
}
 
combo DoublePumpShotguns {
    set_val(BUTTON_5, 100.0);
    wait(50); wait(50);
 
    set_val(BUTTON_4, 100.0);
    wait(50);
    wait(200);
 
    set_val(BUTTON_5, 100.0);
    wait(50); wait(50);
 
    set_val(BUTTON_7, 100.0);
    wait(50);
    wait(650); // Long time here
}
 
void aim_assist(uint8 axis, fix32 recoil)
{
    set_val(axis, (recoil * (100.0 - abs(get_val(axis)))) / 100.0 + get_actual(axis));
}
 
 // Display Numbers
void display (uint8 indc)
{
    uint8 VIE;
    VIE = IND[indc];
    display_overlay(VIE, 2000 );
}
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: Fortnite aim abuse script

Postby Nate36 » Thu Jun 21, 2018 12:01 am

Thanks again J2kbr works great
User avatar
Nate36
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Apr 24, 2018 12:33 am

Re: Fortnite aim abuse script

Postby Nate36 » Sun Jul 08, 2018 7:31 am

Hey j2kbr I was reading some thing and came across your fortnite set up with sony nav and g502 in there you have the aim abuse feature but it only activates when you shoot so you could aim in and the aim abuse feature would not start working until you fired your weapon which would be much better so u could still use the sniper.

Would it be possible for you to make this script with the same LT+up D-pad on/off with number 1 to signal on and 0 off as you have done before so I can add it to my build script thanks.
User avatar
Nate36
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Apr 24, 2018 12:33 am

Re: Fortnite aim abuse script

Postby J2Kbr » Sun Jul 08, 2018 12:27 pm

Nate36 wrote:Hey j2kbr I was reading some thing and came across your fortnite set up with sony nav and g502 in there you have the aim abuse feature but it only activates when you shoot so you could aim in and the aim abuse feature would not start working until you fired your weapon which would be much better so u could still use the sniper.

You are right, as soon as the fire button is pressed the auto aim is activated and remains active while ads or the fire button is held down. But pressing only the ADS button will not activate the auto aim.

Nate36 wrote:Would it be possible for you to make this script with the same LT+up D-pad on/off with number 1 to signal on and 0 off as you have done before so I can add it to my build script thanks.

You mean in the script above? if yes:
Code: Select all
#include <display.gph>
 
bool toggle_abuse;
bool toggle_doublepump;
uint32 time_counter;
bool auto_aim;
 
uint32    IND[] = {
    _0_,                  // 0
    _1_                   // 1
};
 
main
{
// toggles will show 0 on titan for off and 1 for on.
    // left trigger + left d-pad (rapid fire on/off)
    if(get_actual(BUTTON_8)) {
        set_val(BUTTON_12, 0.0);
    if(event_active(BUTTON_12)) {
    if(toggle_doublepump == 0) {
        toggle_doublepump = 1;
        display (1);
    }else if(toggle_doublepump == 1) {
        toggle_doublepump = 0;
        display (0);
    }
    }
    }
    // left trigger + up d-pad (aim abuse on/off)
    if(get_actual(BUTTON_8)) {
        set_val(BUTTON_10, 0.0);
    if(event_active(BUTTON_10)) {
    if(toggle_abuse == 0) {
        toggle_abuse = 1;
        display (1);
    }else if(toggle_abuse == 1) {
        toggle_abuse = 0;
        display (0);
    }
    }
    }
    if(toggle_doublepump == 1) {
        if(event_active(BUTTON_5)) {
            combo_run(DoublePumpShotguns);
            set_val(BUTTON_5, 0.0);
        }
    }
    if(toggle_abuse == 1) {
        // Auto Aim
        if(event_active(BUTTON_5)) {
            auto_aim = TRUE;
        } else if(event_release(BUTTON_8) || (event_release(BUTTON_5) && is_release(BUTTON_8))) {
            auto_aim = FALSE;
        }
        if(auto_aim) {
            combo_run(AutoAim);
        }
    }
}
 
combo AutoAim {
    set_val(BUTTON_8, 100.0);
    wait(150);
    set_val(BUTTON_8, 0.0);
    wait(50);
    set_val(BUTTON_8, 0.0);
}
 
combo ads_assist
{
    aim_assist(STICK_1_Y, 30.0);
    wait(16);
    aim_assist(STICK_1_X, -30.0);
    wait(17);
    aim_assist(STICK_1_Y, -30.0);
    wait(16);
    aim_assist(STICK_1_X, 30.0);
    wait(17);
}
 
combo DoublePumpShotguns {
    set_val(BUTTON_5, 100.0);
    wait(50); wait(50);
 
    set_val(BUTTON_4, 100.0);
    wait(50);
    wait(200);
 
    set_val(BUTTON_5, 100.0);
    wait(50); wait(50);
 
    set_val(BUTTON_7, 100.0);
    wait(50);
    wait(650); // Long time here
}
 
void aim_assist(uint8 axis, fix32 recoil)
{
    set_val(axis, (recoil * (100.0 - abs(get_val(axis)))) / 100.0 + get_actual(axis));
}
 
 // Display Numbers
void display (uint8 indc)
{
    uint8 VIE;
    VIE = IND[indc];
    display_overlay(VIE, 2000 );
}
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: Fortnite aim abuse script

Postby Nate36 » Thu Jul 19, 2018 6:50 am

could I get the aim assit script that is in game plus to add to my script plz.
User avatar
Nate36
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Apr 24, 2018 12:33 am


Return to XIM Apex, XIM4, XIM Edge with Titan devices

Who is online

Users browsing this forum: No registered users and 66 guests

cron