can some one make a Script for me

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

can some one make a Script for me

Postby Shthappensbro » Mon Sep 11, 2017 8:57 pm

wonder if anyone can make a fast script for me on xbox one on the Game The Divison. :wink:


if you can make a code where i aim my gun it does rapied fire so for say on the shotgun

if i aim it. well fire so kinda like quick scope on mw2 and what not u know? but with rapid fire where it keeps firing if i just aim down sites it well fire too :innocent_smile_1:
User avatar
Shthappensbro
Major
Major
 
Posts: 754
Joined: Wed Aug 16, 2017 4:55 pm

Re: can some one make a Script for me

Postby bonefisher » Tue Sep 12, 2017 12:17 am

Code: Select all
 
#define QuickFireAdjustment  100 // adjust to when you want fired.
 
main {
    if(event_release(BUTTON_8) && time_active(BUTTON_8) < 200) {
            combo_run(QuickFire);
    }else if(get_val(BUTTON_8) && time_active(BUTTON_8) > 200) {
            combo_run(QuickRapidLT);
    } else {
        combo_stop(QuickRapidLT);
    }
}
combo QuickFire
{
    set_val(BUTTON_5, 0.0);
    set_val(BUTTON_8, 100.0);
    wait(QuickFireAdjustment);
    set_val(BUTTON_5, 100.0);
    set_val(BUTTON_8, 100.0);
    wait(40);
}
 
combo QuickRapidLT
{
    set_val(BUTTON_5, 100.0);
    wait(40);
    set_val(BUTTON_5, 0.0);
    wait(40);
    set_val(BUTTON_5, 0.0);
}
 

This should work!
bonefisher
Lieutenant General
Lieutenant General
 
Posts: 5413
Joined: Thu Jan 29, 2015 10:49 am

Re: can some one make a Script for me

Postby Shthappensbro » Tue Sep 12, 2017 1:33 am

Thanks dude I'll give this a try
User avatar
Shthappensbro
Major
Major
 
Posts: 754
Joined: Wed Aug 16, 2017 4:55 pm


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 147 guests