CM BO4 AA and AntiRecoil + Simple Script Combination Request

GPC2 script programming for Titan Two. Code examples, questions, requests.

Re: CM BO4 AA and AntiRecoil + Simple Script Combination Req

Postby bonefisher » Sat Apr 13, 2019 10:38 pm

Code: Select all
 
#pragma METAINFO("BO4 Specialist", 1, 0, "bonefisher")
 
main
{
if(get_actual(BUTTON_4))combo_run(QuickSpecialist);
}
combo QuickSpecialist
{
    set_val(BUTTON_8, is_active(BUTTON_4) ? 0.0 : 100.0);
    set_val(BUTTON_4, 100.0);
    set_val(BUTTON_7, is_active(BUTTON_8) ? 100.0 : 0.0);
}
 

See if you like this for specialist: Hold ADS and push Right Bumper to get both left and right bumpers being pressed and if you just want right bumper just press without ads.
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: CM BO4 AA and AntiRecoil + Simple Script Combination Req

Postby SweatyPapi » Sun Apr 14, 2019 2:16 pm

Bonefisher, Specialist are great, that should be inputted.

-Stop Sprint before ADS should be taken out. Unusable and doesn't have any benefit
-There is some kind of movement problem in the script where I can't slide after ADS, (I have Stop Sprint ADS off). Even when I installed auto slide into it, it either dead slides , or walks.

I changed easy Sprint to:

Code: Select all
 
main
{
    if(get_actual(STICK_2_Y) < -5)combo_run(easySprint);
 
combo easySprint
{
    set_val(BUTTON_9, 100.0);
}
 


and it still performs very slowly after ADS out, so when I get into a situation where I ADS, and I try to sprint out and slide, it walks or crouches.

I am currently working on the timing needed to Slide Cancel where you Camera people and gain 100 ms of time. I will let you know as this would be super useful rather than the regular slide.

From what I learned, you can:

-Slide around the corner and then Strafe in the opposite direction
-Slide around the corner and slide cancel causing animation that's weird for opponent and you get 100 ms or 2-3 frames (60 ms) ahead
-Snaking (you developed this already :) ) Where you snake and then slide around the corner - This causes the biggest advantage with 200 ms reported sometimes because the games net code registers standing up the slowest on your opponents screen.
- Sprint around corner and ADS opposite direction.
User avatar
SweatyPapi
Sergeant Major
Sergeant Major
 
Posts: 91
Joined: Fri Feb 08, 2019 12:52 am

Re: CM BO4 AA and AntiRecoil + Simple Script Combination Req

Postby bonefisher » Sun Apr 14, 2019 4:02 pm

Code: Select all
 
#pragma METAINFO("BO easySprint", 1, 0, "bonefisher")
 
main
{
    if(get_actual(STICK_2_Y) < -80.0)combo_run(easySprint);
 
    if(is_active(BUTTON_5) || is_active(BUTTON_8))combo_stop(easySprint);
 
    if(easySprint)
    {
    if(is_release(BUTTON_15) && time_active(BUTTON_15)<= 750)
    {
        set_val(BUTTON_15, 100.0);
    }
    if(is_release(BUTTON_17) && time_active(BUTTON_17)<= 2000)
    {
        combo_stop(easySprint);
    }
    }
}
 
combo easySprint
{
    set_val(BUTTON_9, 100.0);
    wait(40);
    set_val(BUTTON_9, 0.0);
    wait(40);
    set_val(BUTTON_9, 0.0);
}
 

Try this sprint and slide!
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: CM BO4 AA and AntiRecoil + Simple Script Combination Req

Postby Wnb » Thu Jun 20, 2019 6:23 am

@bonefisher, hey mate ive been reading your codes for the right stick AA aid, im still trying to learn all this, by decreasing the values of "40" to "30" what am i accually doing ?
then this bit" irand(50, 16));" what am i tell it to do ? shake to values of 50 and 16?
User avatar
Wnb
Sergeant
Sergeant
 
Posts: 8
Joined: Sat Jun 15, 2019 2:35 pm

Previous

Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 72 guests