Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Forum to discuss the scripts, configs and connection of XIM with the Titan devices.

Moderator: antithesis

Re: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby lukasz » Wed Sep 05, 2018 4:51 am

Hey there, I have a question about this Game pack.

When I run this game pack every time, while in ADS, when I stop firing my weapon would go to automatic reload or I would pick a weapon of the ground and swap to it. Is that an intended function or can I switch this off?
User avatar
lukasz
Master Sergeant
Master Sergeant
 
Posts: 31
Joined: Thu Oct 05, 2017 6:29 am

Re: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby Struppy » Wed Sep 19, 2018 12:49 pm

Thanks for your work bonefisher. Is it possible to translate it to t1 GPC for me?
User avatar
Struppy
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Sat Dec 12, 2015 6:59 am

Re: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby Struppy » Wed Sep 19, 2018 1:36 pm

Is this correct, does it work? I have no compiler here at work.


Code: Select all
 
define vertical  =  28,75;
define horizontal  =  0;
 
int noise = 5;
 
main {
//-------------------------Remove stick noise---------------------------------//
    if(abs(get_val(PS4_RX)) < noise) set_val(PS4_RX, 0);
    if(abs(get_val(PS4_RY)) < noise) set_val(PS4_RY, 0);
    if(abs(get_val(PS4_LX)) < noise) set_val(PS4_LX, 0);
    if(abs(get_val(PS4_LY)) < noise) set_val(PS4_LY, 0);
 
    if(get_val(PS4_R2))combo_run(anti_recoil);
    if(get_val(PS4_RY))combo_stop(anti_recoil);
    if(get_val(PS4_RX))combo_stop(anti_recoil);
}
combo anti_recoil
{
    set_val(PS4_RY, vertical);
    set_val(PS4_RX, horizontal);
}
 
User avatar
Struppy
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Sat Dec 12, 2015 6:59 am

Re: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby J2Kbr » Fri Sep 21, 2018 9:05 am

Fixed one small bug, now the script compiles without errors.
Code: Select all
 
define vertical  =  28;
define horizontal  =  0;
 
int noise = 5;
 
main {
//-------------------------Remove stick noise---------------------------------//
    if(abs(get_val(PS4_RX)) < noise) set_val(PS4_RX, 0);
    if(abs(get_val(PS4_RY)) < noise) set_val(PS4_RY, 0);
    if(abs(get_val(PS4_LX)) < noise) set_val(PS4_LX, 0);
    if(abs(get_val(PS4_LY)) < noise) set_val(PS4_LY, 0);
 
    if(get_val(PS4_R2))combo_run(anti_recoil);
    if(get_val(PS4_RY))combo_stop(anti_recoil);
    if(get_val(PS4_RX))combo_stop(anti_recoil);
}
combo anti_recoil
{
    set_val(PS4_RY, vertical);
    set_val(PS4_RX, horizontal);
}
 
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: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby bonefisher » Fri Sep 21, 2018 12:27 pm

Someone put a coma on the define vertical instead of a period.
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby Struppy » Tue Oct 02, 2018 7:44 am

Thanks.

Meanwhile, I bought a T2 as well :innocent_smile_1:.

This is the only one anti recoil script that's works with my xim apex. Antithesis anti recoil script is drifting downwards in huge steps sometimes when I move my mouse. It like I would use controller anti recoil. Its curious :unsure:. i checked my sticknoise.

It's nearly the same script, seems that its depend on the added :

Code: Select all
 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));
        }
    }
}
 



Can somebody confirm these problems with antithesis anti recoil?
User avatar
Struppy
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Sat Dec 12, 2015 6:59 am

Re: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby alanmcgregor » Fri Oct 05, 2018 5:23 am

Yes bonefisher's doesn't drifts with APEX. Both of my scripts: StarWars Battlefront I and II are using it. I wrote a generic version that allows me to set on fly for any shooter. :smile0517:
User avatar
alanmcgregor
Major
Major
 
Posts: 988
Joined: Tue Mar 27, 2018 8:38 am

Re: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby Jalal » Sat Oct 06, 2018 12:57 pm

alanmcgregor where i can find your Script?
User avatar
Jalal
Sergeant Major
Sergeant Major
 
Posts: 73
Joined: Wed Apr 26, 2017 7:42 am

Re: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby alanmcgregor » Sat Oct 06, 2018 9:23 pm

bonefisher's new anti-recoil works great with XIM APEX. I wrote a utility script to fine tune recoil compensation on my other scripts. Before, I was using mpalpha genius universal antirecoil script.

So I ended up doing a mixing both, bonefisher's NEW antirecoil and mpalpha's features for a well rounded universal updated anti-recoil for XIM APEX.

There it is:
Image

Added some toggles that allows you to normal and fine tunning anti-recoil in game.
Also display feedback as I do on my scripts, and throw a functional Rapid-Fire in there for testing. :joia:
User avatar
alanmcgregor
Major
Major
 
Posts: 988
Joined: Tue Mar 27, 2018 8:38 am

Re: Bonfisher's NEW SIMPLE ANTI-RECOIL FOR ALL ROUND

Postby bonefisher » Sat Oct 06, 2018 11:40 pm

alanmcgregor wrote:bonefisher's new anti-recoil works great with XIM APEX. I wrote a utility script to fine tune recoil compensation on my other scripts. Before, I was using mpalpha genius universal antirecoil script.

So I ended up doing a mixing both, bonefisher's NEW antirecoil and mpalpha's features for a well rounded universal updated anti-recoil for XIM APEX.

There it is:
Image

Added some toggles that allows you to normal and fine tunning anti-recoil in game.
Also display feedback as I do on my scripts, and throw a functional Rapid-Fire in there for testing. :joia:

May need to check on this it isn't working!
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

PreviousNext

Return to XIM Apex, XIM4, XIM Edge with Titan devices

Who is online

Users browsing this forum: No registered users and 54 guests