PDA

View Full Version : PS4 I need help with binding combos to buttons.



Trace
15th January 18, 14:06
I have created two combos using the Max Combo program and I don't know how to activate them. IF you would like to help me then you should know that i want the first combo bonded to the left button on the d-pad and i would like the second bonded to the right one.






//
// 2018-01-15 12:50:59
// Combo generated by MAX Combo Plugin.
//----------------------------------------
combo maxcmb {
set_val(PS4_DOWN, 100);
wait(170);
set_val(PS4_DOWN, 100);
set_val(PS4_LEFT, 100);
wait(110);
set_val(PS4_DOWN, 0);
set_val(PS4_LEFT, 100);
wait(50);
set_val(PS4_R1, 100);
set_val(PS4_LEFT, 100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LEFT, 0);
wait(830);
set_val(PS4_R1, 0);
}







//
// 2018-01-15 12:50:59
// Combo generated by MAX Combo Plugin.
//----------------------------------------
combo maxcmb {
set_val(PS4_DOWN, 100);
wait(170);
set_val(PS4_DOWN, 100);
set_val(PS4_LEFT, 100);
wait(110);
set_val(PS4_DOWN, 0);
set_val(PS4_LEFT, 100);
wait(50);
set_val(PS4_R1, 100);
set_val(PS4_LEFT, 100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LEFT, 0);
wait(830);
set_val(PS4_R1, 0);
}

Batts
15th January 18, 22:48
This should work.....

main {


if (get_val(PS4_LEFT)) combo_run(maxcmb1);

if (get_val(PS4_RIGHT)) combo_run(maxcmb2);



}


combo maxcmb1 {
set_val(PS4_DOWN, 100);
wait(170);
set_val(PS4_DOWN, 100);
set_val(PS4_LEFT, 100);
wait(110);
set_val(PS4_DOWN, 0);
set_val(PS4_LEFT, 100);
wait(50);
set_val(PS4_R1, 100);
set_val(PS4_LEFT, 100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LEFT, 0);
wait(830);
set_val(PS4_R1, 0);
}


combo maxcmb2 {
set_val(PS4_DOWN, 100);
wait(170);
set_val(PS4_DOWN, 100);
set_val(PS4_LEFT, 100);
wait(110);
set_val(PS4_DOWN, 0);
set_val(PS4_LEFT, 100);
wait(50);
set_val(PS4_R1, 100);
set_val(PS4_LEFT, 100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LEFT, 0);
wait(830);
set_val(PS4_R1, 0);
}