PDA

View Full Version : Im starting, please help



Mikehell
21st March 16, 21:08
Hi, please help me making this combo work keeping pressing and stop after releasing the LT button.

The combo its just a test, but i want the combo work in that way, thanks a lot

PS. I copied parts of other combos to make my combo work facing left or right.


//-----------------------------------------------------
int Right;
int Left;
// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){Right=16;Left=15;}
if(get_val(11) <-20 || get_val(15)){Right=15;Left=16;}


if(event_press(XB1_LT))combo_run(KI);

// Cancel combos -----------------------------------------
if(event_press(XB1_LB)){
if(combo_running(KI)) combo_stop(KI) ;
}
// Cancel combos -----------------------------------------




}// main block end


combo KI {
set_val(XB1_LY, -30);
wait(20);
set_val(XB1_LY, -64);
wait(10);
set_val(XB1_LX, 35);
set_val(XB1_LY, -87);
wait(10);
set_val(XB1_LX, 36);
set_val(XB1_LY, -100);
wait(280);
set_val(XB1_LX, 55);
set_val(XB1_LY, -60);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
wait(90);
set_val(XB1_LX, -46);
wait(100);
set_val(XB1_LX, 0);
wait(420);
set_val(XB1_LX, 33);
wait(10);
set_val(XB1_LX, 58);
wait(10);
set_val(XB1_LX, 93);
wait(10);
set_val(XB1_LX, 100);
wait(40);
set_val(XB1_LX, 100);
set_val(XB1_LY, -49);
wait(80);
set_val(XB1_LX, 84);
set_val(XB1_LY, -72);
wait(210);
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
wait(200);
set_val(XB1_LX, -30);
wait(10);
set_val(XB1_RB, 100);
set_val(XB1_LX, -54);
wait(40);
set_val(XB1_RB, 100);
set_val(XB1_LX, -88);
wait(10);
set_val(XB1_RB, 100);
set_val(XB1_LX, -100);
wait(90);
set_val(XB1_RB, 0);
set_val(XB1_LX, -100);
wait(240);
set_val(XB1_LX, -100);
set_val(XB1_Y, 100);
wait(120);
set_val(XB1_LX, -88);
set_val(XB1_Y, 0);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 40);
wait(10);
set_val(XB1_LX, 71);
wait(10);
set_val(XB1_LX, 100);
wait(40);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(160);
set_val(XB1_RB, 0);
set_val(XB1_LX, 100);
wait(360);
set_val(XB1_LX, 72);
wait(10);
set_val(XB1_LX, 37);
wait(10);
set_val(XB1_LX, 0);
wait(50);
set_val(XB1_LX, -48);
wait(10);
set_val(XB1_LX, -75);
wait(20);
set_val(XB1_LX, -100);
wait(90);
set_val(XB1_RT, 100);
set_val(XB1_LX, -100);
wait(200);
set_val(XB1_RT, 0);
set_val(XB1_LX, -100);
wait(270);
set_val(XB1_LX, -76);
wait(10);
set_val(XB1_LX, -46);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 63);
wait(10);
set_val(XB1_LX, 88);
wait(10);
set_val(XB1_LX, 100);
wait(70);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(200);
set_val(XB1_RB, 0);
set_val(XB1_LX, 100);
wait(160);
set_val(XB1_LX, 64);
wait(10);
set_val(XB1_LX, 38);
wait(20);
set_val(XB1_LX, 0);
wait(1570);
set_val(XB1_LX, -51);
wait(10);
set_val(XB1_LX, -74);
set_val(XB1_LY, 32);
wait(20);
set_val(XB1_LX, -78);
set_val(XB1_LY, 56);
wait(40);
set_val(XB1_LX, -77);
set_val(XB1_LY, 84);
wait(10);
set_val(XB1_LX, -55);
set_val(XB1_LY, 86);
wait(20);
set_val(XB1_LX, 0);
set_val(XB1_LY, 100);
wait(40);
set_val(XB1_LX, 42);
set_val(XB1_LY, 100);
wait(10);
set_val(XB1_LX, 63);
set_val(XB1_LY, 87);
wait(20);
set_val(XB1_LX, 91);
set_val(XB1_LY, 56);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 0);
wait(50);
set_val(XB1_LX, 100);
set_val(XB1_B, 100);
wait(30);
set_val(XB1_LX, 38);
set_val(XB1_B, 100);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_B, 100);
wait(50);
set_val(XB1_B, 0);
wait(490);
set_val(XB1_LX, -31);
wait(10);
set_val(XB1_LX, -51);
set_val(XB1_LY, 31);
wait(120);
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
}

Swizzy
22nd March 16, 03:53
Change this: if(event_press(XB1_LT))combo_run(KI); to : if(get_val(XB1_LT))combo_run(KI); and it'll automatically repeat the combo as long as you hold LT, is that what you were looking for?

LEX LOST
22nd March 16, 03:53
here:



//-----------------------------------------------------
int Right;
int Left;
// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) > 20 || get_val(16)){Right=16;Left=15;}
if(get_val(11) <-20 || get_val(15)){Right=15;Left=16;}


if(get_val(XB1_LT)) {combo_run(KI);
}
// Cancel combos -----------------------------------------
else if(combo_running(KI)) {
combo_stop(KI);
}

}// main block end


