FIFA 19 request?

GPC2 script programming for Titan Two. Code examples, questions, requests.

FIFA 19 request?

Postby vastos » Tue Nov 20, 2018 10:02 pm

I am willing to donate to someone if he can make something working for FIFA

On top of my mind things that could possible be able to work

Perfect Timed Shot.. .
Put skill moves on the right stick Bump Left - Fake shot Bump RIght - roulete - bump up iniesta flick -bump down something else


I dont think anything else can be done but this will be great
User avatar
vastos
Staff Sergeant
Staff Sergeant
 
Posts: 12
Joined: Mon Jul 16, 2018 12:46 pm

Re: FIFA 19 request?

Postby HotSteppr » Thu Nov 22, 2018 9:22 am

im also patiently awaiting a fifa script hahaha if anyone could help that would be massively appreciated
User avatar
HotSteppr
Sergeant Major
Sergeant Major
 
Posts: 70
Joined: Sat Apr 21, 2018 7:50 am

Re: FIFA 19 request?

Postby bmpt guard » Wed Nov 28, 2018 4:19 am

vastos wrote:I am willing to donate to someone if he can make something working for FIFA

On top of my mind things that could possible be able to work

Perfect Timed Shot.. .
Put skill moves on the right stick Bump Left - Fake shot Bump RIght - roulete - bump up iniesta flick -bump down something else


I dont think anything else can be done but this will be great

i might be able to do something. its been awhile since i did something for community.
just tell me clearly:
buttons to do skill move and what direction you want it
User avatar
bmpt guard
Command Sergeant Major
Command Sergeant Major
 
Posts: 142
Joined: Thu May 12, 2016 9:33 pm

Re: FIFA 19 request?

Postby alencroat » Thu Nov 29, 2018 8:18 am

I would put like 4-6 skill moves on d-pad , so its easy access.
User avatar
alencroat
Lieutenant
Lieutenant
 
Posts: 320
Joined: Sun Oct 15, 2017 5:58 pm

Re: FIFA 19 request?

Postby bmpt guard » Sun Dec 09, 2018 1:48 am

alencroat wrote:I would put like 4-6 skill moves on d-pad , so its easy access.


this was posted in another thread isnt not my script. i have used and confirm it does work.
however if you ask me it has way too many skills.
im currently working on a perfectshot+timing script ill see about making a clone of that and add simple skills just flick right stick no need to bother turning on and getting skills into mode.

Code: Select all
#include <titanone.gph>
 
///////////////////  SKILLS  \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
//-----------------------------------------------------------------------

 
///\ 31. Cruyff Turn//\3. Revers Step Over 2*//\5. Giovinco Tornado 4*//\6. Elastico 5*//\
///\ default Skill : 9. Spin New 4*-5*

///\ One Way Direction Skill : 18. Heel to Heel
 
//       DESCRIPTIONS - INSTRUCTION                     
//  Switch Skills                                       
//                                                       
// hold button : XB1_LB   and then press :
//  button :         will switch to Skill :                                   
//  D-pad UP    => 31               
//  D-pad RIGHT => 3               
//  D-pad DOWN  => 5               
//  D-pad LEFT  => 6               
//                   will switch to default Skill :                 
// hold button :XB1_LB + (PS4 SHARE / XB1 VIEW) => 9.   Spin New     
//                                                                       
//   ACTIVATE SKILLS                                                     
//  Skills with Left and Right exit ( direction )                         
//  Double tap : XB1_LB Modifier Button to activate skill to the Left
//  Double tap : XB1_RB Modifier Button to activate skill to the Right
//                                                                       
//   Skills with one direction ( no exit )                               
//                                                                       
//    = 0.   None
//-----------------------------------------------------------------------
//--------------------------------------------------------------
// DECLARATIONS                                                 
//--------------------------------------------------------------
define DOnotUSE      =   1;
define DelayNormal   =  80;
define DelayRnbwHOLD = 160;
define DelayRest     = 200;
define DelayLeft_move= 500;
define timelimit     = 300; // Time to Double click     
//////////////////////////////////////////////////////////////////
// YOUR BUTTON LAYOUT
define PaceCtrol     = PS4_L2; // Pace Control
define FinesseShot   = PS4_R1; // Finesse Shot
define PlayerRun     = PS4_L1; // Player Run 
define ShotBtn       = PS4_CIRCLE; // Shot Btn 
define SprintBtn     = PS4_R2; // Sprint Btn
define MOVE_X        = PS4_LX;       
define MOVE_Y        = PS4_LY;       
define SKILL_STICK_X = PS4_RX;       
define SKILL_STICK_Y = PS4_RY;       
define holdBtnA      = XB1_LB;    //  hold btn for choice A SKill         
define Lbtn          = XB1_LB;// Modifier Button to activate skill to the Left   
define Rbtn          = XB1_RB;// Modifier Button to activate skill to the Right 
define OneDirectBtn  = XB1_RS;// Modifier Button to activate Skill with One Direction   
define DopBTN        = XB1_LT;// Modifier Button to activate Aditional Skill
define SPRINT        = XB1_LS;// Modifier Button to activate Aditional Skill
define time_to_dblclick  = 300; // Time to Double click     
define defaultSkill  = 9;// 9. Spin New 4*-5*
 
