apex legends script testing discussion
2 posts
• Page 1 of 1
apex legends script testing discussion
i have a script for apex legends if someone wants to test.
pm me and let me know.
dont forget to mention here if it works!!
if it works ill publish in gpc archive in gtuner iv
heres the script:
ignore some stuf like autospot just left in there from another script
turn on=dpad right
turn off=A or X
it has basic essentials for all shooters,
but i wanted to see if binding ping would work with this game like in siege.
EDITED well i tested myself since no one wanted to tell me if it works, it doesnt work - confirmed.
if someone wants to fix feel free
pm me and let me know.
dont forget to mention here if it works!!
if it works ill publish in gpc archive in gtuner iv
heres the script:
ignore some stuf like autospot just left in there from another script
turn on=dpad right
turn off=A or X
it has basic essentials for all shooters,
but i wanted to see if binding ping would work with this game like in siege.
EDITED well i tested myself since no one wanted to tell me if it works, it doesnt work - confirmed.
if someone wants to fix feel free
- Code: Select all
#pragma METAINFO("apex legends", 1, 0, "norge1")
#include <titanone.gph>
//
// Sat Dec 23 2017 17:23:26
// Script generated by Visual to GPC
//----------------------------------------
define SHOOT_BTN = XB1_RT;
define ONLY_WITH_SCOPE = TRUE; // Use Anti-recoil only when scoping
define ANTI_RECOIL = 80; //change "0" to compensate vertical recoil (0 - 100)
define ANTI_RECOIL_LEFT = 80; //change this value to compensate to the left (0 - 100)
define ANTI_RECOIL_RIGHT = 80; //change this value to compensate to the right (0 - 100)
define INSTA_FIRE = 95; // The % at which it boosts the SHOOT button when pressed - i.e. 95% means when pressed 5%
define INSTA_AIM = 95; // The % at which it boosts the ADS button when pressed - i.e. 95% means when pressed 5%
define ADS_SPEED = 20; // The % at which it boosts your aiming speed when using ADS
define PING_BTN = XB1_RB; // PING
// VARIABLES
// ---------------------------------------------------------
int AutoSpotOnOff;
int toggle;
int anti_recoil;
int anti_recoil_left;
int anti_recoil_right;
/* ----------------------------------------------------------------------------------------------------------------------
* MAIN
**/
main {
if(get_val(XB1_RIGHT)) toggle = TRUE; // Turn it on when you press DPAD LEFT
else if(get_val(XB1_A)) toggle = FALSE; // turn it off when you press DPAD LEFT
if(toggle) {
if(get_val(XB1_RT)) { // If RT is pressed, jitter will run
combo_run(jitter);
}
if(get_val(XB1_RT)) {
combo_run(rapidfire);
}
if(get_val(XB1_LT)) {
if(get_val(XB1_LT)) {
combo_run(quickscope);
} else {
combo_run(quickscope2);
}
}
} else {
combo_stop(jitter);
combo_stop(rapidfire);
combo_stop(quickscope);
combo_stop(quickscope2);
}
if(get_val(XB1_RB) && event_press(XB1_RT)) {
combo_run(LOCATION_MARKER);
}
}
combo RumbleNotifier {
set_rumble(RUMBLE_A, 100);
wait(300);
reset_rumble();
}
combo jitter{
set_val(XB1_RT, 40);
wait (20);
set_val(XB1_RT, 40);
wait (20);
set_val(XB1_RT, 40);
wait (20);
set_val(XB1_RT, 40);
wait (20);
set_val(XB1_RT, 40);
wait (20);
set_val(XB1_RT, 0);
}
combo rapidfire {
set_val(XB1_RT, 40);
wait(40);
set_val(XB1_RT, 0);
}
combo FastReloadIMR {
set_val(XB1_X, 100);
wait(40);
set_val(XB1_X, 0);
wait(500); // << Adjustable timing
set_val(XB1_X, 0);
set_val(XB1_LX, 0);
set_val(XB1_LY, -100);
wait(40);
}
combo quickscope {
set_val(XB1_LT, 100);
wait(10);
set_val(XB1_LT, 0);
}
combo quickscope2 {
set_val(XB1_LT, 100);
wait(20);
set_val(XB1_LT, 0);
wait(10);
set_val(XB1_LT, 0);
}
combo LOCATION_MARKER {
set_val(PING_BTN, 100);
wait(100);
}
combo AntiRecoil { // This combo must be the last one
// Look Inversion Enabled
anti_recoil = get_val(XB1_RY) - ANTI_RECOIL; // SUBTRACT anti_recoil when LOOK INVERSION is ENABLED
if(anti_recoil > 100) anti_recoil = 100;
set_val(XB1_RY, anti_recoil);
anti_recoil_left = get_val(XB1_RX) - ANTI_RECOIL_LEFT;
if(anti_recoil_left < -100) anti_recoil_left = -100;
set_val(XB1_RX, anti_recoil_left);
anti_recoil_right = get_val(XB1_RX) + ANTI_RECOIL_RIGHT;
if(anti_recoil_right > 100) anti_recoil_right = 100;
set_val(XB1_RX, anti_recoil_right);
if(get_val(XB1_RT)) {
anti_recoil = get_val(XB1_RY) + ANTI_RECOIL;
if(anti_recoil > 100) anti_recoil = 100;
set_val(XB1_RY, anti_recoil);
anti_recoil_left = get_val(XB1_RX) -ANTI_RECOIL_LEFT;
if(anti_recoil_left > 100) anti_recoil_left = 100;
set_val(XB1_RX, anti_recoil_left);
anti_recoil_right = get_val(XB1_RX) +ANTI_RECOIL_RIGHT;
if(anti_recoil_right > 100) anti_recoil_right = 100;
set_val(XB1_RX, anti_recoil_right);
}
}
Last edited by bmpt guard on Tue Feb 19, 2019 12:34 am, edited 1 time in total.
-
bmpt guard - Command Sergeant Major
- Posts: 142
- Joined: Thu May 12, 2016 9:33 pm
Re: apex legends script testing discussion
thank you for sharing your script with us.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
2 posts
• Page 1 of 1
Return to GPC2 Script Programming
Who is online
Users browsing this forum: No registered users and 129 guests