anti recoil value

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

Moderator: antithesis

anti recoil value

Postby Jalal » Sat Sep 15, 2018 12:00 am

hiiiiii

is there any website that i can take anti-recoil value for COD

Thank you.
User avatar
Jalal
Sergeant Major
Sergeant Major
 
Posts: 73
Joined: Wed Apr 26, 2017 7:42 am

Re: anti recoil value

Postby J2Kbr » Mon Sep 17, 2018 2:00 pm

I don't believe there is any website where we can find recoil values discriminated, It would be very nice, though.
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: anti recoil value

Postby Jalal » Tue Sep 18, 2018 8:26 am

Thank you sir, Could you please add Long jump (double Jump) to this Script below. I used this for COD


Code: Select all
#define vertical    28.75
#define horizontal   0.00
bool    mod_active;
fix32   noise;
init{noise = 5.0;}
 
main {
//-------------------------Remove stick noise---------------------------------//
    if(abs(get_actual(STICK_1_X)) < noise) set_val(STICK_1_X, 0.0);
    if(abs(get_actual(STICK_1_Y)) < noise) set_val(STICK_1_Y, 0.0);
    if(abs(get_actual(STICK_2_X)) < noise) set_val(STICK_2_X, 0.0);
    if(abs(get_actual(STICK_2_Y)) < noise) set_val(STICK_2_Y, 0.0);
 
    if(get_actual(BUTTON_5))combo_run(anti_recoil);
    if(is_active(STICK_1_Y))combo_stop(anti_recoil);
    if(is_active(STICK_1_X))combo_stop(anti_recoil);
 
    // click d-pad left to toggle rapid fire
    if(event_active(BUTTON_12)){
        mod_active = !mod_active;
    }
    if(mod_active){
    if(get_actual(BUTTON_5))combo_run(rapid_fire);
    }
}
combo rapid_fire
{
    set_val(BUTTON_5, 100.0);
    wait(40);
    set_val(BUTTON_5, 0.0);
    wait(40);
    set_val(BUTTON_5, 0.0);
}
 
combo anti_recoil
{
    set_val(STICK_1_Y, vertical);
    set_val(STICK_1_X, horizontal);
}
User avatar
Jalal
Sergeant Major
Sergeant Major
 
Posts: 73
Joined: Wed Apr 26, 2017 7:42 am

Re: anti recoil value

Postby J2Kbr » Tue Sep 18, 2018 9:11 am

Jalal wrote:Thank you sir, Could you please add Long jump (double Jump) to this Script below. I used this for COD

Done ;)
Code: Select all
#define vertical    28.75
#define horizontal   0.00
 
bool    mod_active;
fix32   noise;
bool    doublejump_ready;
 
init{noise = 5.0;}
 
main {
//-------------------------Remove stick noise---------------------------------//
    if(abs(get_actual(STICK_1_X)) < noise) set_val(STICK_1_X, 0.0);
    if(abs(get_actual(STICK_1_Y)) < noise) set_val(STICK_1_Y, 0.0);
    if(abs(get_actual(STICK_2_X)) < noise) set_val(STICK_2_X, 0.0);
    if(abs(get_actual(STICK_2_Y)) < noise) set_val(STICK_2_Y, 0.0);
 
    if(get_actual(BUTTON_5))combo_run(anti_recoil);
    if(is_active(STICK_1_Y))combo_stop(anti_recoil);
    if(is_active(STICK_1_X))combo_stop(anti_recoil);
 
    // click d-pad left to toggle rapid fire
    if(event_active(BUTTON_12)){
        mod_active = !mod_active;
    }
    if(mod_active){
    if(get_actual(BUTTON_5))combo_run(rapid_fire);
    }
 
    // double jump
    if(event_active(BUTTON_16)) {
        if(time_release(BUTTON_16) >= (2*350)) {
            doublejump_ready = TRUE;
        }
    } else if(event_release(BUTTON_16)) {
        doublejump_ready = FALSE;
    }
    if(doublejump_ready
    && time_active(BUTTON_16) < 350
    && time_active(BUTTON_16) >= 40) {
        set_val(BUTTON_16, 0.0);
    }
}
 
 
 
main {
 
}
 
combo rapid_fire
{
    set_val(BUTTON_5, 100.0);
    wait(40);
    set_val(BUTTON_5, 0.0);
    wait(40);
    set_val(BUTTON_5, 0.0);
}
 
combo anti_recoil
{
    set_val(STICK_1_Y, vertical);
    set_val(STICK_1_X, 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: anti recoil value

Postby Jalal » Mon Sep 24, 2018 12:08 pm

YOU ARE AMAZING,

i tried to change this Value && time_active(BUTTON_16) < 350 but it wont jump high, it jump on 2 rounds , when i press Space bar it jump right away

is this the right value or should i change the one beneath it ?
User avatar
Jalal
Sergeant Major
Sergeant Major
 
Posts: 73
Joined: Wed Apr 26, 2017 7:42 am

Re: anti recoil value

Postby J2Kbr » Tue Sep 25, 2018 7:16 am

You are on the right track. the 350 value sets when the second jump button press should be activated, change this value to tweak the high of the jump. also note the double jump is only activated when the jump button is held down. By tapping the button it does normal jump.
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 XIM Apex, XIM4, XIM Edge with Titan devices

Who is online

Users browsing this forum: No registered users and 38 guests