Request script, bf4, xbox one

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

Request script, bf4, xbox one

Postby CYI30RG » Wed Apr 10, 2019 3:28 am

XBOX ONE, BF4, Would you be willing to write a script for crouchfire that has adjustable crouch speed ?
I can crouchfire on an elite controller but its a pain.

Essentially my control scheme is setup as veteran. Clicking the right stick initiates the crouch. I have tried remapping my crouch button to the paddles but it is never comfortable.

In a script i would simply just like to ads, then As soon as i pull the trigger the spam crouchfire would engage. The script would have an on and off feature(double tap left analog stick) and the crouchspeed adjustable.

Thank you for your time.
User avatar
CYI30RG
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Tue Apr 09, 2019 5:58 pm

Re: Request script, bf4, xbox one

Postby J2Kbr » Wed Apr 10, 2019 7:56 am

Please try this:
Code: Select all
define CROUCH_SPAM_SPEED = 200;
 
main {
    if(get_val(XB1_LT) && get_val(XB1_RT)) {
        combo_run(CrouchSpam);
    }
}
 
 
combo CrouchSpam {
    set_val(XB1_B, 100);
    wait(40);
    wait(CROUCH_SPAM_SPEED);
}
 
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: Request script, bf4, xbox one

Postby CYI30RG » Wed Apr 10, 2019 8:28 am

Ty for reply. Im not well versed in script but i can do some editing. From the looks of it i can spam croutchfire (like a constant tbag) when i hit rt.

I would need it to be able to be adjustable speed and also option to toggle on and off by double click of ledr analog stick or maybe double click menu quickly. How exactly is this setup my friend?
User avatar
CYI30RG
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Tue Apr 09, 2019 5:58 pm

Re: Request script, bf4, xbox one

Postby J2Kbr » Wed Apr 10, 2019 8:36 am

CYI30RG wrote:Ty for reply. Im not well versed in script but i can do some editing. From the looks of it i can spam croutchfire (like a constant tbag) when i hit rt.

RT and LT, but can be changed to only RT if this is what you want. :smile0517:

CYI30RG wrote:TI would need it to be able to be adjustable speed and also option to toggle on and off by double click of ledr analog stick or maybe double click menu quickly. How exactly is this setup my friend?

The speed can be adjusted in the define at the very beginning, lower the value faster the crouch button will be pressed.
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: Request script, bf4, xbox one

Postby CYI30RG » Wed Apr 10, 2019 8:47 am

I will try this out friday. I just ordered titan one today on amazon. Looks like it operates exactly the same as device max.... duplicate
User avatar
CYI30RG
Staff Sergeant
Staff Sergeant
 
Posts: 10
Joined: Tue Apr 09, 2019 5:58 pm


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 112 guests