Holding down a button (reload) to disable Easy Sprint?

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

Re: Holding down a button (reload) to disable Easy Sprint?

Postby pablosscripts » Tue Feb 02, 2016 12:15 pm

Great thank you
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

Re: Holding down a button (reload) to disable Easy Sprint?

Postby bonefisher » Tue Feb 02, 2016 12:40 pm

I'll take a look when getting home tonight from work.
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Holding down a button (reload) to disable Easy Sprint?

Postby bonefisher » Tue Feb 02, 2016 12:44 pm

pablogroup wrote:DIdn't work either unfortunately. I changed it to 500, and then 1000 but when I press reload I still continues to sprint.

Try changing it to 2000 and let me know if that works.
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Holding down a button (reload) to disable Easy Sprint?

Postby pablosscripts » Tue Feb 02, 2016 1:02 pm

bonefisher wrote:
pablogroup wrote:DIdn't work either unfortunately. I changed it to 500, and then 1000 but when I press reload I still continues to sprint.

Try changing it to 2000 and let me know if that works.


I went crazy and put in 10000 and that still didn't do it:(
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

Re: Holding down a button (reload) to disable Easy Sprint?

Postby bonefisher » Tue Feb 02, 2016 1:51 pm

Alright I'll look at it when getting home.
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Holding down a button (reload) to disable Easy Sprint?

Postby bonefisher » Tue Feb 02, 2016 10:17 pm

pablogroup wrote:
bonefisher wrote:
pablogroup wrote:DIdn't work either unfortunately. I changed it to 500, and then 1000 but when I press reload I still continues to sprint.

Try changing it to 2000 and let me know if that works.


I went crazy and put in 10000 and that still didn't do it:(

Ok they did a number of things since looking at it last. Try putting just 4000 in wait on that script and let me know if it is working for you because it is working for mine that I'm running. I'm looking also cancel sprinting while firing now. Building you a little something to use.
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Holding down a button (reload) to disable Easy Sprint?

Postby pablosscripts » Tue Feb 02, 2016 11:28 pm

bonefisher wrote:Ok they did a number of things since looking at it last. Try putting just 4000 in wait on that script and let me know if it is working for you because it is working for mine that I'm running. I'm looking also cancel sprinting while firing now. Building you a little something to use.


Cool thanks. I'm at work and can't try it but I don't think 4000 will work if 10,000 didn't. Also are you trying this with Halo 5 or another game?
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

Re: Holding down a button (reload) to disable Easy Sprint?

Postby bonefisher » Tue Feb 02, 2016 11:55 pm

Code: Select all

define FIRE_BUTTON               = XB1_RT;
define DROP_BUTTON               = XB1_RS;

define RATE_OF_FIRE1             = 20;      // Range: 1 to 25 SPS. Rapid Fire 1
define RATE_OF_FIRE2             = 21.4;    // Range: 1 to 25 SPS. Rapid Fire 2
define RATE_OF_CYCLE             = 300;     // RATE_OF_CYCLE and RATE_OF_DUTY goes together
define RATE_OF_DUTY              = 20;      // for better control on automatics.
define RATE_OF_BURST1            = 40;      // RATE_OF_BURST1 and RATE_OF DELAY goes
define RATE_OF_DELAY1            = 160;     // together for burst weapons.

define Y_wait                    = 1000;    // changes wait time for switching
define R_wait                    = 4000;    // changes wait time for reload and shield regenerate.

int rapid1_onoff                 = FALSE;
int rapid2_onoff                 = FALSE;
int rapid3_onoff                 = FALSE;
int rapid4_onoff                 = FALSE;

int hold_time1, rest_time1;
int hold_time2, rest_time2;
int hold_time3, rest_time3;
int hold_time4, rest_time4;

int dropshot_toggle              = FALSE;

int prone_flag;

