PDA

View Full Version : Button Layout



Pitty
7th January 16, 09:22
Hi guys Im new I only got my Cronusmax yesterday and Im no programmer but I have to say its brilliant I have had loads of fun already, my problem is, ever since ps4 have had the option to change button layout i have had my layout changed so when making my macros i guess ill have to put a few blocks in that state my button layout, so i have now changed the buttons on my PS4 back to original and have made a script with visual script to change my layout and it works great! but when i try to put this layout with another macro/combo I get an error or the macro doesnt work, so my question is how do i string together all my macros into 1 script that has my button layout in each 1

Swizzy
7th January 16, 09:32
CronusMAX reads the inputs from your controller, as does the plugins, they don't know your mappings... therefor, when you record combo's you'll have to have to keep in mind that it's reading the input from the controller and nothing else, later on you can change the set_val(...., ###); values to match your mappings OR you can add the remap keyword at the top of your scripts and it'll do the remapping for you on the output (the remapping is done after the script has done it's thing)

If you tell us about the error you're getting when trying to do this, we can try to help you solve the problem

Pitty
7th January 16, 10:27
Well the macro that i added wasnt important it was just an example so i could test putting 2 macros together, all i did is i made the script for button mapping perfect i then added a simple sprint macro that was already made in visual script, so the button layout was at the top and the sprint was under it, it didnt work, the script i was making wasnt important i just need to know how to sting everything it all together, my second problem was using the record or combo plugin is that the record doesnt give me the option to see what it has done i can only replay it, and the combo pluggin does allow me to change it into script but when i played it it dint work, even though i just recorded the steps whilst playing the game i want the macro for

I get an error when trying to make this script, the error says combo


//// 07/01/2016 14:23:10
// Combo generated by MAX Combo Plugin.
//----------------------------------------
combo maxcmb {
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(60);
set_val(PS4_LY, -73);
wait(30);
set_val(PS4_LY, -43);
wait(20);
set_val(PS4_LY, 0);
wait(420);
set_val(PS4_LY, -34);
wait(30);
set_val(PS4_LY, -58);
wait(50);
set_val(PS4_LY, -79);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -91);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(480);
set_val(PS4_LY, -77);
wait(50);
set_val(PS4_LY, -53);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -52);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -67);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -90);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(50);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(140);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(190);
set_val(PS4_LY, -79);
wait(180);
set_val(PS4_R1, 100);
set_val(PS4_LY, -88);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -99);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(130);
set_val(PS4_R1, 100);
set_val(PS4_LY, -87);
wait(40);
set_val(PS4_R1, 100);
set_val(PS4_LY, -81);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -79);
set_val(PS4_CROSS, 0);
wait(30);
set_val(PS4_R1, 0);
set_val(PS4_LY, -79);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -79);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(50);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(130);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(150);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(120);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(120);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(150);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(360);
set_val(PS4_R1, 100);
set_val(PS4_LY, -99);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(60);
set_val(PS4_R1, 100);
set_val(PS4_LY, -99);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -99);
wait(10);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(130);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(130);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(130);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(140);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(40);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(150);
set_val(PS4_LY, -78);
wait(180);
set_val(PS4_LY, -57);
wait(70);
set_val(PS4_LY, -34);
wait(20);
set_val(PS4_LY, 0);
}

Swizzy
7th January 16, 12:28
Well the macro that i added wasnt important it was just an example so i could test putting 2 macros together, all i did is i made the script for button mapping perfect i then added a simple sprint macro that was already made in visual script, so the button layout was at the top and the sprint was under it, it didnt work, the script i was making wasnt important i just need to know how to sting everything it all together, my second problem was using the record or combo plugin is that the record doesnt give me the option to see what it has done i can only replay it, and the combo pluggin does allow me to change it into script but when i played it it dint work, even though i just recorded the steps whilst playing the game i want the macro for

I get an error when trying to make this script, the error says combo


