FIFA 16 ALL Skills - Can someone help me update this script?
Re: FIFA 16 ALL Skills - Can someone help me update this scr
Jono7110 wrote:Hi can someone post the lates Fifa 16 scriped and how to use it thanks
Look here and all activate/ deactivate instructions are in the script. http://www.consoletuner.com/gpclib/?s=1089
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: FIFA 16 ALL Skills - Can someone help me update this scr
Hi guys, i'm newbie using t1. i just got for 1 week for my ps4. the reason i bought t1 because it's the only device compatible with xim4 and to play fifa which i plan to use combo skill. I already use t1 with xim4 for play rainbow six siege with r6 gamepack and other script from this forum. so far i'm very happy with it.
i try t1 using ds4 to play fifa16 and already pre order xbox elite to play fifa17 on my ps4. I'm glad found fifa script from this topic. and already try using this script to ps4 but i got problem with the fifa16 script.
because by default is already on so there is no point for me to turn it off and it work for skill 1 which is ballrol, but the problem come up when i try to use next skill.
if i'm not mistaking xb1_view is same like share button on ps4 and xb1_right same like dpad right on ps4. So if i want to use next skill i have to hold share button and tap dpad right on my ds4 but everytime i hold share button the window pop up for me to share photo and video and the next skill dont work. I double tap R1 or L1 the skill still no 1 skill or ballroll. Can you guys help me out please. Thanks alot.
i try t1 using ds4 to play fifa16 and already pre order xbox elite to play fifa17 on my ps4. I'm glad found fifa script from this topic. and already try using this script to ps4 but i got problem with the fifa16 script.
FCB77 wrote:the script if ON by default, and skill #1 is selected by default (ballroll)
doubleclick quickly RB (right side) or LB (left side) to execute the skill. i don't know the button names for PS4.
hold XB1_VIEW and tap XB1_RIGHT to switch to the next skill or hold XB1_VIEW and tap XB1_LEFT to switch to the previous skill.
i didnt add LED notification because it increases the byte code side.
because by default is already on so there is no point for me to turn it off and it work for skill 1 which is ballrol, but the problem come up when i try to use next skill.
if i'm not mistaking xb1_view is same like share button on ps4 and xb1_right same like dpad right on ps4. So if i want to use next skill i have to hold share button and tap dpad right on my ds4 but everytime i hold share button the window pop up for me to share photo and video and the next skill dont work. I double tap R1 or L1 the skill still no 1 skill or ballroll. Can you guys help me out please. Thanks alot.
-
gidominus - Sergeant
- Posts: 9
- Joined: Mon Sep 12, 2016 6:32 am
Re: FIFA 16 ALL Skills - Can someone help me update this scr
welcome to our forums. Do you use the share function? if not, I can add a code to the script to complete disable this button to be forwarded to the console, this would solve the problem you describled.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: FIFA 16 ALL Skills - Can someone help me update this scr
download the script again, go to line 93 and change XB1_VIEW to whatever button you want to use
and btw go to line 126 and delete 126, 127 and 128, that was for testing purposes and i forgot to delete them.
and btw go to line 126 and delete 126, 127 and 128, that was for testing purposes and i forgot to delete them.
-
FCB77 - Command Sergeant Major
- Posts: 138
- Joined: Sun Feb 01, 2015 9:21 am
Re: FIFA 16 ALL Skills - Can someone help me update this scr
J2Kbr wrote:welcome to our forums. Do you use the share function? if not, I can add a code to the script to complete disable this button to be forwarded to the console, this would solve the problem you describled.
Thank you J2kbr. I have never use share button. Never share any video or photo at least until now. Yes please If you can add script so i can add to the fifa 16 script.
FCB77 wrote:download the script again, go to line 93 and change XB1_VIEW to whatever button you want to use
and btw go to line 126 and delete 126, 127 and 128, that was for testing purposes and i forgot to delete them.
ok. I will.
-
gidominus - Sergeant
- Posts: 9
- Joined: Mon Sep 12, 2016 6:32 am
Re: FIFA 16 ALL Skills - Can someone help me update this scr
FCB77 wrote:download the script again, go to line 93 and change XB1_VIEW to whatever button you want to use
and btw go to line 126 and delete 126, 127 and 128, that was for testing purposes and i forgot to delete them.
After edit the script, i thought why i only edited line 93 and delete 125-128, why not edit whole script using ps4 button layout so other ps4 player can have better understanding. Basicly i only change the xbox button to ps4 button like double tap xb1_LB to PS4_L2. I'm still learning and try to understand about the script so I don't change any parameter number. But i got error problem after i done edit the script and try to drag to the device memory slot.
- Code: Select all
// GPC Online Library
// fifa_16_skill_combos.gpc
/*
FIFA 16 Combos
- Activate\Desactivate script by pressing PS4_L1 and PS4_UP
- press PS4_L1 an PS4_RIGHT for next skill
- press PS4_L1 an PS4_LEFT for previous skill
some combos are disabled due to MAX bytecode side limitation
so uncomment your combo if you want to use it and add it to ProcessCombos()
- Doubleclick PS4_L2 (skill to the left side) or PS4_R2 (skill to the right side) to execute the skill
********
* IMPORTANT INFORMATION
- Im not a fan of activating the skills via L1 and R1 doubleclicking
specially since FIFA16 the new feature called NO TOUCH DRIBBLING uses the L1 button.
so sometimes when you want to execute some skills to the left side, your player will not execute it correctly.
i way to bypass this is by triple clicking the L1 button or a better option assing the LEFT skills
to a different button.
maybe a solution to this problem is blocking the L1 output to the console totally (send L1 as unpress) when you doubleclick on it.
for testing purposes i have also assigned the PS4_RIGHT button to execute left side skills and the skills run just fine.
I use the PS4_LEFT an PS4_RIGHT you can use the one you like. just change the code bellow in line 121.
or someone else code a better doubleclick handler than me :D.
*************
- some skills only can be excecuted to one direction (HeelFlick, etc)
so it doesnt matter which button you doubleclick, you can use both buttons.
- Combo list
- each fifa 16 player has a STAR SKILL rating, so a 3 STAR PLAYER can only execute
1,2, and 3 STAR SKILLS. a 3 STAR PLAYER can not execute 4 and 5 STAR SKILL.
// standing skills not added.
1 STAR SKILLS
- KnockBall, FakeShot
2 STAR SKILLS
- BallRoll, BodyFeintCut, StepOverCut, ReversoStepOverCut, HeelFlick2
3 STAR SKILLS
- HeelFlick, FlickUP, Roulette, FakeAndGo
4 STAR SKILLS
- FakeShotBallHop, HeelToHeel(HeelFlick), Rainbow, AdvRainbow. FeintLeft/Right(FakeAndGo)
- Spin, StopAndTurn, ScoopTurn
5 STAR SKILLS
- Elastico(FakeAndGo), ReverseElastico(FakeAndGo), HocusPocus, TripleElastico
- BallRollFlick, TurnAndSpin(StopAndTurn), ElasticoChop, BolasieFlick
*/
define UP = 0;
define UP_RIGHT = 1;
define RIGHT = 2;
define DOWN_RIGHT = 3;
define DOWN = 4;
define DOWN_LEFT = 5;
define LEFT = 6;
define UP_LEFT = 7;
define MAX_SKILLS = 14; //21;
define FlickTime = 80;
define HoldTime = 300;
data
( 0, 100, 100, 100, 0, 156, 156, 156,
156, 156, 0, 100, 100, 100, 0, 156
);
int scriptON;
int mode;
int dblclick_timer;
int dblclick_count;
int dblclick_msecs;
int x, y, p;
int dTemp, dStart, dMid, dEnd;
// testing purposes. scripts already ON
init {
scriptON = 1;
mode = 1;
}
main {
// ACTIVE SKILLS
if (get_val(PS4_L1)) {
if (event_release(PS4_UP)) {
set_val(PS4_UP, 0);
scriptON = !scriptON;
}
//NEXT SKILL
if (event_release(PS4_RIGHT)) {
set_val(PS4_RIGHT, 0);
mode = mode + 1;
if (mode > MAX_SKILLS) {
mode = 0;
}
// PREVIOUS SKILL
} else if (event_release(PS4_LEFT)) {
set_val(PS4_LEFT, 0);
mode = mode - 1;
if (mode < 0) {
mode = MAX_SKILLS;
}
}
}
set_val(TRACE_1, scriptON);
set_val(TRACE_2, mode);
if (scriptON) {
if (dbl_clicked(PS4_L2)) {
ProcessCombos(RIGHT, LEFT);
} else if (dbl_clicked(PS4_R2)) {
ProcessCombos(LEFT, RIGHT);
}
}
}
}
/*
***********
COMBO MACROS
***********
I was trying to decrease the max bytecode side by using repetitive code
on a single combo, but at the end i reached the max allow codeside anyways
so combos added after this doesnt contain hold_RStick, flick_RStick, move_RStick, etc
*/
combo hold_RStick {
calc_relative_xy(dEnd);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(HoldTime);
set_val(PS4_RX, 0);
set_val(PS4_RY, 0);
wait(50);
}
combo flick_RStick {
call(move_RStick)
set_val(PS4_RX, 0);
set_val(PS4_RY, 0);
wait(50);
}
combo move_RStick {
calc_relative_xy(dEnd);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(FlickTime);
}
combo RStick_HalfCircle {
calc_relative_xy(dStart);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(FlickTime);
calc_relative_xy(dMid);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(FlickTime);
calc_relative_xy(dEnd);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(FlickTime);
}
// 1 STAR SKILL
/*combo KnockOn {
dEnd = UP;
call(hold_RStick)// increase holdtime to knock the ball further
}
combo FakeShotStop {
set_val(PS4_LX, 0);
set_val(PS4_LY, 0);
set_val(PS4_CIRCLE, 100);
wait(80);
set_val(PS4_LX, 0);
set_val(PS4_LY, 0);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 100);
wait(80);
set_val(PS4_LX, 0);
set_val(PS4_LY, 0);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 0);
wait(80);
set_val(PS4_LX, 0);
set_val(PS4_LY, 0);
set_val(PS4_CROSS, 0);
}*/
// 2 START SKILLS
combo BallRoll{
call(hold_RStick);
}
combo BodyFeintCut {
dEnd = dStart
call(flick_RStick);
// uncomment code if you want 45 degree cut
// if (dTemp == RIGHT) dTemp = UP_RIGHT;
// if (dTemp == LEFT) dTemp = UP_LEFT;
// 90 degree cut - left side nerfed by fifa developers
calc_relative_xy(dTemp) //
set_val(PS4_LX, x)
set_val(PS4_LY, y)
wait(400) // 80 ms
}
/*combo StepOverCut {
calc_relative_xy(UP);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
calc_relative_xy(dStart);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
// uncomment code if you want 45 degree cut
// if (dEnd == RIGHT) dEnd = UP_RIGHT;
// if (dEnd == LEFT) dEnd = UP_LEFT;
// 90 degree cut - left side nerfed by fifa developers
calc_relative_xy(dEnd) //
set_val(PS4_LX, x)
set_val(PS4_LY, y)
wait(400)
}*/
combo ReversoStepOverCut {
calc_relative_xy(dStart);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
calc_relative_xy(UP);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
// 45 degree cut enabled
// for some strange reason if else block gives wrong result.
if (dEnd == RIGHT) dEnd = UP_RIGHT;
if (dEnd == LEFT) dEnd = UP_LEFT;
calc_relative_xy(dEnd) //
set_val(PS4_LX, x)
set_val(PS4_LY, y)
wait(400) // 80 ms
}
combo HeelFlick2 {
set_val(PS4_L1, 100);
set_val(PS4_CIRCLE, 100);
wait(100);
set_val(PS4_L1, 100);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 100);
wait(50);
set_val(PS4_L1, 100);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 0);
wait(100);
set_val(PS4_L1, 100);
set_val(PS4_CROSS, 0);
wait(100);
}
// 3 START SKILL
combo HeelFlick {
dEnd = UP;
call(flick_RStick);
dEnd = DOWN;
call(flick_RStick);
}
/*combo FlickUP {
dEnd = UP
call(flick_RStick)
call(flick_RStick)
call(flick_RStick)
}*/
combo Roulette {
dStart = DOWN
dMid = dEnd
dEnd = UP
call(RStick_HalfCircle)
}
combo FakeAndGo {
dMid = DOWN
call(RStick_HalfCircle)
}
// 4 START SKILL
/*combo FakeShotBallHop {
call(FakeShotStop);
set_val(PS4_R3, 100);
wait(200)
}*/
combo Rainbow {
dEnd = DOWN
call(flick_RStick)
dEnd = UP
call(flick_RStick)
call(flick_RStick)
}
/*combo AdvRainbow {
dEnd = DOWN
call(flick_RStick)
dEnd = UP
calc_relative_xy(UP);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(600);
set_val(PS4_RX, 0);
set_val(PS4_RY, 0);
wait(30);
call(flick_RStick)
}*/
combo Spin {
if (dEnd == RIGHT) dEnd = DOWN_RIGHT
else dEnd = DOWN_LEFT
call(flick_RStick)
call(flick_RStick)
}
combo StopAndTurn {
dEnd = UP
call(flick_RStick)
dEnd = dTemp
call(flick_RStick)
}
combo RonaldoChop {
// press R2 (sprint button) to do
// a 90 degree fakeshot while running
calc_relative_xy(dEnd);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_L2, 100);
set_val(PS4_CIRCLE, 100);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_L2, 100);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 100);
wait(50);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_L2, 100);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 0);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_L2, 100);
set_val(PS4_CROSS, 0);
wait(100);
}
/*combo ScoopTurn {
// not the best one but seems to work. 80%
// if you have a better one share it :D
// 45 degree cut/turn
// if (dEnd == RIGHT) dEnd = UP_RIGHT;
// if (dEnd == LEFT) dEnd = UP_LEFT;
// little hack to slow player's speed
set_val(PS4_L2, 100);
wait(400);
calc_relative_xy(dEnd);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_CIRCLE, 100);
set_val(PS4_L2, 100);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 100);
set_val(PS4_L2, 100);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 0);
set_val(PS4_L2, 100);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_CROSS, 0);
set_val(PS4_L2, 100);
wait(100);
// little hack to slow players speed and to avoid ronaldochop animation
set_val(PS4_L2, 100);
wait(400);
}
// 5 START SKILL
combo HocusPocusElastico {
calc_relative_xy(DOWN)
set_val(PS4_RX, x)
set_val(PS4_RY, y)
wait(FlickTime)
dMid = DOWN
dEnd = dTemp;
call(RStick_HalfCircle)
}*/
combo BallRollFlick {
dEnd = dStart
call(BallRoll)
dEnd = dTemp
// change dEnd to UP to flick the ball to the front
// if (mode == 13) dEnd = UP
call(move_RStick)
}
combo ElasticoChop {
dEnd = DOWN
call(flick_RStick)
dEnd = dTemp
call(flick_RStick)
}
combo BolasieFlick {
set_val(PS4_R1XB1_RB, 100);
calc_relative_xy(UP);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_RX, 0);
set_val(PS4_RY, 0);
wait(50);
set_val(PS4_R1, 100);
calc_relative_xy(dEnd);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
}
function ProcessCombos(fromSide, toSide) {
if (mode) {
// dEnd = side for skill execution
// dTemp = copy of dEnd
// dStart = opposite side
// for example
// if dEnd = RIGHT then dStart = LEFT
// if dEnd = LEFT then dStart = RIGHT
dStart = fromSide;
dEnd = toSide;
dTemp = toSide;
if (mode == 1) combo_run(BallRoll)
else if (mode == 2) combo_run(BodyFeintCut)
else if (mode == 3) combo_run(ReversoStepOverCut)
else if (mode == 4) combo_run(HeelFlick2)
else if (mode == 5) combo_run(HeelFlick)
else if (mode == 6) combo_run(FakeAndGo)
else if (mode == 7) combo_run(Roulette)
else if (mode == 8) combo_run(Rainbow)
else if (mode == 9) combo_run(StopAndTurn)
else if (mode == 10) combo_run(Spin)
else if (mode == 11) combo_run(RonaldoChop)
else if (mode == 12) combo_run(BallRollFlick)
else if (mode == 13) combo_run(ElasticoChop)
else if (mode == 14) combo_run(BolasieFlick)
/* else if (mode == 1) combo_run(KnockOn)
else if (mode == 3) combo_run(StepOverCut)
else if (mode == 6) combo_run(FlickUP)
else if (mode == 2) combo_run(FakeShotStop)
else if (mode == 5) combo_run(FakeShotBallHop)
else if (mode == 9) combo_run(AdvRainbow)
else if (mode == 11) combo_run(ScoopTurn)
else if (mode == 13) combo_run(HocusPocusElastico)
*/
}
}
function calc_relative_xy(d) {
if(get_val(PS4_LX) >= 50) x = 100;
else if(get_val(PS4_LX) <= -50) x = -100;
else x = 0;
if(get_val(PS4_LY) >= 50) y = 100;
else if(get_val(PS4_LY) <= -50) y = -100;
else y = 0;
set_val(TRACE_1, x);
set_val(TRACE_2, y);
if(x != 0 || y != 0) {
p = 0; while(p < 8) {
if(dchar(p) == x && dchar(8 + p) == y) {
break;
} p = p + 1;
}
p = p + d;
if(p >= 8) p = p - 8;
x = dchar(p);
y = dchar(8 + p);
}
return;
}
function dbl_clicked(button) {
if (dblclick_timer) {
dblclick_msecs = dblclick_msecs + get_rtime();
if ( dblclick_msecs > 500 ) {
dblclick_count = 0;
dblclick_msecs = 0;
dblclick_timer = FALSE;
}
}
if (event_release(button) && get_ptime(button) < 150) {
if (dblclick_count == 0) {
dblclick_timer = TRUE;
} else if (dblclick_count == 1) {
dblclick_count = 0;
return 1;
}
dblclick_count = dblclick_count + 1;
}
}
fifa 16 script create by J2kbr and FCB77, i only edit and re write it so ps4 player can understand better. so please J2kbr and FCB77 can you guys check it out where's the problem. Thank you.
-
gidominus - Sergeant
- Posts: 9
- Joined: Mon Sep 12, 2016 6:32 am
Re: FIFA 16 ALL Skills - Can someone help me update this scr
you forgot to delete line 125 "}"
also you edited line 426 but forgot to delete the XB1 button reference.
change it to
after that it will compile.
also you edited line 426 but forgot to delete the XB1 button reference.
- Code: Select all
set_val(PS4_R1XB1_RB, 100);
change it to
- Code: Select all
set_val(PS4_R1, 100);
after that it will compile.
-
FCB77 - Command Sergeant Major
- Posts: 138
- Joined: Sun Feb 01, 2015 9:21 am
Re: FIFA 16 ALL Skills - Can someone help me update this scr
FCB77 wrote:you forgot to delete line 125 "}"
also you edited line 426 but forgot to delete the XB1 button reference.
- Code: Select all
set_val(PS4_R1XB1_RB, 100);
change it to
- Code: Select all
set_val(PS4_R1, 100);
after that it will compile.
Done. Thank a lot fcb77.
-
gidominus - Sergeant
- Posts: 9
- Joined: Mon Sep 12, 2016 6:32 am
Re: FIFA 16 ALL Skills - Can someone help me update this scr
J2Kbr wrote::joia: Here is the complete script.
- Code: Select all
define UP = 0;
define UP_RIGHT = 1;
define RIGHT = 2;
define DOWN_RIGHT = 3;
define DOWN = 4;
define DOWN_LEFT = 5;
define LEFT = 6;
define UP_LEFT = 7;
data (
/* X */ 0, 100, 100, 100, 0, 156, 156, 156,
/* Y */ 156, 156, 0, 100, 100, 100, 0, 156
);
int x, y, p;
int spinDirection;
int leftspin_stage, leftspin_timing;
int rightspin_stage, rightspin_timing;
int stopturnDirection;
int leftstopturn_stage, leftstopturn_timing;
int rightstopturn_stage, rightstopturn_timing;
int heelflickturn, rainbow;
main {
// LEFT SPIN (Double tap left bumper)
if(leftspin_stage == 0) {
if(get_val(XB1_LB)) { leftspin_timing = 0; leftspin_stage = 1; }
} else if(leftspin_stage == 1) {
if(!get_val(XB1_LB)) { leftspin_timing = 0; leftspin_stage = 2; }
else leftspin_check_timeout();
} else if(leftspin_stage == 2) {
if(get_val(XB1_LB)) {
leftspin_stage = 0;
spinDirection = DOWN_LEFT;
combo_run(Spin);
} else leftspin_check_timeout();
}
// RIGHT SPIN (Double tap right bumper)
if(rightspin_stage == 0) {
if(get_val(XB1_RB)) { rightspin_timing = 0; rightspin_stage = 1; }
} else if(rightspin_stage == 1) {
if(!get_val(XB1_RB)) { rightspin_timing = 0; rightspin_stage = 2; }
else rightspin_check_timeout();
} else if(rightspin_stage == 2) {
if(get_val(XB1_RB)) {
rightspin_stage = 0;
spinDirection = DOWN_RIGHT;
combo_run(Spin);
} else rightspin_check_timeout();
}
// STOP TURN LEFT (Double tap left trigger)
if(leftstopturn_stage == 0) {
if(get_val(XB1_LT)) { leftstopturn_timing = 0; leftstopturn_stage = 1; }
} else if(leftstopturn_stage == 1) {
if(!get_val(XB1_LT)) { leftstopturn_timing = 0; leftstopturn_stage = 2; }
else leftstopturn_check_timeout();
} else if(leftstopturn_stage == 2) {
if(get_val(XB1_LT)) {
leftstopturn_stage = 0;
stopturnDirection = LEFT;
combo_run(StopTurn);
} else leftstopturn_check_timeout();
}
// STOP TURN RIGHT (Double tap right trigger)
if(rightstopturn_stage == 0) {
if(get_val(XB1_RT)) { rightstopturn_timing = 0; rightstopturn_stage = 1; }
} else if(rightstopturn_stage == 1) {
if(!get_val(XB1_RT)) { rightstopturn_timing = 0; rightstopturn_stage = 2; }
else rightstopturn_check_timeout();
} else if(rightstopturn_stage == 2) {
if(get_val(XB1_RT)) {
rightstopturn_stage = 0;
stopturnDirection = RIGHT;
combo_run(StopTurn);
} else rightstopturn_check_timeout();
}
// HELL FLICK TURN (holding LS click for 100 ms)
if(get_val(XB1_LS)) {
if(!heelflickturn && get_ptime(XB1_LS) >= 100) {
heelflickturn = TRUE;
combo_run(HeelFlickTurn);
}
} else if(heelflickturn) heelflickturn = FALSE;
// RAINBOW (holding RS click for 100 ms)
if(get_val(XB1_RS)) {
if(!rainbow && get_ptime(XB1_RS) >= 100) {
rainbow = TRUE;
combo_run(Rainbow);
}
} else if(rainbow) rainbow = FALSE;
if(combo_running(Spin)) {
set_val(XB1_RB, 0);
set_val(XB1_LB, 0);
}
if(combo_running(StopTurn)) {
set_val(XB1_RT, 0);
set_val(XB1_LT, 0);
}
if(combo_running(HeelFlickTurn)) {
set_val(XB1_LS, 0);
}
if(combo_running(Rainbow)) {
set_val(XB1_RS, 0);
}
}
combo Spin {
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(50);
calc_relative_xy(spinDirection);
set_val(XB1_RX, x);
set_val(XB1_RY, y);
wait(80);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(50);
calc_relative_xy(spinDirection);
set_val(XB1_RX, x);
set_val(XB1_RY, y);
wait(80);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(160);
}
combo StopTurn {
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(50);
calc_relative_xy(UP);
set_val(XB1_RX, x);
set_val(XB1_RY, y);
wait(80);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(50);
calc_relative_xy(stopturnDirection);
set_val(XB1_RX, x);
set_val(XB1_RY, y);
wait(80);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(160);
}
combo HeelFlickTurn {
set_val(XB1_RB, 100);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(50);
set_val(XB1_RB, 100);
calc_relative_xy(UP);
set_val(XB1_RX, x);
set_val(XB1_RY, y);
wait(80);
set_val(XB1_RB, 100);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(50);
set_val(XB1_RB, 100);
calc_relative_xy(DOWN);
set_val(XB1_RX, x);
set_val(XB1_RY, y);
wait(80);
set_val(XB1_RB, 100);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(160);
}
combo Rainbow {
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(50);
calc_relative_xy(DOWN);
set_val(XB1_RX, x);
set_val(XB1_RY, y);
wait(80);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(50);
calc_relative_xy(UP);
set_val(XB1_RX, x);
set_val(XB1_RY, y);
wait(80);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(50);
calc_relative_xy(UP);
set_val(XB1_RX, x);
set_val(XB1_RY, y);
wait(80);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(160);
}
function calc_relative_xy(d) {
if(get_val(XB1_LX) >= 50) x = 100;
else if(get_val(XB1_LX) <= -50) x = -100;
else x = 0;
if(get_val(XB1_LY) >= 50) y = 100;
else if(get_val(XB1_LY) <= -50) y = -100;
else y = 0;
if(x != 0 || y != 0) {
p = 0; while(p < 8) {
if(dchar(p) == x && dchar(8 + p) == y) {
break;
} p = p + 1;
}
p = p + d;
if(p >= 8) p = p - 8;
x = dchar(p);
y = dchar(8 + p);
}
return;
}
function leftspin_check_timeout() {
leftspin_timing = leftspin_timing + get_rtime();
if(leftspin_timing > 150) leftspin_stage = 0;
}
function rightspin_check_timeout() {
rightspin_timing = rightspin_timing + get_rtime();
if(rightspin_timing > 150) rightspin_stage = 0;
}
function leftstopturn_check_timeout() {
leftstopturn_timing = leftstopturn_timing + get_rtime();
if(leftstopturn_timing > 150) leftstopturn_stage = 0;
}
function rightstopturn_check_timeout() {
rightstopturn_timing = rightstopturn_timing + get_rtime();
if(rightstopturn_timing > 150) rightstopturn_stage = 0;
}
@J2kbr i have several question regarding this 4 skills in these scripts. if i want to change one of the skill with other skill, which script line that i can copy from http://www.consoletuner.com/gpclib/?s=1089 and which line that i can paste it in your script. let say that i want to change leftstopturn and rightstopturn with left ballroll and right ballroll from http://www.consoletuner.com/gpclib/?s=1089.
I prefer using these script because there are 6 button i can use like R1, L1, R2, L2, R3 and L3.
the other question are i noticed delay everytime i use skill, let say if i double tap xb1_rb or ps4_r1 the skill not immediately execute. i know it's not lagging maybe because there are delay scripts. is it possible to change delay parameter number so the skill can be execute immediately after i press double tap RB, LB, RT and LT?
-
gidominus - Sergeant
- Posts: 9
- Joined: Mon Sep 12, 2016 6:32 am
Re: FIFA 16 ALL Skills - Can someone help me update this scr
gidominus wrote:FCB77 wrote:download the script again, go to line 93 and change XB1_VIEW to whatever button you want to use
and btw go to line 126 and delete 126, 127 and 128, that was for testing purposes and i forgot to delete them.
After edit the script, i thought why i only edited line 93 and delete 125-128, why not edit whole script using ps4 button layout so other ps4 player can have better understanding. Basicly i only change the xbox button to ps4 button like double tap xb1_LB to PS4_L2. I'm still learning and try to understand about the script so I don't change any parameter number. But i got error problem after i done edit the script and try to drag to the device memory slot.
- Code: Select all
// GPC Online Library
// fifa_16_skill_combos.gpc
/*
FIFA 16 Combos
- Activate\Desactivate script by pressing PS4_L1 and PS4_UP
- press PS4_L1 an PS4_RIGHT for next skill
- press PS4_L1 an PS4_LEFT for previous skill
some combos are disabled due to MAX bytecode side limitation
so uncomment your combo if you want to use it and add it to ProcessCombos()
- Doubleclick PS4_L2 (skill to the left side) or PS4_R2 (skill to the right side) to execute the skill
********
* IMPORTANT INFORMATION
- Im not a fan of activating the skills via L1 and R1 doubleclicking
specially since FIFA16 the new feature called NO TOUCH DRIBBLING uses the L1 button.
so sometimes when you want to execute some skills to the left side, your player will not execute it correctly.
i way to bypass this is by triple clicking the L1 button or a better option assing the LEFT skills
to a different button.
maybe a solution to this problem is blocking the L1 output to the console totally (send L1 as unpress) when you doubleclick on it.
for testing purposes i have also assigned the PS4_RIGHT button to execute left side skills and the skills run just fine.
I use the PS4_LEFT an PS4_RIGHT you can use the one you like. just change the code bellow in line 121.
or someone else code a better doubleclick handler than me :D.
*************
- some skills only can be excecuted to one direction (HeelFlick, etc)
so it doesnt matter which button you doubleclick, you can use both buttons.
- Combo list
- each fifa 16 player has a STAR SKILL rating, so a 3 STAR PLAYER can only execute
1,2, and 3 STAR SKILLS. a 3 STAR PLAYER can not execute 4 and 5 STAR SKILL.
// standing skills not added.
1 STAR SKILLS
- KnockBall, FakeShot
2 STAR SKILLS
- BallRoll, BodyFeintCut, StepOverCut, ReversoStepOverCut, HeelFlick2
3 STAR SKILLS
- HeelFlick, FlickUP, Roulette, FakeAndGo
4 STAR SKILLS
- FakeShotBallHop, HeelToHeel(HeelFlick), Rainbow, AdvRainbow. FeintLeft/Right(FakeAndGo)
- Spin, StopAndTurn, ScoopTurn
5 STAR SKILLS
- Elastico(FakeAndGo), ReverseElastico(FakeAndGo), HocusPocus, TripleElastico
- BallRollFlick, TurnAndSpin(StopAndTurn), ElasticoChop, BolasieFlick
*/
define UP = 0;
define UP_RIGHT = 1;
define RIGHT = 2;
define DOWN_RIGHT = 3;
define DOWN = 4;
define DOWN_LEFT = 5;
define LEFT = 6;
define UP_LEFT = 7;
define MAX_SKILLS = 14; //21;
define FlickTime = 80;
define HoldTime = 300;
data
( 0, 100, 100, 100, 0, 156, 156, 156,
156, 156, 0, 100, 100, 100, 0, 156
);
int scriptON;
int mode;
int dblclick_timer;
int dblclick_count;
int dblclick_msecs;
int x, y, p;
int dTemp, dStart, dMid, dEnd;
// testing purposes. scripts already ON
init {
scriptON = 1;
mode = 1;
}
main {
// ACTIVE SKILLS
if (get_val(PS4_L1)) {
if (event_release(PS4_UP)) {
set_val(PS4_UP, 0);
scriptON = !scriptON;
}
//NEXT SKILL
if (event_release(PS4_RIGHT)) {
set_val(PS4_RIGHT, 0);
mode = mode + 1;
if (mode > MAX_SKILLS) {
mode = 0;
}
// PREVIOUS SKILL
} else if (event_release(PS4_LEFT)) {
set_val(PS4_LEFT, 0);
mode = mode - 1;
if (mode < 0) {
mode = MAX_SKILLS;
}
}
}
set_val(TRACE_1, scriptON);
set_val(TRACE_2, mode);
if (scriptON) {
if (dbl_clicked(PS4_L2)) {
ProcessCombos(RIGHT, LEFT);
} else if (dbl_clicked(PS4_R2)) {
ProcessCombos(LEFT, RIGHT);
}
}
}
}
/*
***********
COMBO MACROS
***********
I was trying to decrease the max bytecode side by using repetitive code
on a single combo, but at the end i reached the max allow codeside anyways
so combos added after this doesnt contain hold_RStick, flick_RStick, move_RStick, etc
*/
combo hold_RStick {
calc_relative_xy(dEnd);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(HoldTime);
set_val(PS4_RX, 0);
set_val(PS4_RY, 0);
wait(50);
}
combo flick_RStick {
call(move_RStick)
set_val(PS4_RX, 0);
set_val(PS4_RY, 0);
wait(50);
}
combo move_RStick {
calc_relative_xy(dEnd);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(FlickTime);
}
combo RStick_HalfCircle {
calc_relative_xy(dStart);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(FlickTime);
calc_relative_xy(dMid);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(FlickTime);
calc_relative_xy(dEnd);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(FlickTime);
}
// 1 STAR SKILL
/*combo KnockOn {
dEnd = UP;
call(hold_RStick)// increase holdtime to knock the ball further
}
combo FakeShotStop {
set_val(PS4_LX, 0);
set_val(PS4_LY, 0);
set_val(PS4_CIRCLE, 100);
wait(80);
set_val(PS4_LX, 0);
set_val(PS4_LY, 0);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 100);
wait(80);
set_val(PS4_LX, 0);
set_val(PS4_LY, 0);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 0);
wait(80);
set_val(PS4_LX, 0);
set_val(PS4_LY, 0);
set_val(PS4_CROSS, 0);
}*/
// 2 START SKILLS
combo BallRoll{
call(hold_RStick);
}
combo BodyFeintCut {
dEnd = dStart
call(flick_RStick);
// uncomment code if you want 45 degree cut
// if (dTemp == RIGHT) dTemp = UP_RIGHT;
// if (dTemp == LEFT) dTemp = UP_LEFT;
// 90 degree cut - left side nerfed by fifa developers
calc_relative_xy(dTemp) //
set_val(PS4_LX, x)
set_val(PS4_LY, y)
wait(400) // 80 ms
}
/*combo StepOverCut {
calc_relative_xy(UP);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
calc_relative_xy(dStart);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
// uncomment code if you want 45 degree cut
// if (dEnd == RIGHT) dEnd = UP_RIGHT;
// if (dEnd == LEFT) dEnd = UP_LEFT;
// 90 degree cut - left side nerfed by fifa developers
calc_relative_xy(dEnd) //
set_val(PS4_LX, x)
set_val(PS4_LY, y)
wait(400)
}*/
combo ReversoStepOverCut {
calc_relative_xy(dStart);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
calc_relative_xy(UP);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
// 45 degree cut enabled
// for some strange reason if else block gives wrong result.
if (dEnd == RIGHT) dEnd = UP_RIGHT;
if (dEnd == LEFT) dEnd = UP_LEFT;
calc_relative_xy(dEnd) //
set_val(PS4_LX, x)
set_val(PS4_LY, y)
wait(400) // 80 ms
}
combo HeelFlick2 {
set_val(PS4_L1, 100);
set_val(PS4_CIRCLE, 100);
wait(100);
set_val(PS4_L1, 100);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 100);
wait(50);
set_val(PS4_L1, 100);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 0);
wait(100);
set_val(PS4_L1, 100);
set_val(PS4_CROSS, 0);
wait(100);
}
// 3 START SKILL
combo HeelFlick {
dEnd = UP;
call(flick_RStick);
dEnd = DOWN;
call(flick_RStick);
}
/*combo FlickUP {
dEnd = UP
call(flick_RStick)
call(flick_RStick)
call(flick_RStick)
}*/
combo Roulette {
dStart = DOWN
dMid = dEnd
dEnd = UP
call(RStick_HalfCircle)
}
combo FakeAndGo {
dMid = DOWN
call(RStick_HalfCircle)
}
// 4 START SKILL
/*combo FakeShotBallHop {
call(FakeShotStop);
set_val(PS4_R3, 100);
wait(200)
}*/
combo Rainbow {
dEnd = DOWN
call(flick_RStick)
dEnd = UP
call(flick_RStick)
call(flick_RStick)
}
/*combo AdvRainbow {
dEnd = DOWN
call(flick_RStick)
dEnd = UP
calc_relative_xy(UP);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(600);
set_val(PS4_RX, 0);
set_val(PS4_RY, 0);
wait(30);
call(flick_RStick)
}*/
combo Spin {
if (dEnd == RIGHT) dEnd = DOWN_RIGHT
else dEnd = DOWN_LEFT
call(flick_RStick)
call(flick_RStick)
}
combo StopAndTurn {
dEnd = UP
call(flick_RStick)
dEnd = dTemp
call(flick_RStick)
}
combo RonaldoChop {
// press R2 (sprint button) to do
// a 90 degree fakeshot while running
calc_relative_xy(dEnd);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_L2, 100);
set_val(PS4_CIRCLE, 100);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_L2, 100);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 100);
wait(50);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_L2, 100);
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 0);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_L2, 100);
set_val(PS4_CROSS, 0);
wait(100);
}
/*combo ScoopTurn {
// not the best one but seems to work. 80%
// if you have a better one share it :D
// 45 degree cut/turn
// if (dEnd == RIGHT) dEnd = UP_RIGHT;
// if (dEnd == LEFT) dEnd = UP_LEFT;
// little hack to slow player's speed
set_val(PS4_L2, 100);
wait(400);
calc_relative_xy(dEnd);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_CIRCLE, 100);
set_val(PS4_L2, 100);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 100);
set_val(PS4_L2, 100);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 0);
set_val(PS4_L2, 100);
wait(100);
set_val(PS4_LX, x)
set_val(PS4_LY, y)
set_val(PS4_CROSS, 0);
set_val(PS4_L2, 100);
wait(100);
// little hack to slow players speed and to avoid ronaldochop animation
set_val(PS4_L2, 100);
wait(400);
}
// 5 START SKILL
combo HocusPocusElastico {
calc_relative_xy(DOWN)
set_val(PS4_RX, x)
set_val(PS4_RY, y)
wait(FlickTime)
dMid = DOWN
dEnd = dTemp;
call(RStick_HalfCircle)
}*/
combo BallRollFlick {
dEnd = dStart
call(BallRoll)
dEnd = dTemp
// change dEnd to UP to flick the ball to the front
// if (mode == 13) dEnd = UP
call(move_RStick)
}
combo ElasticoChop {
dEnd = DOWN
call(flick_RStick)
dEnd = dTemp
call(flick_RStick)
}
combo BolasieFlick {
set_val(PS4_R1XB1_RB, 100);
calc_relative_xy(UP);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
set_val(PS4_R1, 100);
set_val(PS4_RX, 0);
set_val(PS4_RY, 0);
wait(50);
set_val(PS4_R1, 100);
calc_relative_xy(dEnd);
set_val(PS4_RX, x);
set_val(PS4_RY, y);
wait(80);
}
function ProcessCombos(fromSide, toSide) {
if (mode) {
// dEnd = side for skill execution
// dTemp = copy of dEnd
// dStart = opposite side
// for example
// if dEnd = RIGHT then dStart = LEFT
// if dEnd = LEFT then dStart = RIGHT
dStart = fromSide;
dEnd = toSide;
dTemp = toSide;
if (mode == 1) combo_run(BallRoll)
else if (mode == 2) combo_run(BodyFeintCut)
else if (mode == 3) combo_run(ReversoStepOverCut)
else if (mode == 4) combo_run(HeelFlick2)
else if (mode == 5) combo_run(HeelFlick)
else if (mode == 6) combo_run(FakeAndGo)
else if (mode == 7) combo_run(Roulette)
else if (mode == 8) combo_run(Rainbow)
else if (mode == 9) combo_run(StopAndTurn)
else if (mode == 10) combo_run(Spin)
else if (mode == 11) combo_run(RonaldoChop)
else if (mode == 12) combo_run(BallRollFlick)
else if (mode == 13) combo_run(ElasticoChop)
else if (mode == 14) combo_run(BolasieFlick)
/* else if (mode == 1) combo_run(KnockOn)
else if (mode == 3) combo_run(StepOverCut)
else if (mode == 6) combo_run(FlickUP)
else if (mode == 2) combo_run(FakeShotStop)
else if (mode == 5) combo_run(FakeShotBallHop)
else if (mode == 9) combo_run(AdvRainbow)
else if (mode == 11) combo_run(ScoopTurn)
else if (mode == 13) combo_run(HocusPocusElastico)
*/
}
}
function calc_relative_xy(d) {
if(get_val(PS4_LX) >= 50) x = 100;
else if(get_val(PS4_LX) <= -50) x = -100;
else x = 0;
if(get_val(PS4_LY) >= 50) y = 100;
else if(get_val(PS4_LY) <= -50) y = -100;
else y = 0;
set_val(TRACE_1, x);
set_val(TRACE_2, y);
if(x != 0 || y != 0) {
p = 0; while(p < 8) {
if(dchar(p) == x && dchar(8 + p) == y) {
break;
} p = p + 1;
}
p = p + d;
if(p >= 8) p = p - 8;
x = dchar(p);
y = dchar(8 + p);
}
return;
}
function dbl_clicked(button) {
if (dblclick_timer) {
dblclick_msecs = dblclick_msecs + get_rtime();
if ( dblclick_msecs > 500 ) {
dblclick_count = 0;
dblclick_msecs = 0;
dblclick_timer = FALSE;
}
}
if (event_release(button) && get_ptime(button) < 150) {
if (dblclick_count == 0) {
dblclick_timer = TRUE;
} else if (dblclick_count == 1) {
dblclick_count = 0;
return 1;
}
dblclick_count = dblclick_count + 1;
}
}
- Activate\Desactivate script by pressing PS4_L1 and PS4_UP
- press PS4_L1 an PS4_RIGHT for next skill
- press PS4_L1 an PS4_LEFT for previous skill
some combos are disabled due to MAX bytecode side limitation
so uncomment your combo if you want to use it and add it to ProcessCombos()
So I'm having trouble to get to the next skill.. or previous skill. Do I press L1 then D-PAD right for next skill or L1 + Dpad left for previous skill? Its not working when I try that.
-
kiet510 - Command Sergeant Major
- Posts: 175
- Joined: Sat Jan 03, 2015 5:17 am
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 108 guests