The Division 2 dificuldade para usar kit médico rápido.

Titan One general support. Questions, firmware update, feature request.

The Division 2 dificuldade para usar kit médico rápido.

Postby Alef03 » Mon Oct 26, 2020 11:45 pm

Boa noite senhores, por favor alguém pode me ajudar, não estou conseguindo usar o fastmedkit neste script.
Desde já agradeço.
Code: Select all
// GPC Online Library
// the_division_-_anti_recoil,_rapid_fire,_fast_medkit,_auto_spot.gpc
 
// GPC Online Library
// the_division - rapid fire - showstopper rapid fire - antirecoil - automark - Fast Medkit - re-change.gpc
/* *
//-------------------------------------------------------------------------------------------
  THE DIVISION (Xbox one & PS4)
  Modifications:
  ***Whats New**
- Showstopper Rapid fire = VIEW/SHARE+B/O (AKA Double Shoot Showstopper) (!!NEW!!)
- Fast Medkits - VIEW/SHARE+X/? (No toggles need) (!!NEW!!)
 
- Rapid Fire = LT/L2+B/O
- Anti-Recoil = LT/L2+A/X
- AUTOMARK (Hold Left trigger)
- RE-CHANGE - reload and change weapon (double tap on SQUARE / X)
 
TO TUEN ON/OFF ALL SCRIPTS - VIEW/SHARE+MENU/OPTIONS (USE FOR LIKE A PANIC MODE)
 
            LED COLORS
 
- Red = Scripts are off
- Pink = Anti Recoil is On
- Light Orange = Rapid Fire is On
- LIGHTER PINK = Rapid Fire and Anti Recoil is On
- Yellow = Showstopper Rapid Fire is On
- White = Showstopper Rapid Fire and Anti Recoil is On
- Blue = Showstopper Rapid Fire and Rapid Fire is On
- Green = Showstopper Rapid Fire, Rapid Fire and Anti Recoil is On
* */

//-------------------------------------------------------------------------------------------
//  Version: 6.3 - Classic
//  Author: LEX LOST (Give credits to him)
//  Code Adder: Hacks200
//-------------------------------------------------------------------------------------------
//          INSTRUCTIONS for XBOX:
 
// RAPIDFIRE (ON by default - Start value: 13)
// Hold LT and Press B to Enable or Disable Rapidfire (with rumble notify)
// Hold A and tap UP to increase Rate of Fire (+1 each tap on UP, while holding A)
// Hold A and tap DOWN to decrease Rate of Fire (-1 each tap on DOWN, while holding A)
 
// ANTIRECOIL (ON by default - Start value: vertical = 30; Horizontal = 0)
// Hold LT and Press A to Enable or Disable Antirecoil (with rumble notify)
// Hold LT and tap UP to increase Antirecoil (+1 each tap on UP, while holding LT)
// Hold LT and tap DOWN to decrease Antirecoil (-1 each tap on DOWN, while holding LT)
// Hold LT and tap RIGHT to compensate to the right (+1 each tap on RIGHT , while holding LT)
// Hold LT and tap LEFT to compensate to the left (+1 each tap on LEFT, while holding LT)
 
// SAVE new values into the device eeprom: Hold LT and press MENU (or START, for XBOX360 users)
 
//-------------------------------------------------------------------------------------------
//           INSTRUCTIONS for PLAYSTATION:
 
// RAPIDFIRE (ON by default - Start value: 13)
// Hold L2 and Press O to Enable or Disable Rapidfire (with rumble notify)
// Hold CROSS and tap UP to increase Rate of Fire (+1 each tap on UP, while holding CROSS)
// Hold CROSS and tap DOWN to decrease Rate of Fire (-1 each tap on DOWN, while holding CIRCLE)
 
// ANTIRECOIL (ON by default - Start value: vertical = 30; Horizontal = 0)
// Hold L2 and Press X to Enable or Disable Antirecoil (with rumble notify)
// Hold L2 and tap UP to increase Antirecoil (+1 each tap on UP, while holding L2)
// Hold L2 and tap DOWN to decrease Antirecoil (-1 each tap on DOWN, while holding L2)
// Hold L2 and tap RIGHT to compensate to the right(+1 each tap on RIGHT , while holding L2)
// Hold L2 and tap LEFT to compensate to the left (+1 each tap on LEFT, while holding L2)
 
// Save new values into the device eeprom: Hold L2 and press OPTIONS (or START, for PS3 users)
//-------------------------------------------------------------------------------------------
 
//DECLARARATIONS - define
 
 
define switch     = 20; // XB1_X - PS4_SQUARE;
define AR_switch  = 19; // XB1_A - PS4_CROSS;
define RF_switch  = 18; // XB1_B - PS4_CIRCLE;
define RF_tss     = 18; // XB1_B - PS4_CIRCLE;
define Medkit     = 16; // XB1_RIGHT - PS4_RIGHT
//-------------------------------------------------------------------------------------------
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;
//-------------------------------------------------------------------------------------------
define Blue       =  1;
define Red        =  2;
define Green      =  3;
define Pink       =  4;
define SkyBlue    =  5;
define Yellow     =  6;
define White      =  7;
//-------------------------------------------------------------------------------------------
data(1,
  2,0,0,0, //1. Blue
  0,2,0,0, //2. Red
  0,0,2,0, //3. Lime/Green
  0,0,0,2, //4. Fuchsia/Pink
  2,0,2,0, //5. SkyBlue
  0,2,2,0, //6. Yellow
  2,2,2,2  //7. White
);
//-------------------------------------------------------------------------------------------
 
//VARIABLES - int
 