init {
    hold_time1 = 500 / RATE_OF_FIRE1;
    rest_time1 = hold_time1;
    if(rest_time1 < 0) rest_time1 = 0;
   
    hold_time2 = 500 / RATE_OF_FIRE2;
    rest_time2 = hold_time2;
    if(rest_time2 < 0) rest_time2 = 0;
   
    hold_time3 = RATE_OF_CYCLE;
    rest_time3 = RATE_OF_DUTY;
    if(rest_time3 < 0) rest_time3 = 0;
   
    hold_time4 = RATE_OF_BURST1;
    rest_time4 = RATE_OF_DELAY1;
    if(rest_time4 < 0) rest_time4 = 0;
}

main {
    vm_tctrl(-8);
   
    if(get_val(XB1_RT)) { combo_stop(AutoSprint); }

    if((event_press(XB1_LT) && get_val(XB1_LEFT)) || (event_press(XB1_LEFT) && get_val(XB1_LT))){       // TURN ON/OFF Rapid Fire.
        rapid1_onoff = !rapid1_onoff;                                                                   // Change RATE_OF_FIRE1 in define section.
        if(rapid1_onoff) combo_run(RumbleNotifier);
        rapid2_onoff = FALSE;
        rapid3_onoff = FALSE;
        rapid4_onoff = FALSE; }
     
    if(get_val(XB1_RT) && rapid1_onoff) {combo_run(RapidFire1); }
   
    if((event_press(XB1_LT) && get_val(XB1_UP)) || (event_press(XB1_UP) && get_val(XB1_LT))){           // Turns ON/OFF Rapid Fire 2
        rapid2_onoff = !rapid2_onoff;                                                                  // Change RATE_OF_FIRE2 in define section.
        if(rapid2_onoff) combo_run(RumbleNotifier);
        rapid1_onoff = FALSE;
        rapid3_onoff = FALSE;
        rapid4_onoff = FALSE; }

    if(rapid2_onoff && get_val(XB1_RT)) {combo_run(RapidFire2); }
       
    if((event_press(XB1_LT) && get_val(XB1_RIGHT)) || (event_press(XB1_RIGHT) && get_val(XB1_LT))){           // Turns ON/OFF Rapid Fire 3
        rapid3_onoff = !rapid3_onoff;                                                                  // Change RATE_OF_FIRE3 in define section.
        if(rapid3_onoff) combo_run(RumbleNotifier);
        rapid1_onoff = FALSE;
        rapid2_onoff = FALSE;
        rapid4_onoff = FALSE; }

    if(rapid3_onoff && get_val(XB1_RT)) {combo_run(RapidFire3); }
   
    if((event_press(XB1_LT) && get_val(XB1_DOWN)) || (event_press( XB1_DOWN) && get_val(XB1_LT))) {     // Turns ON/OFF ADS Rapid Fire 4 HIP Fire Akimbo
        rapid4_onoff = !rapid4_onoff;                                                                   // Change RATE_OF_FIRE4 in define section.
        if(rapid4_onoff) combo_run(RumbleNotifier);
        rapid1_onoff = FALSE;
        rapid2_onoff = FALSE;
        rapid3_onoff = FALSE; }
       
    if(rapid4_onoff && get_val(XB1_RT)) {combo_run(RapidFire4); }

    if(get_val(XB1_LEFT) && event_press(XB1_B)) {                                                        // This turns on/off dropshot.
        dropshot_toggle = !dropshot_toggle;
        if(dropshot_toggle) combo_run(RumbleNotifier);
    }
    if(dropshot_toggle) {
        if((!get_val(XB1_LT) && event_press(FIRE_BUTTON)) || (event_release(XB1_LT) && get_val(FIRE_BUTTON))) {
        combo_run(Prone);
        combo_stop(AutoSprint); }
        else if(event_release(FIRE_BUTTON)) {
        if(prone_flag) combo_run(Stand);
        combo_stop(AutoSprint); }
    }
    if(get_val(XB1_LY) < -99 && !combo_running(AllowReloading) && !combo_running(AllowSwitching)) { combo_run(AutoSprint); }
    else if((get_val(XB1_LY) > -99)) {combo_stop(AutoSprint); } // Reload will also stop
   
    if(event_press(XB1_X)) {combo_stop(AutoSprint); combo_run(AllowReloading);}  // Stop auto sprint to allow reloading
   
    if(get_val(XB1_Y)) {combo_stop(AutoSprint); combo_run(AllowSwitching);}    // Stop auto sprint to allow switching
}
   
