GPC Library

THE DIVISION - ANTIRECOIL - AUTOMARK - RE-CHANGE

THE DIVISION - ANTIRECOIL - AUTOMARK - RE-CHANGE
(Italian version)
Version 1
Author LEX LOST
Publish Date 2017-08-11 13:17:16
Update Date 2017-08-11 13:17:16
Downloads 2575
RATE


5

0

Release Notes: Italian version
Code:Select all
//-------------------------------------------------------------------------------------------
//  THE DIVISION - ANTIRECOIL 
//  AutoMark (tieni premuto L2) 
//  Ricarica & cambia arma (doppio tap su quadrato)
//-------------------------------------------------------------------------------------------
//  Version: 6.1 - Classic
//  Platform: Multi
//  Controller: Multi
//  Game: FPS/TPS games
//  Author: LEX LOST
//-------------------------------------------------------------------------------------------
/* *
            ISTRUZIONI PRELIMINARI
 
- carica lo script sul CM+
- accendi la console ed entra in una partita (possibilmente senza o con pochi nemici)
- posiziona il tuo personaggio davanti ad un muro posto ad una decina di metri circa (possibilmente un muro che lascia i segni dei proiettili quando gli spari)
- regola l'antirecoil aumentandolo o diminuendloo (a seconda della tua necessità) di un valore alla volta, finchè la rosa dei proiettili sul muro è abbastanza raccolta
- regola se c'è bisogno anche l'antirecoil orizzontale se la tua arma tende a spostarsi di lato mentre spari 
- salva lo script
 
    Per le regolazioni segui le istruzioni sotto
* */
//-------------------------------------------------------------------------------------------
//          ISTRUZIONI PER XBOX:
 
// ANTIRECOIL (Attivo per default - Valore di partenza: verticale = 30; orizzontale = 0)
// tieni premuto LT e premi UP per aumentare l'Antirecoil (aumenta di 1 unita ogni volta che premi UP, tenendo premuto LT)
// tieni premuto LT e premi DOWN per diminuire l'Antirecoil (diminuisci di 1 unita ogni volta che premi DOWN, tenendo premuto LT)
// tieni premuto LT e premi RIGHT per compensare verso destra (aumenta di 1 unita ogni volta che premi RIGHT, tenendo premuto LT)
// tieni premuto LT e premi LEFT per compensare verso sinistra (aumenta di 1 unita ogni volta che premi LEFT, tenendo premuto LT)
 
// SALVARE I NUOVI VALORI: tieni premuto LT e premi MENU (o START, per XBOX360)
 
//-------------------------------------------------------------------------------------------
//           ISTRUZIONI PER PLAYSTATION:
 
 
// ANTIRECOIL (Attivo per default - Valore di partenza: verticale = 30; orizzontale = 0)
// tieni premuto L2 e premi UP per aumentare l'Antirecoil (aumenta di 1 unita ogni volta che premi UP, tenendo premuto L2)
// tieni premuto L2 e premi DOWN per diminuire l'Antirecoil (diminuisci di 1 unita ogni volta che premi DOWN, tenendo premuto L2)
// tieni premuto L2 e premi RIGHT per compensare verso destra (aumenta di 1 unita ogni volta che premi RIGHT, tenendo premuto L2)
// tieni premuto L2 e premi LEFT per compensare verso sinistra (aumenta di 1 unita ogni volta che premi LEFT, tenendo premuto L2)
 
// SALVARE I NUOVI VALORI: Hold L2 e premi OPTIONS (o START, per PS3) 
//-------------------------------------------------------------------------------------------
 
