Tekken 7 is coming

Titan One general support. Questions, firmware update, feature request.

Tekken 7 is coming

Postby Heihachi Mishima » Thu Apr 27, 2017 3:15 am

Hello. I would like to ask for a script. So, i am new to the titan one and this device is truly amazing. I love it.
Now, im a tekken player and i would like a script for the mishima electric. There is one in the gpc library and its perfected. I tested it and its just perfect. Its a script for the electrics and the wavedash. I took that script and recreated it with gpc blocky and i removed what i don't need, wich is the wavedash, i only needed the electric. I changed the buttons to do the electric to the buttons i prefer.
Now my question is, can anyone please make this script both sided ? What i mean by that is...
I have the electric set to the R2 button and the R3 button. What i want is, for the electric to be with the R2 button on both sides. So the script i have is for the left side. When i stand on the left, i press forward on the d-pad and then R2 wich gives me the electric. The guy who uploaded this script (bushylambo2) truly perfected it. And this is coming from a long time tekken player. You can press the R2 immedtiately after the forward, and you don't even have to let go of the forward, and you'll still get the electric, wich is amazing, since the notation for the electric is, forward, neutral, down, downforward plus triangle. Its like the neutral is built in in the script, just perfect. So, can anyone please make this script both sides with the same button. The R2 button. Thats something i really don't know how to do. It would be really appreciated. And sorry for the long message. Ps: The titan one rocks :joia: This is the script.
//|-------------------------------|
//
// Script generated by GPC BLOCKLY
//|-------------------------------|

main {
if(event_press(PS4_R2)) {
combo_run(Tap_1);
combo_run(Tap_2);
combo_run(Tap_3);
combo_run(Tap_4);
}
}

combo Tap_1 {
set_val(PS4_DOWN, 0);
wait(20);
set_val(PS4_DOWN, 100);
wait(40);
set_val(PS4_DOWN, 100);
}

combo Tap_2 {
set_val(PS4_RIGHT, 0);
wait(30);
set_val(PS4_RIGHT, 100);
wait(40);
set_val(PS4_RIGHT, 100);
}

combo Tap_3 {
set_val(PS4_RIGHT, 0);
wait(40);
set_val(PS4_RIGHT, 100);
wait(40);
set_val(PS4_RIGHT, 100);
}

combo Tap_4 {
set_val(PS4_TRIANGLE, 0);
wait(40);
set_val(PS4_TRIANGLE, 100);
wait(40);
set_val(PS4_TRIANGLE, 100);
}
User avatar
Heihachi Mishima
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Thu Apr 27, 2017 2:33 am

Re: Tekken 7 is coming

Postby The_Rabid_Taco » Fri Apr 28, 2017 1:55 pm

This should do what you're looking for. If not let me know and I'll make some adjustments. Basically it watches for the right and left directions to be pressed. If right then stores a placeholder, same with left. When R2 is pressed it uses that to then determine which direction to do the combo from. :smile0202:

Code: Select all
int lastPressed;
 
main {   
    // If on the right side then store a one as a right side indicator.
    if (get_val(PS4_RIGHT)) lastPressed = 1;
    // If on the left side then store a two as a left side indicator.
    if (get_val(PS4_LEFT)) lastPressed = 2;
 
    // This is where we use the indicators.  If R2 is pressed and the last
    // direction stored was right then we run the combo from the right side.
    if(event_press(PS4_R2) && lastPressed == 1) {
        combo_run(Tap_1);
        combo_run(Tap_21); // The extra one in the combo name to match the 1 = right
        combo_run(Tap_31); // The extra one in the combo name to match the 1 = right
        combo_run(Tap_4);
    // Or else if direction stored was left when R2 was pressed we run the
    // combo from the left side.
    } else if (event_press(PS4_R2) && lastPressed == 2) {
        combo_run(Tap_1);
        combo_run(Tap_22); // The extra two in the combo name to match the 2 = left
        combo_run(Tap_32); // The extra two in the combo name to match the 2 = left
        combo_run(Tap_4);
    }
}
 
combo Tap_1 {
    set_val(PS4_DOWN, 0);
    wait(20);
    set_val(PS4_DOWN, 100);
    wait(40);
    set_val(PS4_DOWN, 100);
}
 