define Best_SKILL               = 1// BestFIFAmove           
define StepOver_SKILL           = 2// STEPOVER_DIRECTION     
define ReversStepOver_SKILL     = 3// REVERS_STEPOVER         
define DoubleTouch_EXIT_SKILL   = 4// REVERS_STEPOVER and EXIT 
define Advanced_Elastico_SKILL  = 5// dob=97; Elastico=TRUE; TURNandSPIN_ELASTICO 
define Elastico_SKILL           = 6// dob=97; Elastico=TRUE; TURNandSPIN_ELASTICO 
define Turn_AND_Spin_SKILL      = 7//                       
define HocusPocus_SKILL         = 8// HOCUS_POCUS                                 
define Spin_NEW_SKILL           = 9// Elastico=0;dob=100;combo_run(TURNandSPIN_ELASTICO);
define Feint_L_R_SKILL          =10// FEINT_SKILL                                   
define Roulette_SKILL           =11// ROULETTE                                     
define Ball_Roll_Flick          =12// BalRollFlick                                 
define OP_Skill                 =13// OP Skill                     
define Ball_Roll_Rock_and_Roll  =14// Ball Roll Rock and Roll                     
define Bolasie_Flick_SKILL      =15// Bolasie Flick   dob=97; Elastico=FALSE;         
define Fake_Shot_SKILL          =16// Fake Shot                                   
 
define HeelFlickTurn_SKILL      =17// Heel Flick Turn                             
define Heel_to_Heel_SKILL       =18// HEELtoHEEL                                   
define Rainbow_SKILL            =19// RAINBOW                                     
define RonaldoHeelChop          =20// Ronaldo Heel Chop                           
define Fake_Pass_SKILL          =21// Fake Pass                                   
define In_Air_Rainbow           =22// standing = InAirRainbow / running = RAINBOW 
define In_Air_Elastico          =23// InAirElastico                               
define Sombrero_Flick           =24// standing =Sombrero Flick / running = Heel to Heel
define Juggling_Ball            =25// Juggling Ball                               
define Chest_Flick_Skill        =26// Juggling Ball + Chest Flick                 
define V_DragBack_Skill         =27// V Drag Back                                 
define Body_Feint_Universal     =28//               
define Ball_Roll                =29//                   
define Ball_Roll_SpeedBoost     =30//                   
define Cruyff_Turn              =31//                         
//--------------------------------------------------------------                     
// DATA SEGMENT                                                                       
//--------------------------------------------------------------                     
data(DOnotUSE,
//  1   2   3   4    5   6   7   8    9 10  11   12   13  14  15  16  17  18  19   20  21   22  23   24  25  26    27   28    29    30   31    32
    0,-100,50,-100,100,-100,100,-50,100, 0, 100, 50, 100,100, 50,1000,100, -50,100,-100,100,-100, 50,-100, 0, -100, -50, -100, -100, -50, -100,
// 33   34 35   36  37   38  39  40  41 42   43  44   45  46  47  48  49  50   51  52   53  54   55  56   57 58    59   60    61    62   63    64   
    0,-100,50,-100,100,-100,100,-50,100, 0, 100, 50, 100,100, 50,1000,100, -50,100,-100,100,-100, 50,-100, 0, -100, -50, -100, -100, -50, -100,
// 65   66 67   68  69   70  71  72  73 74   75  76   77  78  79  80  81  82   83  84   85  86   87  88   89 90    91   92    93    94   95    96
    0,-100,50,-100,100,-100,100,-50,100, 0, 100, 50, 100,100, 50,1000,100, -50,100,-100,100,-100, 50,-100, 0, -100, -50, -100, -100, -50, -100,
// 97  98  99  100                       
    4, 126, 10   //                   
 
);// end of data                         
//--------------------------------------------------------------   
//--------------------------------------------------------------   
// VARIABLES                                                       
//--------------------------------------------------------------   
 
int ZX, ZY;                                     
int LX, LY;          // Direction of Left Stick         
int RightON           =FALSE;                           
int Elastico          =FALSE;                           
int Ind =0;         // IndL for LEFT ANALOG we use with dbyte(Ind+ ..);
 
int Zone;           //
int mX,mY;
int IndL;
int OnOff = TRUE;                               
int OnOffMods          =TRUE;                           
int dob;                                       
int w_AdvancedElastico =10;                   
int SKill              = defaultSkill;     
int b_Standing;                                     
int flick_up;
int flick_d;
int flick_l;
int flick_r;
int ShootPower    = 130; // Shot Power   
int TempShotPower;
 
 
int btn_tap;
int tap;
int dbl_w  = 300;
 
 
 
 
init { 
    ShootPower = 130 ;
    colorled(2,0,0,0);   //  clBlue
     TempShotPower = ShootPower ;
}
int Points             =0
 
