Please help me create this simple script (code inside) thx
9 posts
• Page 1 of 1
Please help me create this simple script (code inside) thx
- Code: Select all
//Posted by kiet510, a member of the device Community - https://device.com/forums
//Posted : Wednesday 24th of June, 2020 18:48 CST6CDT
main {
if(get_val(PS4_R3))
combo_run(maxcmb);
if(get_val(PS4_L3))
combo_run(DribbleLH);
}
combo maxcmb {
set_val(XB1_RS, 100);
wait(120);
set_val(XB1_RS, 0);
wait(330);
set_val(XB1_RX, 31);
set_val(XB1_RY, 44);
wait(10);
set_val(XB1_RX, 51);
set_val(XB1_RY, 79);
wait(10);
set_val(XB1_RX, 52);
set_val(XB1_RY, 82);
wait(10);
set_val(XB1_RX, 55);
set_val(XB1_RY, 86);
wait(20);
set_val(XB1_RX, 55);
set_val(XB1_RY, 89);
wait(10);
set_val(XB1_RX, 52);
set_val(XB1_RY, 85);
wait(10);
set_val(XB1_RX, -24);
set_val(XB1_RY, -37);
wait(10);
set_val(XB1_RX, -22);
set_val(XB1_RY, -35);
wait(10);
set_val(XB1_RX, 0);
set_val(XB1_RY, 26);
wait(10);
set_val(XB1_RY, 28);
wait(10);
set_val(XB1_RY, 0);
}
//
// 2020-06-20 06:35:50
// Combo generated by MAX Combo Plugin.
//----------------------------------------
combo DribbleLH {
set_val(XB1_LS, 100);
wait(110);
set_val(XB1_LS, 0);
wait(360);
set_val(XB1_RX, -28);
set_val(XB1_RY, 41);
wait(10);
set_val(XB1_RX, -59);
set_val(XB1_RY, 89);
wait(10);
set_val(XB1_RX, -60);
set_val(XB1_RY, 91);
wait(10);
set_val(XB1_RX, -60);
set_val(XB1_RY, 100);
wait(10);
set_val(XB1_RX, -57);
set_val(XB1_RY, 98);
wait(10);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(10);
set_val(XB1_RY, -50);
wait(10);
set_val(XB1_RY, -27);
wait(10);
set_val(XB1_RY, 33);
wait(20);
set_val(XB1_RY, 0);
}
Please make this script for me..
Run this script, toggle off / on with R3.. I want both scripts to run automatically one after another.
Run combo maxcmb
Run combo DribbleLH
Run combo maxcmb
Run combo DribbleLH
Can we make it do that infinite until I press r3 again to turn it off? thanks so much..
-
kiet510 - Command Sergeant Major
- Posts: 175
- Joined: Sat Jan 03, 2015 5:17 am
Re: Please help me create this simple script (code inside) t
help plz.. anyone :D
-
kiet510 - Command Sergeant Major
- Posts: 175
- Joined: Sat Jan 03, 2015 5:17 am
Re: Please help me create this simple script (code inside) t
- Code: Select all
int toggle;
main {
if(event_press(PS4_R3)) {
toggle = !toggle;
}
if(toggle) {
combo_run(maxcmb);
}
if(get_val(PS4_L3)) {
combo_run(DribbleLH);
}
}
combo maxcmb {
set_val(XB1_RS, 100);
wait(120);
set_val(XB1_RS, 0);
wait(330);
set_val(XB1_RX, 31);
set_val(XB1_RY, 44);
wait(10);
set_val(XB1_RX, 51);
set_val(XB1_RY, 79);
wait(10);
set_val(XB1_RX, 52);
set_val(XB1_RY, 82);
wait(10);
set_val(XB1_RX, 55);
set_val(XB1_RY, 86);
wait(20);
set_val(XB1_RX, 55);
set_val(XB1_RY, 89);
wait(10);
set_val(XB1_RX, 52);
set_val(XB1_RY, 85);
wait(10);
set_val(XB1_RX, -24);
set_val(XB1_RY, -37);
wait(10);
set_val(XB1_RX, -22);
set_val(XB1_RY, -35);
wait(10);
set_val(XB1_RX, 0);
set_val(XB1_RY, 26);
wait(10);
set_val(XB1_RY, 28);
wait(10);
set_val(XB1_RY, 0);
call(DribbleLH);
}
combo DribbleLH {
set_val(XB1_LS, 100);
wait(110);
set_val(XB1_LS, 0);
wait(360);
set_val(XB1_RX, -28);
set_val(XB1_RY, 41);
wait(10);
set_val(XB1_RX, -59);
set_val(XB1_RY, 89);
wait(10);
set_val(XB1_RX, -60);
set_val(XB1_RY, 91);
wait(10);
set_val(XB1_RX, -60);
set_val(XB1_RY, 100);
wait(10);
set_val(XB1_RX, -57);
set_val(XB1_RY, 98);
wait(10);
set_val(XB1_RX, 0);
set_val(XB1_RY, 0);
wait(10);
set_val(XB1_RY, -50);
wait(10);
set_val(XB1_RY, -27);
wait(10);
set_val(XB1_RY, 33);
wait(20);
set_val(XB1_RY, 0);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Please help me create this simple script (code inside) t
your the best ;)
-
kiet510 - Command Sergeant Major
- Posts: 175
- Joined: Sat Jan 03, 2015 5:17 am
Re: Please help me create this simple script (code inside) t
Hey mad i'm sorry its not exacting doing what I would like.. but from looking at this script does it show its doing something like this? , b/c this is what I need it to do.
Right Analog Stick > Spam diagonal down left & right, so like this.... ↙ ↘ ↙ ↘ ↙ ↘ ↙ ↘ ↙ ↘
sorry this isnt my script.. i feel like its kinda do that, but not exactly.. can you look into that script and just make it do that for me? diagonals
Right Analog Stick > Spam diagonal down left & right, so like this.... ↙ ↘ ↙ ↘ ↙ ↘ ↙ ↘ ↙ ↘
sorry this isnt my script.. i feel like its kinda do that, but not exactly.. can you look into that script and just make it do that for me? diagonals
-
kiet510 - Command Sergeant Major
- Posts: 175
- Joined: Sat Jan 03, 2015 5:17 am
Re: Please help me create this simple script (code inside) t
Isnt that the same as the one you requested here? viewtopic.php?f=6&t=15633
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Please help me create this simple script (code inside) t
Mad wrote:Isnt that the same as the one you requested here? viewtopic.php?f=6&t=15633
Hey mad, yeah I just replied there.. but it doesn't work for some reason..
Instructions starts at 2:46 (with controller cam)
https://www.youtube.com/watch?v=Av3MoxawRZw
if you dont mind can you just watch 10 seconds of that video to know how to combo this script. I would really appreciate it and ive been trying it all day and cannot get it down, even though it looks so simple..
-
kiet510 - Command Sergeant Major
- Posts: 175
- Joined: Sat Jan 03, 2015 5:17 am
Re: Please help me create this simple script (code inside) t
nvm guys i got it, i just need to practice more. thanks
-
kiet510 - Command Sergeant Major
- Posts: 175
- Joined: Sat Jan 03, 2015 5:17 am
Re: Please help me create this simple script (code inside) t
kiet510 wrote:nvm guys i got it, i just need to practice more. thanks
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
9 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 142 guests