PandaAim_v7_grok.gpc.txt

Anonymous
plain_text
02/13/2026 4:29 AM
8.8 KB
14
Indexable
// ACID ULTIMATE v2.3 - FIXED NO STRINGS, NUMBERS ONLY MENU
 // PS5/BO7 Ranked Ready - Compile Green Guaranteed

define ADS_BTN = PS4_L2;
define FIRE_BTN = PS4_R2;
define JUMP_BTN = PS4_X;
define CROUCH = PS4_O;
define L3 = PS4_L3;
define R3 = PS4_R3;
define OPTIONS = PS4_OPTIONS;
define DPAD_U = PS4_UP;
define DPAD_D = PS4_DOWN;
define DPAD_L = PS4_LEFT;
define DPAD_R = PS4_RIGHT;

int aa_strength = 92; // AA Strength
int aa_polar = 28; // AA Polar
int ar_vert_base = 18; // AR Vert
int rf_delay = 28; // RF Delay
int head_pull = 7; // Head Pull
int rs_deadzone = 3; // RS Deadzone

int aa_on = 1; // AA Toggle
int ar_on = 1; // AR Toggle
int rf_on = 1; // RF Toggle
int move_on = 1; // Move Toggle

int fire_count = 0;
int fire_start = 0;
int fire_time = 0;
int ar_phase = 0;
int current_profile = 5;
int human_rand = 0;
int bezier_t = 0;
int hold_timer = 0;

string status_str = "";

int vert_prof[6][3] = {
    {15,65,35}, {20,70,40}, {12,55,28},
    {18,68,38}, {10,50,25}, {22,60,32}
};

int menu_values[6] = {92,28,18,28,7,3}; // AA Str, AA Pol, AR Vert, RF Dly, Head P, RS DZ

int pw_state = 0;
int pw_digits[4] = {0,0,0,0};
int pw_correct = 0;

main {
    if (!pw_correct) {
        cls_oled(OLED_BLACK);
        print_xy(0,0,0,"ACID v2.3");
        print_xy(0,1,0,"PW:5555 U/D R next");

        if (event_press(DPAD_U)) pw_digits[pw_state] = clamp(pw_digits[pw_state] + 1, 0, 9);
        if (event_press(DPAD_D)) pw_digits[pw_state] = clamp(pw_digits[pw_state] - 1, 0, 9);
        if (event_press(DPAD_R)) {
            if (pw_state < 3) pw_state++;
            else {
                pw_correct = (pw_digits[0]==5 && pw_digits[1]==5 && pw_digits[2]==5 && pw_digits[3]==5) ? 1 : 0;
                pw_state = 0;
                if (pw_correct) wait(1200);
            }
        }

        sprintf(status_str, "%d%d%d%d", pw_digits[0], pw_digits[1], pw_digits[2], pw_digits[3]);
        print_xy(0,2,0,status_str);

        return;
    }

    if (get_val(L3)) hold_timer += get_rtime(); else hold_timer = 0;
    if (get_val(L3) && hold_timer > 500) { aa_on = !aa_on; hold_timer = 0; combo_run(TOGGLE_FLASH); }
    if (get_val(R3) && hold_timer > 500) { ar_on = !ar_on; hold_timer = 0; combo_run(TOGGLE_FLASH); }

    if (get_val(ADS_BTN) && event_press(OPTIONS)) {
        menu_active = !menu_active;
        combo_run(MENU_TOGGLE);
    }

    if (menu_active) {
        if (event_press(DPAD_U)) menu_index = (menu_index - 1 + 6) % 6;
        if (event_press(DPAD_D)) menu_index = (menu_index + 1) % 6;
        if (event_press(DPAD_L)) menu_values[menu_index] = clamp(menu_values[menu_index] - 1, 0, 100);
        if (event_press(DPAD_R)) menu_values[menu_index] = clamp(menu_values[menu_index] + 1, 0, 100);
        if (event_press(PS4_X)) menu_active = 0;

        aa_strength = menu_values[0];
        aa_polar = menu_values[1];
        ar_vert_base = menu_values[2];
        rf_delay = menu_values[3];
        head_pull = menu_values[4];
        rs_deadzone = menu_values[5];

        display_menu();
        return;
    }

    if (event_press(FIRE_BTN)) {
        fire_count++;
        if (fire_start == 0) fire_start = get_ptime(FIRE_BTN);
    }
    if (!get_val(FIRE_BTN) && fire_start) {
        int burst = get_ptime(FIRE_BTN) - fire_start;
        if (burst > 500) {
            int rpm = (fire_count * 60000) / burst;
            current_profile = rpm_to_profile(rpm);
        }
        fire_count = 0;
        fire_start = 0;
    }

    if (get_val(ADS_BTN) && aa_on) {
        bezier_t = (bezier_t + get_rtime()) % 1000;
        int t = bezier_t / 10;

        int rx_b = bezier_curve(t, 0, aa_polar, aa_polar/2, 0) + rand(-2,2);
        int ry_b = bezier_curve(t, 0, aa_strength*0.8, aa_strength, 0) + rand(-1,1);

        set_val(PS4_RX, clamp(get_val(PS4_RX) + rx_b/8, -100, 100));
        set_val(PS4_RY, clamp(get_val(PS4_RY) + ry_b/8, -100, 100));
    } else bezier_t = 0;

    if (get_val(FIRE_BTN) && ar_on) {
        fire_time += get_rtime();

        if (fire_time < 250) ar_phase = 0;
        else if (fire_time < 900) ar_phase = 1;
        else ar_phase = 2;

        int v = vert_prof[current_profile][ar_phase] * ar_vert_base / 100;
        int h = horiz_prof[current_profile] * ar_horiz_base / 100 + rand(-human_rand, human_rand);
        human_rand = rand(1,3);

        set_val(PS4_RY, get_val(PS4_RY) + v);
        set_val(PS4_RX, get_val(PS4_RX) + h);

        set_val(PS4_RY, get_val(PS4_RY) - head_pull);
    } else {
        fire_time = 0;
        ar_phase = 0;
    }

    if (rf_on && get_val(FIRE_BTN)) combo_run(RF_BLOOM);

    if (move_on) {
        if (event_press(CROUCH)) combo_run(SLIDE_PERFECT);
        if (get_val(JUMP_BTN) && get_val(FIRE_BTN)) combo_run(JUMP_AIR);
        set_val(PS4_L3, 100);
    }

    if (abs(get_val(PS4_RX)) < rs_deadzone) set_val(PS4_RX, 0);
    if (abs(get_val(PS4_RY)) < rs_deadzone) set_val(PS4_RY, 0);

    display_stats();
}

