Banshee jitter for a mate

also has auto run and anti recoil
Version1.0
AuthorMR DIABOLICAL
Publish DateTue, 10 Jan 2017 - 15:59
Last UpdateTue, 10 Jan 2017 - 15:59
Downloads188
RATE


1

0

Release Notes: made it easy for a mate too find it
Code: Select all
// GPC Online Library
// infinite_warfare_{jitter_for_rack-9/s-ravage}_{autosprint/antirecoil//aimassits/jitter}_.gpc
 
// GPC Online Library
// Infinte Warfare JItter_for_rack-9/s-ravage .gpc
 
 
define ONLY_WITH_SCOPE = FALSE;
define FIRE_BUTTON=4;
define ANTI_RECOIL = 15;
define RATE_OF_FIRE1 = 18// Range: 1 to 25 RPS (Round/s)
define FIRE_BTN      = XB1_RB; // default RT                       
define ADS_BTN       = XB1_LT; // LT                       
define SPRINT_BTN    = XB1_LS; // LS                       
define PRONE_BTN     = XB1_B; // B                         
define JUMP_BTN      = XB1_A; // A                         
define SWITCH_WEAPON = XB1_Y; // Y                         
define RELOAD_BTN    = XB1_X; // X                         
define MELEE         = XB1_RS; // RS/R3                     
define LETHAL        = XB1_RT; // RB                       
define TACTICAL      = XB1_LB; // LB                       
define Up            = XB1_UP;                             
define Right         = XB1_RIGHT;                             
define Down          = XB1_DOWN;                             
define Left          = XB1_LEFT;                               
define R_X           = XB1_RX;                             
define R_Y           = XB1_RY;                             
define L_X           = XB1_LX;                             
define L_Y           = XB1_LY;
// VARIABLES
// ---------------------------------------------------------
int hold_time1, rest_time1;
int fire_button, scope_button;
int anti_recoil;
int autospot = FALSE;
int rapid1_onoff          = TRUE;
 
int NotReloading         = TRUE;
int b_switch             = TRUE;                                                 
// INITIALIZATION
// ---------------------------------------------------------
init {
    if(get_console() == PIO_PS3) { // PS3 Trigger & Bumper
       fire_button = 3;
       scope_button = 6;
      } else { // Natural Trigger & Bumper
       fire_button = 4;
       scope_button = 7;
             }
      hold_time1 = 500 / RATE_OF_FIRE1;
      rest_time1 = hold_time1 - 20;
      if(rest_time1 < 0) rest_time1 = 0;
}
 