combo RapidFire1 {
    set_val(FIRE_BUTTON, 100);
    wait(hold_time1);
    set_val(FIRE_BUTTON, 0);
    wait(rest_time1);
    set_val(FIRE_BUTTON, 0);
}

combo RapidFire2 {
    set_val(FIRE_BUTTON, 100);
    wait(hold_time2);
    set_val(FIRE_BUTTON, 0);
    wait(rest_time2);
    set_val(FIRE_BUTTON, 0);
}

combo RapidFire3 {
    set_val(FIRE_BUTTON, 100);
    wait(hold_time3);
    set_val(FIRE_BUTTON, 0);
    wait(rest_time3);
    set_val(FIRE_BUTTON, 0);
}

combo RapidFire4 {
    set_val(FIRE_BUTTON, 100);
    wait(hold_time4);
    set_val(FIRE_BUTTON, 0);
    wait(rest_time4);
    set_val(FIRE_BUTTON, 0);
}

combo AllowReloading {
    set_val(XB1_LS, 0);
    wait(R_wait); // can adjust to ensure enough time to reload
}

combo AllowSwitching {
    set_val(XB1_LS, 0);
    wait(Y_wait); // can adjust to ensure enough time for switching
}

combo AutoSprint {
    set_val(XB1_LS, 100);
    wait(40);
    set_val(XB1_LS, 0);
    wait(40);
}

combo Prone {
    set_val(XB1_LX, 0);
    set_val(XB1_LY, 0);
    wait(50);
    set_val(XB1_LX, 0);
    set_val(XB1_LY, 0);
    set_val(DROP_BUTTON, 100);
    wait(190);
    prone_flag = TRUE;
}

combo Stand {
    set_val(DROP_BUTTON, 100);
    wait(190);
    prone_flag = FALSE;
}

combo RumbleNotifier {
    set_rumble(RUMBLE_A, 100);
    wait(200);
    reset_rumble();
}


Here just tested everything is working even shooting when running. Now here is what you need to do.....go in to controller setting in game and scroll down to maintain sprint and shut it off. Good to go then!!
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Holding down a button (reload) to disable Easy Sprint?

Postby pablosscripts » Tue Feb 02, 2016 11:59 pm

bonefisher wrote:Here just tested everything is working even shooting when running. Now here is what you need to do.....go in to controller setting in game and scroll down to maintain sprint and shut it off. Good to go then!!


You're kidding me, was it the "maintain sprint" setting that was stopping it from working for me all that time?!

So did you actually change any of J2Kbr's code? Or did you just leave it as-is and integrate it into the full Halo 5 game pack? If so I'll just continue to use the Easy Sprint script only, because that's literally the only feature I use in the T1. I want to make sure sure execution is as fast as possible.
Last edited by pablosscripts on Wed Feb 03, 2016 12:03 am, edited 1 time in total.
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR

My R6 script: https://youtu.be/x-9NtxyySVM
User avatar
pablosscripts
Brigadier General
Brigadier General
 
Posts: 1976
Joined: Tue Nov 24, 2015 6:27 am

Re: Holding down a button (reload) to disable Easy Sprint?

Postby bonefisher » Wed Feb 03, 2016 12:01 am

pablogroup wrote:
bonefisher wrote:Ok they did a number of things since looking at it last. Try putting just 4000 in wait on that script and let me know if it is working for you because it is working for mine that I'm running. I'm looking also cancel sprinting while firing now. Building you a little something to use.


Cool thanks. I'm at work and can't try it but I don't think 4000 will work if 10,000 didn't. Also are you trying this with Halo 5 or another game?

Only goes to 4000 right now but you had maintain sprint on in controller setting which the script will do the maintaining for you. If you want it mite need a little off the 4000 but it is close now. Maybe 3800 but see how you like it.
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

PreviousNext

Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 116 guests