combo KI {
set_val(XB1_LY, -30);
wait(20);
set_val(XB1_LY, -64);
wait(10);
set_val(XB1_LX, 35);
set_val(XB1_LY, -87);
wait(10);
set_val(XB1_LX, 36);
set_val(XB1_LY, -100);
wait(280);
set_val(XB1_LX, 55);
set_val(XB1_LY, -60);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
wait(90);
set_val(XB1_LX, -46);
wait(100);
set_val(XB1_LX, 0);
wait(420);
set_val(XB1_LX, 33);
wait(10);
set_val(XB1_LX, 58);
wait(10);
set_val(XB1_LX, 93);
wait(10);
set_val(XB1_LX, 100);
wait(40);
set_val(XB1_LX, 100);
set_val(XB1_LY, -49);
wait(80);
set_val(XB1_LX, 84);
set_val(XB1_LY, -72);
wait(210);
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
wait(200);
set_val(XB1_LX, -30);
wait(10);
set_val(XB1_RB, 100);
set_val(XB1_LX, -54);
wait(40);
set_val(XB1_RB, 100);
set_val(XB1_LX, -88);
wait(10);
set_val(XB1_RB, 100);
set_val(XB1_LX, -100);
wait(90);
set_val(XB1_RB, 0);
set_val(XB1_LX, -100);
wait(240);
set_val(XB1_LX, -100);
set_val(XB1_Y, 100);
wait(120);
set_val(XB1_LX, -88);
set_val(XB1_Y, 0);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 40);
wait(10);
set_val(XB1_LX, 71);
wait(10);
set_val(XB1_LX, 100);
wait(40);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(160);
set_val(XB1_RB, 0);
set_val(XB1_LX, 100);
wait(360);
set_val(XB1_LX, 72);
wait(10);
set_val(XB1_LX, 37);
wait(10);
set_val(XB1_LX, 0);
wait(50);
set_val(XB1_LX, -48);
wait(10);
set_val(XB1_LX, -75);
wait(20);
set_val(XB1_LX, -100);
wait(90);
set_val(XB1_RT, 100);
set_val(XB1_LX, -100);
wait(200);
set_val(XB1_RT, 0);
set_val(XB1_LX, -100);
wait(270);
set_val(XB1_LX, -76);
wait(10);
set_val(XB1_LX, -46);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 63);
wait(10);
set_val(XB1_LX, 88);
wait(10);
set_val(XB1_LX, 100);
wait(70);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(200);
set_val(XB1_RB, 0);
set_val(XB1_LX, 100);
wait(160);
set_val(XB1_LX, 64);
wait(10);
set_val(XB1_LX, 38);
wait(20);
set_val(XB1_LX, 0);
wait(1570);
set_val(XB1_LX, -51);
wait(10);
set_val(XB1_LX, -74);
set_val(XB1_LY, 32);
wait(20);
set_val(XB1_LX, -78);
set_val(XB1_LY, 56);
wait(40);
set_val(XB1_LX, -77);
set_val(XB1_LY, 84);
wait(10);
set_val(XB1_LX, -55);
set_val(XB1_LY, 86);
wait(20);
set_val(XB1_LX, 0);
set_val(XB1_LY, 100);
wait(40);
set_val(XB1_LX, 42);
set_val(XB1_LY, 100);
wait(10);
set_val(XB1_LX, 63);
set_val(XB1_LY, 87);
wait(20);
set_val(XB1_LX, 91);
set_val(XB1_LY, 56);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 0);
wait(50);
set_val(XB1_LX, 100);
set_val(XB1_B, 100);
wait(30);
set_val(XB1_LX, 38);
set_val(XB1_B, 100);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_B, 100);
wait(50);
set_val(XB1_B, 0);
wait(490);
set_val(XB1_LX, -31);
wait(10);
set_val(XB1_LX, -51);
set_val(XB1_LY, 31);
wait(120);
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
}

Mikehell
22nd March 16, 12:50
Thanks for the reply, i will try it out when i get home, also, i cant make the combo work on the right side, just in the left side, can you guys help me?

Excalibur
24th March 16, 05:47
Thanks for the reply, i will try it out when i get home, also, i cant make the combo work on the right side, just in the left side, can you guys help me?

You should switch the value for X axis ( from positive to negative and opposite ).


//Posted by Mikehell, a member of the community in the CronusMAX Forums - http://www.cronusmax.com/forums

//Posted : Tuesday 22nd of March, 2016 1:08 UTC


//-----------------------------------------------------
int Right;
int Left;


int direction =1;
// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){direction = 1;}
if(get_val(11) <-20 || get_val(15)){direction = -1;}


if(get_val(XB1_LT))combo_run(KI);
else combo_stop(KI);


// Cancel combos -----------------------------------------
if(event_press(XB1_LB)){
if(combo_running(KI)) combo_stop(KI) ;
}
// Cancel combos -----------------------------------------




}// main block end


combo KI {
set_val(XB1_LY, -30);
wait(20);
set_val(XB1_LY, -64);
wait(10);
set_val(XB1_LX, 35 *direction);
set_val(XB1_LY, -87);
wait(10);
set_val(XB1_LX, 36*direction);
set_val(XB1_LY, -100);
wait(280);
set_val(XB1_LX, 55*direction);
set_val(XB1_LY, -60);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
wait(90);
set_val(XB1_LX, -46*direction);
wait(100);
set_val(XB1_LX, 0);
wait(420);
set_val(XB1_LX, 33*direction);
wait(10);
set_val(XB1_LX, 58*direction);
wait(10);
set_val(XB1_LX, 93);
wait(10);
set_val(XB1_LX, 100 *direction);
wait(40);
set_val(XB1_LX, 100 *direction);
set_val(XB1_LY, -49);
wait(80);
set_val(XB1_LX, 84*direction);
set_val(XB1_LY, -72);
wait(210);
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
wait(200);
set_val(XB1_LX, -30*direction);
wait(10);
set_val(XB1_RB, 100);
set_val(XB1_LX, -54*direction);
wait(40);
set_val(XB1_RB, 100);
set_val(XB1_LX, -88*direction);
wait(10);
set_val(XB1_RB, 100);
set_val(XB1_LX, -100*direction);
wait(90);
set_val(XB1_RB, 0);
set_val(XB1_LX, -100*direction);
wait(240);
set_val(XB1_LX, -100*direction);
set_val(XB1_Y, 100);
wait(120);
set_val(XB1_LX, -88*direction);
set_val(XB1_Y, 0);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 40*direction);
wait(10);
set_val(XB1_LX, 71*direction);
wait(10);
set_val(XB1_LX, 100*direction);
wait(40);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100*direction);
wait(160);
set_val(XB1_RB, 0);
set_val(XB1_LX, 100*direction);
wait(360);
set_val(XB1_LX, 72*direction);
wait(10);
set_val(XB1_LX, 37*direction);
wait(10);
set_val(XB1_LX, 0);
wait(50);
set_val(XB1_LX, -48*direction);
wait(10);
set_val(XB1_LX, -75*direction);
wait(20);
set_val(XB1_LX, -100*direction);
wait(90);
set_val(XB1_RT, 100);
set_val(XB1_LX, -100*direction);
wait(200);
set_val(XB1_RT, 0);
set_val(XB1_LX, -100*direction);
wait(270);
set_val(XB1_LX, -76*direction);
wait(10);
set_val(XB1_LX, -46*direction);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 63*direction);
wait(10);
set_val(XB1_LX, 88*direction);
wait(10);
set_val(XB1_LX, 100*direction);
wait(70);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100*direction);
wait(200);
set_val(XB1_RB, 0);
set_val(XB1_LX, 100*direction);
wait(160);
set_val(XB1_LX, 64*direction);
wait(10);
set_val(XB1_LX, 38*direction);
wait(20);
set_val(XB1_LX, 0);
wait(1570);
set_val(XB1_LX, -51*direction);
wait(10);
set_val(XB1_LX, -74*direction);
set_val(XB1_LY, 32);
wait(20);
set_val(XB1_LX, -78*direction);
set_val(XB1_LY, 56);
wait(40);
set_val(XB1_LX, -77*direction);
set_val(XB1_LY, 84);
wait(10);
set_val(XB1_LX, -55*direction);
set_val(XB1_LY, 86);
wait(20);
set_val(XB1_LX, 0);
set_val(XB1_LY, 100);
wait(40);
set_val(XB1_LX, 42*direction);
set_val(XB1_LY, 100);
wait(10);
set_val(XB1_LX, 63*direction);
set_val(XB1_LY, 87);
wait(20);
set_val(XB1_LX, 91*direction);
set_val(XB1_LY, 56);
wait(10);
set_val(XB1_LX, 100*direction);
set_val(XB1_LY, 0);
wait(50);
set_val(XB1_LX, 100*direction);
set_val(XB1_B, 100);
wait(30);
set_val(XB1_LX, 38*direction);
set_val(XB1_B, 100);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_B, 100);
wait(50);
set_val(XB1_B, 0);
wait(490);
set_val(XB1_LX, -31*direction);
wait(10);
set_val(XB1_LX, -51);
set_val(XB1_LY, 31);
wait(120);
set_val(XB1_LX, 0);
set_val(XB1_LY, 0);
}

