Page 2 of 2

Re: Pubg ps4 (Apex+Titan two)

PostPosted: Sun Jan 13, 2019 8:03 pm
by Bagura32rus
bonefisher wrote:I don't have the game to check this but maybe someone will come along to answer this for you!

I'm sorry if I distract you, but you can’t look at this code here, this is a reload code so as not to hold the key, it reloads everything perfectly, but it’s impossible to pick up objects and get lost.
Code: Select all
main {
    if(event_active(BUTTON_17)) {
        combo_run(Reload);
    }
}
 
combo Reload {
    set_val(BUTTON_17, 100.0);
    wait(1500);
}
 

Re: Pubg ps4 (Apex+Titan two)

PostPosted: Sun Jan 13, 2019 8:28 pm
by bonefisher
Code: Select all
 
main {
    if(event_release(BUTTON_17) && time_active(BUTTON_17) < 120) {
        combo_run(Reload);
    }
}
 
combo Reload {
    set_val(BUTTON_17, 100.0);
    wait(1500);
}
 
 

Try this....tap if you reload combo to run and if you don't want it to run hold button pass 120 milliseconds. Maybe this is what your looking for...….

Re: Pubg ps4 (Apex+Titan two)

PostPosted: Mon Jan 14, 2019 10:46 am
by Bagura32rus
bonefisher wrote:
Code: Select all
 
main {
    if(event_release(BUTTON_17) && time_active(BUTTON_17) < 120) {
        combo_run(Reload);
    }
}
 
combo Reload {
    set_val(BUTTON_17, 100.0);
    wait(1500);
}
 
 

Try this....tap if you reload combo to run and if you don't want it to run hold button pass 120 milliseconds. Maybe this is what your looking for...….

I will definitely check it out today, I’m probably already tired of you, I read in one topic you answered that you are using the new Anti Recoil, and it became very interesting for me, at the moment I use this one and I like it very much for PUBG

Re: Pubg ps4 (Apex+Titan two)

PostPosted: Mon Jan 14, 2019 10:50 am
by Bagura32rus
By the way, this is your code)))))) here from all that I have tried, it suits me very much!
Code: Select all
 
#pragma METAINFO("AwesomeAntiRecoil", 1, 0, "bonefisher")
 
/* Special credits goes out to AryanX for a awesome anti-recoil script!*/
#define float  fix32
 
//Anti Recoil
bool bUseAntiRecoil      = TRUE;
float ARecoil_H_Standing =  0.0;// Change horizontal force add negative if needed.
float ARecoil_V_Standing = 18.0;//Change vertical pull force
uint16 ARecoilDelay      =   75;//Change delay after trigger is pulled to engage anti-recoil.
 
//Percent of anti ARecoil to always apply regardless of aim movement
float MinARecoilPercent = 30.0;
 
float StickNoise = 6.32;
 
main {
  //////////////////////////////////////////////////////////////////////////
    //Anti Recoil
    //////////////////////////////////////////////////////////////////////////
  if (bUseAntiRecoil)
    {
 
      if (get_actual(BUTTON_5) && time_active(BUTTON_5) >= ARecoilDelay)
        {
 
          if (abs(get_actual(STICK_1_X)) < StickNoise) set_val(STICK_1_X, 0.0);
            if (abs(get_actual(STICK_1_Y)) < StickNoise) set_val(STICK_1_Y, 0.0);
            if (abs(get_actual(STICK_2_X)) < StickNoise) set_val(STICK_2_X, 0.0);
            if (abs(get_actual(STICK_2_Y)) < StickNoise) set_val(STICK_2_Y, 0.0);
 
        if (get_val(BUTTON_5))
        {
          AntiRecoil(STICK_1_X, ARecoil_H_Standing);
            AntiRecoil(STICK_1_Y, ARecoil_V_Standing);
        }
      }
  }
}
 
