Black Ops 2: Gun: S12, Jitter

Gun: S12 Mode: Jitter [X,Y] Recommend extended mags as it burns through the clip fast *Credit: GLaDOS [Adjustable Jitter v1.00] Tested *Public Game *Private Game Demo: http://www.youtube.com/watch?v=p7ZD_OXDhRU
Version1.00
AuthorFatalFox
Publish DateFri, 24 Jan 2014 - 10:04
Last UpdateFri, 24 Jan 2014 - 10:04
Downloads829
RATE


2

0

Code: Select all
/* *
*  Black_Ops_2, Gun:S12, Mode: Jitter(X,Y) Credit: GLaDOS
* *************************************************************************** */

 
define RT = XB360_RT;
define YBUTTON = XB360_Y;
define XBUTTON = XB360_X;
 
define RATE_OF_FIRE = 33;
 
int hold_time, rest_time;
 
init {
    hold_time = 500 / RATE_OF_FIRE;
    rest_time = hold_time - 20;
    if(rest_time < 0) rest_time = 0;
}
 
main {
    if(get_val(RT)) {
        combo_run(Jitter);
    } else if(combo_running(Jitter)) {
        combo_stop(Jitter);
    }
}
 
combo Jitter {
    set_val(YBUTTON, 100);
    set_val(XBUTTON, 100);
    wait(hold_time);
    set_val(YBUTTON, 0);
    set_val(XBUTTON, 0);
    wait(rest_time);
    set_val(YBUTTON, 0);
    set_val(XBUTTON, 0);
}