Mikehell
24th March 16, 16:46
Hi Guys, I tried 2 combos but I got this error, also, my combo works presing the sticks (one at the time) but i want it works Right stick Left and Right Stick Right, thanks guys you are awesome.

The combos are for Killer Instinct Classic for Xbox One, Sorry for my bad english, its not my born language.

EDIT: I just found a template for the Right Sticks Combos, i Have not tried but it does not send me any error, thanks anyway my friends.


2361

//-----------------------------------------------------
int Right;
int Left;


int direction =1;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){direction = 1;}
if(get_val(11) <-20 || get_val(15)){direction = -1;}


///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(KI)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (KI2)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (KI);
combo_stop (KI2);


}

}// main block end






combo KI {

wait(20);
set_val(XB1_LY, -34);
wait(10);
set_val(XB1_LX, 87);
set_val(XB1_LY, -36);
wait(80);
set_val(XB1_LX, 91);
set_val(XB1_LY, -58);
wait(120);
set_val(XB1_LX, 78);
set_val(XB1_LY, -79);
wait(100);
set_val(XB1_LX, 69);
set_val(XB1_LY, -51);
wait(10);
set_val(XB1_LX, 37);
set_val(XB1_LY, 0);
wait(10);
set_val(XB1_LX, 0);
wait(120);
set_val(XB1_LX, -45);
wait(20);
set_val(XB1_LX, -67);
wait(10);
set_val(XB1_RB, 100);
set_val(XB1_LX, -72);
wait(20);
set_val(XB1_RB, 100);
set_val(XB1_LX, -100);
wait(120);
set_val(XB1_RB, 0);
set_val(XB1_LX, -100);
wait(240);
set_val(XB1_LX, -100);
set_val(XB1_Y, 100);
wait(120);
set_val(XB1_LX, -100);
set_val(XB1_Y, 0);
wait(20);
set_val(XB1_LX, -50);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 71);
wait(10);
set_val(XB1_LX, 100);
wait(70);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(130);
set_val(XB1_RB, 0);
set_val(XB1_LX, 100);
wait(80);
set_val(XB1_LX, 0);
wait(480);
set_val(XB1_RT, 100);
wait(240);
set_val(XB1_RT, 0);
set_val(XB1_LX, -54);
wait(20);
set_val(XB1_LX, -78);
wait(20);
set_val(XB1_LX, -100);
wait(220);
set_val(XB1_LX, -58);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 61);
wait(10);
set_val(XB1_LX, 89);
wait(10);
set_val(XB1_LX, 100);
wait(40);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(120);
set_val(XB1_RB, 0);
set_val(XB1_LX, 87);
// Inicia final
wait(100);
set_val(XB1_LX, 0);
wait(1300);
set_val(XB1_LX, -32);
wait(20);
set_val(XB1_LX, -59);
wait(30);
set_val(XB1_LX, -88);
wait(30);
set_val(XB1_LX, -93);
set_val(XB1_LY, 38);
wait(30);
set_val(XB1_LX, -89);
set_val(XB1_LY, 65);
wait(10);
set_val(XB1_LX, -65);
set_val(XB1_LY, 69);
wait(10);
set_val(XB1_LX, -62);
set_val(XB1_LY, 93);
wait(10);
set_val(XB1_LX, -37);
set_val(XB1_LY, 100);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_LY, 100);
wait(40);
set_val(XB1_LX, 40);
set_val(XB1_LY, 100);
wait(20);
set_val(XB1_LX, 72);
set_val(XB1_LY, 87);
wait(10);
set_val(XB1_LX, 75);
set_val(XB1_LY, 62);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 32);
wait(40);
set_val(XB1_LX, 100);
set_val(XB1_LY, 0);
wait(10);
set_val(XB1_LX, 97);
set_val(XB1_RT, 100);
wait(10);
set_val(XB1_LX, 36);
set_val(XB1_RT, 100);


}
// Segundo Combo
combo KI2 {

wait(50);
set_val(XB1_LX, 77);
set_val(XB1_LY, 73);
wait(280);
set_val(XB1_LX, 83);
set_val(XB1_LY, 65);
set_val(XB1_Y, 100);
wait(180);
set_val(XB1_LX, 83);
set_val(XB1_LY, 66);
set_val(XB1_Y, 0);
wait(20);
set_val(XB1_LX, 51);
set_val(XB1_LY, 62);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_LY, 31);
wait(10);
set_val(XB1_LY, 0);
wait(50);
set_val(XB1_LX, -46);
wait(10);
set_val(XB1_LX, -79);
wait(20);
set_val(XB1_LX, -100);
wait(30);
set_val(XB1_RB, 100);
set_val(XB1_LX, -100);
wait(170);
set_val(XB1_RB, 0);
set_val(XB1_LX, -100);
wait(30);
set_val(XB1_LX, -66);
wait(10);
set_val(XB1_LX, 0);
wait(410);
set_val(XB1_RT, 100);
wait(240);
set_val(XB1_RT, 0);
wait(60);
set_val(XB1_LX, -50);
wait(20);
set_val(XB1_LX, -72);
wait(20);
set_val(XB1_LX, -100);
wait(120);
set_val(XB1_LX, -91);
set_val(XB1_LY, 60);
wait(10);
set_val(XB1_LX, -59);
set_val(XB1_LY, 85);
wait(20);
set_val(XB1_LX, 0);
set_val(XB1_LY, 89);
wait(10);
set_val(XB1_LY, 100);
wait(40);
set_val(XB1_LX, 30);
set_val(XB1_LY, 99);
wait(10);
set_val(XB1_LX, 61);
set_val(XB1_LY, 95);
wait(10);
set_val(XB1_LX, 82);
set_val(XB1_LY, 71);
wait(20);
set_val(XB1_LX, 85);
set_val(XB1_LY, 47);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 45);
wait(20);
set_val(XB1_LX, 100);
set_val(XB1_LY, 39);
set_val(XB1_Y, 100);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 0);
set_val(XB1_Y, 100);
wait(20);
set_val(XB1_LX, 59);
set_val(XB1_Y, 100);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_Y, 100);
wait(60);
set_val(XB1_Y, 0);
wait(50);
set_val(XB1_Y, 100);
wait(130);
set_val(XB1_Y, 0);
set_val(XB1_RIGHT, 100);
wait(1370);
set_val(XB1_DOWN, 100);
set_val(XB1_RIGHT, 100);
wait(20);
set_val(XB1_DOWN, 100);
set_val(XB1_RIGHT, 0);
wait(40);
set_val(XB1_DOWN, 100);
set_val(XB1_LEFT, 100);
wait(40);
set_val(XB1_DOWN, 0);
set_val(XB1_LEFT, 100);
wait(60);
set_val(XB1_RT, 100);
set_val(XB1_LEFT, 100);




}

