Aim assist, script author snake7210402PL

GPC1 script programming for Titan One. Code examples, questions, requests.

Aim assist, script author snake7210402PL

Postby kubawaz » Fri Jul 26, 2024 1:49 pm

// Script author: PSN snake7210402PL (Kuba Wąż)

// This GPC script is designed to improve aiming when the L2 button is pressed
// It gently adjusts aiming to help with target acquisition
// WARNING: Using this script may violate the terms of service of many games and lead to account bans

define AIM_ADJUST = 20; // Define the amount of aim adjustment
define AIM_DELAY = TRUE; // Define the delay in milliseconds for adjustment

int aiming = FALSE;

main {
if (get_val(PS4_L2) > 50) { // If L2 is pressed more than halfway
aiming = TRUE;
} else {
aiming = FALSE;
}

if (aiming) {
combo_run(AimAssist);
} else {
combo_stop(AimAssist);
}
}

combo AimAssist {
wait(AIM_DELAY);
set_val(PS4_RX, AIM_ADJUST); // Adjust the X axis of the right stick
wait(AIM_DELAY);
set_val(PS4_RX, -AIM_ADJUST); // Adjust the X axis of the right stick back
wait(AIM_DELAY);
set_val(PS4_RY, AIM_ADJUST); // Adjust the Y axis of the right stick
wait(AIM_DELAY);
set_val(PS4_RY, -AIM_ADJUST); // Adjust the Y axis of the right stick back
}

How to improve the movement of the right analog stick to make aiming smoother without jitter?
I'm from Poland, my English is not perfect.
User avatar
kubawaz
Sergeant
Sergeant
 
Posts: 7
Joined: Sun Dec 29, 2019 11:41 pm

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 177 guests