i need a 2k19 script made for perfect shots anywhere

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

Re: i need a 2k19 script made for perfect shots anywhere

Postby anarkii » Thu Sep 27, 2018 6:49 pm

Thank you for the answer. Sorry for my bad english.actually this is not for nba 2k19. your script's is Perfect for pes 2019.this script blocking the button delay.I wanted a compiled script that included other keys.ı wanted to set the timing in cross, triangle and circle keys
User avatar
anarkii
Private First Class
Private First Class
 
Posts: 3
Joined: Sat Mar 18, 2017 4:24 pm

Re: i need a 2k19 script made for perfect shots anywhere

Postby pele'sghost » Thu Sep 27, 2018 11:48 pm

Can we add a moving shot to L3?
User avatar
pele'sghost
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Aug 15, 2017 12:04 am

Re: i need a 2k19 script made for perfect shots anywhere

Postby anarkii » Fri Sep 28, 2018 12:24 am

there is only one shot in the game.no standing and no moving shot.l3 button uselles in game.square=shot,circle=long ball,triangle=loft pass,cross=short pass.ı am using your script for shot .I set it to 135.nobody can save my shots.But ı want to set timing other button.this script perfect for pes 2019.
User avatar
anarkii
Private First Class
Private First Class
 
Posts: 3
Joined: Sat Mar 18, 2017 4:24 pm

Re: i need a 2k19 script made for perfect shots anywhere

Postby pele'sghost » Fri Sep 28, 2018 12:46 am

Dude I am getting every other shot as a green, Those requests are for a person who can program, I am so novice on this. I have K durant shot animation and the timing is 521. It makes it a late shot or a green.
So the senior admins here If you could make a moving shot option set to L3 that would be great. It was higher number earlier but I am in career and getting greens. I think it has to do with connection issues. Any ideas on making it green everytime?
I have no idea what PES 2019 is. Is that soccer?
User avatar
pele'sghost
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Aug 15, 2017 12:04 am

Re: i need a 2k19 script made for perfect shots anywhere

Postby pele'sghost » Fri Sep 28, 2018 1:06 am

ok I have figured out the confusion, it just says 2k19. I am refering to nba and you need pes. sorry for the confusion.
User avatar
pele'sghost
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Aug 15, 2017 12:04 am

Re: i need a 2k19 script made for perfect shots anywhere

Postby 2kguy76 » Wed Nov 28, 2018 8:17 pm

J2Kbr or anyone can you help me with this script and take out the spin move . This is a great script but it allways makes me spin when I’m driving to the basket .

pele'sghost wrote:
Code: Select all
 
 
/* Perfect Shot
 
You want to record the shot immediately after you have taken the shot and have greened it.
The shot does not have to be saved into memory if you want to change the shot timing frequently.
 
After you have recorded your standing shot or/and moving shot, you'll want to load it from memory
(Hold D-Pad Up and Press Share)
 
To perform the perfect standing shot you hold square and it will release at the correct time.
To perform the moving shot you just have to hold your stick in a direction while you shoot holding square should release at correct time.
 
Record Standing Shot (Hold D-Pad Up and Press Square)
Record Moving Shot (Hold D-Pad Up and Press Triangle)
 
INCREASE STANDING SHOT MS
Hold R3 + D-RIGHT increase +5 ms.
Hold R3 + D-LEFT decrease -5 ms.
 
INCREASE MOVING SHOT MS
Hold R3 + D-UP   increase +5 ms.
Hold R3 + D-DOWN decrease -5 ms.
 
Save Shot into Memory (Hold D-Pad Up and Press Options)
Load Shot from Memory (Hold D-Pad Up and Press Share)
 
RESET RECORDED SHOTS
(Hold D-Pad Up and Press Cross(X))
*/

 
define SHOT_BUTTON  = XB1_X;                 
define holdBtnA     = XB1_LT;         
define timelimit=300;
define HoldTime = 150;
 
 
int b_Zapis;
int w_StandingStill;
int w_RunningShot;
int w_recordedTime;
int b_Standing;
int CanUse1,CanUse2;                                                                                   
int Edit_On;                               
 