//--------------------------------------------------------------
// MAIN BLOCK                                                   
//--------------------------------------------------------------
main {                                         
 
 
    /////////////////////////////////////////////////////////////////////
    //   Low Driven Shot                                               
    if(event_press(PS4_TOUCH)) combo_run(DRIVEN_SHOT);                     
 
 
 
    /////////////////////////////////////////////////////////////////////
    //   Shot Power Switch                                                           
    if ( get_val(PS4_L1)) {                                                               
          if(event_press(XB1_UP))    {ShootPower = 130;  colorled(2,0,0,0);}   //  Blue
          if(event_press(XB1_RIGHT)) {ShootPower = 170;  colorled(0,0,2,0);}   //  Green
          if(event_press(XB1_DOWN))  {ShootPower = 310;  colorled(0,2,0,0);}   //  Red
          if(event_press(XB1_LEFT))  {ShootPower = 210;  colorled(2,2,2,2);}   //  White
          Null_Directional_btns ();                                                     
          TempShotPower = ShootPower;   
 
      }                                                                                 
     ///////////////////////////////////////////////
     //  Finesse shot                               
     if(get_val(FinesseShot) )  {                   
         ShootPower = 150;                         
     }else ShootPower  = TempShotPower;           
 
 
    ////////////////////////////////////////////////                                 
    //                                                                               
    if(get_val(ShotBtn) && get_ptime(ShotBtn)>= ShootPower) {  // Shot Power Restriction       
              set_val(ShotBtn,  0);                                               
      }                                                                         
    if(get_val(ShotBtn)) set_val(SprintBtn,0);         
     if(OnOff){//-------------------------------------------------
         if(abs(get_val(MOVE_X))< 60 && abs(get_val(MOVE_Y))< 60){ 
             b_Standing = TRUE;                                   
         }else{                                                     
             LX = get_val(MOVE_X);                               
             LY = get_val(MOVE_Y);                               
             b_Standing = FALSE;                                 
             get_Zone(LX,LY);                                     
 
             ZX = LY; ZY = inv(LX);//  90 degre                   
         }                                                         
     }//----------------------------------------------------------
 
 
 
    // ON / OFF All Skills         
    if(get_val(1)){                 
         if(event_press(19))OnOffMods=!OnOffMods;
         set_val(19,0);                       
    }                                       
 
    if(event_press(PS4_R3)){OnOffMods = !OnOffMods;}
 
   if(OnOff){//-------------------------------------------------
      if(abs(get_val(MOVE_X))< 60 && abs(get_val(MOVE_Y))< 60){           
            b_Standing = TRUE;                                     
      }else{                                                     
            LX = get_val(MOVE_X);                                     
            LY = get_val(MOVE_Y);                                     
            b_Standing = FALSE;                                   
            get_Zone(LX,LY);                                     
 
            ZX = LY; ZY = inv(LX);//  90 degre                         
      }                                                         
    }//--------------------------------------------------------
 
    set_val(TRACE_1,OnOffMods);
    set_val(TRACE_2,mX);
    set_val(TRACE_3,mY);
 
 
   if(OnOffMods) { // all Skills mode           
 
          //  NEW SPIN  right
          if( get_val(PS4_RY) < -70  && !flick_up ) {
                  flick_up = TRUE;
                  direction( 1 );
                  OnOff = FALSE;
                  Elastico=0;
                  dob=99;
                  combo_run(TURNandSPIN_ELASTICO);//9.  New Spin
          }
          //  NEW SPIN  left
          if( get_val(PS4_RY)70  && !flick_d ) {
                  flick_d = TRUE;
                  direction( 0 );
                  OnOff = FALSE;
                  Elastico=0;
                  dob=99;
                  combo_run(TURNandSPIN_ELASTICO);//9.  New Spin
          }
 
          //  CRUYFF TURN 
          if( get_val(PS4_RX) < -70  && !flick_l ) {
                  flick_l = TRUE;
 
                  combo_run(CRUYFF_TURN);//9.  Cruyff Turn
          }
 
          // Roulette
          if( get_val(PS4_RX)70  && !flick_r ) {
                  flick_r = TRUE;
 
                  combo_run(ROULETTE); // 11. Roulette 
          }
 
 
          if(abs(get_val(PS4_RY))<20  && abs(get_val(PS4_RX))<20){
                 flick_up = 0;
                 flick_d  = 0;
                 flick_l  = 0;
                 flick_r  = 0;
 
         }
           if(event_press(PS4_L3)){
                RightON= FALSE;                                 
                get_Zone(LX,LY);                                 
                OnOff = FALSE;                                 
                calc_90degree();                                 
                combo_run(DRAG_BACK);                 
         }               
 
 
          // Skills with one direction  press : XB1_RS / PS4_R3               
         //--------------------------------------------------------------
         if(event_press(PS4_R3)){
                RightON= FALSE;                                 
                get_Zone(LX,LY);                                 
                OnOff = FALSE;                                 
                calc_90degree();                                 
                 combo_run(BallRollSpeed);
         }       
 
 
                set_val(PS4_R3,0);
               set_val(PS4_L3,0);
               set_val(PS4_RX,0);
               set_val(PS4_RY,0);                                       
     }// ON / OFF mods                         
     //--------------------------------------------------------------
 
   //--------------------------------------------------------------
} // end of main block                         
 
////////////////////////////////////////////////////////////////
// COMBO BLOCKS   //////////////////////////////////////////////
////////////////////////////////////////////////////////////////
 
combo dbl_tap{
 
 
   tap = TRUE;
   wait(dbl_w);
   tap = FALSE;
   btn_tap = FALSE;
}
 
 
///////////////////////////////////////////////////////////////////
// 17. Heel to Heel ///////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
 
combo BallRollSpeed {   
  RA_CW(ZX,ZY);         
  wait(202);//           
  RA_CW(0,0);           
  wait(202);//           
  set_val(PlayerRun,100) ;
  set_val(SprintBtn,100);
  wait(175);             
  set_val(SprintBtn,100);
  wait(750);             
  OnOff=TRUE;           
}   
combo DRIVEN_SHOT  {     
   set_val(ShotBtn,100);
   wait(215);           
   set_val(ShotBtn,  0);
   wait(60);             
   set_val(ShotBtn,100);
   wait(220);           
   } 
 
 
