pubg script for apex

Forum to discuss the scripts, configs and connection of XIM with the Titan devices.

Moderator: antithesis

pubg script for apex

Postby Nate36 » Thu Aug 16, 2018 7:58 pm

Hello does anyone have good scripts for pubg while using the apex with anti recoil or anything else that is useful?
Some of the scripts I tried don't allow me too drive vehicles and when in lean I t stuck there.
Really interested to see what ppl are using in pubg and what a good amount of anti recoil is.
Thanks for the help.
User avatar
Nate36
Master Sergeant
Master Sergeant
 
Posts: 41
Joined: Tue Apr 24, 2018 12:33 am

Re: pubg script for apex

Postby J2Kbr » Sat Aug 18, 2018 12:01 pm

I don't have one specifically for XIM, but I made the following script for PS Nav + Mouse directly plugged into the Titan Two, hope it helps:
Code: Select all
#pragma METAINFO("PUBG Battlegrounds", 1, 0, "J2Kbr")
 
#include <remapper.gph>
#include <keyboard.gph>
#include <mouse.gph>
 
#define v(n)   n >> 8, n
 
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);
 
    const uint8 mxyc[] = {
        0xFF,
        v(4.27i), // Sensitivity - Default
        0x01, 0x3D, 0x00, 0x33,  v(18.46i),  v(18.14i), 0x00, 0xFC,
        0x00, 0x00, 0x0E, 0xE6, 0x16, 0xBD, 0x1C, 0x3A, 0x21, 0xB8, 0x27, 0x35,
        0x2B, 0x23, 0x2F, 0xD7, 0x32, 0xFA, 0x33, 0xC2, 0x34, 0x8C, 0x36, 0x1E,
        0x39, 0x40, 0x3C, 0x63, 0x3E, 0xBD, 0x41, 0x19, 0x43, 0x73, 0x45, 0xCC,
        0x48, 0x28, 0x4A, 0x82, 0x4C, 0xDC
    }; mxyconverter(mxyc);
}
 
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 && get_val(BUTTON_5)) {
        combo_run(Rapidfire);
    }
 
    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);
    }
}
 
combo Rapidfire {
    set_val(BUTTON_5, 100.0);
    wait(64);
    set_val(BUTTON_5, 0.0);
    wait(16);
    set_val(BUTTON_5, 0.0);
}
 
void led_feedback() {
    if(toggle) {
        led_set(LED_3, -1.0, 0);
    } else led_reset();
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm


Return to XIM Apex, XIM4, XIM Edge with Titan devices

Who is online

Users browsing this forum: No registered users and 62 guests