GPC Library

Converted Macro Script

this script was converted from a macro.
Version 1
Author aka EJaay
Publish Date 2017-07-05 01:30:59
Update Date 2017-07-05 01:30:59
Downloads 138
RATE


1

0

Release Notes: Fast asf braaahhhh
Code:Select all
//Author: aka EJaay\\
//Converted Macro Script\\
//Console: XBOX360\\

define PRONE_BTN=18; // B button
define RATE_OF_FIRE =15;//Range 1 to 25 RPS 

int InstantDrop=TRUE; 
// Instant drop or slide
int SlideOrDrop=20;
int LS_Y_MOV=12;
int Switch =TRUE;
int hold_time, rest_time;


// Execute this code just ones , when the script start
init{//############################################################# 
    if(InstantDrop)SlideOrDrop=20;
    else SlideOrDrop=10;

    hold_time = 500 / RATE_OF_FIRE;
    rest_time = hold_time - 20;
    if(rest_time < 0) rest_time = 0;    

}//////#############################################################


main {
       
       set_val(TRACE_1,Switch);
    // Switch modes press D-pad Right
    if(event_press(XB360_RIGHT)){
     Switch=!Switch;
     reset_leds(); 
    
    }

     if(Switch)colorled(1,0,0,0);// turn LED 3 ON if Switch is TRUE
     else      colorled(0,1,0,0);// turn LED 4 ON if Switch is FALSE

    // Mode 1 Rapid Jitter
    if(Switch){
    //----------------------- 1 ------------------- 
        if(get_val(4)){
            if(!get_val(7)){
            combo_run(Tap_1);
            combo_stop(Rapidfire);
            }else{
            combo_run(Rapidfire);
            combo_stop(Tap_1);
            }
        }else{
        combo_stop(Tap_1);
        combo_stop(Rapidfire);
        }
      

    //----------------------- 1 -------------------
    }else{// Mode 2 Dropshot Jitter
    //----------------------- 2 ------------------- 
        if(event_press(XB360_RT) && !get_val(7)){
        combo_run(DROPSHOT);
        }
        if(get_val(XB360_RT)) {
        combo_run(Tap_1);
        }  
    //----------------------- 2 -------------------
    }


   
}// end of main block

combo Rapidfire{
    set_val(XB360_RT, 100);
    wait(hold_time)
    set_val(XB360_RT, 0);
    wait(rest_time)
    set_val(XB360_RT, 0);
} 


combo Tap_1{
	set_val(XB360_X, 100);
	wait(23)
	set_val(XB360_Y, 100);
	wait(15)
	set_val(XB360_Y, 100);
}



combo DROPSHOT {//begin
    if(InstantDrop){
      set_val(LS_Y_MOV,0);
    }
    wait(SlideOrDrop);
      set_val(PRONE_BTN, 100);
    wait(600);
    wait(1000);  
}//end

function colorled(a,b,c,d) {
set_led(LED_1,a);
set_led(LED_2,b);
set_led(LED_3,c);
set_led(LED_4,d);
}
  • Rating

    10 / 10 here !

    If you own a ps3 and prefer an xbox controller, or even use a keyboard and mouse, this is a must to remap your keyboard to a controller. Go buy it now you won't be disappointed !

  • Rating

    Amazing device

    If you're like me and love your PS4 controller but want to use an Xbox One GET THIS you won't be sorry.

  • Rating

    Worth every penny

    The controller feels and performs as it does on the xbox right there on my ps3, awesome job guys, and worth every penny !!!

  • Rating

    Amazing Macro combos

    tested Super Street Fighter IV Arcade Edition. I was able to perform normal & FADC combos with some characters like Ryu and Ken with a single click. Amazing.

  • Rating

    As good as a XIM

    If you are a pc gamer, that needs a pc solution for console, get yourself a ControllerMAX you will not regret it.

  • Rating

    KB & Mouse RULES!

    All I can say playing 10 minutes with ControllerMAX properly configured it felt better then PC....YES I said it even better then PC, it's that smooth.

  • Rating

    Six-Axis 360!

    WOW! I can finally get that six-axis awesomeness on my Xbox 360. The best money I ever spent.

  • Rating

    Beats all rapidfire mods

    I've tried the Intensafire, Godfather even the new Wolf controller. The ControllerMAX beats them hands down and no wires or soldering too. 5 Stars!

  • Rating

    Just perfect!

    I can't believe how much this can do for the price tag - it blew me away. Best controller upgrade ever.

  • Rating

    Hugh Thanks!

    Without your help I couldn't be playing Xbox, thanks guys.

  • Rating

    Wow!

    I have to say after reading the forums for Destiny Mouse and Keyboard setup I was flying into getting it set up in 20 minutes. It works outstanding! I'm more then satisfied and its worth every penny!

  • Rating

    Achievement Unlocked!

    Idle boosting Complete 150 Multiplayer games, James Cameron's Avatar. My friend said it would be hard, I laughed then linked him.

  • Rating

    A++!

    Now this is a company you can count on and trust...keep up the great work guys!

  • Rating

    What Disability?

    I would like to thank you for making the CronusMax. I have this problem hitting L3 and R3, and today that problem was fixed. I love the remap feature on the Cronus max. You made my life easier.

  • Rating

    Awesome stuff guys!

    Playing Forza 5 with my original MS 360 wireless wheel makes the XB1 complete for me, thanks to the CronusMax. Thumbs up!