combo ROULETTE {                               
    if (RightON){Ind=((Zone + 8)*2)+ 32;}  // Zone 9       
    else {Ind=((Zone + 8)*2)- 1;}                 
    Points=5;                     
    combo_run(MimicCircle);                   
} 
 
 
combo MimicCircle {                                     
   if(Points>=1){                                       
      if (RightON){RA_CCW(dbyte(Ind),dbyte(Ind - 1));} 
      else {RA_CW(dbyte(Ind),dbyte(Ind + 1));}         
   }                                                     
      wait(40);                                         
   if(Points>=3){                                       
      if (RightON){RA_CCW(dbyte(Ind - 8),dbyte(Ind - 9));} 
      else {RA_CW(dbyte(Ind + 8),dbyte(Ind + 9));}         
   }                                                     
      wait(40);                                         
   if(Points>=5){                                       
      if (RightON){RA_CCW(dbyte(Ind - 16),dbyte(Ind - 17));} 
      else {RA_CW(dbyte(Ind + 16),dbyte(Ind + 17));}         
   }                                                     
      wait(40);                             
      OnOff=TRUE;                         
}
 
 
combo DRAG_BACK {           
   set_val(FinesseShot,100);     
   set_val(PS4_LX, inv(LX));
   set_val(PS4_LY, inv(LY));
   wait(230);               
} 
 
combo CRUYFF_TURN {     
    set_val(XB1_X,100)
    wait(40);           
    left_stick ( LX,LY);
    set_val(XB1_X,100)
    set_val(XB1_A,100)
    wait(150);           
    set_val(XB1_A,100)
    left_stick ( LX,LY);
    wait(60);           
}                       
function left_stick (val_X, val_Y){
   set_val(PS4_LX,inv(val_X));     
   set_val(PS4_LY,inv(val_Y));     
}                           
///////////////////////////////////////////////////////////////////
/// Turn & Spin OR Elastico  //////////////////////////////////////
//dob=97 /if Elastico=FALSE => Turn and Spin / if Elastico=TRUE => Elastico Chop
// NEW SPIN  dob=100; Elastico=FALSE; 
// 97  98  99  100
//  4, 12,  6, 10   //           
 
combo TURNandSPIN_ELASTICO {         
 
   if(SKill==Bolasie_Flick_SKILL){// 16 
     f_RB_LT_RT(1,0,0);                 
      w_AdvancedElastico=100;           
   }else if(SKill==Advanced_Elastico_SKILL){
     f_RB_LT_RT(0,1,0);             
      w_AdvancedElastico=400;           
   }else{                             
      w_AdvancedElastico=10;         
   }                                 
   wait(w_AdvancedElastico);         
   if(SKill==Bolasie_Flick_SKILL){f_RB_LT_RT(1,0,0);}// 16 
   if(SKill==Advanced_Elastico_SKILL){f_RB_LT_RT(0,1,0);}
   if (RightON){Ind=((Zone + dbyte(dob))*2)- 1;}         
    else{Ind=((Zone + dbyte(dob + 1))*2)- 1;}               
    if(dob==97){//-------------------------------------------
                if (Elastico){ RA_CW(inv(mX), inv(mY));}     
                else {RA_CW( mX , mY);}      // RS go forvard
               }//-------------------------------------------
    if(dob==99){                                             
    RA_CW(dbyte(Ind),dbyte(Ind + 1));                 
    }                                                 
    wait(40);                                         
    if(SKill==Bolasie_Flick_SKILL){f_RB_LT_RT(1,0,0);}// 16 
    if(SKill==Advanced_Elastico_SKILL){f_RB_LT_RT(0,1,0);}
    RA_CW(0,0);                                       
    wait(40);                                         
    if(SKill==Bolasie_Flick_SKILL){f_RB_LT_RT(1,0,0);}// 16 
    if(SKill==Advanced_Elastico_SKILL){f_RB_LT_RT(0,1,0);}
    RA_CW(dbyte(Ind),dbyte(Ind + 1));                 
    wait(40);   
    OnOff = TRUE;                         
}     
 
 
function direction (dir) {
 
 
   if(dir){
         RightON = TRUE;
      ZX = inv(LY); ZY = LX; // Zone 3                               
    }else {
      RightON = FALSE;
      ZX =      LY; ZY = inv(LX); // Zone 7                               
    }                                                           
 
   block(SprintBtn,500);                                       
   block(MOVE_X,1000);block(MOVE_Y,1000)
}
function get_Zone (X,Y) {                                                     
 
        if ((Y < -80        )&& (X>= -20 && X<   20 ))    {Zone= 1;} // LS==>1
   else if ((Y < -80        )&& (X>=  20 && X<=  70 ))    {Zone= 2;} // LS==>2
   else if ( Y<  -70         &&  X>   70             )    {Zone= 3;} // LS==>2
   else if ((X >  80        )&& (Y>= -70 && Y<= -20 ))    {Zone= 4;} // LS==>2
   else if ((X >  80        )&& (Y>  -20 && Y<   20 ))    {Zone= 5;} // LS==>2
   else if ((X >  80        )&& (Y>=  20 && Y<=  70 ))    {Zone= 6;} // LS==>2
   else if ((X >  70        )&& (           Y>   70 ))    {Zone= 7;} // LS==>2
   else if ((X <  70 && X>20)&& (          Y== 100 ))    {Zone= 8;} // LS==>2
   else if ((Y >  80        )&& (X>= -20 && X<=  20 ))    {Zone= 9;} // LS==>2
   else if ((Y >  80        )&& (X<  -20 && X>  -70 ))    {Zone=10;} // LS==>2
   else if ((Y >  70        )&& (           X<  -70 ))    {Zone=11;} // LS==>2
   else if ((X < -80        )&& (Y>=  20 && Y<=  70 ))    {Zone=12;} // LS==>2
   else if ((X < -80        )&& (Y>  -20 && Y<   20 ))    {Zone=13;} // LS==>2
   else if ((X < -80        )&& (Y<  -20 && Y>  -70 ))    {Zone=14;} // LS==>2
   else if ((X < -70        )&& (           Y<  -70 ))    {Zone=15;} // LS==>2
   else if ((Y < -80        )&& (X<  -20 && X>  -70 ))    {Zone=16;} // LS==>2
 
    IndL = (Zone * 2)- 1;                 
 
     mX = dbyte(IndL);                       
     mY = dbyte(IndL + 1);     
}// func end                                             
 
 
//--------------------------------------------------------------
//Right Analog Functions                                       
//--------------------------------------------------------------
function RA_CW(X,Y) {   
    set_val(SKILL_STICK_X,X );     
    set_val(SKILL_STICK_Y,Y);     
}                       
function RA_CCW(Y,X) { 
    set_val(SKILL_STICK_Y,Y );     
    set_val(SKILL_STICK_X,X);       
}                       
 
