Help with script please
6 posts
• Page 1 of 1
Help with script please
Hi guys could someone kindly help me with a script please? I would like when i pull l2 all the way down that l1 would be pressed and held at the same time. Would this be ok and wouldnt interfere with l2 if i tapped it? many thanks
-
minataur07 - Sergeant First Class
- Posts: 25
- Joined: Sat Jun 20, 2020 7:42 pm
Re: Help with script please
It should not be a problem at all. L1 and L2 are kept separately from each other.
You should look at the device monitor (rightmost tab in GtunerIV) to see what values of L2 presses you get when you do what you consider a "full" pull. Then you have to write a script that acts if the value of L2 is greater or equal to the value you got.
You should look at the device monitor (rightmost tab in GtunerIV) to see what values of L2 presses you get when you do what you consider a "full" pull. Then you have to write a script that acts if the value of L2 is greater or equal to the value you got.
-
Yuri-chan - Staff Sergeant
- Posts: 10
- Joined: Sun Jun 28, 2020 3:57 pm
Re: Help with script please
- Code: Select all
main {
if(get_actual(BUTTON_8) >= 95f) {
set_val(BUTTON_7, 100);
}
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Help with script please
Many thanks , with the auto sprint script you gave me can i just paste the 2 together ?
- Code: Select all
#include <ps4.gph>
main {
if (get_actual(PS4_LY) <= -50f) {
set_val(PS4_L3, 100);
}
}
-
minataur07 - Sergeant First Class
- Posts: 25
- Joined: Sat Jun 20, 2020 7:42 pm
Re: Help with script please
minataur07 wrote:Many thanks , with the auto sprint script you gave me can i just paste the 2 together ?
Sure can:
- Code: Select all
#include <ps4.gph>
main {
if (get_actual(PS4_LY) <= -50f) {
set_val(PS4_L3, 100);
}
if(get_actual(PS4_L2) >= 95f) {
set_val(PS4_L1, 100);
}
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: Help with script please
Huge thanks mate
-
minataur07 - Sergeant First Class
- Posts: 25
- Joined: Sat Jun 20, 2020 7:42 pm
6 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 133 guests