Mikehell
28th March 16, 21:26
You should switch the value for X axis ( from positive to negative and opposite ).


Hi, I did not really understand, can you help me please?

The combos works as intended except does not work both sides, only left, thanks for the help, i hope i could use this as template for my next combos.

//-----------------------------------------------------
int Right;
int Left;


int direction =1;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){direction = 1;}
if(get_val(11) <-20 || get_val(15)){direction = -1;}


///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(KI)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (KI2)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (KI);
combo_stop (KI2);


}

}// main block end






combo KI {

wait(20);
set_val(XB1_LY, -34);
wait(10);
set_val(XB1_LX, 87);
set_val(XB1_LY, -36);
wait(80);
set_val(XB1_LX, 91);
set_val(XB1_LY, -58);
wait(120);
set_val(XB1_LX, 78);
set_val(XB1_LY, -79);
wait(100);
set_val(XB1_LX, 69);
set_val(XB1_LY, -51);
wait(10);
set_val(XB1_LX, 37);
set_val(XB1_LY, 0);
wait(10);
set_val(XB1_LX, 0);
wait(120);
set_val(XB1_LX, -45);
wait(20);
set_val(XB1_LX, -67);
wait(10);
set_val(XB1_RB, 100);
set_val(XB1_LX, -72);
wait(20);
set_val(XB1_RB, 100);
set_val(XB1_LX, -100);
wait(120);
set_val(XB1_RB, 0);
set_val(XB1_LX, -100);
wait(240);
set_val(XB1_LX, -100);
set_val(XB1_Y, 100);
wait(120);
set_val(XB1_LX, -100);
set_val(XB1_Y, 0);
wait(20);
set_val(XB1_LX, -50);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 71);
wait(10);
set_val(XB1_LX, 100);
wait(70);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(130);
set_val(XB1_RB, 0);
set_val(XB1_LX, 100);
wait(80);
set_val(XB1_LX, 0);
wait(480);
set_val(XB1_RT, 100);
wait(240);
set_val(XB1_RT, 0);
set_val(XB1_LX, -54);
wait(20);
set_val(XB1_LX, -78);
wait(20);
set_val(XB1_LX, -100);
wait(220);
set_val(XB1_LX, -58);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 61);
wait(10);
set_val(XB1_LX, 89);
wait(10);
set_val(XB1_LX, 100);
wait(40);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(120);
set_val(XB1_RB, 0);
set_val(XB1_LX, 87);
// Inicia final
wait(100);
set_val(XB1_LX, 0);
wait(1300);
set_val(XB1_LX, -32);
wait(20);
set_val(XB1_LX, -59);
wait(30);
set_val(XB1_LX, -88);
wait(30);
set_val(XB1_LX, -93);
set_val(XB1_LY, 38);
wait(30);
set_val(XB1_LX, -89);
set_val(XB1_LY, 65);
wait(10);
set_val(XB1_LX, -65);
set_val(XB1_LY, 69);
wait(10);
set_val(XB1_LX, -62);
set_val(XB1_LY, 93);
wait(10);
set_val(XB1_LX, -37);
set_val(XB1_LY, 100);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_LY, 100);
wait(40);
set_val(XB1_LX, 40);
set_val(XB1_LY, 100);
wait(20);
set_val(XB1_LX, 72);
set_val(XB1_LY, 87);
wait(10);
set_val(XB1_LX, 75);
set_val(XB1_LY, 62);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 32);
wait(40);
set_val(XB1_LX, 100);
set_val(XB1_LY, 0);
wait(10);
set_val(XB1_LX, 97);
set_val(XB1_RT, 100);
wait(10);
set_val(XB1_LX, 36);
set_val(XB1_RT, 100);


}
// Segundo Combo
combo KI2 {

wait(50);
set_val(XB1_LX, 77);
set_val(XB1_LY, 73);
wait(280);
set_val(XB1_LX, 83);
set_val(XB1_LY, 65);
set_val(XB1_Y, 100);
wait(180);
set_val(XB1_LX, 83);
set_val(XB1_LY, 66);
set_val(XB1_Y, 0);
wait(20);
set_val(XB1_LX, 51);
set_val(XB1_LY, 62);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_LY, 31);
wait(10);
set_val(XB1_LY, 0);
wait(50);
set_val(XB1_LX, -46);
wait(10);
set_val(XB1_LX, -79);
wait(20);
set_val(XB1_LX, -100);
wait(30);
set_val(XB1_RB, 100);
set_val(XB1_LX, -100);
wait(170);
set_val(XB1_RB, 0);
set_val(XB1_LX, -100);
wait(30);
set_val(XB1_LX, -66);
wait(10);
set_val(XB1_LX, 0);
wait(410);
set_val(XB1_RT, 100);
wait(240);
set_val(XB1_RT, 0);
wait(60);
set_val(XB1_LX, -50);
wait(20);
set_val(XB1_LX, -72);
wait(20);
set_val(XB1_LX, -100);
wait(120);
set_val(XB1_LX, -91);
set_val(XB1_LY, 60);
wait(10);
set_val(XB1_LX, -59);
set_val(XB1_LY, 85);
wait(20);
set_val(XB1_LX, 0);
set_val(XB1_LY, 89);
wait(10);
set_val(XB1_LY, 100);
wait(40);
set_val(XB1_LX, 30);
set_val(XB1_LY, 99);
wait(10);
set_val(XB1_LX, 61);
set_val(XB1_LY, 95);
wait(10);
set_val(XB1_LX, 82);
set_val(XB1_LY, 71);
wait(20);
set_val(XB1_LX, 85);
set_val(XB1_LY, 47);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 45);
wait(20);
set_val(XB1_LX, 100);
set_val(XB1_LY, 39);
set_val(XB1_Y, 100);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 0);
set_val(XB1_Y, 100);
wait(20);
set_val(XB1_LX, 59);
set_val(XB1_Y, 100);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_Y, 100);
wait(60);
set_val(XB1_Y, 0);
wait(50);
set_val(XB1_Y, 100);
wait(130);
set_val(XB1_Y, 0);
set_val(XB1_RIGHT, 100);
wait(1370);
set_val(XB1_DOWN, 100);
set_val(XB1_RIGHT, 100);
wait(20);
set_val(XB1_DOWN, 100);
set_val(XB1_RIGHT, 0);
wait(40);
set_val(XB1_DOWN, 100);
set_val(XB1_LEFT, 100);
wait(40);
set_val(XB1_DOWN, 0);
set_val(XB1_LEFT, 100);
wait(60);
set_val(XB1_RT, 100);
set_val(XB1_LEFT, 100);




}