//// 07/01/2016 14:23:10
// Combo generated by MAX Combo Plugin.
//----------------------------------------
combo maxcmb {
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(60);
set_val(PS4_LY, -73);
wait(30);
set_val(PS4_LY, -43);
wait(20);
set_val(PS4_LY, 0);
wait(420);
set_val(PS4_LY, -34);
wait(30);
set_val(PS4_LY, -58);
wait(50);
set_val(PS4_LY, -79);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -91);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(480);
set_val(PS4_LY, -77);
wait(50);
set_val(PS4_LY, -53);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -52);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -67);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -90);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(50);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(140);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(190);
set_val(PS4_LY, -79);
wait(180);
set_val(PS4_R1, 100);
set_val(PS4_LY, -88);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -99);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(130);
set_val(PS4_R1, 100);
set_val(PS4_LY, -87);
wait(40);
set_val(PS4_R1, 100);
set_val(PS4_LY, -81);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -79);
set_val(PS4_CROSS, 0);
wait(30);
set_val(PS4_R1, 0);
set_val(PS4_LY, -79);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -79);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(50);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(130);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(150);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(120);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(120);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(150);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(360);
set_val(PS4_R1, 100);
set_val(PS4_LY, -99);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(60);
set_val(PS4_R1, 100);
set_val(PS4_LY, -99);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -99);
wait(10);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(130);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(130);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(130);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(140);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(40);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(150);
set_val(PS4_LY, -78);
wait(180);
set_val(PS4_LY, -57);
wait(70);
set_val(PS4_LY, -34);
wait(20);
set_val(PS4_LY, 0);
}


That's not a very helpful error description, it must be saying something more then "combo"... please copy 'n' paste the entire error you're getting and also paste the entire script you tried to compile, if you're trying to just compile this combo, then that's the problem as you need a main section ( main { } ) with a way to start the combo (or it'll never run)

Pitty
7th January 16, 12:48
Sorry about not being helpful but i am new, ------ GPC: Build started ------ > 1: New* :
> ERROR line 5: syntax error near unexpected token 'combo'.
Build failed with 1 errors ... I cant run the script as the script has errors so it cant be built

KittyDawn
7th January 16, 16:08
You need a main section before the combo and you also need to program a way to run said combo.

Pitty
8th January 16, 10:09
Thank you I understand now, i had a go but i get errors, all i want to do is try this script, i want the script to toggle on and off if i click R3, i need the button layout/swap and that works fine i just need help putting this together now

main {
swap(PS4_R1, PS4_CROSS);
swap(PS4_CROSS, PS4_R1);
swap(PS4_L3, PS4_SQUARE);
swap(PS4_SQUARE, PS4_L3);
swap(PS4_UP, PS4_CIRCLE);
swap(PS4_CIRCLE, PS4_UP);
}
if(toggle){
combo_run(bunnyhop);
}
combo bunnyhop {
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(60);
set_val(PS4_LY, -73);
wait(30);
set_val(PS4_LY, -43);
wait(20);
set_val(PS4_LY, 0);
wait(420);
set_val(PS4_LY, -34);
wait(30);
set_val(PS4_LY, -58);
wait(50);
set_val(PS4_LY, -79);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -91);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(480);
set_val(PS4_LY, -77);
wait(50);
set_val(PS4_LY, -53);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -52);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -67);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -90);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(50);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(140);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(190);
set_val(PS4_LY, -79);
wait(180);
set_val(PS4_R1, 100);
set_val(PS4_LY, -88);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -99);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(130);
set_val(PS4_R1, 100);
set_val(PS4_LY, -87);
wait(40);
set_val(PS4_R1, 100);
set_val(PS4_LY, -81);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -79);
set_val(PS4_CROSS, 0);
wait(30);
set_val(PS4_R1, 0);
set_val(PS4_LY, -79);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -79);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(50);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(130);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(150);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(120);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(120);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(150);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(360);
set_val(PS4_R1, 100);
set_val(PS4_LY, -99);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(60);
set_val(PS4_R1, 100);
set_val(PS4_LY, -99);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -99);
wait(10);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(130);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(130);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(90);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(130);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(90);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(120);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(10);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(140);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(40);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(80);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(20);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(110);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(150);
set_val(PS4_LY, -78);
wait(180);
set_val(PS4_LY, -57);
wait(70);
set_val(PS4_LY, -34);
wait(20);
set_val(PS4_LY, 0);
}

LEX LOST
8th January 16, 10:37
Thank you I understand now, i had a go but i get errors, all i want to do is try this script, i want the script to toggle on and off if i click R3, i need the button layout/swap and that works fine i just need help putting this together now