init
{
     w_StandingStill = get_pvar(SPVAR_1, 0,4000,0);
     w_RunningShot   = get_pvar(SPVAR_2, 0,4000,0);
}
 
 
main
{
set_val(TRACE_1,w_StandingStill/10);
set_val(TRACE_2,w_RunningShot/10);
set_val(TRACE_3,w_recordedTime/10);
set_val(TRACE_5,b_Standing);
set_val(TRACE_6,Edit_On);
 
    if(abs(get_val(XB1_LX))<80 && abs(get_val(XB1_LY))<80)
      {           
          b_Standing=TRUE;                                     
      }
          else
        {                                                     
            b_Standing=FALSE;                                   
        }                                                         
 
    if(b_Standing && CanUse1)
      {
          if(w_StandingStill > HoldTime)
      {
          if(get_val(XB1_X) && get_ptime(XB1_X)>= w_StandingStill)
          {
            set_val(XB1_X,0);
        }
      }
      }
    else if(!b_Standing && CanUse2)
    {
        if(w_RunningShot > HoldTime)
        {
            if(get_val(XB1_X) && get_ptime(XB1_X)>= w_RunningShot)
            {
            set_val(XB1_X,0);
            }
        }
    }                             
 
    if(get_val(XB1_X) && get_ptime(XB1_X) > HoldTime)b_Zapis=TRUE;
 
     if(b_Zapis)
     {
       if(event_release(XB1_X))
       {
          b_Zapis=FALSE;
          w_recordedTime=get_ptime(20);
       }
    }
 
 
    if(get_val(XB1_UP))
    { 
          if( event_press(SHOT_BUTTON))
          {
          w_StandingStill = w_recordedTime;
          CanUse1=TRUE;
          }
 
          if( event_press(XB1_Y))
          {
          w_RunningShot = w_recordedTime;
          CanUse2=TRUE;
          }
 
          if( event_press(XB1_MENU))
          {
              combo_run(Save_Timing);
          }
 
          if( event_press(XB1_VIEW))
          {
             if(w_StandingStill> HoldTime) CanUse1=TRUE;
             if(w_RunningShot> HoldTime) CanUse2=TRUE;
          }
 
          if( event_press(XB1_A))
          {
           w_StandingStill=0;
            CanUse1=FALSE;
          }
 
          if( event_press(XB1_B))
          {
           w_RunningShot=0;
           CanUse2=FALSE;
          }
          set_val(XB1_A,0);
          set_val(XB1_B,0);
          set_val(XB1_VIEW,0);
          set_val(XB1_MENU,0);
          set_val(XB1_Y,0);
          set_val(SHOT_BUTTON,0);
    }
 
 
    if(get_val(XB1_RS))
    {
        if(event_press(XB1_UP))
        {
              w_RunningShot = w_RunningShot + 5;
              Edit_On =TRUE;
        }
 
        if(event_press(XB1_DOWN))
        {
              w_RunningShot = w_RunningShot - 5;
              Edit_On =TRUE;
        }
 
        if(event_press(XB1_RIGHT))
        {
              w_StandingStill = w_StandingStill + 5;
              Edit_On =TRUE;
        }
 
        if(event_press(XB1_LEFT)) 
        {
              w_StandingStill = w_StandingStill - 5;
              Edit_On =TRUE;
        }
 
    }
    else if(Edit_On )
    {
        combo_run(Save_Timing);
    } 
}
combo Save_Timing
{
     if(w_StandingStill> HoldTime) set_pvar(SPVAR_1, w_StandingStill);
     if(w_RunningShot> HoldTime) set_pvar(SPVAR_2, w_RunningShot);
     Edit_On = FALSE;
}
Last edited by 2kguy76 on Fri Nov 30, 2018 4:39 pm, edited 1 time in total.
User avatar
2kguy76
Staff Sergeant
Staff Sergeant
 
Posts: 13
Joined: Wed Nov 28, 2018 4:40 am

Re: i need a 2k19 script made for perfect shots anywhere

Postby 2kguy76 » Fri Nov 30, 2018 4:24 pm

