PubG Anti Recoil Request - Will Pay or Donate

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

PubG Anti Recoil Request - Will Pay or Donate

Postby johnsmith1999 » Mon Dec 10, 2018 10:29 pm

My Setup: Titan 2 & XIM Apex running together.


I have been using the Antithesis Anti Recoil script for PubG with my XimApex and it works really well. I have had to adjust the fix32 RECOIL_V value so that it fits the setup I like to use in the Game.

In the first slot I have a recoil_v value for Machine Gun(M4, M16, AK etc) running any short range sight(Red Dot, Holo, 2X) For slot 2 I have a duplicate of that script with a different value for SMG running any short range as well (Red Dot, Holo, 2X) . In my third and final slot I have a duplicate of that script with a different value for Machine gun(M4, M16, AK etc) running the 4X scope.


The reason for the third slot is that the Recoil increases more for every scope thats greater in zoom(x3, x4, x6,x8). Specifically I am using a value of 52 for the RECOIL_V value for the 4X scope on a Machine Gun(like the M4). It works decently well but the problem is the pattern is pretty sporadic. For example, my Slot 1 which is Machine gun running short range, produces a very good result, the group is literally a 4" hole at close range. This is almost no recoil at all for short range, needless to say I win almost every Gun battle at close range.

But the pattern running slot 3 script(Value 52) which is Machine gun running x4 scope, is a very large pattern, probably a 4' High by 2' wide pattern.

What I would like is a similar result for the x4 scope. PubG has now released "Training Mode" which allows you to choose any weapon with any scope with unlimited ammo and shoot at targets, which is perfect for honing in Anti Recoil Settings for the gun and scope you want to use.


With this new mode, is there any developer willing to spend time creating a better Anti Recoil Script so that its closer to what you see on PC Anti Recoil scripts?


This is what I am referring to for PC...

https://www.youtube.com/watch?v=TiOY9c9QlN8


Thank for any help you guys can offer.
User avatar
johnsmith1999
Sergeant Major
Sergeant Major
 
Posts: 95
Joined: Thu Aug 31, 2017 3:38 am

Re: PubG Anti Recoil Request - Will Pay or Donate

Postby Sillyasskid » Mon Dec 10, 2018 10:40 pm

I'm not looking for any compensation, but I'm willing to help.

If possible, I would like to see your script, so I can get a better idea of what your working with.
You can either share your script here, or PM me it, and we can go from there.

Lastly, you never specified what console you are using, Xbox One, or PS4.
User avatar
Sillyasskid
Captain
Captain
 
Posts: 574
Joined: Sat May 14, 2016 3:07 am

Re: PubG Anti Recoil Request - Will Pay or Donate

Postby johnsmith1999 » Tue Dec 11, 2018 12:55 am

Thanks Silly! I play on an Xbox One, here is my script..

Code: Select all
#pragma METAINFO("antithesis Antirecoil & Autofire", 1, 00, "antithesis")
 
 
 //------------------------------------------------------------------------------
// ANTI-RECOIL
fix32 RECOIL_V = 52.0;
fix32 RECOIL_H = 0.0;
fix32 RY;
fix32 RX;
 
//------------------------------------------------------------------------------
// APEX DEADZONE REMOVER
fix32 StickNoise = 4.32;
 
//------------------------------------------------------------------------------
// RAPID-FIRE
 
    // Fine-tune the time between single shots, set to 10 shots / sec by default (100ms)
    uint8 RapidHold = 50; // Hold the button in ms
    uint8 RapidRest = 50; // Release the button in ms
 
main {
    // AUTO HOLD BREATH
    if(get_val(BUTTON_8) && time_active(BUTTON_8) >= 150) {
        set_val(BUTTON_7, 100.0);
    }
 
    if (get_val (BUTTON_5)) // only active when firing to allow for microaim adjustments without the input being filtered
    {   
        if(abs(get_actual(STICK_1_X)) < StickNoise) { set_val(STICK_1_X, 0.0); }
        if(abs(get_actual(STICK_1_Y)) < StickNoise) { set_val(STICK_1_Y, 0.0); }
        if(abs(get_actual(STICK_2_X)) < StickNoise) { set_val(STICK_2_X, 0.0); }
        if(abs(get_actual(STICK_2_Y)) < StickNoise) { set_val(STICK_2_Y, 0.0); }
    }
    if (get_val (BUTTON_5)) //antirecoil only active when firing
    {   
        combo_run(RapidFire);
        AntiRecoil(STICK_1_Y,RECOIL_V);
        AntiRecoil(STICK_1_X,RECOIL_H);
    }
}
 