Excalibur
29th March 16, 05:11
Hi, I did not really understand, can you help me please?

The combos works as intended except does not work both sides, only left, thanks for the help, i hope i could use this as template for my next combos.

//-----------------------------------------------------
int Right;
int Left;


int direction =1;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){direction = 1;}
if(get_val(11) <-20 || get_val(15)){direction = -1;}


///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(KI)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (KI2)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (KI);
combo_stop (KI2);


}

}// main block end






combo KI {

wait(20);
set_val(XB1_LY, -34);
wait(10);
set_val(XB1_LX, 87);
set_val(XB1_LY, -36);
wait(80);
set_val(XB1_LX, 91);
set_val(XB1_LY, -58);
wait(120);
set_val(XB1_LX, 78);
set_val(XB1_LY, -79);
wait(100);
set_val(XB1_LX, 69);
set_val(XB1_LY, -51);
wait(10);
set_val(XB1_LX, 37);
set_val(XB1_LY, 0);
wait(10);
set_val(XB1_LX, 0);
wait(120);
set_val(XB1_LX, -45);
wait(20);
set_val(XB1_LX, -67);
wait(10);
set_val(XB1_RB, 100);
set_val(XB1_LX, -72);
wait(20);
set_val(XB1_RB, 100);
set_val(XB1_LX, -100);
wait(120);
set_val(XB1_RB, 0);
set_val(XB1_LX, -100);
wait(240);
set_val(XB1_LX, -100);
set_val(XB1_Y, 100);
wait(120);
set_val(XB1_LX, -100);
set_val(XB1_Y, 0);
wait(20);
set_val(XB1_LX, -50);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 71);
wait(10);
set_val(XB1_LX, 100);
wait(70);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(130);
set_val(XB1_RB, 0);
set_val(XB1_LX, 100);
wait(80);
set_val(XB1_LX, 0);
wait(480);
set_val(XB1_RT, 100);
wait(240);
set_val(XB1_RT, 0);
set_val(XB1_LX, -54);
wait(20);
set_val(XB1_LX, -78);
wait(20);
set_val(XB1_LX, -100);
wait(220);
set_val(XB1_LX, -58);
wait(10);
set_val(XB1_LX, 0);
wait(20);
set_val(XB1_LX, 61);
wait(10);
set_val(XB1_LX, 89);
wait(10);
set_val(XB1_LX, 100);
wait(40);
set_val(XB1_RB, 100);
set_val(XB1_LX, 100);
wait(120);
set_val(XB1_RB, 0);
set_val(XB1_LX, 87);
// Inicia final
wait(100);
set_val(XB1_LX, 0);
wait(1300);
set_val(XB1_LX, -32);
wait(20);
set_val(XB1_LX, -59);
wait(30);
set_val(XB1_LX, -88);
wait(30);
set_val(XB1_LX, -93);
set_val(XB1_LY, 38);
wait(30);
set_val(XB1_LX, -89);
set_val(XB1_LY, 65);
wait(10);
set_val(XB1_LX, -65);
set_val(XB1_LY, 69);
wait(10);
set_val(XB1_LX, -62);
set_val(XB1_LY, 93);
wait(10);
set_val(XB1_LX, -37);
set_val(XB1_LY, 100);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_LY, 100);
wait(40);
set_val(XB1_LX, 40);
set_val(XB1_LY, 100);
wait(20);
set_val(XB1_LX, 72);
set_val(XB1_LY, 87);
wait(10);
set_val(XB1_LX, 75);
set_val(XB1_LY, 62);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 32);
wait(40);
set_val(XB1_LX, 100);
set_val(XB1_LY, 0);
wait(10);
set_val(XB1_LX, 97);
set_val(XB1_RT, 100);
wait(10);
set_val(XB1_LX, 36);
set_val(XB1_RT, 100);


}
// Segundo Combo
combo KI2 {

wait(50);
set_val(XB1_LX, 77);
set_val(XB1_LY, 73);
wait(280);
set_val(XB1_LX, 83);
set_val(XB1_LY, 65);
set_val(XB1_Y, 100);
wait(180);
set_val(XB1_LX, 83);
set_val(XB1_LY, 66);
set_val(XB1_Y, 0);
wait(20);
set_val(XB1_LX, 51);
set_val(XB1_LY, 62);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_LY, 31);
wait(10);
set_val(XB1_LY, 0);
wait(50);
set_val(XB1_LX, -46);
wait(10);
set_val(XB1_LX, -79);
wait(20);
set_val(XB1_LX, -100);
wait(30);
set_val(XB1_RB, 100);
set_val(XB1_LX, -100);
wait(170);
set_val(XB1_RB, 0);
set_val(XB1_LX, -100);
wait(30);
set_val(XB1_LX, -66);
wait(10);
set_val(XB1_LX, 0);
wait(410);
set_val(XB1_RT, 100);
wait(240);
set_val(XB1_RT, 0);
wait(60);
set_val(XB1_LX, -50);
wait(20);
set_val(XB1_LX, -72);
wait(20);
set_val(XB1_LX, -100);
wait(120);
set_val(XB1_LX, -91);
set_val(XB1_LY, 60);
wait(10);
set_val(XB1_LX, -59);
set_val(XB1_LY, 85);
wait(20);
set_val(XB1_LX, 0);
set_val(XB1_LY, 89);
wait(10);
set_val(XB1_LY, 100);
wait(40);
set_val(XB1_LX, 30);
set_val(XB1_LY, 99);
wait(10);
set_val(XB1_LX, 61);
set_val(XB1_LY, 95);
wait(10);
set_val(XB1_LX, 82);
set_val(XB1_LY, 71);
wait(20);
set_val(XB1_LX, 85);
set_val(XB1_LY, 47);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 45);
wait(20);
set_val(XB1_LX, 100);
set_val(XB1_LY, 39);
set_val(XB1_Y, 100);
wait(10);
set_val(XB1_LX, 100);
set_val(XB1_LY, 0);
set_val(XB1_Y, 100);
wait(20);
set_val(XB1_LX, 59);
set_val(XB1_Y, 100);
wait(10);
set_val(XB1_LX, 0);
set_val(XB1_Y, 100);
wait(60);
set_val(XB1_Y, 0);
wait(50);
set_val(XB1_Y, 100);
wait(130);
set_val(XB1_Y, 0);
set_val(XB1_RIGHT, 100);
wait(1370);
set_val(XB1_DOWN, 100);
set_val(XB1_RIGHT, 100);
wait(20);
set_val(XB1_DOWN, 100);
set_val(XB1_RIGHT, 0);
wait(40);
set_val(XB1_DOWN, 100);
set_val(XB1_LEFT, 100);
wait(40);
set_val(XB1_DOWN, 0);
set_val(XB1_LEFT, 100);
wait(60);
set_val(XB1_RT, 100);
set_val(XB1_LEFT, 100);




}