void AntiRecoil(uint8 AxisToApply, float ARecoilToApply)
{
    float CurrentX = get_val(STICK_1_X);
    float CurrentY = get_val(STICK_1_Y);
    float MinARecoilFactor = MinARecoilPercent / 100.0;
    float MinARecoilToApply = MinARecoilFactor * ARecoilToApply;
    //This sets the ARecoil to be dependent on both X and Y axis movement. With more emphasis on Y
    float MovementARecoilToApply = (1.0 - MinARecoilFactor) * ((ARecoilToApply * (100.0 - sqrt(CurrentX*CurrentX + CurrentY*CurrentY))) / (100.0 + abs(CurrentX) + (CurrentY*CurrentY*0.5)));
    set_val(AxisToApply, MinARecoilToApply + MovementARecoilToApply + get_val(AxisToApply));
}

Re: Pubg ps4 (Apex+Titan two)

PostPosted: Mon Jan 14, 2019 11:26 am
by bonefisher
Yes I put it up and the credit goes to AryanX for the anti-recoil!

Re: Pubg ps4 (Apex+Titan two)

PostPosted: Tue Jan 22, 2019 4:24 am
by Bagura32rus
guys, share the scripts, is it really not who does not play pubg, let's help each other (((

Re: Pubg ps4 (Apex+Titan two)

PostPosted: Tue Jan 22, 2019 10:50 pm
by J2Kbr
Here is the script I use. However, it was made for the mouse directly connected to the Titan Two.
Code: Select all
#pragma METAINFO("PUBG Battlegrounds", 2, 0, "J2Kbr")
 
/******************************************************************************
 * INPUT TRANSLATOR
 ******************************************************************************/

#include <remapper.gph>
#include <keyboard.gph>
#include <mouse.gph>
 
init {
    port_inhibit_ffb(PORT_USB_A);
 
    remapper_disable(STICK_1_X);
    remapper_disable(STICK_1_Y);
    remapper_disable(ACCEL_1_X);
    remapper_disable(ACCEL_1_Y);
    remapper_disable(ACCEL_1_Z);
    remapper_swap(BUTTON_2, BUTTON_16);
    remapper_swap(BUTTON_3, BUTTON_9);
    remapper_swap(BUTTON_9, BUTTON_15);
    remapper_mask(RMP_USB_A | RMP_BT_A);
 
    const uint8 kmap[] = {
        KEY_P,              BUTTON_17,
        KEY_OPENBRACKET,    BUTTON_2,
        KEY_CLOSEBRACKET,   BUTTON_21,
        KEY_BACKSLASH,      BUTTON_3,
    }; keymapping(kmap);
 
    const uint8 mmap[] = {
        MOUSE_X,            STICK_1_X,
        MOUSE_Y,            STICK_1_Y,
        MWHEEL_FORWARD,     BUTTON_14,
        MWHEEL_BACKWARD,    BUTTON_10,
        MBUTTON_1,          BUTTON_5,
        MBUTTON_2,          BUTTON_16,
        MBUTTON_3,          BUTTON_9,
        MBUTTON_4,          BUTTON_14,
        MBUTTON_5,          BUTTON_4,
    }; mousemapping(mmap);
 
    #define sensitivity(n)   n >> 8, n
 
    const uint8 mxyc[] = {
        BUTTON_8,
        sensitivity(2.54i), // Default
        0x01, 0x00, 0x00, 0x23, 0x0C, 0x28, 0x0C, 0x28, 0x00, 0xDB,
        0x00, 0x00, 0x11, 0x40, 0x1A, 0xA8, 0x21, 0xB8, 0x28, 0x00, 0x2D, 0x7D,
        0x32, 0xFA, 0x37, 0xAE, 0x3A, 0xD1, 0x3C, 0x63, 0x3D, 0x2E, 0x3F, 0x87,
        0x41, 0xE1, 0x45, 0x05, 0x48, 0x28, 0x4A, 0x82, 0x4D, 0xA3, 0x50, 0x00,
        0x52, 0x59, 0x54, 0xB3, 0x57, 0xD7,
        sensitivity(3.24i), // Alternate
        0x01, 0x00, 0x00, 0x1E, 0x0E, 0x80, 0x0E, 0x80, 0x00, 0xE8,
        0x00, 0x00, 0x0E, 0x1E, 0x16, 0xBD, 0x1D, 0xCC, 0x23, 0x4A, 0x28, 0xC7,
        0x2D, 0x7D, 0x32, 0x33, 0x36, 0x1E, 0x38, 0x78, 0x3A, 0x0A, 0x3C, 0x63,
        0x3F, 0x87, 0x43, 0x73, 0x45, 0xCC, 0x48, 0xF0, 0x4C, 0x14, 0x4E, 0x6E,
        0x51, 0x91, 0x53, 0xEB, 0x55, 0x7D
    }; mxyconverter(mxyc);
}
 
