PDA

View Full Version : Devil Jin Script



Atom76
10th June 17, 16:03
Here's my mediocre DVJ script, but nearly all of it is working from both sides! Huzzah



10- String on LT
EWGF on RT
2 different EWGF combos on Right stick left/right
Double-lift combo on Right stick down
Laser Scraper is Left Stick right, but its not working from Right side for some reason if someone wants to try and fix my code :wink:


Feel free to steal/add/improve. GLHF!

int FORWARD;int BACK;


unmap XB1_LX
unmap XB1_LY


main {
if(get_val(11) < -20 || get_val(15)){
FORWARD = 15; BACK = 16;
}else if(get_val(11) >20 || get_val(16)){
FORWARD = 16; BACK = 15;
}
if(event_press(XB1_RT)) {
combo_run(EWGF);
}
if(get_val(XB1_LT) >60) {
combo_run(Tenhit);
}
if(get_val(XB1_LT) <60) {
combo_stop(Tenhit);
}
if(get_val(XB1_RX)>60) {
combo_run(EWGF1);
}
if(get_val(XB1_RX) <60) {
combo_stop(EWGF1);
}
if(get_val(XB1_RX)<-60) {
combo_run(EWGF2);
}
if(get_val(XB1_RX) >-60) {
combo_stop(EWGF2);
}
if(get_val(XB1_LX)>60) {
combo_run(LaserScraper);
}
if(get_val(XB1_LX)<60) {
combo_stop(LaserScraper);
}
if(get_val(XB1_RY)>60) {
combo_run(DoubleLift);
}
if(get_val(XB1_RY) <60) {
combo_stop(DoubleLift);
}
}

///////////////////////////////////
combo EWGF {
set_val(FORWARD, 100);
wait(80);
set_val(XB1_DOWN, 100);
wait(80);
set_val(FORWARD, 100);
set_val(XB1_DOWN, 100);
set_val(XB1_Y, 100);
wait(20);
}
combo Tenhit {
set_val(XB1_A, 100);
wait(40);
wait(160);
set_val(XB1_Y, 100);
wait(40);
wait(260);
set_val(XB1_B, 100);
wait(40);
wait(160);
set_val(XB1_A, 100);
wait(40);
wait(680);
set_val(XB1_B, 100);
set_val(XB1_X, 100);
wait(40);
wait(260);
set_val(XB1_X, 100);
wait(500);
set_val(XB1_Y, 100);
wait(300);
set_val(XB1_X, 100);
wait(350);
set_val(XB1_Y, 100);
wait(200);
}
combo EWGF1 {
call(EWGF)
wait(420);
set_val(FORWARD, 100);
wait(80);
set_val(FORWARD, 0);
wait(70);
set_val(FORWARD, 100);
wait(100);
set_val(FORWARD, 100);
set_val(PS4_CIRCLE, 100);
wait(590);
set_val(FORWARD, 0);
set_val(PS4_CIRCLE, 100);
wait(20);
wait(250);
set_val(PS4_CIRCLE, 100);
wait(50);
set_val(PS4_CIRCLE, 100);
set_val(PS4_CROSS, 100);
wait(70);
set_val(PS4_CIRCLE, 0);
set_val(PS4_CROSS, 100);
wait(20);
wait(950);
set_val(FORWARD, 100);
wait(80);
set_val(XB1_DOWN, 100);
wait(80);
set_val(FORWARD, 100);
set_val(XB1_DOWN, 100);
set_val(XB1_A, 100);
wait(600);
wait(10000);
}
combo EWGF2 {
call(EWGF)
wait(440);
set_val(XB1_UP, 100);
set_val(XB1_Y, 100);
set_val(XB1_X, 100);
wait(20);
wait(680);
set_val(FORWARD, 100);
wait(80);
set_val(FORWARD, 0);
wait(70);
set_val(FORWARD, 100);
wait(100);
set_val(FORWARD, 100);
set_val(PS4_CIRCLE, 100);
wait(590);
set_val(FORWARD, 0);
set_val(PS4_CIRCLE, 100);
wait(20);
wait(250);
set_val(FORWARD, 100);
wait(80);
set_val(FORWARD, 0);
wait(70);
set_val(FORWARD, 100);
wait(100);
set_val(FORWARD, 100);
set_val(XB1_A, 100);
wait(590);
set_val(FORWARD, 0);
set_val(XB1_A, 100);
wait(20);
wait(40);
set_val(FORWARD, 100);
wait(80);
set_val(FORWARD, 0);
wait(70);
set_val(FORWARD, 100);
wait(100);
set_val(FORWARD, 100);
set_val(XB1_A, 100);
set_val(XB1_B, 100);
wait(250);
wait(10000);
}
combo LaserScraper {
set_val(BACK, 100);
wait(20);
wait(100);
set_val(FORWARD, 100);
set_val(XB1_Y, 100);
wait(200);
set_val(XB1_X, 100);
wait(400);
set_val(FORWARD, 100);
set_val(XB1_DOWN, 100);
set_val(XB1_Y, 100);
wait(100);
}
combo DoubleLift {
set_val(XB1_DOWN, 100);
set_val(XB1_A, 100);
set_val(XB1_B, 100);
wait(20);
wait(980);
set_val(BACK, 100);
set_val(XB1_Y, 100);
wait(100);
wait(100);
set_val(XB1_A, 100);
wait(100);
wait(1000);
set_val(BACK, 100);
wait(20);
wait(100);
set_val(FORWARD, 100);
set_val(XB1_Y, 100);
wait(200);
set_val(XB1_X, 100);
wait(400);
set_val(FORWARD, 100);
set_val(XB1_DOWN, 100);
set_val(XB1_Y, 100);
wait(10000);
}

