MKX Script

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

MKX Script

Postby ViciousXlV » Mon Mar 11, 2019 9:20 am

Hi im new im just wondering if someone could help me make a macro for instant air fireball Up Back foward Square im a little lost on how to create a script
User avatar
ViciousXlV
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Mar 11, 2019 9:16 am

Re: MKX Script

Postby J2Kbr » Mon Mar 11, 2019 12:04 pm

Welcome to our forums.

What you is requesting is relatively easy to implement. Please let us know what button you want use to trigger this combo.

Alternatively you can use the Combo Magick plugin to generate the combo sequence, as explained here:

viewtopic.php?f=18&t=5873&p=43523
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 17121
Joined: Tue Mar 18, 2014 1:39 pm

Re: MKX Script

Postby ViciousXlV » Mon Mar 11, 2019 5:01 pm

Hello, thank you for respond the button for this command is Up on the D pad Then Back Foward Square But i would like it to come out Instantly as soon as i leave the ground. Thank You
User avatar
ViciousXlV
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Mar 11, 2019 9:16 am

Re: MKX Script

Postby ViciousXlV » Tue Mar 12, 2019 2:56 pm

Also i would like to use R3
User avatar
ViciousXlV
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Mar 11, 2019 9:16 am

Re: MKX Script

Postby J2Kbr » Thu Mar 14, 2019 7:45 am

Please test the script below (for character on the left side).
Code: Select all
main {
    if(event_press(PS4_R3)) {
        combo_run(MKX_LeftSide);
    }
}
 
combo MKX_LeftSide {
    // Up on the D pad
    set_val(PS4_UP, 100);
    wait(40);
 
    // Then Back
    set_val(PS4_LEFT, 100);
    wait(40);
 
    // Foward
    set_val(PS4_RIGHT, 100);
    wait(40);
 
    // Square
    set_val(PS4_RIGHT, 100);
    set_val(PS4_SQUARE, 100);
    wait(40);
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 17121
Joined: Tue Mar 18, 2014 1:39 pm

Re: MKX Script

Postby ViciousXlV » Thu Mar 14, 2019 10:16 pm

yes works great on the left side thank you now i just need it for the right side
User avatar
ViciousXlV
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Mar 11, 2019 9:16 am

Re: MKX Script

Postby ViciousXlV » Fri Mar 15, 2019 4:01 pm

could i just below this script copy and paste and do right left instead of left right? im confused cause i want it to work on both sides
User avatar
ViciousXlV
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Mar 11, 2019 9:16 am

Re: MKX Script

Postby J2Kbr » Sat Mar 16, 2019 12:10 pm

I changed the script so it can work on both sides (left/right).
Just be sure to move in direction of the opponent before start the combo.
Code: Select all
int FORWARD = PS4_RIGHT;
int BACK = PS4_LEFT;
 
main {
    if(get_val(PS4_RIGHT) || get_val(PS4_LX) >= 30) {
        BACK = PS4_LEFT;
        FORWARD = PS4_RIGHT;
    } else if(get_val(PS4_LEFT) || get_val(PS4_LX) <= -30) {
        BACK = PS4_RIGHT;
        FORWARD = PS4_LEFT;
    }
    if(event_press(PS4_R3)) {
        combo_run(MKX_LeftSide);
    }
}
 
combo MKX_LeftSide {
    // Up on the D pad
    set_val(PS4_UP, 100);
    wait(40);
 
    // Then Back
    set_val(BACK, 100);
    wait(40);
 
    // Foward
    set_val(FORWARD, 100);
    wait(40);
 
    // Square
    set_val(FORWARD, 100);
    set_val(PS4_SQUARE, 100);
    wait(40);
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 17121
Joined: Tue Mar 18, 2014 1:39 pm

Re: MKX Script

Postby ViciousXlV » Sat Mar 16, 2019 5:26 pm

right side is great but on the left its not at consistant is there a way so I onlyhave to press it button for it to work on the rightside? I want it r2 for the right side
User avatar
ViciousXlV
Staff Sergeant
Staff Sergeant
 
Posts: 14
Joined: Mon Mar 11, 2019 9:16 am

Re: MKX Script

Postby J2Kbr » Sun Mar 17, 2019 9:16 am

With other button for the left side makes easy:
Code: Select all
int BACK    = PS4_LEFT;
int FORWARD = PS4_RIGHT;
 
main {
    if(!combo_running(MKX_Combo)) {
        if(event_press(PS4_R3)) {
            BACK    = PS4_LEFT;
            FORWARD = PS4_RIGHT;
            combo_run(MKX_Combo);
        }
        if(event_press(PS4_R2)) {
            BACK    = PS4_RIGHT;
            FORWARD = PS4_LEFT;
            combo_run(MKX_Combo);
        }
    }
}
 
combo MKX_Combo {
    // Up on the D pad
    set_val(PS4_UP, 100);
    wait(40);
 
    // Then Back
    set_val(BACK, 100);
    wait(40);
 
    // Foward
    set_val(FORWARD, 100);
    wait(40);
 
    // Square
    set_val(FORWARD, 100);
    set_val(PS4_SQUARE, 100);
    wait(40);
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 17121
Joined: Tue Mar 18, 2014 1:39 pm


Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 3 guests