function f_RB_LT_RT (a,b,c){   
     if(a) set_val(FinesseShot,100); //RB
     if(b) set_val(PaceCtrol,100); //LT
     if(c) set_val(SprintBtn,100); //RT
}// func end                   
function Null_Directional_btns (){
   set_val(13,0);               
   set_val(16,0);           
   set_val(14,0);       
   set_val(15,0);     
}
function calc_90degree (){   
   if(RightON){               
       ZX=inv(LY);ZY=LX; // Zone 3
   }else {                       
       ZX=LY;ZY=inv(LX); // Zone 7
   }                     
}
 
function colorled(a,b,c,d) {
set_led(LED_1,a);           
set_led(LED_2,b);           
set_led(LED_3,c);           
set_led(LED_4,d);           
}// func end
User avatar
bmpt guard
Command Sergeant Major
Command Sergeant Major
 
Posts: 142
Joined: Thu May 12, 2016 9:33 pm

Re: FIFA 19 request?

Postby bmpt guard » Sun Dec 09, 2018 2:53 am

alencroat wrote:I would put like 4-6 skill moves on d-pad , so its easy access.

well this is mine that i use had timed i do believe its meant for timed finishing but honestly if theres a perfect shot script no point in timed finishing since this teaches to let go of B. but none the less just flick right stick in direction you want to do a skill move.

Code: Select all
#pragma METAINFO("fifa perfect shot and skills", 1, 0, "norge")
#include <titanone.gph>
 
//--------------------------------------------------------------
// DECLARATIONS                                                 
//--------------------------------------------------------------
define DOnotUSE      =   1;
define DelayNormal   =  80;
define DelayRnbwHOLD = 160;
define DelayRest     = 200;
define DelayLeft_move= 500;
define timelimit     = 300; // Time to Double click
define ShootPower    = 220; // Shot Power     
//////////////////////////////////////////////////////////////////
// YOUR BUTTON LAYOUT
define PaceCtrol     = XB1_LT; // Pace Control
define FinesseShot   = XB1_RB; // Finesse Shot
define PlayerRun     = XB1_LB; // Player Run 
define ShotBtn       = XB1_B; // Shot Btn 
define SprintBtn     = XB1_RT; // Sprint Btn
define MOVE_X        = PS4_LX;       
define MOVE_Y        = PS4_LY;       
define SKILL_STICK_X = PS4_RX;       
define SKILL_STICK_Y = PS4_RY;
 
