Gears Ulimate edition Gamepack Request

Titan One general support. Questions, firmware update, feature request.

Re: Gears Ulimate edition Gamepack Request

Postby Elvish » Thu Aug 27, 2015 6:39 am

You do not have to, but I encourage you to post what your entire script is. If you have things working well for the game then by all means share with the community. You can tune things better then I can as you have the game to test the code.
User avatar
Elvish
Captain
Captain
 
Posts: 531
Joined: Tue Jun 09, 2015 4:57 am

Re: Gears Ulimate edition Gamepack Request

Postby Fragsnipa » Thu Aug 27, 2015 6:42 am

Code: Select all
//Active Reload defines.
define Lancer       = 720;
define HammerBurst  = 1100;
define Pistol       = 500;
define Gnasher      = 850;
     

//START WEAPON on the line below
define StartWeapon = Lancer;
define RATE_OF_FIRE = 20;

int CurrentWeapon = StartWeapon;
int cDelay = 100;
int Zoomed_In = FALSE;
int Rapid_Fire = FALSE;
int Auto_Cover = FALSE;
int hold_time, rest_time;

        init {
            hold_time = 512 / RATE_OF_FIRE;
            rest_time = hold_time - 32;
        if(rest_time < 0) rest_time = 0;}

main {

    //Tag, whatever that means?
    if(get_val(XB1_LT)){
        combo_run(Tag);
    }
   
    //Weapon Slide
    if(event_press(XB1_X) && !combo_running(Weapon_Slide)){
        combo_run(Weapon_Slide);
    }

    if(get_val(XB1_RT)){
        if(get_val(XB1_DOWN)){
            set_val(XB1_DOWN, 0);
            Rapid_Fire = FALSE;
        }
        if(event_press(XB1_UP)){
            set_val(XB1_UP, 0);
            Rapid_Fire = TRUE;
        }
    }
    if(get_val(XB1_RT) && Rapid_Fire && !combo_running(RapidFire)){
        combo_run(RapidFire);
    }
   
//Auto Wall Bounce Hold A + Dpad Up to enable.  Hold A + Dpad Down to disable
if(get_val(XB1_A)){
        if(get_val(XB1_DOWN)){
            set_val(XB1_DOWN, 0);
            Auto_Cover = FALSE;
        }
        if(event_press(XB1_UP)){
            set_val(XB1_UP, 0);
            Auto_Cover = TRUE;
        }
    }
    if(get_val(XB1_A) && Auto_Cover && !combo_running(AutoCover)){
        combo_run(AutoCover);
    }
    //Active reload
    if(event_press(XB1_RB)) {
        combo_run(ReloadGun);
    }
    set_val(XB1_RB, 0);

    // Switch weapon reload timing
    if(event_press(XB1_RIGHT) && !get_val(XB1_RT)) {
        CurrentWeapon = StartWeapon;
    }
    if(event_press(XB1_LEFT) && !get_val(XB1_RT)) {
        CurrentWeapon = Gnasher;
    }
    if(event_press(XB1_DOWN) && !get_val(XB1_RT)) {
        CurrentWeapon = Pistol;
    }
   
    //Reload delay
    if(CurrentWeapon == Gnasher){
        cDelay = 800;
    }
    else{
        cDelay = 100;
    }
    //Auto Zoom
   if(get_val(XB1_LT) && get_ptime(XB1_LT) >= 300 && !Zoomed_In){
        Zoomed_In = TRUE;
        combo_run(ZoomIn);
    }
    else if(!get_val(XB1_LT)){
        Zoomed_In = FALSE;
    }
   
    /*This one is basically when ADS with a sniper, you don't zoom, you have to press R3 to zoom in.
    So to eliminate to press another button to zoom. Why not hold down the ADS for about 300ms then it
    will zoom in automatic. This great for people who want to zoom in quick*/

}


combo ReloadGun {
                            wait(cDelay);
    set_val(XB1_RB, 100);   wait(60);
    set_val(XB1_RB, 0);     wait(CurrentWeapon);
    set_val(XB1_RB, 100);   wait(60);
    set_val(XB1_RB, 0);
}

combo Tag {
    set_val(XB1_LS, 100);   wait(100);
    set_val(XB1_LS0);    wait(300);
    set_val(XB1_LS, 100);   wait(100);
    set_val(XB1_LS0);    wait(300);
}

