MS Consistency

GPC1 script programming for Titan One. Code examples, questions, requests.

MS Consistency

Postby FENIX » Sun Jan 19, 2020 8:54 am

I have a simple script to shoot in 2K, my only issue is that the milliseconds seem to change by 30+ or 30-. It works about 65% of the time. The shot will go from perfect 3 times in a row, to early or late the next 3 times and vice versa. Any way to get more consistency?

Code:

Code: Select all
int shot = 582;
main {
 
    if(get_val(XB1_LS)) {
    combo_run(shooters);
    }
    }
    combo shooters
    {
        set_val(XB1_X, 100);
        wait(shot);
        set_val(XB1_X, 0);
    }
User avatar
FENIX
Corporal
Corporal
 
Posts: 5
Joined: Fri Jan 17, 2020 9:21 pm

Re: MS Consistency

Postby J2Kbr » Sun Jan 19, 2020 2:08 pm

First, in the device settings be sure to select "1ms Response", then try with the changes below.

Code: Select all
int shot = 582;
 
main {
    vm_tctrl(-9);
    if(get_val(XB1_LS)) {
        combo_run(shooters);
    }
}
 
combo shooters {
    set_val(XB1_X, 100);
    wait(shot);
    set_val(XB1_X, 0);
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: MS Consistency

Postby FENIX » Mon Jan 20, 2020 6:50 am

Works a lot better thank you :smile0517: It's easily up to 75% now. I don't want to get greedy but would still like it to be a little more consistent. Would tuning the vm_tctrl be the last option to fine tune it?
User avatar
FENIX
Corporal
Corporal
 
Posts: 5
Joined: Fri Jan 17, 2020 9:21 pm

Re: MS Consistency

Postby J2Kbr » Mon Jan 20, 2020 9:23 am

Glad you noticed improvements with the changes.

is the 582 the optimal value? did you try tweak this value with the changed code? Note you may need consider the game frame rate (30 or 60) while tweaking the shot = 582 time value.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 89 guests