2k18 perfect shot release

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

2k18 perfect shot release

Postby burchchar » Mon Sep 25, 2017 3:16 am

Ok the controller will vibrate when it time to release the ((shoot BUTTON)) Could they be a timer set to release Square button when It vibrate but the Vibrate Changes depending on the shot tho can some work with this information
User avatar
burchchar
Sergeant
Sergeant
 
Posts: 9
Joined: Mon Jun 05, 2017 3:23 pm

Re: 2k18 perfect shot release

Postby J2Kbr » Mon Sep 25, 2017 9:25 pm

Try this:
Code: Select all
main {
    if(get_rumble(RUMBLE_A)) {
        combo_run(ReleaseSQUARE);
    }
}
 
combo ReleaseSQUARE {
    wait(500); // timeout to release SQUARE
 
    set_val(PS4_SQUARE, 0); // release square
    wait(1000);
}
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: 2k18 perfect shot release

Postby unknown2101 » Fri Sep 29, 2017 5:39 pm

J2Kbr wrote:Try this:
Code: Select all
main {
    if(get_rumble(RUMBLE_A)) {
        combo_run(ReleaseSQUARE);
    }
}
 
combo ReleaseSQUARE {
    wait(500); // timeout to release SQUARE
 
    set_val(PS4_SQUARE, 0); // release square
    wait(1000);
}



is it possible for you to modify this script to do these things specifically

1. if get Rumble A Increase rumble A 's rumble strength to 70% for about 20 ms

2. with just a tap of the X button ..the X button should stay long pressed until a result from Rumble A is received , which should in fact then release the X button immediately

thank you so much!!!
User avatar
unknown2101
Sergeant First Class
Sergeant First Class
 
Posts: 16
Joined: Sun Sep 18, 2016 4:36 pm

Re: 2k18 perfect shot release

Postby codykm » Sun Oct 01, 2017 9:00 pm

Good Evening Everyone,
 
I am a new customer and I am currently trying to figure out this gtuner pro software. The main reason I bought the titan one x is to see if there is a way I can somehow mod to get green light releases in nba 2k18. If there is any way I can possibly do this it would make me very happy! I am even willing to pay for this and I hope someone can assist me, thank you!
User avatar
codykm
Private First Class
Private First Class
 
Posts: 2
Joined: Sat Sep 30, 2017 8:42 pm

Re: 2k18 perfect shot release

Postby italiano1990 » Mon Oct 02, 2017 11:08 am

J2Kbr wrote:Try this:
Code: Select all
main {
    if(get_rumble(RUMBLE_A)) {
        combo_run(ReleaseSQUARE);
    }
}
 
combo ReleaseSQUARE {
    wait(500); // timeout to release SQUARE
 
    set_val(PS4_SQUARE, 0); // release square
    wait(1000);
}


Hey J2Kbr, first i must say thank you.i have test your Script . the problem is , if vibrating the controller, the ball is not automatically shot , I can still hold square
User avatar
italiano1990
Sergeant
Sergeant
 
Posts: 8
Joined: Fri Nov 06, 2015 6:44 pm

Re: 2k18 perfect shot release

Postby J2Kbr » Mon Oct 02, 2017 2:35 pm

The script was checking just RUMBLE_A, I changed it to also check RUMBLE_B, hopefully this will make it work as expected.

Code: Select all
main {
    if(get_rumble(RUMBLE_A) || get_rumble(RUMBLE_B)) {
        combo_run(ReleaseSQUARE);
    }
}
 
combo ReleaseSQUARE {
    wait(500); // timeout to release SQUARE
 
    set_val(PS4_SQUARE, 0); // release square
    wait(1000);
}
 
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: 2k18 perfect shot release

Postby italiano1990 » Tue Oct 03, 2017 12:08 pm

Ok i have Test The new one , The same Problem if vibrating The Controller , The Ball is not automaticall shot, i can still hold Square. If i hold Square They shot my hold Time
User avatar
italiano1990
Sergeant
Sergeant
 
Posts: 8
Joined: Fri Nov 06, 2015 6:44 pm

Re: 2k18 perfect shot release

Postby J2Kbr » Wed Oct 04, 2017 5:26 pm

I think I misunderstood the initial request, the script is releasing SQUARE after detect the rumble. What you are saying is SQUARE must be held down?
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: 2k18 perfect shot release

Postby italiano1990 » Wed Oct 04, 2017 5:48 pm

to throw the ball I press square. I have to hold the button so long until I think it is a perfect throw as a help of the game when you should throw the controller vibrates.now we come to the problem i keep square for a new die, the controller vibrates. now square should be released automatically. that does not work. I have to let go of myself
User avatar
italiano1990
Sergeant
Sergeant
 
Posts: 8
Joined: Fri Nov 06, 2015 6:44 pm

Re: 2k18 perfect shot release

Postby J2Kbr » Wed Oct 04, 2017 5:54 pm

Got it, alright, this is similar to another post I just replied, I changed the script posted there for what you described:

Code: Select all
int release_square;
 
main {
    if(get_val(PS4_SQUARE)) {
        if(get_rumble(RUMBLE_A) || get_rumble(RUMBLE_B)) {
            release_square = TRUE;
        }
        if(release_square) {
            set_val(PS4_SQUARE, 0);
        }
    } else {
        release_square = FALSE;
    }
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Next

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 92 guests