nijak000
10th June 17, 16:26
thank you man , I will test see if it works for 360 controller

AndoG
10th June 17, 17:41
Does this work for PS4 controller to?

Atom76
10th June 17, 17:49
Does this work for PS4 controller to?

Yes sir! Enjoy!

If you look through the script, there is both notations for Xbox and PS4

andbear413
10th June 17, 17:54
Its giving me a error on line 9
ERROR line 9: syntax error near unexpected token 'unmap'.
Build failed with 1 errors ...

AndoG
10th June 17, 17:55
Yes sir! Enjoy!

If you look through the script, there is both notations for Xbox and PS4

Nice thnx will def try it. Good job.

Any chance you can make one for Jin to?

NoGraveHoldsMe
10th June 17, 18:39
Hi, I'm trying to post a script myself but I don't know how to make it come out neat like yours. How did you keep your format and put it in a box?

Atom76
10th June 17, 20:54
Hi, I'm trying to post a script myself but I don't know how to make it come out neat like yours. How did you keep your format and put it in a box?

You may copy and paste my script into a new GPC compiler script.

To paste a script into a message thread, you have to click the 'GPC button' and paste the script inside the brackets. The GPC button is just above the main message body in the middle.

Rezarector
11th June 17, 18:19
It shows an error but when you run it in game everything seems to work as he stated. The only issue is sometimes the RS-R doesn't always work but that happens with script sometimes.

AndoG
12th June 17, 07:25
JUst tried it and not that happy with it. Its really not useful to be honest.

Problem here is you always need to press forward before you can use any of the moves. So if you are blocking you CANNOT use this moves (since you are pressing back).

So than you need to top blocking pres forward (and 90% of the time you get hit) before you can use any of the moves again. SO you cant use this while in defense and thats not good. Since you are always moving back and fort blocking dashing and blocking so you never have a chance to use this moves as you wish.

Its important to be able to use this moves while in defense you know other than that it no use. No one especially online will give you the time to keep pressing forward while blocking they will hit you.

So hope its possible to make sure this works also while you are blocking without the need to press forward every time.

Atom76
12th June 17, 08:15
JUst tried it and not that happy with it. Its really not useful to be honest.

Problem here is you always need to press forward before you can use any of the moves. So if you are blocking you CANNOT use this moves (since you are pressing back).

So than you need to top blocking pres forward (and 90% of the time you get hit) before you can use any of the moves again. SO you cant use this while in defense and thats not good. Since you are always moving back and fort blocking dashing and blocking so you never have a chance to use this moves as you wish.

Its important to be able to use this moves while in defense you know other than that it no use. No one especially online will give you the time to keep pressing forward while blocking they will hit you.

So hope its possible to make sure this works also while you are blocking without the need to press forward every time.
I agree with you.

I originally had this idea:
-left trigger+ a/b/x/y for combos from the left side
-right trigger+ a/b/x/y for combos from the right side
-Right stick up and down for 2 more macros

How does that sound?

I will do a test script tonight

AndoG
12th June 17, 08:53
I agree with you.

I originally had this idea:
-left trigger+ a/b/x/y for combos from the left side
-right trigger+ a/b/x/y for combos from the right side
-Right stick up and down for 2 more macros

How does that sound?

I will do a test script tonight

Yeah sounds better bro. Give it a try see how it works. If its possible maybe post it here I can give it a try to.

And thnx again for trying:thumbsup:

madmax4
15th June 17, 08:46
Yeah sounds better bro. Give it a try see how it works. If its possible maybe post it here I can give it a try to.

And thnx again for trying:thumbsup: sounds good or is it possible to change it so if were blocking it does the combo vice-versa that way if im pressing back/block on both sides that trigger the cpmbo the other way in stead of foward

AndoG
18th June 17, 07:28
sounds good or is it possible to change it so if were blocking it does the combo vice-versa that way if im pressing back/block on both sides that trigger the cpmbo the other way in stead of foward

Could also be an option. But just try see what works the best.

Did I'd you already tried some script to see what works the best?