You used both Left Stick and D pad buttons. It will be better if you use only D pad buttons -like in last few line in you second combo.
Then you should replace XB1_RIGHT with variable Right and XB1_LEFT with variable Left.

Here is an Example :


//Posted by Mikehell, a member of the community in the CronusMAX Forums - http://www.cronusmax.com/forums

//Posted : Tuesday 29th of March, 2016 1:53 UTC


//-----------------------------------------------------
int Right;
int Left;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){Right = 16; Left = 15;}
if(get_val(11) <-20 || get_val(15)){Right = 15; Left = 16;}


///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(KI)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (KI2)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (KI);
combo_stop (KI2);


}

}// main block end


combo KI {
set_val(Right, 100);
wait(1370);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(20);
set_val(XB1_DOWN, 100);
//set_val(XB1_RIGHT, 0);
wait(40);
set_val(XB1_DOWN, 100);
set_val(Left, 100);
wait(40);
set_val(XB1_DOWN, 0);
set_val(Left, 100);
wait(60);
set_val(XB1_RT, 100);
set_val(Left, 100);

}
// Segundo Combo
combo KI2 {

set_val(Right, 100);
wait(1370);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(20);
set_val(XB1_DOWN, 100);
//set_val(XB1_RIGHT, 0);
wait(40);
set_val(XB1_DOWN, 100);
set_val(Left, 100);
wait(40);
set_val(XB1_DOWN, 0);
set_val(Left, 100);
wait(60);
set_val(XB1_RT, 100);
set_val(Left, 100);
}


You can use Script Manipulator to do this job automatically .
http://cronusmax.com/forums/showthread.php?t=147541&p=997476&viewfull=1#post997476

https://www.youtube.com/watch?v=sn1o8ccw8X8

Mikehell
31st March 16, 12:47
You used both Left Stick and D pad buttons. It will be better if you use only D pad buttons -like in last few line in you second combo.
Then you should replace XB1_RIGHT with variable Right and XB1_LEFT with variable Left.

Here is an Example :


//Posted by Mikehell, a member of the community in the CronusMAX Forums - http://www.cronusmax.com/forums

//Posted : Tuesday 29th of March, 2016 1:53 UTC


//-----------------------------------------------------
int Right;
int Left;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){Right = 16; Left = 15;}
if(get_val(11) <-20 || get_val(15)){Right = 15; Left = 16;}


///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(KI)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (KI2)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (KI);
combo_stop (KI2);


}

}// main block end


combo KI {
set_val(Right, 100);
wait(1370);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(20);
set_val(XB1_DOWN, 100);
//set_val(XB1_RIGHT, 0);
wait(40);
set_val(XB1_DOWN, 100);
set_val(Left, 100);
wait(40);
set_val(XB1_DOWN, 0);
set_val(Left, 100);
wait(60);
set_val(XB1_RT, 100);
set_val(Left, 100);

}
// Segundo Combo
combo KI2 {

set_val(Right, 100);
wait(1370);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(20);
set_val(XB1_DOWN, 100);
//set_val(XB1_RIGHT, 0);
wait(40);
set_val(XB1_DOWN, 100);
set_val(Left, 100);
wait(40);
set_val(XB1_DOWN, 0);
set_val(Left, 100);
wait(60);
set_val(XB1_RT, 100);
set_val(Left, 100);
}


You can use Script Manipulator to do this job automatically .
http://cronusmax.com/forums/showthread.php?t=147541&p=997476&viewfull=1#post997476

https://www.youtube.com/watch?v=sn1o8ccw8X8

Thanks a LOT, finally I make it work both sides, unfortunately sometimes the combo desync after anoter input, it make me frustrating, anyway, I will use what I learned from you guys.

Excalibur
31st March 16, 20:40
Thanks a LOT, finally I make it work both sides, unfortunately sometimes the combo desync after anoter input, it make me frustrating, anyway, I will use what I learned from you guys.


To make it not desync - you should set values to zero for all buttons when the combo is running.

Like this :

in main section below the other code .

set_val( 3,0);
set_val(4,0);
set_val(5,0);
set_val(6,0);
set_val(7,0);
set_val(8,0);
set_val(17,0);
set_val(18,0);
set_val(19,0);
set_val(20,0);

these are all buttons.

Mikehell
1st April 16, 21:20
To make it not desync - you should set values to zero for all buttons when the combo is running.

Like this :

in main section below the other code .

set_val( 3,0);
set_val(4,0);
set_val(5,0);
set_val(6,0);
set_val(7,0);
set_val(8,0);
set_val(17,0);
set_val(18,0);
set_val(19,0);
set_val(20,0);

these are all buttons.

I dont get it, my knowledge on programing its poor, I just copy/paste, this is my GPC, in the first combo, if i left unchange, the move with Y (just before the label "// Second Wave") does not activate, but if i remove the complete section after "// Second Wave", it works, hope you understand what i describe.

//-----------------------------------------------------
int Right;
int Left;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){Right = 16; Left = 15;}
if(get_val(11) <-20 || get_val(15)){Right = 15; Left = 16;}


