BF4 GPC script [Mul...
 
Notifications
Clear all

BF4 GPC script [Multiconsole] Cronusmax

Page 1 / 2

Trojan041
Posts: 64
Topic starter
(@Trojan041)
Trusted Member
Joined: 10 years ago

Hey RG, I recently got into macro's and I've been making scripts todo a bunch of things. For this script I made anti recoil, auto sprint, auto spot and bunny hop.
It requires a Cronusmax or Titan one to run.
Script optimized for Bulldog and Scar-H

Hope you enjoy

//  Trojan041
	// Multi Console
	////////////////////////////////////////////////////////////////////
	//DECLARARATIONS - define
	//--------------------------------------------------------------
	define SENSITIVITY_REDUCE_BY=5; //This is the amount you want to subtract from your primary sens, while ADS.
	define ANTI_RECOIL=35;          //change this value to compensate to the vertical recoil
	define ANTI_RECOIL_LEFT=3;     //change this value to compensate to the left
	define ANTI_RECOIL_RIGHT=2;     //change this value to compensate to the right
	define SPOT = 400 ;             //auto-spot modifier
	define SPOT_BUTTON = XB360_RB;  //press SPOTBUTTON 1 TIME to turn on/off "AutoSpot"
	define ONLY_WITH_SCOPE=TRUE;   //Use Anti-recoil only when scoping
	define SCOPE_BTN=PS4_L2;
	define SPRINT_BTN=PS4_L3;
	define CROUCH_BTN=PS4_CIRCLE;
	define SWITCH_W_BTN=PS4_TRIANGLE;
	define SPOT_BTN=PS4_R1;
	define JUMP_BTN=PS4_CROSS;
	define MELEE_BTN=PS4_R3;
	define UP=PS4_UP;
	define RIGHT=PS4_RIGHT;
	define DOWN=PS4_DOWN;
	define LEFT=PS4_LEFT;
	define LA_X_MOV=PS4_LX;
	define LA_Y_MOV=PS4_LY;
	define RA_X_MOV=PS4_RX;
	define RA_Y_MOV=PS4_RY;
	//VARIABLES - int
	//--------------------------------------------------------------
	int autospot = FALSE;
	int binVehicle =FALSE;
	int bSoldier =FALSE;
	int Xhold_Time=4000;
	int timer;
	int b_Hold_X=FALSE;
	int bunnyhop_lock = FALSE;
	int bFlashLight = FALSE;
	int auto_run = FALSE;
	int bAdd_ADS=FALSE;
	int PRIMARY_F;
	int BURST_F;
	int FIRE_t;
	int NULL_t;
	int check = TRUE;
	int MyRate = 0;
	int MyBit;
	int MyResult;
	int hold_time;
	int rest_time;
	int fire_button;
	int scope_button;
	int anti_recoil;
	int anti_recoil_left;
	int anti_recoil_right;
	//INITIALIZATION - init
	//--------------------------------------------------------------
	init {
	     if(get_console() == PIO_PS3) {
	     fire_button = 3;
	     scope_button = 6;}
	     else { // Natural Trigger & Bumper
	     fire_button = 4;
	     scope_button = 7;}
	}
	//MAIN BLOCK RUTINES
	//--------------------------------------------------------------
	main {  // Start of MAIN BLOCK
	     // AUTOBREATH PRESS SENSITIVE
	if(get_val(PS4_SQUARE)){//=============
	        timer=timer + get_rtime();
	        if(timer >= Xhold_Time){
	         b_Hold_X=TRUE;
	
	        }
	    }//===========================
	
	    if(event_press(PS4_SQUARE) && b_Hold_X){
	      b_Hold_X=FALSE;
	      timer=0;
	    }
	    // hold PS4_SQUARE pressed if b_Hold_X=TRUE
	    if(b_Hold_X)set_val(PS4_SQUARE,100);
	
	
	     // Bunny Hope - Class 12
	    if(bunnyhop_lock) {
	        if(get_val(PS3_LY) > -75) bunnyhop_lock = FALSE;
	          else {
	          combo_run(EasySprint);
	          combo_run(BunnyHop);
	          set_val(JUMP_BTN, 0);
	          }
	    } else if(get_val(JUMP_BTN) && get_val(SPRINT_BTN)) {
	       bunnyhop_lock = TRUE;
	    } else combo_stop(BunnyHop);
	     // AUTORUN PRESS SENSITIVE
	     if(get_val(XB1_LY)  -99) {set_val(XB1_LS, 0)}
	     // AUTOSPOT
	     if(event_release(SPOT_BUTTON) && get_ptime(SPOT_BUTTON)  0 )) combo_run(AutoSpot);
	     block(SPOT_BUTTON,1000);
	     // DROP SHOT
	     if(get_val(scope_button)){
	     sensitivity(9, NOT_USE, 100 - SENSITIVITY_REDUCE_BY);
	     sensitivity(10, NOT_USE, 100 - SENSITIVITY_REDUCE_BY);}
	     // ONLY WITH SCOPE ANTIRECOIL
	     if(!ONLY_WITH_SCOPE || get_val(scope_button)) {combo_run(AntiRecoil);}
	}// End of MAIN BLOCK
	//COMBO BLOCKS
	//--------------------------------------------------------------
	//Autobreath
	combo AutoBreath {//begin
	    wait(200);
	    set_val(XB1_LS, 100);
	    wait(4000);
	}//end
	//Autospot
	combo AutoSpot {
	    set_val(SPOT_BUTTON, 100);
	    wait(50);
	    set_val(SPOT_BUTTON, 0);
	    wait(SPOT);
	    }
	//DROP SHOT
	combo DROPSHOT {//begin
	   set_val(XB1_RS, 100);
	   wait(1200); //Time To Go Prone
	}//end
	// Bunny Hop - Class 12
	combo EasySprint {
	    set_val(SPRINT_BTN, 100);
	    wait(100); wait(100);
	}
	
	combo BunnyHop {
	    set_val(JUMP_BTN, 100);
	    wait(60); wait(1000);
	}
	// End
	//Antirecoil This combo must be the last one
	combo AntiRecoil {//begin
	    if(get_val(fire_button)) {
	    anti_recoil = get_val(XB1_RY) + ANTI_RECOIL;
	    if(anti_recoil > 100) anti_recoil = 100;
	    set_val(XB1_RY, anti_recoil);
	    anti_recoil_left = get_val(XB1_RX) -ANTI_RECOIL_LEFT;
	    if(anti_recoil_left > 100) anti_recoil_left = 100;
	    set_val(XB1_RX, anti_recoil_left);
	    anti_recoil_right = get_val(XB1_RX) +ANTI_RECOIL_RIGHT;
	    if(anti_recoil_right > 100) anti_recoil_right = 100;
	    set_val(XB1_RX, anti_recoil_right);}}
	//end  
Reply
Name of the Video Game, and any other Tags
6 Replies
Posts: 0
(@Eddie Mac)
New Member
Joined: 1 second ago

Nice work man.

Reply
KranK
Posts: 336
(@KranK)
Reputable Member
Joined: 9 years ago

good job on that !

Reply
Smoky75
Posts: 44
(@Smoky75)
Eminent Member
Joined: 10 years ago

Really nice 😉

Reply
Posts: 11
(@boloballs)
Active Member
Joined: 9 years ago

thx trojan

Reply
Page 1 / 2