NBA 2K17 Dribble

GPC1 script programming for Titan One. Code examples, questions, requests.

NBA 2K17 Dribble

Postby vBlasts » Sat Apr 01, 2017 5:53 pm

Hello, can someone make this script for me so that this combo is transferred to the correlation of RT + Right Analog to the right, this was also recorded using combo magick

Code: Select all
//
// 4/1/2017 12:50:06 PM
// Combo generated by Combo Magick Plugin
//----------------------------------------
combo magick {
    set_val(XB1_RY, 55);
    wait(10);
    set_val(XB1_RY, 76);
    wait(20);
    set_val(XB1_RY, 100);
    wait(100);
    set_val(XB1_RY, 0);
    wait(100);
    set_val(XB1_RX, 36);
    wait(20);
    set_val(XB1_RX, 70);
    wait(10);
    set_val(XB1_RX, 100);
    wait(100);
    set_val(XB1_RX, 54);
    wait(10);
    set_val(XB1_RX, -35);
    wait(10);
    set_val(XB1_RX, 0);
    wait(70);
    set_val(XB1_RX, -35);
    wait(10);
    set_val(XB1_RX, -57);
    wait(10);
    set_val(XB1_RX, -90);
    wait(10);
    set_val(XB1_RX, -100);
    wait(100);
    set_val(XB1_RX, 0);
}
User avatar
vBlasts
First Sergeant
First Sergeant
 
Posts: 64
Joined: Mon Mar 21, 2016 2:05 am

Re: NBA 2K17 Dribble

Postby J2Kbr » Fri Apr 07, 2017 12:55 pm

Please check if this does what you need:
Code: Select all
int dir = 1;
 
main {
    if(get_val(XB1_RT) && !combo_running(magick)) {
        if(get_val(XB1_RX) >= 0) { // right direction
            dir = 1;
        } else { // left direction
            dir = -1;
        }
        combo_run(magick);
    }
}
 
combo magick {
    set_val(XB1_RY, 55);
    wait(10);
    set_val(XB1_RY, 76);
    wait(20);
    set_val(XB1_RY, 100);
    wait(100);
    set_val(XB1_RY, 0);
    wait(100);
    set_val(XB1_RX, 36 * dir);
    wait(20);
    set_val(XB1_RX, 70 * dir);
    wait(10);
    set_val(XB1_RX, 100 * dir);
    wait(100);
    set_val(XB1_RX, 54 * dir);
    wait(10);
    set_val(XB1_RX, -35 * dir);
    wait(10);
    set_val(XB1_RX, 0 * dir);
    wait(70);
    set_val(XB1_RX, -35 * dir);
    wait(10);
    set_val(XB1_RX, -57 * dir);
    wait(10);
    set_val(XB1_RX, -90 * dir);
    wait(10);
    set_val(XB1_RX, -100 * dir);
    wait(100);
    set_val(XB1_RX, 0 * dir);
}
 
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: NBA 2K17 Dribble

Postby vBlasts » Sat Apr 08, 2017 9:13 pm

Ok, so the replied script didn't work, I figured maybe if I just explained the controls in order, then you'd be able to make the script. Also this is xbox controls

Combo=
1. (Right Analog Stick) move diagonally back/(the bottom) to the left
2. (Right Analog Stick) move directly back/ (the bottom)
3. (Right Analog Stick) move directly to the left
4. (Right Analog Stick) move directly to the right

Reminder: these moves need to be done simultaneously and corresponding to the previous moves, so maybe you could make like 2 or 3 scripts one where it's done really fast, one just fast, and then one normal? THANKS
User avatar
vBlasts
First Sergeant
First Sergeant
 
Posts: 64
Joined: Mon Mar 21, 2016 2:05 am

Re: NBA 2K17 Dribble

Postby vBlasts » Sun Apr 09, 2017 3:28 pm

@J2Kbr
User avatar
vBlasts
First Sergeant
First Sergeant
 
Posts: 64
Joined: Mon Mar 21, 2016 2:05 am

Re: NBA 2K17 Dribble

Postby J2Kbr » Mon Apr 17, 2017 9:32 am

Sorry for taking so long in reply.

You can configure the speed of the combo in the first line, higher the number, slower the combo will run.

Code: Select all
define SPEED    = 40;
 
main {
    if(get_val(XB1_RT) && !combo_running(NBA2K17Dribble)) {
        combo_run(NBA2K17Dribble);
    }
}
 
combo NBA2K17Dribble {
    set_val(XB1_RY,    0);
    set_val(XB1_RX,    0);
    wait(SPEED);
 
    // 1. (Right Analog Stick) move diagonally back/(the bottom) to the left
    set_val(XB1_RY100);
    set_val(XB1_RX, -100);
    wait(SPEED);
 
    // 2. (Right Analog Stick) move directly back/ (the bottom)
    set_val(XB1_RY100);
    set_val(XB1_RX,    0);
    wait(SPEED);
 
    // 3. (Right Analog Stick) move directly to the left
    set_val(XB1_RY,    0);
    set_val(XB1_RX, -100);
    wait(SPEED);
 
    // 4. (Right Analog Stick) move directly to the right
    set_val(XB1_RY,    0);
    set_val(XB1_RX100);
    wait(SPEED);
}
 
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: NBA 2K17 Dribble

Postby burchchar » Mon Jun 26, 2017 7:02 am

2k 17 need strip made for a spin move

Hold down the circle BUTTON to do a spin move




Rotate the ((right Analog )) from ball hand around the players back then quickly release need it program just by holding down the circle BUTTON to do a spin move
User avatar
burchchar
Sergeant
Sergeant
 
Posts: 9
Joined: Mon Jun 05, 2017 3:23 pm


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 127 guests