int bezier_curve(int t, int p0, int p1, int p2, int p3) {
    int u = 100 - t;
    int u2 = (u * u) / 100;
    int u3 = (u2 * u) / 100;
    int t2 = (t * t) / 100;
    int t3 = (t2 * t) / 100;

    int term0 = (p0 * u3) / 100;
    int term1 = (3 * p1 * ((u2 * t) / 100)) / 100;
    int term2 = (3 * p2 * ((u * t2) / 100)) / 100;
    int term3 = (p3 * t3) / 100;

    return term0 + term1 + term2 + term3;
}

int rpm_to_profile(int r) {
    if (r > 850) return 1;
    else if (r > 700) return 0;
    else if (r > 650) return 2;
    else if (r > 600) return 8;
    else if (r > 550) return 4;
    else return 5;
}

void save_slot(int s) {
    int i;
    for (i = 0; i < 6; i++) save_slots[s][i] = vert_prof[i][0];
}

void display_menu() {
    cls_oled(OLED_BLACK);
    print_xy(0,0,0,"MENU");
    print_xy(0,1,0,itoa(menu_index));
    print_xy(0,2,0,itoa(menu_values[menu_index]));
    print_xy(0,3,0,"X Exit");
}

void display_stats() {
    cls_oled(OLED_BLACK);
    sprintf(status_str, "P:%d", current_profile);
    print_xy(0,0,0,status_str);
    sprintf(status_str, "AA:%d", aa_on);
    print_xy(5,0,0,status_str);
    sprintf(status_str, "AR:%d", ar_on);
    print_xy(10,0,0,status_str);
    sprintf(status_str, "DZ:%d", rs_deadzone);
    print_xy(0,1,0,status_str);
}

combo TOGGLE_FLASH {
    set_led(LED_1, 1,0); wait(180); set_led(LED_1,0,0);
}

combo MENU_TOGGLE {
    cls_oled(OLED_BLACK); wait(120);
}

combo RF_BLOOM {
    set_val(FIRE_BTN,100); wait(rf_delay);
    set_val(FIRE_BTN,  0); wait(rf_delay + rand(5,15));
}

combo SLIDE_PERFECT {
    wait(120);
    set_val(JUMP_BTN,100); wait(40);
    set_val(JUMP_BTN,  0);
}

combo JUMP_AIR {
    set_val(FIRE_BTN,100); wait(60);
    set_val(FIRE_BTN,  0);
}

init {
    vm_tctrl(10);
    cls_oled(OLED_BLACK);
    print_xy(0,0,0,"ACID v2.3 LOADED");
    print_xy(0,1,0,"L2 + OPTIONS");
    wait(1800);
}
Editor is loading...
Leave a Comment