combo Weapon_Slide
{
    set_val(XB1_X, 100);   wait(60);
    set_val(XB1_X, 0);     wait(20);
    set_val(XB1_A, 100);   wait(60);
    set_val(XB1_A, 0);
}

 combo RapidFire {
            set_val(XB1_RT, 100);
        wait(hold_time);
            set_val(XB1_RT, 0);
        wait(rest_time);
            set_val(XB1_RT, 0);
        }

combo ZoomIn
{
    set_val(XB1_LS, 100);
    wait(150);
    set_val(XB1_LS, 0);
}
combo AutoCover {
         set_val(XB1_A, 100);
         wait(30);
         set_val(XB1_A, 0);
         wait(30);

}


I combine my code with your COde. We should start here Got to figure out how to get Auto Zoom in to work on the longshot. I try it later. Thanks Elvish :smile0203:
Console= Xbone
Games = BF4, MCC, H5, BO3, Gears of War UE, Destiny, Gears of War 4, COD 4 Remaste, BF1.
User avatar
Fragsnipa
Sergeant Major of the Army
Sergeant Major of the Army
 
Posts: 191
Joined: Sun Nov 16, 2014 6:27 am
Location: Queens, NY

Re: Gears Ulimate edition Gamepack Request

Postby srbtattoo » Thu Aug 27, 2015 2:57 pm

elvish the code work ok so i tweaked the auto spot and the rapid fire and they work perfect. the weapon slide is the only thing i need now i can't figure out the timing
User avatar
srbtattoo
Sergeant Major
Sergeant Major
 
Posts: 72
Joined: Wed Apr 15, 2015 10:50 pm

Re: Gears Ulimate edition Gamepack Request

Postby Elvish » Thu Aug 27, 2015 4:11 pm

Well the video I watched the guy litterally slid his thumb from X to A, so possibly the timing I have is too slow?
When requesting work on something you have working "Perfectly" please post the code so I am not working with an outdated model of the code
User avatar
Elvish
Captain
Captain
 
Posts: 531
Joined: Tue Jun 09, 2015 4:57 am

Re: Gears Ulimate edition Gamepack Request

Postby srbtattoo » Thu Aug 27, 2015 5:49 pm

ok i changed rapid fire to 40 for both of the waits
then i changed all the waits to 50 for tag
the slide i can't get right but i also took out the auto zoom
User avatar
srbtattoo
Sergeant Major
Sergeant Major
 
Posts: 72
Joined: Wed Apr 15, 2015 10:50 pm

Re: Gears Ulimate edition Gamepack Request

Postby srbtattoo » Fri Aug 28, 2015 2:15 am

has anyone been able to test the weapon slide combo
User avatar
srbtattoo
Sergeant Major
Sergeant Major
 
Posts: 72
Joined: Wed Apr 15, 2015 10:50 pm

Re: Gears Ulimate edition Gamepack Request

Postby Elvish » Fri Aug 28, 2015 4:49 am

Its funny to me, there were 4 people requesting scripts for this but there is not a lot of activity here.
User avatar
Elvish
Captain
Captain
 
Posts: 531
Joined: Tue Jun 09, 2015 4:57 am

Re: Gears Ulimate edition Gamepack Request

Postby srbtattoo » Fri Aug 28, 2015 1:08 pm

thats because the game just came out everyones playing it
User avatar
srbtattoo
Sergeant Major
Sergeant Major
 
Posts: 72
Joined: Wed Apr 15, 2015 10:50 pm

Re: Gears Ulimate edition Gamepack Request

Postby andydlc33 » Sat Aug 29, 2015 12:40 am

How do you put scripts on the titan one? Im an extreme noob
User avatar
andydlc33
Private First Class
Private First Class
 
Posts: 2
Joined: Wed Jan 21, 2015 6:20 am

Re: Gears Ulimate edition Gamepack Request

Postby J2Kbr » Sat Aug 29, 2015 3:49 pm

The basic steps to load a GPC script into Titan One are:

1) Copy and paste the code into a blank file in Gtuner's Compiler panel.
2) Save the script.
3) Go to the the Programmer Panel
4) Drag-and-drop the script name to any memory slot.
5) Click on the "Program Device" button
6) Follow the programming wizard until it finishes.

7) Connect the Titan One on console, launch the game and press the button on the device until the display shows the same number you programmed the script.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

PreviousNext

Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 151 guests