Re: XIM4 Battlefield 4 Antirecoil - the best i tested so far
Posted:
Thu Aug 11, 2016 12:55 pm
by jayjack
Works great, thanks.
Can the script be added to such that when 'Change Weapon' is pressed, the anti-recoil/auto-fire values flip between two sets of values?
Along with rumble/LED notification so you know which weapon's numbers are active.
Re: XIM4 Battlefield 4 Antirecoil - the best i tested so far
Posted:
Sat Aug 13, 2016 11:41 am
by jayjack
This script and the other XIM one floating around don't have HIP anti-recoil only ADS.
Can this be added?
Re: XIM4 Battlefield 4 Antirecoil - the best i tested so far
Posted:
Mon Aug 15, 2016 8:46 am
by J2Kbr
jayjack wrote:This script and the other XIM one floating around don't have HIP anti-recoil only ADS.
Can this be added?
I changed the script to activate the anti recoil when pressing the fire button only (not testing the aiming button):
- Code: Select all
define RAPIDFIRE_ENABLE = TRUE; define ANTIRECOIL_ENABLE = TRUE;
define SPEED = 100;
define TIME = 250;
define BUTTON = PS4_TOUCH;
define XIM4_MIN_VAL = 20;
define ANTIRECOIL_FORCE = 5;
define RAPIDFIRE_BUTTON = PS4_R2;
define RATE_OF_FIRE = 15; int tmp, rsf, device;
int hold_time, rest_time;
init {
block_rumble();
rsf = 10000 / (100 - XIM4_MIN_VAL);
hold_time = 500 / RATE_OF_FIRE;
rest_time = hold_time - 10;
if(rest_time < 0) rest_time = 0;
}
main {
if(ANTIRECOIL_ENABLE) {
if(get_val(PS4_R2)) {
if(abs(PS4_RX) < 25) {
if(get_val(PS4_RY) >= XIM4_MIN_VAL) {
set_val(PS4_RY, get_val(PS4_RY)-XIM4_MIN_VAL);
sensitivity(PS4_RY, NOT_USE, rsf);
} else if(get_val(PS4_RY) <= -XIM4_MIN_VAL) {
set_val(PS4_RY, get_val(PS4_RY)+XIM4_MIN_VAL);
sensitivity(PS4_RY, NOT_USE, rsf);
} else set_val(PS4_RY, 0);
if(get_val(PS4_RX) >= XIM4_MIN_VAL) {
set_val(PS4_RX, get_val(PS4_RX)-XIM4_MIN_VAL);
sensitivity(PS4_RX, NOT_USE, rsf);
} else if(get_val(PS4_RX) <= -XIM4_MIN_VAL) {
set_val(PS4_RX, get_val(PS4_RX)+XIM4_MIN_VAL);
sensitivity(PS4_RX, NOT_USE, rsf);
} else set_val(PS4_RX, 0);
tmp = ANTIRECOIL_FORCE - 3 * abs(get_val(PS4_RX));
if(tmp <= 0) tmp = 1;
tmp = get_val(PS4_RY) + tmp;
if(tmp > 100) tmp = 100;
else if(tmp < -100) tmp = -100;
set_val(PS4_RY, tmp);
deadzone(PS4_RX, PS4_RY, XIM4_MIN_VAL, XIM4_MIN_VAL);
}
}
}
if(RAPIDFIRE_ENABLE) {
if(get_val(RAPIDFIRE_BUTTON)) {
combo_run(RapidFire);
} else if(combo_running(RapidFire)) {
combo_stop(RapidFire);
}
}
if(get_val(PS4_L2) >= 95) {
set_val(PS4_L3, 100);
}
if(get_val(PS4_L2)) {
combo_run(AutoSpot);
} else combo_stop(AutoSpot);
if(event_press(BUTTON)) {
combo_run(Rotation180);
}
block(BUTTON, 500);
if((get_val(PS4_LY)) < -95) {
combo_run(EasySprint);
}
}
combo AutoSpot {
set_val(PS4_R1, 100);
wait(40); wait(240);
}
combo RapidFire {
set_val(RAPIDFIRE_BUTTON, 100);
wait(hold_time);
set_val(RAPIDFIRE_BUTTON, 0);
wait(rest_time);
set_val(RAPIDFIRE_BUTTON, 0);
}
combo Rotation180 {
set_val(PS4_RX, SPEED);
wait(TIME);
}
combo EasySprint {
set_val(PS4_L3, 100);
wait(40);
set_val(PS4_L3, 0);
wait(30);
set_val(PS4_L3, 0);
}
Re: XIM4 Battlefield 4 Antirecoil - the best i tested so far
Posted:
Sat Jun 22, 2019 2:49 am
by Illusions-Faded
Would this script work for the Xim Apex. Every one ive tested doesnt work. If this does work for apex. How do i activate it in game & adjust my recoil settings in game as well..
Re: XIM4 Battlefield 4 Antirecoil - the best i tested so far
Posted:
Sat Jun 22, 2019 10:44 am
by J2Kbr
Please check the script linked below for an anti-recoil specially made for XIM/Apex.
https://www.consoletuner.com/greslib/?w679You can download using Gtuner IV.