just frame combo inconsistent
2 posts
• Page 1 of 1
just frame combo inconsistent
in titan one you cant set vm_tctrl to 16.67, so this just frame combo is insconsistent:
wait (470) should be 466.67
whats the way to make it consistent? there was another script: #include <ps4.gph>
how to do use this?
- Code: Select all
set_val(PS4_CROSS, 100);
set_val(PS4_CIRCLE, 100);
set_val(PS4_SQUARE, 100);
wait(470);
set_val(PS4_RIGHT, 100);
wait(11);
wait(11);
set_val(PS4_LEFT, 100);
set_val(PS4_TRIANGLE, 100);
wait (470) should be 466.67
whats the way to make it consistent? there was another script: #include <ps4.gph>
- Code: Select all
fix32 drift;
uint32 rtime;
main {
if(get_val(PS4_R2)) {
if(event_active(PS4_R2)) {
drift = 0.0;
rtime = 84;
}
combo_run(RPM450);
}
}
combo RPM450 {
set_val(PS4_R2, 100);
wait(50);
set_val(PS4_R2, 0);
wait(rtime);
set_val(PS4_R2, 0);
// Drift Correction
drift += 0.666667;
if(drift >= 1.0) {
drift -= 1.0;
rtime = 83;
} else rtime = 84;
}
how to do use this?
-
ohkarmahd - Corporal
- Posts: 4
- Joined: Mon Jan 09, 2017 10:03 pm
Re: just frame combo inconsistent
As far as I am aware the titan one does not support header files, the #include statement. This means the second script for sure would only work on the titan two, not the one, in it's current state. It also does not support floating point values, the decimals, in the second script. For the first script, since you cannot use floating point values I cannot think of a way to get the number closer to the number you want except changing
To
You could try that and see if it helps.
- Code: Select all
wait(470);
To
- Code: Select all
wait(467);
You could try that and see if it helps.
-
shadowzach7 - Sergeant
- Posts: 9
- Joined: Sun Jun 23, 2019 12:07 am
2 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 98 guests