///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(killer)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (killer2)
}

if (get_val (XB1_RY) >= 60) {
combo_run(final1)
}



// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (killer);
combo_stop (killer2);
combo_stop (final1);
combo_stop (final2);

}

}// main block end


combo killer {
set_val(Right, 100);
wait(500);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(120);
set_val(Right, 100);
wait(560);
set_val(Right, 0);
wait(50);
set_val(Left, 100);
wait(30);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(160);
set_val(Left, 0);
set_val(XB1_Y, 100);
wait(20);
set_val(XB1_Y, 0);
wait(590);
set_val(XB1_RT, 100);
wait(230);
set_val(XB1_RT, 0);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 0);

// Second wave


wait(730);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(200);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);


}

Swizzy
2nd April 16, 02:48
I dont get it, my knowledge on programing its poor, I just copy/paste, this is my GPC, in the first combo, if i left unchange, the move with Y (just before the label "// Second Wave") does not activate, but if i remove the complete section after "// Second Wave", it works, hope you understand what i describe.

//-----------------------------------------------------
int Right;
int Left;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){Right = 16; Left = 15;}
if(get_val(11) <-20 || get_val(15)){Right = 15; Left = 16;}


///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(killer)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (killer2)
}

if (get_val (XB1_RY) >= 60) {
combo_run(final1)
}



// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (killer);
combo_stop (killer2);
combo_stop (final1);
combo_stop (final2);

}

}// main block end


combo killer {
set_val(Right, 100);
wait(500);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(120);
set_val(Right, 100);
wait(560);
set_val(Right, 0);
wait(50);
set_val(Left, 100);
wait(30);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(160);
set_val(Left, 0);
set_val(XB1_Y, 100);
wait(20);
set_val(XB1_Y, 0);
wait(590);
set_val(XB1_RT, 100);
wait(230);
set_val(XB1_RT, 0);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 0);

// Second wave


wait(730);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(200);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);


}




You're supposed to put the code before the } // main block end part in the script, like this:


//Posted by Mikehell, a member of the community in the CronusMAX Forums - http://www.cronusmax.com/forums

//Posted : Saturday 2nd of April, 2016 2:03 UTC

//-----------------------------------------------------
int Right;
int Left;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start
if(get_val(11) >20 || get_val(16)){Right = 16; Left = 15;}
if(get_val(11) <-20 || get_val(15)){Right = 15; Left = 16;}
///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(killer)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (killer2)
}

if (get_val (XB1_RY) >= 60) {
combo_run(final1)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (killer);
combo_stop (killer2);
combo_stop (final1);
combo_stop (final2);
}

set_val( 3,0);
set_val(4,0);
set_val(5,0);
set_val(6,0);
set_val(7,0);
set_val(8,0);
set_val(17,0);
set_val(18,0);
set_val(19,0);
set_val(20,0);

}// main block end

combo killer {
set_val(Right, 100);
wait(500);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(120);
set_val(Right, 100);
wait(560);
set_val(Right, 0);
wait(50);
set_val(Left, 100);
wait(30);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(160);
set_val(Left, 0);
set_val(XB1_Y, 100);
wait(20);
set_val(XB1_Y, 0);
wait(590);
set_val(XB1_RT, 100);
wait(230);
set_val(XB1_RT, 0);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 0);

// Second wave

wait(730);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(200);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);
}

Mikehell
2nd April 16, 14:35
Oh, I see, thanks, we learn something new everyday.

Excalibur
3rd April 16, 07:53
Oh, I see, thanks, we learn something new everyday.

It should look like this :





//-----------------------------------------------------
int Right;
int Left;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start
if(get_val(11) >20 || get_val(16)){Right = 16; Left = 15;}
if(get_val(11) <-20 || get_val(15)){Right = 15; Left = 16;}
///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(killer)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (killer2)
}

if (get_val (XB1_RY) >= 60) {
combo_run(final1)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (killer);
combo_stop (killer2);
combo_stop (final1);
combo_stop (final2);
}

if(combo_running(killer) || combo_running(killer2) || combo_running(final1) || combo_running(final2)){
set_val( 3,0);
set_val(4,0);
set_val(5,0);
set_val(6,0);
set_val(7,0);
set_val(8,0);
set_val(17,0);
set_val(18,0);
set_val(19,0);
set_val(20,0);
}

}// main block end

combo killer {
set_val(Right, 100);
wait(500);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(120);
set_val(Right, 100);
wait(560);
set_val(Right, 0);
wait(50);
set_val(Left, 100);
wait(30);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(160);
set_val(Left, 0);
set_val(XB1_Y, 100);
wait(20);
set_val(XB1_Y, 0);
wait(590);
set_val(XB1_RT, 100);
wait(230);
set_val(XB1_RT, 0);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 0);

// Second wave

wait(730);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(200);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);
}

Mikehell
3rd April 16, 19:49
It should look like this :





//-----------------------------------------------------
int Right;
int Left;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start
if(get_val(11) >20 || get_val(16)){Right = 16; Left = 15;}
if(get_val(11) <-20 || get_val(15)){Right = 15; Left = 16;}
///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////

// right combo - hold Right Stick to the Right
if (get_val (XB1_RX) >= 60) {
combo_run(killer)
}

// leftcombo- hold Right Stick to the Left
if (get_val (XB1_RX) <= -60) {
combo_run (killer2)
}

if (get_val (XB1_RY) >= 60) {
combo_run(final1)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {
combo_stop (killer);
combo_stop (killer2);
combo_stop (final1);
combo_stop (final2);
}

if(combo_running(killer) || combo_running(killer2) || combo_running(final1) || combo_running(final2)){
set_val( 3,0);
set_val(4,0);
set_val(5,0);
set_val(6,0);
set_val(7,0);
set_val(8,0);
set_val(17,0);
set_val(18,0);
set_val(19,0);
set_val(20,0);
}

}// main block end

combo killer {
set_val(Right, 100);
wait(500);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(120);
set_val(Right, 100);
wait(560);
set_val(Right, 0);
wait(50);
set_val(Left, 100);
wait(30);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(160);
set_val(Left, 0);
set_val(XB1_Y, 100);
wait(20);
set_val(XB1_Y, 0);
wait(590);
set_val(XB1_RT, 100);
wait(230);
set_val(XB1_RT, 0);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 100);
wait(90);
set_val(Left, 100);
set_val(XB1_Y, 0);

// Second wave

wait(730);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(200);
set_val(Right, 0);
set_val(XB1_RT, 100);
wait(50);
set_val(Right, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
wait(300);
set_val(XB1_DOWN, 100);
set_val(Right, 100);
set_val(XB1_B, 100);
}