/******************************************************************************
 * MAIN
 ******************************************************************************/

bool toggle = TRUE;
 
init {
    led_feedback();
}
 
main {
    if(event_active(BUTTON_21)) {
        toggle = !toggle;
        led_feedback();
    }
    if(event_active(BUTTON_15)) {
        toggle = TRUE;
        led_feedback();
    }
    if(toggle) {
        if(get_val(BUTTON_5)) {
            combo_run(Rapidfire);
            mxyconverter_voffset(clamp(time_active(BUTTON_5)/17, 6, 23));
        } else if(event_release(BUTTON_5)) mxyconverter_voffset(0);
    }
    if(get_val(BUTTON_5)) {
        set_val(BUTTON_5, 100.0);
    }
    if(get_val(BUTTON_8)) {
        if(get_val(BUTTON_8) >= 100.00) {
            set_val(BUTTON_7, 100.0);
        }
        if(key_status(KEY_SEMICOLON)) {
            set_val(BUTTON_6, 100.0);   // LEAN LEFT
        }
        if(key_status(KEY_QUOTE)) {
            set_val(BUTTON_9, 100.0);   // LEAN RIGHT
        }
        set_val(BUTTON_8, 100.0);
    }
}
 
/* ************************************************************************** *
 * FUNCTIONS                                                                  *
 * ************************************************************************** */

void led_feedback() {
    if(toggle) {
        led_set(LED_3, -1.0, 0);
    } else led_reset();
}
 
/******************************************************************************
 * COMBOS
 ******************************************************************************/

combo Rapidfire {
    set_val(BUTTON_5, 100.0);
    wait(32);
    set_val(BUTTON_5, 0.0);
    wait(15);
    set_val(BUTTON_5, 0.0);
}
 

Re: Pubg ps4 (Apex+Titan two)

PostPosted: Wed Jan 23, 2019 2:02 pm
by Bagura32rus
J2Kbr wrote:Here is the script I use. However, it was made for the mouse directly connected to the Titan Two.
Code: Select all
#pragma METAINFO("PUBG Battlegrounds", 2, 0, "J2Kbr")
 
/******************************************************************************
 * INPUT TRANSLATOR
 ******************************************************************************/

#include <remapper.gph>
#include <keyboard.gph>
#include <mouse.gph>
 
