GPC Library

Battlefield 1: Rapidfire,Autoholdbreath,Autospot,HairTriggers

// Mods: Rapidfire,Autoholdbreath,Autospot,HairTriggers
//|-------------------------------|
// By default all mods are DISABLED
// TOGGLE mods ON/OFF:
// Rapid Fire = d-pad down + PS4_R2
// Auto Spot = d-pad down + PS4_R1
// Auto Hold Breath = d-pad down + PS4_L3
Version 0.1
Author WASD2
Publish Date 2017-08-10 05:51:04
Update Date 2017-08-10 05:51:04
Downloads 1468
RATE


3

0

Release Notes: first script
Code:Select all
// GPC Online Library
// BF1 SCRIPT
//|-------------------------------|
// Mods: Rapidfire,Autoholdbreath,Autospot,HairTriggers
//|-------------------------------|
// By default all mods are DISABLED
// TOGGLE mods ON/OFF:
// Rapid Fire = d-pad down + PS4_R2
// Auto Spot = d-pad down + PS4_R1
// Auto Hold Breath = d-pad down + PS4_L3
//|-------------------------------|DEFINE

define UP           = PS4_UP;
define RIGHT        = PS4_RIGHT;
define LEFT         = PS4_LEFT;
define RT           = PS4_R2;
define LT           = PS4_L2;
define RX           = PS4_RX;                              
define RY           = PS4_RY;
define CROSS        = PS4_CROSS;
define CIRCLE       = PS4_CIRCLE;
define TRIANGLE     = PS4_TRIANGLE;
define SQUARE       = PS4_SQUARE;
define LY           = PS4_LY;
define LX           = PS4_LX;
define L1           = PS4_L1;
define R3           = PS4_R3;
define R1           = PS4_R1;
define L3           = PS4_L3;
define R2           = PS4_R2;
define DOWN         = PS4_DOWN;
define L2           = PS4_L2;
 

//--------------------------------|INT
 
int RapidFire              = FALSE;                    	// Press Down and R2 to enable or disable
int AutoHoldBreath         = FALSE; 					// Press Down and L3 to enable or disable
int AutoSpot               = FALSE;                   	// Press Down and R1 to enable or disable

int rest_time2;
int hold_time2;

int RAPIDFIRE              = 999;                     // Default: 999
int SpotSpeed              = 400;
int SpotHold               = 75;
//--------------------------------|INIT

init {

//RapidFire    
     hold_time2 = 500 / RAPIDFIRE;
     rest_time2 = hold_time2 - 10;
     if(rest_time2 < 0) rest_time2 = 1;
     
}

//--------------------------------|MAIN

main {

// Hair Triggers 
if(get_val(R2)){ set_val(R2,100)} //} Hair
if(get_val(L2)){ set_val(L2,100)} //} Trigger

// Rapid fire main
if(get_val(DOWN) && event_press(R2)){
   RapidFire =! RapidFire;
   }
    if(RapidFire){
       if(get_val(R2)){
          combo_run(RapidFire);
       }
}

// Autospot main
if(get_val(DOWN) && event_press(R1)){
   AutoSpot =! AutoSpot;
   }
    if(AutoSpot){
       if(get_val(L2)){
          combo_run(AutoSpot);
       }
}

// AutoHoldBreath main
if(get_val(DOWN) && event_press(L3)){
   AutoHoldBreath =! AutoHoldBreath;
   }
    if(AutoHoldBreath){
  		if((get_val(L2)) >= 80) {                                                
      	set_val(L3, 100); 
    }


}    
} // END MAIN

//--------------------------------|COMBO'S

combo AutoSpot {
      set_val(R1, 100); 
      wait(SpotHold);
      set_val(R1, 0);
      wait(SpotSpeed);
}

combo RapidFire {
      set_val(R2, 100);
      wait(rest_time2);
      set_val(R2, 0);
      wait(rest_time2);
      set_val(R2, 0)
}
  • Rating

    10 / 10 here !

    If you own a ps3 and prefer an xbox controller, or even use a keyboard and mouse, this is a must to remap your keyboard to a controller. Go buy it now you won't be disappointed !

  • Rating

    Amazing device

    If you're like me and love your PS4 controller but want to use an Xbox One GET THIS you won't be sorry.

  • Rating

    Worth every penny

    The controller feels and performs as it does on the xbox right there on my ps3, awesome job guys, and worth every penny !!!

  • Rating

    Amazing Macro combos

    tested Super Street Fighter IV Arcade Edition. I was able to perform normal & FADC combos with some characters like Ryu and Ken with a single click. Amazing.

  • Rating

    As good as a XIM

    If you are a pc gamer, that needs a pc solution for console, get yourself a ControllerMAX you will not regret it.

  • Rating

    KB & Mouse RULES!

    All I can say playing 10 minutes with ControllerMAX properly configured it felt better then PC....YES I said it even better then PC, it's that smooth.

  • Rating

    Six-Axis 360!

    WOW! I can finally get that six-axis awesomeness on my Xbox 360. The best money I ever spent.

  • Rating

    Beats all rapidfire mods

    I've tried the Intensafire, Godfather even the new Wolf controller. The ControllerMAX beats them hands down and no wires or soldering too. 5 Stars!

  • Rating

    Just perfect!

    I can't believe how much this can do for the price tag - it blew me away. Best controller upgrade ever.

  • Rating

    Hugh Thanks!

    Without your help I couldn't be playing Xbox, thanks guys.

  • Rating

    Wow!

    I have to say after reading the forums for Destiny Mouse and Keyboard setup I was flying into getting it set up in 20 minutes. It works outstanding! I'm more then satisfied and its worth every penny!

  • Rating

    Achievement Unlocked!

    Idle boosting Complete 150 Multiplayer games, James Cameron's Avatar. My friend said it would be hard, I laughed then linked him.

  • Rating

    A++!

    Now this is a company you can count on and trust...keep up the great work guys!

  • Rating

    What Disability?

    I would like to thank you for making the CronusMax. I have this problem hitting L3 and R3, and today that problem was fixed. I love the remap feature on the Cronus max. You made my life easier.

  • Rating

    Awesome stuff guys!

    Playing Forza 5 with my original MS 360 wireless wheel makes the XB1 complete for me, thanks to the CronusMax. Thumbs up!