Auto run Apex legends

GPC2 script programming for Titan Two. Code examples, questions, requests.

Auto run Apex legends

Postby teckx » Sun Feb 17, 2019 11:41 pm

Anyone using this script ? Or an auto slide script
Wondering which is better to use
User avatar
teckx
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 194
Joined: Tue Mar 27, 2018 1:53 pm

Re: Auto run Apex legends

Postby J2Kbr » Tue Feb 19, 2019 10:20 am

Auto Run (Easy Sprint) is available in the Apex Gamepack. I personally don't use it. What I am using is HOLSTER N' SPRINT, which automatically sprint after holstering the weapon.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Auto run Apex legends

Postby teckx » Tue Feb 19, 2019 7:05 pm

interesting.. also makes you consider a script of replacing the hold Y to holster then shift to sprint
press (random key) which emulates the holding and then autoruns for you
removes the hold Y requirement
User avatar
teckx
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 194
Joined: Tue Mar 27, 2018 1:53 pm

Re: Auto run Apex legends

Postby teckx » Thu Feb 21, 2019 8:40 pm

J2Kbr wrote:Auto Run (Easy Sprint) is available in the Apex Gamepack. I personally don't use it. What I am using is HOLSTER N' SPRINT, which automatically sprint after holstering the weapon.



do you mind sharing the code for the 'HOLSTER N' SPRINT' ?
I tried to load the gamepack and retrieve it there but i couldnt see the script. i usually like to pick bits and pieces and make my own frankenstein gpc

thanks
User avatar
teckx
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 194
Joined: Tue Mar 27, 2018 1:53 pm

Re: Auto run Apex legends

Postby J2Kbr » Fri Feb 22, 2019 8:17 am

teckx wrote:do you mind sharing the code for the 'HOLSTER N' SPRINT' ?

This mod is very simple, here is how it works:
Code: Select all
main {
    // Holster and Sprint
    if(get_actual(BUTTON_14) && time_active(BUTTON_14) > 300) {
        set_val(BUTTON_9, 100.0);
    }
}
 
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Auto run Apex legends

Postby teckx » Fri Feb 22, 2019 1:26 pm

thank you.. i tried writing it myself but i tend to over complicate the code
User avatar
teckx
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 194
Joined: Tue Mar 27, 2018 1:53 pm

Re: Auto run Apex legends

Postby alanmcgregor » Tue Feb 26, 2019 11:12 pm

teckx wrote:thank you.. i tried writing it myself but i tend to over complicate the code

Another Sinner here.

I added the condition of the stick must be push forward to holster 'n sprint, to reassurance it doesn't mess with the lobby start match button, and when you want to climbing faster, holster the gun without sprinting is smooth.
Code: Select all
 
    if((get_val(STICK_2_Y) <= -75.0) && (check_active(BUTTON_14, 300))){
        set_val(SPRINT, 100.0);
    }
 
User avatar
alanmcgregor
Major
Major
 
Posts: 981
Joined: Tue Mar 27, 2018 8:38 am


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 81 guests