define Best_SKILL               = 1// BestFIFAmove           
define StepOver_SKILL           = 2// STEPOVER_DIRECTION     
define ReversStepOver_SKILL     = 3// REVERS_STEPOVER         
define DoubleTouch_EXIT_SKILL   = 4// REVERS_STEPOVER and EXIT 
define Advanced_Elastico_SKILL  = 5// dob=97; Elastico=TRUE; TURNandSPIN_ELASTICO 
define Elastico_SKILL           = 6// dob=97; Elastico=TRUE; TURNandSPIN_ELASTICO 
define Turn_AND_Spin_SKILL      = 7//                       
define HocusPocus_SKILL         = 8// HOCUS_POCUS                                 
define Spin_NEW_SKILL           = 9// Elastico=0;dob=100;combo_run(TURNandSPIN_ELASTICO);
define Feint_L_R_SKILL          =10// FEINT_SKILL                                   
define Roulette_SKILL           =11// ROULETTE                                     
define Ball_Roll_Flick          =12// BalRollFlick                                 
define OP_Skill                 =13// OP Skill                     
define Ball_Roll_Rock_and_Roll  =14// Ball Roll Rock and Roll                     
define Bolasie_Flick_SKILL      =15// Bolasie Flick   dob=97; Elastico=FALSE;         
define Fake_Shot_SKILL          =16// Fake Shot                                   
define HeelFlickTurn_SKILL      =17// Heel Flick Turn                             
define Heel_to_Heel_SKILL       =18// HEELtoHEEL                                   
define Rainbow_SKILL            =19// RAINBOW                                     
define RonaldoHeelChop          =20// Ronaldo Heel Chop                           
define Fake_Pass_SKILL          =21// Fake Pass                                   
define In_Air_Rainbow           =22// standing = InAirRainbow / running = RAINBOW 
define In_Air_Elastico          =23// InAirElastico                               
define Sombrero_Flick           =24// standing =Sombrero Flick / running = Heel to Heel
define Juggling_Ball            =25// Juggling Ball                               
define Chest_Flick_Skill        =26// Juggling Ball + Chest Flick                 
define V_DragBack_Skill         =27// V Drag Back                                 
define Body_Feint_Universal     =28//               
define Ball_Roll                =29//                   
define Ball_Roll_SpeedBoost     =30//                   
define Cruyff_Turn              =31//                         
//--------------------------------------------------------------                     
// DATA SEGMENT                                                                       
//--------------------------------------------------------------                     
data(DOnotUSE,
//  1   2   3   4    5   6   7   8    9 10  11   12   13  14  15  16  17  18  19   20  21   22  23   24  25  26    27   28    29    30   31    32
    0,-100,50,-100,100,-100,100,-50,100, 0, 100, 50, 100,100, 50,1000,100, -50,100,-100,100,-100, 50,-100, 0, -100, -50, -100, -100, -50, -100,
// 33   34 35   36  37   38  39  40  41 42   43  44   45  46  47  48  49  50   51  52   53  54   55  56   57 58    59   60    61    62   63    64   
    0,-100,50,-100,100,-100,100,-50,100, 0, 100, 50, 100,100, 50,1000,100, -50,100,-100,100,-100, 50,-100, 0, -100, -50, -100, -100, -50, -100,
// 65   66 67   68  69   70  71  72  73 74   75  76   77  78  79  80  81  82   83  84   85  86   87  88   89 90    91   92    93    94   95    96
    0,-100,50,-100,100,-100,100,-50,100, 0, 100, 50, 100,100, 50,1000,100, -50,100,-100,100,-100, 50,-100, 0, -100, -50, -100, -100, -50, -100,
// 97  98  99  100                       
    4, 126, 10   //                   
 
);// end of data                         
 
int ZX, ZY;                                     
int LX, LY;          // Direction of Left Stick         
int RightON           =FALSE;                           
int Elastico          =FALSE;                           
int IndL=0;         // IndL for LEFT ANALOG we use with dbyte(Ind+ ..);
int IndR_L=0;       // IndR_L for LEFT ANALOG we use with dbyte(Ind+ ..);
int Ind=0;          // Ind we use with dbyte(Ind+ ..);                 
int Zone;           //
int temp_Zone;                                               
int mX,mY;                                     
int btn_tap;   
int tap;       
int OnOffMods;
int OneDirectSkill; 
int SKill ;
int IsRightON=FALSE;       
int RS_zone; 
int RX,RY;   
int RA_X,RA_Y;
int flick_up;
int flick_d; 
int flick_l; 
int flick_r;
int Points             =0;                                 
int dob;                                       
int w_AdvancedElastico =10;                   
int Repeat;                                       
int OnOff ;   
int b_Standing;
 
 
//--------------------------------------------------------------
// MAIN BLOCK                                                   
//--------------------------------------------------------------
main {                                         
        if(get_val(ShotBtn) && get_ptime(ShotBtn)>= ShootPower) {  // Shot Power   
              set_val(ShotBtn,  0);   
      }
     if(OnOff){//-------------------------------------------------
         if(abs(get_val(MOVE_X))< 60 && abs(get_val(MOVE_Y))< 60){ 
             b_Standing = TRUE;                                   
         }else{                                                     
             LX = get_val(MOVE_X);                               
             LY = get_val(MOVE_Y);                               
             b_Standing = FALSE;                                 
             get_Zone(LX,LY);                                     
 
 
         }                                                         
     }//----------------------------------------------------------
 
 
     if(event_press(XB1_LB) && !btn_tap){ 
              combo_run(dbl_tap);             
              btn_tap = TRUE;                   
      }else if( event_press(XB1_LB) && btn_tap){
              if(tap){                           
                     OnOffMods = !OnOffMods;   
               }else{                         
                        btn_tap = FALSE;     
               }                       
      }                           
   if(OnOffMods) { // all Skills mode               
 
          //  Right Stick -->  UP                         
          if( get_val(PS4_RY) < -70  && !flick_up ) {   
                  flick_up = TRUE;                         
                  direction( 0 );                           
                  OnOff = FALSE;                             
                   combo_run(BestFIFAmove);                               
          }                                             
          //  Right Stick -->  DOWN                               
          if( get_val(PS4_RY)70  && !flick_d ) {     
                  flick_d = TRUE;                           
                  direction( 1 );                           
                  OnOff = FALSE;                             
                    SKill = 7; dob = 97; Elastico=FALSE;combo_run(TURNandSPIN_ELASTICO);//7. Turn and Spin
          }                                               
 
          //  Right Stick --> LEFT                               
          if( get_val(PS4_RX) < -70  && !flick_l ) {     
                  flick_l = TRUE;                             
                  direction( 0 );                           
                  OnOff = FALSE;                             
                   combo_run(REVERS_STEPOVER);                           
          }                                               
 
          // Right Stick --> RIGHT                                   
          if( get_val(PS4_RX)70  && !flick_r ) {     
                  flick_r = TRUE;                             
                  direction( 1 );                           
                  OnOff = FALSE;                             
                    SKill = 5; dob = 97; Elastico =TRUE;combo_run(TURNandSPIN_ELASTICO); //5. Advanced Elastico
          }                                               
 
 
     if(abs(get_val(PS4_RY))<20  && abs(get_val(PS4_RX))<20){ 
                 flick_up = 0;                                 
                 flick_d  = 0;                                 
                 flick_l  = 0;                                 
                 flick_r  = 0;                                 
 
     }                                             
   }// all Skills mode       
 }   