anyone help with this scrip i like it but the spinning mess up alot and could someone take out the spinning or all dribbling moves ?



/* Perfect Shot

You want to record the shot immediately after you have taken the shot and have greened it.
The shot does not have to be saved into memory if you want to change the shot timing frequently.

After you have recorded your standing shot or/and moving shot, you'll want to load it from memory
(Hold D-Pad Up and Press Share)

To perform the perfect standing shot you hold square and it will release at the correct time.
To perform the moving shot you just have to hold your stick in a direction while you shoot holding square should release at correct time.

Record Standing Shot (Hold D-Pad Up and Press Square)
Record Moving Shot (Hold D-Pad Up and Press Triangle)

INCREASE STANDING SHOT MS
Hold R3 + D-RIGHT increase +5 ms.
Hold R3 + D-LEFT decrease -5 ms.

INCREASE MOVING SHOT MS
Hold R3 + D-UP increase +5 ms.
Hold R3 + D-DOWN decrease -5 ms.

Save Shot into Memory (Hold D-Pad Up and Press Options)
Load Shot from Memory (Hold D-Pad Up and Press Share)

RESET RECORDED SHOTS
(Hold D-Pad Up and Press Cross(X))
*
User avatar
2kguy76
Staff Sergeant
Staff Sergeant
 
Posts: 13
Joined: Wed Nov 28, 2018 4:40 am

Re: i need a 2k19 script made for perfect shots anywhere

Postby Scachi » Fri Nov 30, 2018 4:46 pm

I can't find any stick motion or dribble move specific stuff in the script quoted above.
I don't have the game..how do you do a spin or dribbling move in-game normally ?
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: i need a 2k19 script made for perfect shots anywhere

Postby 2kguy76 » Fri Nov 30, 2018 10:00 pm

viewtopic.php?f=26&t=10352&p=72587&hilit=perfect+shot#p72625

Seems to be the same script in the link above all the xtra coding beside shooting and adjusting the time I like . The spin moves when I barley touch the left stick gets annoying . Dribble moves are fine .

combo SPIN_MOVE {
RightON=!RightON;
if(RightON){
Ind=(Zone+12)*2;
}else{
Ind=((Zone+4)*2)-1;
}
Points=5;
combo_run(MimicCircle);
///////////////////////////////////////////////////////////////////
// MIMIC CIRCLE //////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
combo MimicCircle {

if(Points>=1){
if (RightON){RA_CCW(dbyte(Ind-0),dbyte(Ind-1));}
else {RA_CW(dbyte(Ind+0),dbyte(Ind+1));}
}
User avatar
2kguy76
Staff Sergeant
Staff Sergeant
 
Posts: 13
Joined: Wed Nov 28, 2018 4:40 am

Re: i need a 2k19 script made for perfect shots anywhere

Postby 2kguy76 » Fri Nov 30, 2018 10:05 pm

Could the adjusting shots by ms be added here this might better for park or pro am becuse during the game with lag online having a save time seem to change game to game. I was hoping I could adjust this like the other script ?

INCREASE STANDING SHOT MS
Hold R3 + D-RIGHT increase +5 ms.
Hold R3 + D-LEFT decrease -5 ms.

INCREASE MOVING SHOT MS
Hold R3 + D-UP increase +5 ms.
Hold R3 + D-DOWN decrease -5 ms.

pele'sghost wrote:Here is the script but you press R3 once and it does it for a specified time, this allows you to still have square avaliable. Also I am using K Durant and my time is between 527 and 528. Does this script support 527.2? If it doesn;t please add.
Code: Select all
GPC Code: 
 
 
int shottime = 1000; //Adjust time SQUARE is held down. 1000 = 1 second
 
main
{
  if(event_press(PS4_R3))
  {
    combo_run(HOLDSQUARE);
  }
}
 
combo HOLDSQUARE
{
    set_val(PS4_SQUARE, 100);
    wait(shottime);
    set_val(PS4_SQUARE, 0);
}
User avatar
2kguy76
Staff Sergeant
Staff Sergeant
 
Posts: 13
Joined: Wed Nov 28, 2018 4:40 am

PreviousNext

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 88 guests