init {
    port_inhibit_ffb(PORT_USB_A);
 
    remapper_disable(STICK_1_X);
    remapper_disable(STICK_1_Y);
    remapper_disable(ACCEL_1_X);
    remapper_disable(ACCEL_1_Y);
    remapper_disable(ACCEL_1_Z);
    remapper_swap(BUTTON_2, BUTTON_16);
    remapper_swap(BUTTON_3, BUTTON_9);
    remapper_swap(BUTTON_9, BUTTON_15);
    remapper_mask(RMP_USB_A | RMP_BT_A);
 
    const uint8 kmap[] = {
        KEY_P,              BUTTON_17,
        KEY_OPENBRACKET,    BUTTON_2,
        KEY_CLOSEBRACKET,   BUTTON_21,
        KEY_BACKSLASH,      BUTTON_3,
    }; keymapping(kmap);
 
    const uint8 mmap[] = {
        MOUSE_X,            STICK_1_X,
        MOUSE_Y,            STICK_1_Y,
        MWHEEL_FORWARD,     BUTTON_14,
        MWHEEL_BACKWARD,    BUTTON_10,
        MBUTTON_1,          BUTTON_5,
        MBUTTON_2,          BUTTON_16,
        MBUTTON_3,          BUTTON_9,
        MBUTTON_4,          BUTTON_14,
        MBUTTON_5,          BUTTON_4,
    }; mousemapping(mmap);
 
    #define sensitivity(n)   n >> 8, n
 
    const uint8 mxyc[] = {
        BUTTON_8,
        sensitivity(2.54i), // Default
        0x01, 0x00, 0x00, 0x23, 0x0C, 0x28, 0x0C, 0x28, 0x00, 0xDB,
        0x00, 0x00, 0x11, 0x40, 0x1A, 0xA8, 0x21, 0xB8, 0x28, 0x00, 0x2D, 0x7D,
        0x32, 0xFA, 0x37, 0xAE, 0x3A, 0xD1, 0x3C, 0x63, 0x3D, 0x2E, 0x3F, 0x87,
        0x41, 0xE1, 0x45, 0x05, 0x48, 0x28, 0x4A, 0x82, 0x4D, 0xA3, 0x50, 0x00,
        0x52, 0x59, 0x54, 0xB3, 0x57, 0xD7,
        sensitivity(3.24i), // Alternate
        0x01, 0x00, 0x00, 0x1E, 0x0E, 0x80, 0x0E, 0x80, 0x00, 0xE8,
        0x00, 0x00, 0x0E, 0x1E, 0x16, 0xBD, 0x1D, 0xCC, 0x23, 0x4A, 0x28, 0xC7,
        0x2D, 0x7D, 0x32, 0x33, 0x36, 0x1E, 0x38, 0x78, 0x3A, 0x0A, 0x3C, 0x63,
        0x3F, 0x87, 0x43, 0x73, 0x45, 0xCC, 0x48, 0xF0, 0x4C, 0x14, 0x4E, 0x6E,
        0x51, 0x91, 0x53, 0xEB, 0x55, 0x7D
    }; mxyconverter(mxyc);
}
 
/******************************************************************************
 * MAIN
 ******************************************************************************/

bool toggle = TRUE;
 
init {
    led_feedback();
}
 
main {
    if(event_active(BUTTON_21)) {
        toggle = !toggle;
        led_feedback();
    }
    if(event_active(BUTTON_15)) {
        toggle = TRUE;
        led_feedback();
    }
    if(toggle) {
        if(get_val(BUTTON_5)) {
            combo_run(Rapidfire);
            mxyconverter_voffset(clamp(time_active(BUTTON_5)/17, 6, 23));
        } else if(event_release(BUTTON_5)) mxyconverter_voffset(0);
    }
    if(get_val(BUTTON_5)) {
        set_val(BUTTON_5, 100.0);
    }
    if(get_val(BUTTON_8)) {
        if(get_val(BUTTON_8) >= 100.00) {
            set_val(BUTTON_7, 100.0);
        }
        if(key_status(KEY_SEMICOLON)) {
            set_val(BUTTON_6, 100.0);   // LEAN LEFT
        }
        if(key_status(KEY_QUOTE)) {
            set_val(BUTTON_9, 100.0);   // LEAN RIGHT
        }
        set_val(BUTTON_8, 100.0);
    }
}
 
/* ************************************************************************** *
 * FUNCTIONS                                                                  *
 * ************************************************************************** */

void led_feedback() {
    if(toggle) {
        led_set(LED_3, -1.0, 0);
    } else led_reset();
}
 
/******************************************************************************
 * COMBOS
 ******************************************************************************/

combo Rapidfire {
    set_val(BUTTON_5, 100.0);
    wait(32);
    set_val(BUTTON_5, 0.0);
    wait(15);
    set_val(BUTTON_5, 0.0);
}
 

Thanks for the answer)) and this script is suitable for XIM apex?