Thanks pal, also, can you tell me the procedure to make a combo work in any console and control?, im doing some combos for DoA5, but i want make it work in PS4 and Xbox One, thanks.

LEX LOST
3rd April 16, 19:59
this one will work with both consoles and controllers

Mikehell
3rd April 16, 20:21
this one will work with both consoles and controllers

Maybe im doing too much questions, sorry.

But, if i want a combo starts when yor press LT+Left in the Left Stick (or Left directional), because I Own a Arcade Stick and arcade stick does not have Right Stick, obliously.

int Right;int Left;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){Right = 16; Left = 15;}
if(get_val(11) <-20 || get_val(15)){Right = 15; Left = 16;}


///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////





// left overhead- hold Right Stick to the Down
if (get_val (PS4_RY) >= 60) {
combo_run(Combo1)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {


combo_stop (Combo1);


}

}// main block end


combo Combo1 {

set_val(XB1_LEFT, 100);
wait(90);
set_val(XB1_LEFT, 0);
wait(70);
set_val(XB1_LEFT, 100);
wait(30);
set_val(XB1_LEFT, 100);
set_val(XB1_B, 100);
wait(10);
set_val(XB1_LEFT, 100);
set_val(XB1_Y, 100);
set_val(XB1_B, 100);
wait(60);
set_val(XB1_LEFT, 0);
set_val(XB1_Y, 100);
set_val(XB1_B, 100);

wait(1350);
set_val(XB1_Y, 0);
set_val(XB1_B, 100);
wait(20);
set_val(XB1_B, 0);


wait(250);
set_val(XB1_LEFT, 100);
wait(10);
set_val(XB1_LEFT, 100);
set_val(XB1_B, 100);
wait(140);
set_val(XB1_LEFT, 0);
set_val(XB1_B, 100);
wait(20);
set_val(XB1_B, 0);


wait(300);
set_val(XB1_B, 100);
wait(170);
set_val(XB1_B, 0);

wait(590);
set_val(XB1_RIGHT, 100);
wait(40);
set_val(XB1_RIGHT, 100);
set_val(XB1_B, 100);
wait(160);
set_val(XB1_RIGHT, 0);
set_val(XB1_B, 100);
wait(30);
set_val(XB1_B, 0);


wait(300);
set_val(XB1_LEFT, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(XB1_LEFT, 100);
wait(40);
set_val(XB1_DOWN, 100);
set_val(XB1_LEFT, 0);
wait(60);
set_val(XB1_DOWN, 100);
set_val(XB1_RIGHT, 100);
wait(10);
set_val(XB1_DOWN, 0);
set_val(XB1_RIGHT, 100);
wait(70);
set_val(XB1_RIGHT, 100);
set_val(XB1_A, 100);
wait(30);
set_val(XB1_RIGHT, 0);
set_val(XB1_A, 100);
wait(100);
set_val(XB1_A, 0);










wait(3000);
}

Im doing combos separated and then later will put togeter, this is one of them for DoA5, thanks in advance.

Excalibur
4th April 16, 11:11
Maybe im doing too much questions, sorry.

But, if i want a combo starts when yor press LT+Left in the Left Stick (or Left directional), because I Own a Arcade Stick and arcade stick does not have Right Stick, obliously.

int Right;int Left;


// MAIN BLOCK
//-----------------------------------------------------
main { // block start

if(get_val(11) >20 || get_val(16)){Right = 16; Left = 15;}
if(get_val(11) <-20 || get_val(15)){Right = 15; Left = 16;}


///////////////////////////////////////////////////////
//// RIGHT STICK COMBOS /////////////////////////////
///////////////////////////////////////////////////////





// left overhead- hold Right Stick to the Down
if (get_val (PS4_RY) >= 60) {
combo_run(Combo1)
}

// Cancel combos -----------------------------------------

if ( abs(get_val (XB1_RX))<= 20 && abs(get_val (XB1_RY)) <= 20) {


combo_stop (Combo1);


}

}// main block end


combo Combo1 {

set_val(XB1_LEFT, 100);
wait(90);
set_val(XB1_LEFT, 0);
wait(70);
set_val(XB1_LEFT, 100);
wait(30);
set_val(XB1_LEFT, 100);
set_val(XB1_B, 100);
wait(10);
set_val(XB1_LEFT, 100);
set_val(XB1_Y, 100);
set_val(XB1_B, 100);
wait(60);
set_val(XB1_LEFT, 0);
set_val(XB1_Y, 100);
set_val(XB1_B, 100);

wait(1350);
set_val(XB1_Y, 0);
set_val(XB1_B, 100);
wait(20);
set_val(XB1_B, 0);


wait(250);
set_val(XB1_LEFT, 100);
wait(10);
set_val(XB1_LEFT, 100);
set_val(XB1_B, 100);
wait(140);
set_val(XB1_LEFT, 0);
set_val(XB1_B, 100);
wait(20);
set_val(XB1_B, 0);


wait(300);
set_val(XB1_B, 100);
wait(170);
set_val(XB1_B, 0);

wait(590);
set_val(XB1_RIGHT, 100);
wait(40);
set_val(XB1_RIGHT, 100);
set_val(XB1_B, 100);
wait(160);
set_val(XB1_RIGHT, 0);
set_val(XB1_B, 100);
wait(30);
set_val(XB1_B, 0);


wait(300);
set_val(XB1_LEFT, 100);
wait(120);
set_val(XB1_DOWN, 100);
set_val(XB1_LEFT, 100);
wait(40);
set_val(XB1_DOWN, 100);
set_val(XB1_LEFT, 0);
wait(60);
set_val(XB1_DOWN, 100);
set_val(XB1_RIGHT, 100);
wait(10);
set_val(XB1_DOWN, 0);
set_val(XB1_RIGHT, 100);
wait(70);
set_val(XB1_RIGHT, 100);
set_val(XB1_A, 100);
wait(30);
set_val(XB1_RIGHT, 0);
set_val(XB1_A, 100);
wait(100);
set_val(XB1_A, 0);
wait(3000);
}



Im doing combos separated and then later will put togeter, this is one of them for DoA5, thanks in advance.


There is no problem if you ask - we will try to help no matter how many question do you have. :D
If you want to use Left Stick to activate combos - you need to use PS4_LX ( for X axis) or PS4_RY ( for Y axis ).

It doesn't matter what name of inputs you will use in you script , script will work on any console and with any controller.

for Ex. :



main {

if(get_val(XB1_LT)) {//-------------------------------

if(get_val(PS4_LY) <= -80) combo_run(combo1);
if(get_val(PS4_LY) >= 80) combo_run(combo2);

}//---------------------------------------------------

}