int recoil_onoff  = FALSE; // if TRUE Antirecoil is ON by default - if FALSE, OFF by default
int rapid_onoff   = FALSE; // if TRUE Rapidfire is ON by default - if FALSE, OFF by default
int ssrapid_onoff = FALSE; // if TRUE Rapidfire is ON by default - if FALSE, OFF by default
int RATE_OF_FIRE  = 13;   // Range: 1 to 25 RPS (Round/s)
int ANTI_RECOIL   = 30;
int ANTI_RECOIL_H =  0
int anti_recoil;
int anti_recoil_H;
int Col_ind;
int fire_button;
int scope_button;
int hold_time;
int rest_time;
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;
    }
 
    RATE_OF_FIRE  = get_pvar(SPVAR_10, 25, 13);
    ANTI_RECOIL   = get_pvar(SPVAR_2, -100,+100, 30);
    ANTI_RECOIL_H = get_pvar(SPVAR_3, -100,+100, 0);
}
 
//-------------------------------------------------------------------------------------------
 
//MAIN BLOCK ROUTINES
 
main {
//------------------| ALL SCRIPTS ON/OFF |-----------------------------   
    if (get_val(XB1_VIEW) && event_press(XB1_MENU))  {
        rapid_onoff=!rapid_onoff;
        ssrapid_onoff=!ssrapid_onoff;
        recoil_onoff=!recoil_onoff;
        combo_run(vibrate);
        combo_run(ON_OFF);
    }
//---------------------------------------------------------------------
    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(XB1_VIEW) && event_press(XB1_X))  {
        combo_run (FastMedkit);
    }
    if(get_val(7) && event_press(AR_switch))  {
        combo_run (vibrate);
        recoil_onoff=!recoil_onoff;
    }
////////RAPID FIRE////////
    if(get_val(7) && event_press(RF_switch))  {
        combo_run (vibrate);
        rapid_onoff=!rapid_onoff;
    }
 
    if((rapid_onoff) && recoil_onoff) colourled(Green);
    if((rapid_onoff) && !recoil_onoff) colourled(Yellow);
    if((recoil_onoff) && !rapid_onoff) colourled(Pink);         
    if((!recoil_onoff) && !rapid_onoff) colourled(Red);
 
    if(rapid_onoff) { if(get_val(4)) {
        combo_run (RAPID_FIRE);
        }
    }     
        hold_time = 500 / RATE_OF_FIRE;
        rest_time = hold_time - 20;
        if(rest_time < 0) rest_time = 0;
 
    if(get_val(19)) { 
        if(event_press(UP)) {
            RATE_OF_FIRE = RATE_OF_FIRE+ 1;
        }
        if(event_press(DOWN)) {
            RATE_OF_FIRE = RATE_OF_FIRE- 1;
        }
        set_val(UP,0); set_val(DOWN,0);
    }
    if(get_val(scope_button) && event_press(save)){
        combo_run(vibrate);
        set_pvar(SPVAR_1, RATE_OF_FIRE);
        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);
 
    }
////////RAPID FIRE SHOWSTOPPER////////
    if(get_val(XB1_VIEW) && event_press(RF_tss))  {
        combo_run (vibrate);
        ssrapid_onoff=!ssrapid_onoff;
    }
 
    if((ssrapid_onoff) && recoil_onoff) colourled(White);
    if((ssrapid_onoff) && !recoil_onoff) colourled(Yellow);
    if((recoil_onoff) && !ssrapid_onoff) colourled(Pink);         
    if((!recoil_onoff) && !ssrapid_onoff) colourled(Red);
    if((ssrapid_onoff) && rapid_onoff) colourled(Blue);
    if((ssrapid_onoff) && rapid_onoff && recoil_onoff) colourled(Green);
 
    if(ssrapid_onoff) { if(get_val(4)) {
        combo_run (Showstopper_Rapid_Fire);
        }
    }
    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 ON_OFF{
    wait(60);
    set_val(XB1_RY, 0);
}
 
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 FastMedkit {
    set_val(XB1_LT, 100);
    wait(50);
    set_val(XB1_RIGHT, 100);
    wait(50);
    set_val(XB1_RIGHT, 0);
    wait(70);
    set_val(XB1_RT, 100);
    wait(100);
    }
 
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 Showstopper_Rapid_Fire {
    wait(16);
    set_val(XB1_RT, 100);       
    wait(304);
    set_val(XB1_RT, 0);
    set_val(XB1_RY, 8);
    wait(16);
    }
 
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);
    }
}
// COLOR LED function
//--------------------------------------------------------------
function colourled(Colour) {
    Col_ind=(Colour*4)- 3;
    set_led(LED_1,dbyte(Col_ind  ));
    set_led(LED_2,dbyte(Col_ind+ 1));
    set_led(LED_3,dbyte(Col_ind+ 2));
    set_led(LED_4,dbyte(Col_ind+ 3));
}// End
User avatar
Alef03
Corporal
Corporal
 
Posts: 5
Joined: Wed Apr 04, 2018 1:08 pm

Re: The Division 2 dificuldade para usar kit médico rápido.

Postby J2Kbr » Tue Oct 27, 2020 10:43 am

You should press and hold VIEW then tap X.

Or, if on PS4, press and hold Share and then tap Square.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: The Division 2 dificuldade para usar kit médico rápido.

Postby Alef03 » Tue Oct 27, 2020 10:00 pm

Obrigado pela atenção General J2Kbr.
User avatar
Alef03
Corporal
Corporal
 
Posts: 5
Joined: Wed Apr 04, 2018 1:08 pm


Return to Titan One Device

Who is online

Users browsing this forum: troyota64 and 126 guests