combo RapidFire
{   
    set_val(BUTTON_5, 100);
    wait(RapidHold);
    set_val(BUTTON_5, 0);
    wait(RapidRest);
}
 
void AntiRecoil (uint8 axis, fix32 recoil)
{
 
     RY = get_actual(STICK_1_Y);
     RX = get_actual(STICK_1_X);
 
    if (get_val(BUTTON_5) && (sqrt(RX*RX + RY*RY)) <= abs(recoil))
    {
        if(abs(RY) <= abs(recoil))
        {
            set_val(axis,(recoil * (100.0 - abs(get_val(axis)))) / 100.0 + get_val(axis));
        }
    }
}
User avatar
johnsmith1999
Sergeant Major
Sergeant Major
 
Posts: 95
Joined: Thu Aug 31, 2017 3:38 am

Re: PubG Anti Recoil Request - Will Pay or Donate

Postby bonefisher » Tue Dec 11, 2018 1:03 am

Don't have game but is the recoil real strong then drop off after a second?
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: PubG Anti Recoil Request - Will Pay or Donate

Postby Sillyasskid » Tue Dec 11, 2018 1:39 am

bonefisher wrote:Don't have game but is the recoil real strong then drop off after a second?

Not sure what you mean?

Are you asking if the cross hairs automatically re-center after firing, If so?
The answer is no.

And if your on Xbox, Just buy the Xbox Game Pass for $10, PUBG is included with it.
The download is less then 20GB.
User avatar
Sillyasskid
Captain
Captain
 
Posts: 574
Joined: Sat May 14, 2016 3:07 am

Re: PubG Anti Recoil Request - Will Pay or Donate

Postby bonefisher » Tue Dec 11, 2018 2:04 am

No there is a few games that after a second of hard recoil it will drop off to no recoil...
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: PubG Anti Recoil Request - Will Pay or Donate

Postby Sillyasskid » Tue Dec 11, 2018 2:35 am

Then no, it increases, with every bullet fired, the only thing that will stabilize or decrease the amount of recoil, is adjusting the rate of fire, a slower rate can stabilize the recoil. Allowing you to use a constant down force, with a fixed wait() time.

Something like this.
Code: Select all
combo anti_recoil {
  set_val(STICK_1_Y, down_force);
  wait(fixed_time1);
  wait(fixed_time2);
// fixed_time1 & fixed_time2 depend on rate of fire.
}
User avatar
Sillyasskid
Captain
Captain
 
Posts: 574
Joined: Sat May 14, 2016 3:07 am

Re: PubG Anti Recoil Request - Will Pay or Donate

Postby johnsmith1999 » Fri Dec 14, 2018 1:56 am

Any luck trying training mode?
User avatar
johnsmith1999
Sergeant Major
Sergeant Major
 
Posts: 95
Joined: Thu Aug 31, 2017 3:38 am

Re: PubG Anti Recoil Request - Will Pay or Donate

Postby CapsBruh » Tue Dec 18, 2018 7:53 am

Hey johnsmith1999,
User avatar
CapsBruh
Private First Class
Private First Class
 
Posts: 3
Joined: Tue Dec 18, 2018 4:26 am

Re: PubG Anti Recoil Request - Will Pay or Donate

Postby CapsBruh » Tue Dec 18, 2018 7:55 am

Hey johnsmith1999,

Did you ever get this issue fixed? I just bought a titan 2 for my Elite controller. I play FPP and I'm finding 22-26 is the best for me overall. I would love to compare sens, as well as your values ect. and maybe even play? I play on Xbox. HmU!
User avatar
CapsBruh
Private First Class
Private First Class
 
Posts: 3
Joined: Tue Dec 18, 2018 4:26 am

Next

Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 85 guests