BF4 - RapidFire On/Off LED | AutoRun | AutoSpot On/Off LED | AutoBreath | Anti-Recoil

This Script has almost everything you need to start owning on BattleField 4. It has Rapid Fire, AutoRun, AutoSpot with on off option just in case your menu starts acting up when you die in game, it also has Auto Breath really useful when your snipping and last but not least Anti-Recoil. To turn AutoSpot On/Off - Tap RB for XB1 for PS4 Tap R1 for XB360 Tap Back and for PS3 Tap Select. Anti-recoil only when your scoping. When auto spot is on its turns color cyan and when it's off it turns back to its default color which is blue, and when both mods are on your gonna see the color light cyan and magenta slowly blinking, if you don't want the LED on AutoSpot read the instructions on the script so you can remove it if you like.
Version2.0
AuthorHardcoreGamer
Publish DateTue, 5 Aug 2014 - 01:13
Last UpdateSun, 10 Aug 2014 - 07:24
Downloads5483
RATE


35

2

Release Notes: Added RapidFire On/Off with LED, and i also added AutoSpot On/Off with LED, so you guys can easily tell if the mods are on/off
Code: Select all
//                      _____   _____   _   _  
//                     |  _  \ |  ___| | | | |
//                     | |_| | | |__   | |_| |
//                     |  _  { |  __|  \___  |
//                     | |_| | | |         | |
//                     |_____/ |_|         |_|                         
//
// RapidFire On|Off LED / AutoRun / AutoSpot On|Off LED / AutoBreath 
//                              Anti-Recoil
//-------------------------------------------------------------------
/****************************************************************
 *  Author:HardCoreGamer                                        *
 *  Version:2.0                                                 *
 *  Published @ Consoletuner.com                                *
 ****************************************************************/

//--------------------------------------------------------------------
//Hold VIEW , then hold MENU to turn RAPIDFIRE  ON / OFF.                       
//If RAPIDFIRE is ON the LED Should turn Purple, If LED 1 goes off it turns blue
//The opposite if RAPIDFIRE is OFF.
//
//Tap RB for XB1 - PS4 Tap R1 - XB360 Tap Back - PS3 Tap Select to turn autsopt on/off.
//
//I added LED to autospot so you can tell easier if you have autospot on or off.
//
//When auto spot is on its turns color cyan and when it's off it turns back to its default
//color which is blue, and when both mods are on your gonna see the color light cyan and
//puple slowly blinking if you don't  want LED on auto spot you can simply just remove
//set_led(3, 0) and set_led(3, 1) from combo AutoSpot {, it should be at the end.
//
//Remember to disable autospot when you die beacuse if you don't your weapon class
//menu will start acting up.
//---------------------------------------------------------------------                                           
 
define RATE_OF_FIRE=20; //Range: 1 to 25 RPS (Round/s)             
define SPOT=900; //auto-spot modifier
define SPOT_BUTTON=3; //XB1_RB - PS4_R1
define ANTI_RECOIL=35; //change this value to compensate to the vertical recoil
define ANTI_RECOIL_LEFT=0; //change this value to compensate to the left
define ANTI_RECOIL_RIGHT=0; //change this value to compensate to the right
define ONLY_WITH_SCOPE=TRUE; //Use Anti-recoil only when scoping
 
int rapid_onoff=TRUE;
int fire_button;
int scope_button;
int hold_time;
int rest_time;
int autospot=FALSE;
int anti_recoil;
int anti_recoil_left;
int anti_recoil_right;
 
init {
if(get_console() == PIO_PS3) {
fire_button = 3;
scope_button = 6;}
else { // Natural Trigger & Bumper
fire_button = 4;
scope_button = 7;}
hold_time = 500 / RATE_OF_FIRE;
rest_time = hold_time - 20;
if(rest_time < 0) rest_time=0;
}
 
main {
set_led(LED_1, 1);
set_led(LED_3, 0);
set_led(LED_4, 0);
 
 
    if(get_val(XB1_VIEW) && event_press(XB1_MENU)) {
       rapid_onoff = !rapid_onoff;
    }
    if(rapid_onoff) {
       set_led(LED_1, 0);
       set_led(LED_4, 1);
    }
     if(get_val(fire_button) && rapid_onoff) {combo_run(RAPID_FIRE);}
     else if(combo_running(RAPID_FIRE)) {combo_stop(RAPID_FIRE);}
 
if(get_val(12) < -20) {set_val(8, 100)}
else if(get_val(12) > -20) { set_val(8, 0)}
// AUTOSPOT tap (XB360 BACK -PS3_SELECT ) to turn on/off AutoSpot
if(event_release(3) && get_ptime(3) < 1000) {autospot = !autospot;set_val(1,0);}
if ((autospot && !get_val(SPOT_BUTTON)) && (SPOT > 0 )) combo_run(AutoSpot);
if(get_val(7) > 10) {combo_run(AutoBreath);}
if(get_val(7) < 10) {combo_stop(AutoBreath);}
 
if(!ONLY_WITH_SCOPE || get_val(scope_button)) {combo_run(AntiRecoil);}
}
 
combo RAPID_FIRE {
set_val(fire_button, 100);
wait(hold_time);
set_val(fire_button, 0);
wait(rest_time);
set_val(fire_button, 0);
}
 
combo AutoSpot {
set_led(LED_3, 0);
set_val(SPOT_BUTTON, 100);
wait(50);
set_led(LED_3, 1);
set_val(SPOT_BUTTON, 0);
wait(SPOT);
}
 
combo AutoBreath {
wait(200);
set_val(8, 100);
wait(4000);
}
 
combo AntiRecoil {
if(get_val(fire_button)) {
anti_recoil = get_val(10) + ANTI_RECOIL;
if(anti_recoil > 100) anti_recoil = 100;
set_val(10, anti_recoil);
anti_recoil_left = get_val(9) -ANTI_RECOIL_LEFT;
if(anti_recoil_left > 100) anti_recoil_left = 100;
set_val(9, anti_recoil_left);
anti_recoil_right = get_val(9) +ANTI_RECOIL_RIGHT;
if(anti_recoil_right > 100) anti_recoil_right = 100;
set_val(9, anti_recoil_right);}
}