main {
 
       if((get_val(PS4_LY)) < -1) {
        combo_run(Turbo_1);
    }
if(!ONLY_WITH_SCOPE || get_val(scope_button)) {
combo_run(AntiRecoil);
}
 
 
//RAPIDAIMM
 
   if(rapid1_onoff){//----------------------------------------
 
       if (get_val(FIRE_BUTTON)){
               combo_run(Auto_Aimm);
      }else if(combo_running(Auto_Aimm)){   
               combo_stop (Auto_Aimm);
 
      }
       if (get_val(FIRE_BUTTON)){
               combo_run(Auto_Aimm);
      }else if(combo_running(Auto_Aimm)){   
               combo_stop (Auto_Aimm);
 
      }
       if (get_val(R_X)){
               combo_run(Auto_Aimm1);
      }else if(combo_running(Auto_Aimm)){   
               combo_stop (Auto_Aimm1);
         }
            if (get_val(FIRE_BUTTON)&& get_val(R_X)< -45){
               combo_stop(Auto_Aimm)
      }
            if (get_val(FIRE_BUTTON)&& get_val(R_X)> +45){
               combo_stop(Auto_Aimm)
      }
            if (get_val(FIRE_BUTTON)&& get_val(R_Y)< -45){
               combo_stop(Auto_Aimm)
      }
            if (get_val(FIRE_BUTTON)&& get_val(R_Y)> +45){
               combo_stop(Auto_Aimm)
      }
            if (get_val(FIRE_BUTTON)&& get_val(R_X)< -45){
               combo_stop(Auto_Aimm)
      }
            if (get_val(FIRE_BUTTON)&& get_val(R_X)> +45){
               combo_stop(Auto_Aimm)
      }
            if (get_val(FIRE_BUTTON)&& get_val(R_Y)< -45){
               combo_stop(Auto_Aimm)
      }
            if (get_val(FIRE_BUTTON)&& get_val(R_Y)> +45){
               combo_stop(Auto_Aimm)
      }
            if ( get_val(R_X)< -45){
               combo_stop(Auto_Aimm1)
      }
            if ( get_val(R_X)> +45){
               combo_stop(Auto_Aimm1)
      }
            if ( get_val(R_Y)< -45){
               combo_stop(Auto_Aimm1)
      }
            if ( get_val(R_Y)> +45){
               combo_stop(Auto_Aimm1)
      }
}
 
//RAPIDAIMM2
 
   if(rapid1_onoff){//----------------------------------------
 
       if (get_val(FIRE_BUTTON)){
               combo_run(Auto_Aimm2);
      }else if(combo_running(Auto_Aimm2)){   
               combo_stop (Auto_Aimm2);
 
      }
       if (get_val(FIRE_BUTTON)){
               combo_run(Auto_Aimm2);
      }else if(combo_running(Auto_Aimm2)){   
               combo_stop (Auto_Aimm2);
 
      }
       if (get_val(L_X)){
               combo_run(Auto_Aimm3);
      }else if(combo_running(Auto_Aimm2)){   
               combo_stop (Auto_Aimm3);
         }
            if (get_val(FIRE_BUTTON)&& get_val(L_X)< -45){
               combo_stop(Auto_Aimm2)
      }
            if (get_val(FIRE_BUTTON)&& get_val(L_X)> +45){
               combo_stop(Auto_Aimm2)
      }
            if (get_val(FIRE_BUTTON)&& get_val(L_Y)< -45){
               combo_stop(Auto_Aimm2)
      }
            if (get_val(FIRE_BUTTON)&& get_val(L_Y)> +45){
               combo_stop(Auto_Aimm2)
      }
            if (get_val(FIRE_BUTTON)&& get_val(L_X)< -45){
               combo_stop(Auto_Aimm2)
      }
            if (get_val(FIRE_BUTTON)&& get_val(L_X)> +45){
               combo_stop(Auto_Aimm2)
      }
            if (get_val(FIRE_BUTTON)&& get_val(L_Y)< -45){
               combo_stop(Auto_Aimm2)
      }
            if (get_val(FIRE_BUTTON)&& get_val(L_Y)> +45){
               combo_stop(Auto_Aimm2)
      }
            if ( get_val(L_X)< -45){
               combo_stop(Auto_Aimm3)
      }
            if ( get_val(L_X)> +45){
               combo_stop(Auto_Aimm3)
      }
            if ( get_val(L_Y)< -45){
               combo_stop(Auto_Aimm3)
      }
            if ( get_val(L_Y)> +45){
               combo_stop(Auto_Aimm3)
      }
}
 
 
    if (get_val(4))  {
    combo_run(jitter);
    }
}
 combo jitter       {
    set_val (PS4_L1, 100);
    wait       (20);
    set_val (PS4_R1, 100);
    set_val (PS4_L1, 100);
    wait        (20);
    set_val   (PS4_L1, 0);
    set_val   (PS4_R1, 0);
    set_val(PS4_SQUARE, 100);
    wait        (68);
    set_val  (PS4_SQUARE, 0);
set_val(PS4_SQUARE, 100);
    wait(10);
    set_val(PS4_SQUARE, 0);
    wait(10);
set_val(PS4_SQUARE, 100);
 
}
 
combo JitterPart2 {
set_val(PS4_SQUARE, 100);
    wait(10);
    set_val(PS4_SQUARE, 0);
    wait(10);
set_val(PS4_SQUARE, 100);
 
    }
 
//RAPIDAIMM   
 
 
 
 
 
combo Auto_Aimm {     
   set_val(R_Y,-20);//1                 
   wait(20)
   set_val(R_X,+20);//1
   wait(20)
   set_val(R_Y,+20);//1
   wait(20)                 
   set_val(R_X,-20);//1
   wait(20)
 
 
}
combo Auto_Aimm1 {     
   set_val(R_Y,-15);//1                 
   wait(20)
   set_val(R_X,+15);//1
   wait(20)
   set_val(R_Y,+15);//1
   wait(20)                 
   set_val(R_X,-15);//1
   wait(20)
 
 
}
combo Auto_Aimm2 {     
   set_val(L_Y,-20);//1                 
   wait(20)
   set_val(L_X,+20);//1
   wait(20)
   set_val(L_Y,+20);//1
   wait(20)                 
   set_val(L_X,-20);//1
   wait(20)
 
 
}
combo Auto_Aimm3 {     
   set_val(L_Y,-15);//1                 
   wait(20)
   set_val(L_X,+15);//1
   wait(20)
   set_val(L_Y,+15);//1
   wait(20)                 
   set_val(L_X,-15);//1
   wait(20)
}
combo Turbo_1 {
    set_val(PS4_L3, 100);
    wait(100);
    set_val(PS4_L3, 0);
    wait(100);
    set_val(PS4_L3, 0);
 
}//end
combo AntiRecoil { // This combo must be the last one
if(get_val(fire_button)) {
anti_recoil = get_val(10) + ANTI_RECOIL;
if(anti_recoil > 100) anti_recoil = 100;
set_val(10, anti_recoil);
}
}