////////////////////////////////////////////////////////////////
// COMBO BLOCKS   //////////////////////////////////////////////
////////////////////////////////////////////////////////////////
combo dbl_tap{         
   tap = TRUE;         
   wait(timelimit);         
   tap = FALSE;         
   btn_tap = FALSE;     
}                     
//////////////////////////////////////////////////////////////
// 1. BEST FIFA MOVE  ////////////////////////////////////////
//////////////////////////////////////////////////////////////
combo BestFIFAmove {                           
    RA_CW(ZX,ZY);       
    wait(150);//                     
    RA_CW(0,0);                               
    wait(150);//                                 
    LA_CW(ZX,ZY);       
    wait(200);                                 
    OnOff=TRUE;                         
}                                             
 
 
//////////////////////////////////////////////////////////////
// 3. REVERS STEP OVER  //////////////////////////////////////
//////////////////////////////////////////////////////////////
combo REVERS_STEPOVER {                       
 
  if(RightON){                                 
    Ind=(Zone + 4)* 2; //Zone= 5                 
    IndR_L = ((Zone + 2)* 2)- 1;                   
    }else{                                     
    Ind=((Zone + 12) * 2)- 1; //Zone= 13           
    IndR_L = ((Zone + 14)* 2)- 1;                 
    }                                         
    Points = 3;                                 
    combo_run(MimicCircle);                   
 
}                                             
// 5. Advanced Elastico 
// 7. Turn and Spin 
///////////////////////////////////////////////////////////////////
// MIMIC CIRCLE  //////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////
combo MimicCircle {                                     
   if(Points>=1){                                       
      if (RightON){RA_CCW(dbyte(Ind),dbyte(Ind - 1));} 
      else {RA_CW(dbyte(Ind),dbyte(Ind + 1));}         
   }                                                     
      wait(40);                                         
   if(Points>=3){                                       
      if (RightON){RA_CCW(dbyte(Ind - 8),dbyte(Ind - 9));} 
      else {RA_CW(dbyte(Ind + 8),dbyte(Ind + 9));}         
   }                                                     
      wait(40);                                         
   if(Points>=5){                                       
      if (RightON){RA_CCW(dbyte(Ind - 16),dbyte(Ind - 17));} 
      else {RA_CW(dbyte(Ind + 16),dbyte(Ind + 17));}         
   }                                                     
      wait(40);                             
      OnOff=TRUE;                         
}   
///////////////////////////////////////////////////////////////////
/// Turn & Spin OR Elastico  //////////////////////////////////////
//dob=97 /if Elastico=FALSE => Turn and Spin / if Elastico=TRUE => Elastico Chop
// NEW SPIN  dob=100; Elastico=FALSE; 
// 97  98  99  100
//  4, 12,  6, 10   //           
 
combo TURNandSPIN_ELASTICO {         
 
   if(SKill==Bolasie_Flick_SKILL){// 16 
     f_RB_LT_RT(1,0,0);                 
      w_AdvancedElastico=100;           
   }else if(SKill==Advanced_Elastico_SKILL){
     f_RB_LT_RT(0,1,0);             
      w_AdvancedElastico=400;           
   }else{                             
      w_AdvancedElastico=10;         
   }                                 
   wait(w_AdvancedElastico);         
   if(SKill==Bolasie_Flick_SKILL){f_RB_LT_RT(1,0,0);}// 16 
   if(SKill==Advanced_Elastico_SKILL){f_RB_LT_RT(0,1,0);}
   if (RightON){Ind=((Zone + dbyte(dob))*2)- 1;}         
    else{Ind=((Zone + dbyte(dob + 1))*2)- 1;}               
    if(dob==97){//-------------------------------------------
                if (Elastico){ RA_CW(inv(mX), inv(mY));}     
                else {RA_CW( mX , mY);}      // RS go forvard
               }//-------------------------------------------
    if(dob==99){                                             
    RA_CW(dbyte(Ind),dbyte(Ind + 1));                 
    }                                                 
    wait(40);                                         
    if(SKill==Bolasie_Flick_SKILL){f_RB_LT_RT(1,0,0);}// 16 
    if(SKill==Advanced_Elastico_SKILL){f_RB_LT_RT(0,1,0);}
    RA_CW(0,0);                                       
    wait(40);                                         
    if(SKill==Bolasie_Flick_SKILL){f_RB_LT_RT(1,0,0);}// 16 
    if(SKill==Advanced_Elastico_SKILL){f_RB_LT_RT(0,1,0);}
    RA_CW(dbyte(Ind),dbyte(Ind + 1));                 
    wait(40);   
    OnOff=TRUE;                         
}     
 
