Infinite Warfare Jitter Mod pack

Three Jitters for Infinite Warfare. Covers all shotguns currently in game. I did not write the jitters, these are a compilation of jitters written by Unjust_Zengetsu. All have been tested on both XBox One and PS4 and work.
Version1.00
AuthorThe_Rabid_Taco
Publish DateSun, 27 Nov 2016 - 20:41
Last UpdateSun, 27 Nov 2016 - 20:41
Downloads478
RATE


1

0

Code: Select all
// Jitter Mod Pack
// All Jitters belong to Unjust_Zengetsu 
// I have not seen one to combine all jitters so added this one.
 
// Toggles:
// L2 + D-Pad Up - Cancel all jitters.  Titan One LED Red
// L2 + D-Pad Left - Reaver DCM-8 Jitter.  Titan One LED Green.
// L2 + D-Pad Down - Rack-9 S-Ravage Jitter.  Titan One LED Blue.
// L2 + D-Pad Right - Banshee Jitter.  Titan One LED Purple.
// L2 + Circle / B - Auto Sprint
 
int SelectedJitter = 0;
int AutoSprint = FALSE;
 
main {
 
    if(get_val(PS4_L2)) {
        if(event_press(PS4_UP)) {
            SelectedJitter = 0;
            SetColor(0);
        } else if(event_press(PS4_LEFT)) {
            SelectedJitter = 1;
            SetColor(1);
        } else if(event_press(PS4_DOWN)) {
            SelectedJitter = 2;
            SetColor(2);
        } else if(event_press(PS4_RIGHT)) {
            SelectedJitter = 3;
            SetColor(3);
        }
 
        if(event_press(PS4_CIRCLE)) AutoSprint = !AutoSprint;
 
        set_val(PS4_UP, 0);
        set_val(PS4_LEFT, 0);
        set_val(PS4_DOWN, 0);
        set_val(PS4_RIGHT, 0);
        set_val(PS4_CIRCLE, 0);
    }
 
    if (get_val(PS4_R2))  {
        SetJitter(SelectedJitter);
    }
 
    if(AutoSprint) combo_run(Auto_Sprint);
}
 
combo Jitter_Rack9_SRavage {
    set_val(PS4_LEFT, 100);
    wait(40);
    set_val(PS4_SQUARE, 50);
    set_val(PS4_R1, 50);
    set_val(PS4_L1, 50);
    wait(20);
    set_val(PS4_L1, 50);
    set_val(PS4_R1, 50);
    set_val(PS4_SQUARE, 50);
    set_val(PS4_R1, 50);
    set_val(PS4_L1, 50);
    wait(100);
}
 
combo Jitter_Reaver_DCM8 {
    set_val(XB1_LB, 100);
    wait(20);
    set_val(XB1_RB, 100);
    set_val(XB1_LB, 100);
    wait(20);
    set_val(XB1_LB, 0);
    set_val(XB1_RB, 0);
    set_val(XB1_X100);
    wait(68);
    set_val(XB1_X0);
    set_val(XB1_X100);
    wait(10);
    set_val(XB1_X0);
    wait(10);
    set_val(XB1_X100);
}
 
combo Jitter_Banshee {
    set_val(PS4_L1, 100);
    wait(11);
    set_val(PS4_R1, 100);
    set_val(PS4_L1, 100);
    wait(11);
    set_val(PS4_L1, 0);
    set_val(PS4_R1, 0);
    set_val(PS4_SQUARE, 100);
    wait(100);
    set_val(PS4_SQUARE, 0);
    wait(100);
    set_val(PS4_SQUARE, 100)
    set_val(PS4_SQUARE, 100);
    wait(10);
    set_val(PS4_SQUARE, 0);
    wait(10);
    set_val(PS4_SQUARE, 100);   
}
 
combo Auto_Sprint {
    set_val(PS4_L3, 100);
    wait(100);
    set_val(PS4_L3, 0);
    wait(100);
    set_val(PS4_L3, 0);
}
 
function SetJitter(JitterSelected) {
    if(JitterSelected == 1) combo_run(Jitter_Reaver_DCM8);
    else if(JitterSelected == 2) combo_run(Jitter_Rack9_SRavage);
    else if(JitterSelected == 3) combo_run(Jitter_Banshee);
}
 
function SetColor(JitterSelected) {
    if(JitterSelected == 0) LED(0, 1, 0, 0);
    else if(JitterSelected == 1) LED(0, 0, 1, 0);
    else if(JitterSelected == 2) LED(1, 0, 0, 0);
    else if(JitterSelected == 3) LED(0, 0, 0, 1);
}
 
function LED(a, b, c, d) {
    set_led(0, a);
    set_led(1, b);
    set_led(2, c);
    set_led(3, d);
}