combo Tap_21 {
    set_val(PS4_RIGHT, 0);
    wait(30);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_22 {
    set_val(PS4_LEFT, 0);
    wait(30);
    set_val(PS4_LEFT, 100);
    wait(40)
    set_val(PS4_LEFT, 100);
}
 
combo Tap_31 {
    set_val(PS4_RIGHT, 0);
    wait(40);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_32 {
    set_val(PS4_LEFT, 0);
    wait(40);
    set_val(PS4_LEFT, 100);
    wait(40);
    set_val(PS4_LEFT, 100);
}
 
combo Tap_4 {
    set_val(PS4_TRIANGLE, 0);
    wait(40);
    set_val(PS4_TRIANGLE, 100);
    wait(40);
    set_val(PS4_TRIANGLE, 100);
}
User avatar
The_Rabid_Taco
Major
Major
 
Posts: 1066
Joined: Wed Mar 16, 2016 6:04 pm
Location: Pensacola, FL

Re: Tekken 7 is coming

Postby Heihachi Mishima » Sun Apr 30, 2017 9:51 pm

WOW. Perfection, thank you so much. You did it perfect. Absolute perfection. Now, if i can bother you for one last thing. I would like you to put another script in the one you made, doing the same thing, i need it for both sides with the same button, the R3. It has to be put inside the script above though, and then my heihachi mishima is complete :smile0202:
This is the script. And again, thank you so much for your work and time. Much appreciated.
//|-------------------------------|
//
// Script generated by GPC BLOCKLY
//|-------------------------------|

main {
if(event_press(PS4_R3)) {
combo_run(Tap_1);
combo_run(Tap_2);
combo_run(Tap_3);
}
if(event_press(PS4_R3)) {
combo_run(Tap_4);
}
}

combo Tap_1 {
set_val(PS4_DOWN, 0);
wait(80);
set_val(PS4_DOWN, 100);
wait(40);
set_val(PS4_DOWN, 100);
}

combo Tap_2 {
set_val(PS4_RIGHT, 0);
wait(80);
set_val(PS4_RIGHT, 100);
wait(40);
set_val(PS4_RIGHT, 100);
}

combo Tap_3 {
set_val(PS4_SQUARE, 0);
wait(80);
set_val(PS4_SQUARE, 100);
wait(40);
set_val(PS4_SQUARE, 100);
}

combo Tap_4 {
set_val(PS4_RIGHT, 0);
wait(10);
set_val(PS4_RIGHT, 100);
wait(40);
set_val(PS4_RIGHT, 100);
}
Last edited by Heihachi Mishima on Wed May 03, 2017 7:58 am, edited 1 time in total.
User avatar
Heihachi Mishima
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Thu Apr 27, 2017 2:33 am

Re: Tekken 7 is coming

Postby The_Rabid_Taco » Mon May 01, 2017 1:03 pm

This I believe should do it for you. Let me know if anything needs adjusted. Other than that, have a blast!

Code: Select all
int lastPressed;
 
main {   
    // If on the right side then store a one as a right side indicator.
    if (get_val(PS4_RIGHT)) lastPressed = 1;
    // If on the left side then store a two as a left side indicator.
    if (get_val(PS4_LEFT)) lastPressed = 2;
 
    // This is where we use the indicators.  If R2 is pressed and the last
    // direction stored was right then we run the combo from the right side.
    if(event_press(PS4_R2) && lastPressed == 1) {
        combo_run(Tap_1);
        combo_run(Tap_21); // The extra one in the combo name to match the 1 = right
        combo_run(Tap_31); // The extra one in the combo name to match the 1 = right
        combo_run(Tap_4);
    // Or else if direction stored was left when R2 was pressed we run the
    // combo from the left side.
    } else if (event_press(PS4_R2) && lastPressed == 2) {
        combo_run(Tap_1);
        combo_run(Tap_22); // The extra two in the combo name to match the 2 = left
        combo_run(Tap_32); // The extra two in the combo name to match the 2 = left
        combo_run(Tap_4);
    }
 
    if(event_press(PS4_R3) && lastPressed == 1) {
        combo_run(Tap_5);
        combo_run(Tap_61);
        combo_run(Tap_7);
    }
 
    if(event_press(PS4_R3) && lastPressed == 2) {
        combo_run(Tap_5);
        combo_run(Tap_62);
        combo_run(Tap_7);
    }
 
    if(event_press(PS4_R3) && lastPressed == 1) {
        combo_run(Tap_81);
    }
 
    if(event_press(PS4_R3) && lastPRessed == 2) {
        combo_run(Tap_82);
    }
}
 
combo Tap_1 {
    set_val(PS4_DOWN, 0);
    wait(20);
    set_val(PS4_DOWN, 100);
    wait(40);
    set_val(PS4_DOWN, 100);
}
 
combo Tap_21 {
    set_val(PS4_RIGHT, 0);
    wait(30);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_22 {
    set_val(PS4_LEFT, 0);
    wait(30);
    set_val(PS4_LEFT, 100);
    wait(40)
    set_val(PS4_LEFT, 100);
}
 
combo Tap_31 {
    set_val(PS4_RIGHT, 0);
    wait(40);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_32 {
    set_val(PS4_LEFT, 0);
    wait(40);
    set_val(PS4_LEFT, 100);
    wait(40);
    set_val(PS4_LEFT, 100);
}
 
combo Tap_4 {
    set_val(PS4_TRIANGLE, 0);
    wait(40);
    set_val(PS4_TRIANGLE, 100);
    wait(40);
    set_val(PS4_TRIANGLE, 100);
}
 
combo Tap_5 {
    set_val(PS4_DOWN, 0);
    wait(80);
    set_val(PS4_DOWN, 100);
    wait(40);
    set_val(PS4_DOWN, 100);
}
 
combo Tap_61 {
    set_val(PS4_RIGHT, 0);
    wait(80);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_62 {
    set_val(PS4_LEFT, 0);
    wait(80);
    set_val(PS4_LEFT, 100);
    wait(40);
    set_val(PS4_LEFT, 100);
}
 
combo Tap_7 {
    set_val(PS4_SQUARE, 0);
    wait(80);
    set_val(PS4_SQUARE, 100);
    wait(40);
    set_val(PS4_SQUARE, 100);
}
 
combo Tap_81 {
    set_val(PS4_RIGHT, 0);
    wait(10);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_82 {
    set_val(PS4_LEFT, 0);
    wait(10);
    set_val(PS4_LEFT, 100);
    wait(40);
    set_val(PS4_LEFT, 100);
}
User avatar
The_Rabid_Taco
Major
Major
 
Posts: 1066
Joined: Wed Mar 16, 2016 6:04 pm
Location: Pensacola, FL

Re: Tekken 7 is coming

Postby bonefisher » Mon May 01, 2017 1:06 pm

Wish the combinations were that easy in MKX.....
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Tekken 7 is coming

Postby Heihachi Mishima » Mon May 01, 2017 5:44 pm

Hello. So, i copied and paste, but when i do that, it says this....
ERROR: A variable with the name 'lastPRessed' was not found! This error occured on line 41
Last processed line: 41

Help
User avatar
Heihachi Mishima
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Thu Apr 27, 2017 2:33 am

Re: Tekken 7 is coming

Postby J2Kbr » Mon May 01, 2017 6:11 pm

Please note the variable is declared at the very beginning of the code:
Code: Select all
int lastPressed;

Perhaps you have not selected this part before copy the code.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Tekken 7 is coming

Postby The_Rabid_Taco » Mon May 01, 2017 6:12 pm

Oh geez, that's what happens when I haven't had my coffee yet....

It was a typo on my part that for some reason I didn't catch. Capitalization matters and the R was upper case so it didn't recognize the variable. Try the one below, it compiled fine for me. Right now don't have the controller present to test it, but it should work the same as it did before, just with the new script added in.

Code: Select all
int lastPressed;
 
main {   
    // If on the right side then store a one as a right side indicator.
    if (get_val(PS4_RIGHT)) lastPressed = 1;
    // If on the left side then store a two as a left side indicator.
    if (get_val(PS4_LEFT)) lastPressed = 2;
 
    // This is where we use the indicators.  If R2 is pressed and the last
    // direction stored was right then we run the combo from the right side.
    if(event_press(PS4_R2) && lastPressed == 1) {
        combo_run(Tap_1);
        combo_run(Tap_21); // The extra one in the combo name to match the 1 = right
        combo_run(Tap_31); // The extra one in the combo name to match the 1 = right
        combo_run(Tap_4);
    // Or else if direction stored was left when R2 was pressed we run the
    // combo from the left side.
    } else if (event_press(PS4_R2) && lastPressed == 2) {
        combo_run(Tap_1);
        combo_run(Tap_22); // The extra two in the combo name to match the 2 = left
        combo_run(Tap_32); // The extra two in the combo name to match the 2 = left
        combo_run(Tap_4);
    }
 
    if(event_press(PS4_R3) && lastPressed == 1) {
        combo_run(Tap_5);
        combo_run(Tap_61);
        combo_run(Tap_7);
    }
 
    if(event_press(PS4_R3) && lastPressed == 2) {
        combo_run(Tap_5);
        combo_run(Tap_62);
        combo_run(Tap_7);
    }
 
    if(event_press(PS4_R3) && lastPressed == 1) {
        combo_run(Tap_81);
    }
 
    if(event_press(PS4_R3) && lastPressed == 2) {
        combo_run(Tap_82);
    }
}
 
combo Tap_1 {
    set_val(PS4_DOWN, 0);
    wait(20);
    set_val(PS4_DOWN, 100);
    wait(40);
    set_val(PS4_DOWN, 100);
}
 
combo Tap_21 {
    set_val(PS4_RIGHT, 0);
    wait(30);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_22 {
    set_val(PS4_LEFT, 0);
    wait(30);
    set_val(PS4_LEFT, 100);
    wait(40)
    set_val(PS4_LEFT, 100);
}
 
combo Tap_31 {
    set_val(PS4_RIGHT, 0);
    wait(40);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_32 {
    set_val(PS4_LEFT, 0);
    wait(40);
    set_val(PS4_LEFT, 100);
    wait(40);
    set_val(PS4_LEFT, 100);
}
 
combo Tap_4 {
    set_val(PS4_TRIANGLE, 0);
    wait(40);
    set_val(PS4_TRIANGLE, 100);
    wait(40);
    set_val(PS4_TRIANGLE, 100);
}
 
combo Tap_5 {
    set_val(PS4_DOWN, 0);
    wait(80);
    set_val(PS4_DOWN, 100);
    wait(40);
    set_val(PS4_DOWN, 100);
}
 
combo Tap_61 {
    set_val(PS4_RIGHT, 0);
    wait(80);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_62 {
    set_val(PS4_LEFT, 0);
    wait(80);
    set_val(PS4_LEFT, 100);
    wait(40);
    set_val(PS4_LEFT, 100);
}
 
combo Tap_7 {
    set_val(PS4_SQUARE, 0);
    wait(80);
    set_val(PS4_SQUARE, 100);
    wait(40);
    set_val(PS4_SQUARE, 100);
}
 
combo Tap_81 {
    set_val(PS4_RIGHT, 0);
    wait(10);
    set_val(PS4_RIGHT, 100);
    wait(40);
    set_val(PS4_RIGHT, 100);
}
 
combo Tap_82 {
    set_val(PS4_LEFT, 0);
    wait(10);
    set_val(PS4_LEFT, 100);
    wait(40);
    set_val(PS4_LEFT, 100);
}


You know, you would think I'd learn NOT to post things before my first cup of coffee. :oops:
User avatar
The_Rabid_Taco
Major
Major
 
Posts: 1066
Joined: Wed Mar 16, 2016 6:04 pm
Location: Pensacola, FL

Re: Tekken 7 is coming

Postby Heihachi Mishima » Mon May 01, 2017 6:43 pm

Haha, i know the feeling. Must....have....coffee. lol, its all good man, plus, it worked like magic. Script is perfect. Thank you very much. Now, i might bug you for another script for marshall law, if thats ok with you, but ill post that tomorrow or the day after, just have to figure out the best way to explain it. Cuz that one i cant even make with gpc blocky. i keep missing something, i don't get it. but for you it will be as easy as the one you just made. Thanks again for your help :joia:
User avatar
Heihachi Mishima
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Thu Apr 27, 2017 2:33 am

Re: Tekken 7 is coming

Postby The_Rabid_Taco » Tue May 02, 2017 12:37 pm

Always good. Glad to hear that one is working perfectly. Don't have Marshall Law but I'm sure we can come up with a working script, and I'm always happy to help out a fellow gamer!
User avatar
The_Rabid_Taco
Major
Major
 
Posts: 1066
Joined: Wed Mar 16, 2016 6:04 pm
Location: Pensacola, FL

Next

Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 85 guests