your combo is too long and exceed maximum bytecode length (4096 bytes).
Combos can run in loop and there's non need for a so long bunny hop script
Anyway add to this script a shorter combo (line #22)


int toggle = PS4_R3;
int onoff;

main {
swap(PS4_R1, PS4_CROSS);
swap(PS4_CROSS, PS4_R1);
swap(PS4_L3, PS4_SQUARE);
swap(PS4_SQUARE, PS4_L3);
swap(PS4_UP, PS4_CIRCLE);
swap(PS4_CIRCLE, PS4_UP);

if(event_press (toggle)){onoff=!onoff;}
if(onoff) {combo_run(bunnyhop);
}
}
combo bunnyhop {

//put your combo here
} //end

Pitty
8th January 16, 10:49
Thank you bro I know its long i just need to run it so i know what to take out, but ill try with half the script, i see buttons being pressed that dont even need to be pressed i guess i pressed them in a panic of trying to record the combo plus press the record button lol, is there a way when recording my combos in the combo plugin, to start the plugin with my control pad, instead of taking my hand of to press start?

Pitty
8th January 16, 10:57
just tried and it works thank you

LEX LOST
8th January 16, 11:03
Thank you bro I know its long i just need to run it so i know what to take out, but ill try with half the script, i see buttons being pressed that dont even need to be pressed i guess i pressed them in a panic of trying to record the combo plus press the record button lol, is there a way when recording my combos in the combo plugin, to start the plugin with my control pad, instead of taking my hand of to press start?

1) there's no need to panic: Max combo gives you 3 seconds before starting. Also, it will start to capture the combo only when you touch controllers buttons;

2) half script is too much. This should be enough:
int toggle = PS4_R3;
int onoff;

main {
swap(PS4_R1, PS4_CROSS);
swap(PS4_CROSS, PS4_R1);
swap(PS4_L3, PS4_SQUARE);
swap(PS4_SQUARE, PS4_L3);
swap(PS4_UP, PS4_CIRCLE);
swap(PS4_CIRCLE, PS4_UP);

if(event_press (toggle)){onoff=!onoff;}
if(onoff) {combo_run(bunnyhop);
}
}
combo bunnyhop {
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(100);
set_val(PS4_R1, 100);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 0);
wait(20);
set_val(PS4_R1, 0);
set_val(PS4_LY, -100);
wait(80);
set_val(PS4_LY, -100);
set_val(PS4_CROSS, 100);
wait(10);
}//end

Pitty
8th January 16, 12:05
Thank you, i used the formula in my next script it also worked great but my problem is, i need the toggle to be a press so it doesnt loop and i dont have to toggle it off, i also need the execute button to be changed from R3 to L2 and triangle heres my script


int toggle = PS4_R3;
int onoff;

main {
swap(PS4_CROSS, PS4_R1);
swap(PS4_SQUARE, PS4_L3);
swap(PS4_CIRCLE, PS4_UP);

if(event_press (toggle)){onoff=!onoff;}
if(onoff) {combo_run(easyway);
}
}
combo easyway {

set_val(PS4_TOUCH, 100);
wait(450);
set_val(PS4_TOUCH, 0);
wait(76);
set_val(PS4_UP, 100);
wait(28);
set_val(PS4_UP, 0);
wait(10);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_CROSS, 0);
}



EDITED as I fixed some problems myself

LEX LOST
8th January 16, 13:48
if I correctly understood, you want this combo to run once and only if you press L2 and triangle together?

Pitty
8th January 16, 14:35
Yes!

LEX LOST
8th January 16, 16:13
Yes!

always remember to use gpc wrapper while posting a script.

here you are:

main {
swap(PS4_CROSS, PS4_R1);
swap(PS4_SQUARE, PS4_L3);
swap(PS4_CIRCLE, PS4_UP);

if(get_val(PS4_L2) && event_press (PS4_TRIANGLE)){
combo_run(easyway);
set_val(PS4_L2, 0);
set_val(PS4_TRIANGLE, 0);
}
}
combo easyway {
set_val(PS4_TOUCH, 100);
wait(450);
set_val(PS4_TOUCH, 0);
wait(76);
set_val(PS4_UP, 100);
wait(28);
set_val(PS4_UP, 0);
wait(10);
set_val(PS4_CROSS, 100);
wait(30);
set_val(PS4_CROSS, 0);
}//end

Pitty
8th January 16, 16:25
Thank you ill try it as soon as i can and let you know how it went