PDA

View Full Version : Akuma Trial 4 my first attempt at script



fjear
12th April 17, 17:06
Greetings everyone after playing around with cronusmax and reading a little bit about GPC, I attempted to create my first scrpt it's for Akuma Trial 4 it runs great until the last two parts of the combo. I think either my timing is wrong or my code is not right.

If anyone has Street Fighter V and some spare time I'd appreciate it if they can help me out thanks.

// AKUMA TRIAL 4

int Forward;
int Back;

main {
// T4
if (get_val (PS4_RX) >= 60) {
Forward=16;Back=15;
combo_run (T_4)
}

// Cancel Trial
if (abs(get_val (PS4_RX)) <= 20) {
combo_stop (T_4)
}
}

combo T_4{

set_val(PS4_RIGHT, 100);
wait (100);
set_val(PS4_UP, 100);
set_val(PS4_RIGHT, 100);
wait(360);
set_val(PS4_UP, 0);
set_val(PS4_RIGHT, 100);
wait(40);
set_val(PS4_RIGHT, 0);
wait(150);
set_val(PS4_R1, 100);
wait(240);
set_val(PS4_R1, 0);
wait(30);
set_val(PS4_DOWN, 100);
wait(260);
set_val(PS4_DOWN, 100);
set_val(PS4_TRIANGLE, 100);
wait(210);
set_val(PS4_DOWN, 100);
set_val(PS4_TRIANGLE, 0);
wait(310);
set_val(PS4_DOWN, 0);
set_val(PS4_CIRCLE, 100);
wait (40);
set_val(PS4_DOWN, 100);
wait (40);
set_val(PS4_LEFT , 100);
set_val(PS4_DOWN , 100);
wait (40);
set_val(PS4_LEFT, 100);
wait (40);
set_val(PS4_CROSS, 100);
wait (40);
set_val(PS4_RIGHT, 100);
wait(500);
set_val(PS4_RIGHT, 0);
wait(770);
set_val(PS4_LEFT, 100);
wait(20);
set_val(PS4_DOWN, 100);
set_val(PS4_LEFT, 100);
wait(50);
set_val(PS4_DOWN, 100);
set_val(PS4_LEFT, 0);
wait(20);
set_val(PS4_DOWN, 100);
set_val(PS4_RIGHT, 100);
wait(50);
set_val(PS4_LX, 25);
set_val(PS4_DOWN, 100);
set_val(PS4_RIGHT, 100);
wait(10);
set_val(PS4_LX, 36);
set_val(PS4_DOWN, 100);
set_val(PS4_RIGHT, 100);
wait(10);
set_val(PS4_LX, 39);
set_val(PS4_DOWN, 0);
set_val(PS4_RIGHT, 100);
wait(10);
set_val(PS4_LX, 30);
set_val(PS4_RIGHT, 0);
set_val(PS4_CIRCLE, 100);
wait(10);
set_val(PS4_LX, 0);
set_val(PS4_CIRCLE, 100);
wait(10);
set_val(PS4_CIRCLE, 100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_CIRCLE, 0);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_CROSS, 0);
wait(300);
set_val(PS4_RIGHT, 100);
wait(60);
set_val(PS4_DOWN, 100);
set_val(PS4_RIGHT, 100);
wait(130);
set_val(PS4_DOWN, 100);
set_val(PS4_RIGHT, 0);
wait(40);
set_val(PS4_DOWN, 100);
set_val(PS4_LEFT, 100);
wait(40);
set_val(PS4_DOWN, 0);
set_val(PS4_LEFT, 100);
wait(10);
set_val(PS4_LEFT, 100);
set_val(PS4_CIRCLE, 100);
wait(20);
set_val(PS4_LEFT, 100);
set_val(PS4_CIRCLE, 100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LEFT, 0);
set_val(PS4_CIRCLE, 100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_CIRCLE, 0);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_CROSS, 0);
}