//DECLARARATIONS - define
 
 
define switch     = 20; // XB1_X - PS4_SQUARE;
//-------------------------------------------------------------------------------------------
define save       =  2; // XB1_MENU - PS4_OPTIONS
//-------------------------------------------------------------------------------------------
define AR_Release = 70; // change this value to set when antirecoil stops working (min: antirecoil value + 10)
define ONLY_WITH_SCOPE = TRUE; // if TRUE Antirecoil IS ON only when scoping - if FALSE, is always ON
//-------------------------------------------------------------------------------------------
define RELOAD     = 20;
define SPRINT     =  8;
define UP         = 13;     
define DOWN       = 14;   
define LEFT       = 15; 
define RIGHT      = 16;  
//-------------------------------------------------------------------------------------------
 
//VARIABLES - int
 
int recoil_onoff  = TRUE; // if TRUE Antirecoil is ON by default - if FALSE, OFF by default
int ANTI_RECOIL   = 30;
int ANTI_RECOIL_H =  0;  
int anti_recoil;
int anti_recoil_H;
int fire_button;
int scope_button;
int timelimit = 300; // increase if is to fast
int DbleClick = 0; 
 
//-------------------------------------------------------------------------------------------
 
//INITIALIZATION - init
 
init{
 
    if(get_console() == PIO_PS3) {
        fire_button  = 3;
        scope_button = 6;
    }else { 
        fire_button  = 4;
        scope_button = 7;
    }
 
    ANTI_RECOIL   = get_pvar(SPVAR_2, -100,+100, 30);
    ANTI_RECOIL_H = get_pvar(SPVAR_3, -100,+100, 0);
}
 
//-------------------------------------------------------------------------------------------
 
//MAIN BLOCK ROUTINES
 
main {
    if(DbleClick > 0) DbleClick = DbleClick - get_rtime();
    if(event_press(switch) && DbleClick <= 0) {DbleClick = timelimit; }
    else if(event_press(switch) && DbleClick > 0) {combo_run(Re_Change);}
 
    if (get_val(PS4_L2)) {
        combo_run(MarkTargets);
    }   
    if(get_val(scope_button) && event_press(save)){
        combo_run(vibrate);
        set_pvar(SPVAR_2, ANTI_RECOIL);
        set_pvar(SPVAR_3, ANTI_RECOIL_H);
        set_val(save, 0);
    }
    if(get_val(7)){
        if(event_press(UP)){
            ANTI_RECOIL = ANTI_RECOIL+ 1;
        }
        if(event_press(DOWN)) {
            ANTI_RECOIL = ANTI_RECOIL- 1;
        }
        set_val(UP,0); set_val(DOWN,0);
 
        if(event_press(LEFT)){
            ANTI_RECOIL_H = ANTI_RECOIL_H+ 1;
        }
        if(event_press(RIGHT)) {
            ANTI_RECOIL_H = ANTI_RECOIL_H- 1;
        }
        set_val(LEFT,0); set_val(RIGHT,0);
 
    }
    if(!ONLY_WITH_SCOPE || get_val(scope_button) && get_val(fire_button )) {
        combo_run(AntiRecoil);
    }
 
    if( abs(get_val(10)) > AR_Release || abs(get_val(9)) > AR_Release) {  
        combo_stop (AntiRecoil);
    }
}
//-------------------------------------------------------------------------------------------
 
//COMBO BLOCKS
 
combo vibrate {
    set_rumble(RUMBLE_A, 100);
    wait(300);
    reset_rumble();
    } 
combo Re_Change {
    wait(500);
    set_val(PS4_TRIANGLE, 100);
    wait(100);
    wait(100);
    } 
combo MarkTargets {
    set_val(PS4_UP, 100);
    wait(50);
    set_val(PS4_UP, 0);
    wait(1000);
    }
 
combo AntiRecoil { // This combo must be the last one
    if(recoil_onoff) {
    anti_recoil = get_val(10) + ANTI_RECOIL;
    if(anti_recoil > 100) anti_recoil = 100;
    set_val(10, anti_recoil);
    anti_recoil_H = get_val(9) + ANTI_RECOIL_H;
    if(anti_recoil_H > 100) anti_recoil_H = 100;
    set_val(9, anti_recoil_H);
    }
}
  • 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!