2nd. Black Opperation Sniper ScopeNShot + Hyper JumpUp

Design for bolth BattleField3 and call of duty the way I use Sniper weapons layout.//Up dated; Y, /_\ + Up/DWN Press together 4 controller mode select #1-9.// L1+X,A=GERNADE/CLAYMORE L2+X,A=STUN/INSERGENT
VersionV1.22
AuthorKia7
Publish DateFri, 1 Mar 2013 - 08:01
Last UpdateThu, 1 Aug 2013 - 21:39
Downloads244
RATE


0

0

Code: Select all
    define Slot = 1;//     # of Controller mode 1-9;  *****************/
    define Slot2 = 3;/*  +/-  Press Y,/_\ + Down to activate***/
    define RATE_OF_FIRE = 10; // Range: 1 to 12 RPS (Round/s persecond) // Values higher than 25 would be to fast the game will not detect each command.
                                                                    /*KIA7
//                                      * ********               **********
//                                     *          *            *            *
/* **                       * ** ** * * **  ** **            *                *
    *                    ***              *                *                    *
    *                   * *            ********          *                        *
    *                      ******     *        *       *                            *
    *                     ******* *  ***  ** **       ** ** ** ** ** ** ** ** ** **** *
    * 
    * ***** * ****** * ******** * ******** * ***** * ***** * ***** * ****** * ****** * ****** * **** * ******* * ******** * ******** * ********* * *********
    *  RAPID FIRE + ScopeShot + AUTO SPOT  *       *       *       *        *        *
    * ***********************************************************************************/

    define UP = XB360_DOWN;//
    define DWN = XB360_UP;//    Activate; +,
    define X = XB360_A;
    define y = XB360_Y;//   Press Y, /_\ & UP same time to activate.
    define O =  XB360_B;//Knife Shake N Shake Controller (Change to Melee)*********************************************PS3_ACCY Controll ONLY
    define Expo = 55;//Midpoint expoentials
    define Sens = NOT_USE;// Sensitivity 125 AVERAGE
    define GERNADE2 = 860;//speed rate timeing Paused/off
    define STUN3 = 860;// Gernade timeing L2+R2 Claymore and Insergent needs longer value.
    define BLK = 4000;//BLock Signal Input
    define BLK2 = 100;//BLock Signal Input
    define BLK3 = 3000;//BLock Signal Input
    define SPOT_BUTTON = XB360_BACK;
    define RAPIDFIRE_BUTTON = XB360_RB;
    define L1_1st= 160;// first before R1 USE R2 FOR QUICKER FIRE STARTER
    define R2 = XB360_RT;//
    define R1 = XB360_RB;//
    define L1 = XB360_LB;//
    define L2 = XB360_LT;//
    define Cross = 100 ;// Cross speed range 2000 <0 ;  (Fast =< 0   Slow =< 2000)                                     
 
    int hold_time, rest_time;// Rapidfire Formula
    int autospot = FALSE;
    init {
        hold_time = 500/ RATE_OF_FIRE;//300ms=1second etc.
 
        if(hold_time >= 500) rest_time = 235;//***** example 1<2%, hold (=>) rest% Holding trigger is longer than Letting Go
}
    main {
             sensitivity(XB360_RY,Expo,Sens);
            sensitivity(XB360_RX,Expo,Sens);
            sensitivity(PS3_ACCY, 100,5);
            sensitivity(PS3_ACCX, 100,5);// change to desire PS3_ACCX, PS3_ACCZ, PS3_ACCY, {(PS3_GYRO)Limited controllers}
        stickize(XB360_RX, XB360_RY, 100);
        if (get_val (L1))combo_stop(B);
        if (get_val(R2))combo_run(LOVE);   //(*Rapid fire optional)
        if (get_val(R2))block(R2, BLK)
        if (get_val(PS3_ACCY))combo_run(Knife);
        if (get_val(PS3_ACCX))combo_run(Knife);
        if(get_val(y)){ 
        if(event_press(UP))combo_run (SLOT_2);}
        if(get_val(y)){
        if(event_press(DWN)) combo_run (SLOT_1);}
        if(get_val (XB360_A)) combo_run(A);
        if(get_val (XB360_RB)) combo_run(B);block(R1,L1_1st);
 
        if(get_val(XB360_LB))combo_run(D);
        if(event_release(XB360_LB))combo_stop(D);
        if (get_val(L2))combo_run(Dove);
         if (get_val(y)){
        if (event_press(DWN))combo_run(RumbleExample);}
        if (get_val(y)){
        if (event_press(UP))combo_run(RumbleExample);}
        if(get_val (RAPIDFIRE_BUTTON)) combo_run(RapidFire);// Quickly press SPOTBUTTON to turn on/off "AutoSpot"
        if(event_release(SPOT_BUTTON) && get_ptime(SPOT_BUTTON) < 140) // or hold down the SPOTBUTTON to Scoreboard
        autospot = !autospot;
        if(autospot && !get_val(SPOT_BUTTON))
        combo_run(AutoSpot);block(SPOT_BUTTON, 200);
        if (get_val(L2)){
        if (event_press(XB360_A)) combo_run (Stun);}
        if (get_val(L1)){
        if (event_press(XB360_A)) combo_run (Gernade_Dub);}
        if (get_val(L2))block(L2,BLK);
}
combo RumbleExample{
    set_rumble(RUMBLE_A, 100);
    wait(1000);
    set_rumble(RUMBLE_A, 0);
    wait (300);
}
    combo RapidFire {set_ledx(LED_1, 1);
        set_val(RAPIDFIRE_BUTTON, 100);
        wait(hold_time);
        set_val(RAPIDFIRE_BUTTON, 0);
        wait(rest_time);
}
    combo AutoSpot {
        set_val(SPOT_BUTTON, 100);
        wait(40);
        set_val(SPOT_BUTTON, 0);
        wait(960);
}
    combo A {set_ledx(LED_2, 2);
        set_val(XB360_LS, 100);
}                                                                                           
    combo B {
        set_val(XB360_LB, 100);
        wait(350);
}
    combo SLOT_1{reset_leds();
        wait(212);
        load_slot(Slot);
}
    combo SLOT_2{reset_leds();
        wait (212);
        load_slot(Slot2);
}
combo D{//Breath timeing
wait(600);
set_val(XB360_LS,100);
wait(1400);
}
combo Knife{
set_val(O,100):
wait(45);
set_val(O,0);
wait(35);
}
combo LOVE{set_ledx(LED_4,1);//Rapid fire optional
set_val(R1,100);
wait(hold_time);
set_val(R1,0);
wait(rest_time);
}
combo Gernade_Dub{set_ledx(LED_2,2);
set_val(R2,100);
wait (GERNADE2);
set_val (R2,0);
}
combo Dove{ set_ledx(LED_3,4);
set_val(L1,100);
wait (hold_time);
set_val(L1,0);
wait (rest_time);
}
combo Stun{set_ledx(LED_2,2);
set_val(L2,100);
wait (STUN3);
set_val (L2,0);
}