function get_Zone (X,Y) {                                                     
 
        if ((Y < -80        )&& (X>= -20 && X<   20 ))    {Zone= 1;} // LS==>1
   else if ((Y < -80        )&& (X>=  20 && X<=  70 ))    {Zone= 2;} // LS==>2
   else if ( Y<  -70         &&  X>   70             )    {Zone= 3;} // LS==>2
   else if ((X >  80        )&& (Y>= -70 && Y<= -20 ))    {Zone= 4;} // LS==>2
   else if ((X >  80        )&& (Y>  -20 && Y<   20 ))    {Zone= 5;} // LS==>2
   else if ((X >  80        )&& (Y>=  20 && Y<=  70 ))    {Zone= 6;} // LS==>2
   else if ((X >  70        )&& (           Y>   70 ))    {Zone= 7;} // LS==>2
   else if ((X<  70 && X> 20)&& (           Y== 100 ))    {Zone= 8;} // LS==>2
   else if ((Y >  80        )&& (X>= -20 && X<=  20 ))    {Zone= 9;} // LS==>2
   else if ((Y >  80        )&& (X<  -20 && X>  -70 ))    {Zone=10;} // LS==>2
   else if ((Y >  70        )&& (           X<  -70 ))    {Zone=11;} // LS==>2
   else if ((X < -80        )&& (Y>=  20 && Y<=  70 ))    {Zone=12;} // LS==>2
   else if ((X < -80        )&& (Y>  -20 && Y<   20 ))    {Zone=13;} // LS==>2
   else if ((X < -80        )&& (Y<  -20 && Y>  -70 ))    {Zone=14;} // LS==>2
   else if ((X < -70        )&& (           Y<  -70 ))    {Zone=15;} // LS==>2
   else if ((Y < -80        )&& (X<  -20 && X>  -70 ))    {Zone=16;} // LS==>2
   temp_Zone=Zone;                                                     
     IndL = (Zone * 2)- 1;                 
 
     mX = dbyte(IndL);                       
     mY = dbyte(IndL + 1);                   
}// func end                                             
function direction (dir) {         
   if(dir){                         
      RightON = TRUE;                   
      ZX = inv(LY); ZY = LX; // Zone 3   
    }else {                               
      RightON = FALSE;                     
      ZX =      LY; ZY = inv(LX); // Zone 7 
    }                                     
 
   block(SprintBtn,500);                 
   block(MOVE_X,1000);block(MOVE_Y,1000);
}                                     
//--------------------------------------------------------------
//Right Analog Functions                                       
//--------------------------------------------------------------
function RA_CW(X,Y) {   
    set_val(SKILL_STICK_X,X );     
    set_val(SKILL_STICK_Y,Y);     
}                       
function RA_CCW(Y,X) { 
    set_val(SKILL_STICK_Y,Y );     
    set_val(SKILL_STICK_X,X);       
}                       
function LA_CW(X,Y) {   
    set_val(MOVE_X,X );     
    set_val(MOVE_Y,Y);     
}// func end                       
function f_RB_LT_RT (a,b,c){   
     if(a) set_val(FinesseShot,100); //RB
     if(b) set_val(PaceCtrol,100); //LT
     if(c) set_val(SprintBtn,100); //RT
}// func end                   
function Null_Directional_btns (){
   set_val(13,0);               
   set_val(16,0);           
   set_val(14,0);       
   set_val(15,0);     
}               
// double click   
function calc_90degree (){   
   if(RightON){               
       ZX=inv(LY);ZY=LX; // Zone 3
   }else {                       
       ZX=LY;ZY=inv(LX); // Zone 7
   }                     
}               
 
User avatar
bmpt guard
Command Sergeant Major
Command Sergeant Major
 
Posts: 142
Joined: Thu May 12, 2016 9:33 pm

Re: FIFA 19 request?

Postby ForzaSly » Mon Dec 10, 2018 8:15 am

I have a Titan One. What would be best controller for the Titan one, Xbox Elite or SCUF Vantage for Fifa 19? I read that Vantage bottom paddles can only be programmed with the regular bottons. Can the Elite bottom paddles be programmed differently than the regular buttons? for example, like a skill move for one of the paddle.
User avatar
ForzaSly
Corporal
Corporal
 
Posts: 4
Joined: Mon Dec 10, 2018 8:00 am

Re: FIFA 19 request?

Postby Scachi » Mon Dec 10, 2018 9:01 am

I have no experience with the Elite but according to the T1 documentation the elite paddles can be used as extra buttons, not only as remapped buttons.
XB1_P1,XB1_P2,XB1_P3,XB1_P4 : scroll a bit down -> https://www.consoletuner.com/kbase/data ... ==&ms=AAAA
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: FIFA 19 request?

Postby bonefisher » Mon Dec 10, 2018 10:02 am

You can program the elite paddles separate without anything on them except script if you like just make them blank in the xbox app and save!
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: FIFA 19 request?

Postby alencroat » Mon Dec 10, 2018 11:47 pm

tempting to buy elite
User avatar
alencroat
Lieutenant
Lieutenant
 
Posts: 320
Joined: Sun Oct 15, 2017 5:58 pm

Next

Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 191 guests