Elder Scrolls Online GamePack!

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

Re: Elder Scrolls Online GamePack!

Postby Vonburner » Sat Oct 19, 2019 9:41 pm

Thank you I’ll try it when I get home, you doing your best and I’m thankful for that. Also I don’t need the bash part of the script I’m just trying to do a smooth LW combo. The Press R3 to disable is a great feature!!!
User avatar
Vonburner
Sergeant First Class
Sergeant First Class
 
Posts: 25
Joined: Wed Oct 09, 2019 1:47 am

Re: Elder Scrolls Online GamePack!

Postby Scachi » Sat Oct 19, 2019 9:53 pm

Vonburner wrote:Thank you I’ll try it when I get home, you doing your best and I’m thankful for that. Also I don’t need the bash part of the script I’m just trying to do a smooth LW combo. The Press R3 to disable is a great feature!!!

Not sure about the bash part you are talking about, that "bash part" may be the timing that is part of the lw combo. it defines the pause after the circle (or bumper or whatever skill button is used to invoke the lw combo) before the block canceling kicks in. It is renamed now in the Interactive Configuration, should be easier to understand now.

lw.jpg
lw.jpg (110.03 KiB) Viewed 2208 times


Code: Select all
#pragma METAINFO("Elder Scrolls Online", 2, 1, "Elvish orgT1, Scachi convT2")
#include <titanone.gph>
///////////////////////////////////////////////////////////
//Elder Scrolls Online Gamepack V2.1 With Block Canceling//
///////////////////////////////////////////////////////////
// https://www.consoletuner.com/gpclib/?s=1017
// viewtopic.php?f=6&t=1814
///////////////////////////////////////////////////////////
/*  ///////////////////////
    //Section 1: CONTROLS//
    ///////////////////////
 
  Reset Controls
        -Press Start to turn scripts off
            1. If you hold down Left Stick Click while pressing start no scripts will be turned off
        -Press and hold Start for 4 seconds to reset any persistant variables.
            1. This currently consists of the light weave time, and the initial on/off settings for the
                light weave skills.
            **NOTES**
                -If you are holding Left Stick Click no scripts will be turned off
 
  Auto Walking Controls
        -Press and hold Right Stick Down and hold Left Stick Click for about 2 seconds or until you feel a rumble to activate the script
            **NOTES**
                -Activate the script any time, initial settings are set to press sprint every 10.
                -If sprint is already on the button will still be pressed and as such will turn sprinting off.
 
  Lockpicking Controls
        -Press and hold Right Stick Down and hold D Pad Left for about 2 seconds or until you feel a rumble to activate the script
            **NOTES**
                -Max rumble beeds to be set to 6 for Xbox One and 75 for PS4 for this script to work properly
                -Look at the lock to be picked and then activate the script
                -If you are not looking at a lock you will need to press start to get right trigger turned off
 
  Fishing Controls
        -Press and hold Right Stick Down and hold D Pad Up for about 2 seconds or until you feel a rumble to activate the script
            Then press A/Cross while looking at a fishing hole, it will fish it out for you.
 
  Farming Controls
        -Press and hold Right Stick Down and hold D Pad Right for about 2 seconds or until you feel a rumble to activate the script
            **Notes**
                -Stand ontop of something (dresser, nightstand, backpack) then activate the script
                -For best results stand on something flat (Backpacks are not flat, but dressers are) and look
                    down. Spin in 360 degreese to ensure you are looking at the desired object no matter what
                    direction you face. That is not to say you CAN'T loot backpacks, but in my experience my
                    toon falls off of them after 5 - 10 minutes of cycling.
 
  Light Weave Controls
        -Press and hold Right stick down and then hold D Pad Down for about 2 seconds or until you feel a rumble to activate the script
        -Press and hold any ablity button to toggle it being on or off (1 rumble means off, 2 rumbles means on)
        -In order to use your ultimate you must first press and hold down Left Stick Click, then press the buttons to cast ultimate
        -To set a new light weave time in-game preform a light weave attack with D Pad Down held down, or in other words:
            1. With D Pad Down held down
                A. Press right trigger
                B. Then press any ability button(Controller will rumble to acknowledge the input)
                   AND Hold down the ability button until the animation is ready to be blocked
        -If you hold Left Stick Click then while light weave is active no light weave abilities will be used
            **NOTES**
                -You can turn light weaving on and off for specific buttons regardless if the light weaving
                    script is currently active or not.
                -Your settings will be save even with the Titan One turned off. Hold start for 4 seconds to
                    clear your settings back to the initial settings.
 
*/
       
 
/*  ////////////////////////////////
    //Section 2: NOTES ON SETTINGS//
    ////////////////////////////////
  Misc Settings
        -Rumble Notification defines the rumble strength of notifications. These notifications
            will happen every time user enters a menu or changes a setting. Set this high enough
            that you will feel the rumble indication.
                1. Three Rumbles means a script is being turn on or off
                2. Two rumbles means a light weave ability is toggled on or light weave time is now set.
                3. One Rumble means that a light weave ability is toggled off
 
  Lockpick Settings
        -Max_Rumble defines when to move to the next pin of the lock. Set to 6 if on Xbox One or
            set to 75 if you are on PS4.
 
  Auto Farming Settings
        -Log In Timer dictates the time inbetween pressing A to select your character and logging out
        -Lot Out Timer dictates the time inbetween pressing log out in game and pressing A to log back
            in (Remember it takes 9 extra seconds if you are in an unsafe zone)
        -Max Random decides how greatly the times to log in and out can be raised (Set to 0 to dissable)
 
  Auto Walk Settings
        -SprintSpeed defines after how many seconds to press the sprint button, this can be
            deactivated by setting to 0.
 
  Light Weaving Settings
        -LightWeaveTime defines how many Miliseconds to wait after pressing right trigger before
            casting an ability. Because this script runs every 5 MS this should be set in an
            increment of 5 MS.
        -LWTime defines how many seconds you must hold a skill button to toggle it being on or off.
        -The LW_Action skills define if light weaving is set to on or off for that particular skill,
            this can be changed in game. But you may modify them here if you know what you want for
            starting points every time you load the script.
 
   */
//////////////////////
    //Section 3: Settings// some of the following settings are configured via the Interactive Configuration !
    ///////////////////////
    int Block_Button = XB1_LB;
    int Bash_Time[6] = {
        100, // wait time for "no weaving button"
        100, // wait time for "Button_Two(Xbox One: X  ||  PS4: Square)" in weaving combo
        100, // wait time for "Button_Three(Xbox One: Y  ||  PS4: Triangle)" in weaving combo
        100, // wait time for "Button_Four(Xbox One: B  ||  PS4: Circle)" in weaving combo
        100, // wait time for "Left Bumper" in weaving combo
        100, // wait time for "Right Bumper" in weaving combo
    };
 
  //Misc Settings
    uint8 RumbleNotification = 20; //The rumble strength for all notifications
 
  //Auto Lockpick Settings   
    uint8 Max_Rumble = 6; //set to 6 for xbox one and 75 for PS4 (Lockpick rumble detection)
 
  //Auto Walk Settings
    int SprintSpeed = 10; //This is how many seconds inbtween left stick clicks(it will turn sprint off if already sprinting. 0 will dissable.)
 
  //Auto farm scripts
    int LogInTimer = 35; //Time it takes to log on
    int LogOutTimer = 34; //Time it takes to log off
    int Max_Random = 10; //The amount of time in which logging in or out can change
 
  //Light Weaving Settings
    int LWTime = 4; //Seconds you must hold a button to toggle the lightweave for a skill on or off
    int LightWeaveTime = 70; //The time you wait after hitting right trigger and before using an ability
    int LightWeaveTimePrevious = 70;
    //Initial On-Off values for the light weaving skills
    bool LW_ActionOneOn = TRUE;   //Xbox One: X  ||  PS4: Square  //
    bool LW_ActionTwoOn = TRUE;   //Xbox One: Y  ||  PS4: Triangle//
    bool LW_ActionThreeOn = TRUE; //Xbox One: B  ||  PS4: Circle  //
    bool LW_ActionFourOn = TRUE//Xbox One: LB ||  PS4: L1      //
    bool LW_ActionFiveOn = TRUE//Xbox One: RB ||  PS4: R1      //
 
/*  //=============================\\
    ||DO NOT MODIFY BELOW THIS LINE||
    ||DO NOT MODIFY BELOW THIS LINE||
    ||DO NOT MODIFY BELOW THIS LINE||
    \\=============================//   */

 
/*Button definitions. As these are all the same index on Xbox One and PS4 these
    deffinitions will work on both consoles. Make sure to adjust the settings
    section though!*/

define Button_One = 19//Xbox One: A  ||  PS4: Cross   //
define Button_Two = 20//Xbox One: X  ||  PS4: Square  //
define Button_Three = 17;//Xbox One: Y  ||  PS4: Triangle//
define Button_Four = 18; //Xbox One: B  ||  PS4: Circle  //
define Right_Bumper = 3;
define Right_Trigger = 4;
define Right_Stick_Click = 5;
define Left_Bumper = 6;
define Left_Trigger = 7;
define Left_Stick_Click = 8;
define Select_Button = 1;
define Center_Button = 0;
define Start_Button = 2;
define D_Up = 13;
define D_Right = 16;
define D_Down = 14;
define D_Left = 15;
define LeftStick_X = 11;//Left stick left(-100) and right(+100)
define LeftStick_Y = 12;//Left stick up(-100) and down(+100)
define RightStick_X = 9;//Right stick left(-100) and right(+100)
define RightStick_Y = 10;//Right stick up(-100) and down(+100)
 
//Rumble Packs
define Rumble_Soft = RUMBLE_B;
define Rumble_Hard = RUMBLE_A;
 
//Booleans
int ReadyForInput = TRUE;
int AutoLockPick = FALSE;
int OpeningLock = FALSE;
int Depressing = FALSE;
int LightWeaveOn = FALSE;
int AutoWalk = FALSE;
int Waiting = FALSE;
int logged_In = TRUE;
int AutoFishing = FALSE;
int AutoFarming = FALSE;
 
//Variables
int MSElapsed = 0;
int Randomizer_Timer = 0;
int TumblersToOpen = 0;
int LW_Timer = 0;
int SprintTimer = 0;
int FarmingTimer = 0;
int LW_Button = 0;
int Random_Timer_Inc = 1337;
int Random_Second = 0;
int FishingTimer = 0;
 
init{
    pmem_load();
    pmem_read(0,&LightWeaveTime);
    LightWeaveTimePrevious=LightWeaveTime;
    pmem_read(2,&LW_ActionOneOn);
    pmem_read(3,&LW_ActionTwoOn);
    pmem_read(4,&LW_ActionThreeOn);
    pmem_read(5,&LW_ActionFourOn);
    pmem_read(6,&LW_ActionFiveOn);
    pmem_read(7,&RumbleNotification);
    pmem_read(8,&Max_Rumble);
    if (Max_Rumble==0) Max_Rumble=75; // ps4
    else Max_Rumble=6; // xbox one
    printf("lw time: %d | lockpicking maxrumble: %d | combo button state (enabled=1, disabled=0) | 1:%d , 2:%d , 3:%d , 4:%d , 5:%d",LightWeaveTime,Max_Rumble,LW_ActionOneOn,LW_ActionTwoOn,LW_ActionThreeOn,LW_ActionFourOn,LW_ActionFiveOn);
 
    pmem_read(21,&Bash_Time[1]);
    pmem_read(23,&Bash_Time[2]);
    pmem_read(25,&Bash_Time[3]);
    pmem_read(27,&Bash_Time[4]);
    pmem_read(29,&Bash_Time[5]);
    printf("bash times| 1:%d , 2:%d , 3:%d , 4:%d , 5:%d",Bash_Time[1],Bash_Time[2],Bash_Time[3],Bash_Time[4],Bash_Time[5]);
}
 
main {
    //vm_tctrl(-5); //This should run every 5 MS now
    //set_val(TRACE_1, LightWeaveTime);
    //Initiate the Light weaving script timer which also controls random second timer   
    LW_Timer = LW_Timer + get_rtime();
    if(LW_Timer >= 1337) {
        LW_Timer = 0;
        Randomizer_Timer = Randomizer_Timer + 1;
        if(Randomizer_Timer > Max_Random){Randomizer_Timer = 0;}
    }
 
    //Fishing Script
    if(AutoFishing && get_rumble(Rumble_Soft) > 0){FishingTimer = FishingTimer + get_rtime();}
    else if(AutoFishing && !get_rumble(Rumble_Soft) <= 0){
        FishingTimer = 0;}
    if(AutoFishing && FishingTimer >= 1500){
        combo_run(ReCast_Fishing);
    }
 
    //Initiate the real time timer
    MSElapsed = MSElapsed + get_rtime();
    if(MSElapsed >= 1000){
        MSElapsed = 0;
        FarmingTimer = FarmingTimer + 1;
        if(FarmingTimer >= 1200){FarmingTimer = 0;}
    }
    //Reset all persistant variables if start is held down for 4 seconds
    if(get_ptime(Start_Button) >= 4000 && get_val(Start_Button) == 100 && !get_val(Left_Stick_Click)){
        combo_run(Notification_Rumble);
        combo_run(ResetPvars);
    }
 
    //Reset all on start press if not pressing left stick click
    if(event_press(Start_Button) && !get_val(Left_Stick_Click)){
        combo_run(ResetAll);
        if(AutoLockPick || LightWeaveOn || AutoFarming || AutoFishing){combo_run(Notification_Rumble);}
    }
 
    //D Pad Left activates Auto Lockpick
    if(ReadyForInput && get_ptime(D_Left) >= 2000 && get_val(D_Left) == 100 && get_val(Right_Stick_Click)){
        ReadyForInput = FALSE;
        AutoLockPick = TRUE;
        combo_run(Notification_Rumble);
    }
    //D Pad Up activates Auto Fish
    if(ReadyForInput && get_ptime(D_Up) >= 2000 && get_val(D_Up) == 100 && get_val(Right_Stick_Click)){
        ReadyForInput = FALSE;
        AutoFishing = TRUE;
        combo_run(Notification_Rumble);
    }
    //D Pad Right activates Farming
    if(ReadyForInput && get_ptime(D_Right) >= 2000 && get_val(D_Right) == 100 && get_val(Right_Stick_Click)){
        Random_Second = Randomizer_Timer;
        ReadyForInput = FALSE;
        FarmingTimer = LogInTimer - 3;
        AutoFarming = TRUE;
        combo_run(Notification_Rumble);
    }
    //D Pad Down activates Light Weaving
    if(ReadyForInput && get_ptime(D_Down) >= 2000 && get_val(D_Down) == 100 && get_val(Right_Stick_Click)){
        ReadyForInput = FALSE;
        LightWeaveOn = TRUE;
        combo_run(Notification_Rumble);
    }
    //Toggle for light weave abilities
    if(get_ptime(Button_Two) >= (LWTime * 1000) && get_val(Button_Two) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionOneOn = !LW_ActionOneOn;
        pmem_write(2,LW_ActionOneOn); pmem_save();
        if(LW_ActionOneOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionOneOn){
            combo_run(Off_Rumble);}}
    if(get_ptime(Button_Three) >= (LWTime * 1000) && get_val(Button_Three) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionTwoOn = !LW_ActionTwoOn;
        pmem_write(3,LW_ActionTwoOn); pmem_save();
        if(LW_ActionTwoOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionTwoOn){
            combo_run(Off_Rumble);}}
    if(get_ptime(Button_Four) >= (LWTime * 1000) && get_val(Button_Four) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionThreeOn = !LW_ActionThreeOn;
        pmem_write(4,LW_ActionThreeOn); pmem_save();
        if(LW_ActionThreeOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionThreeOn){
            combo_run(Off_Rumble);}}
    if(get_ptime(Left_Bumper) >= (LWTime * 1000) && get_val(Left_Bumper) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionFourOn = !LW_ActionFourOn;
        pmem_write(5,LW_ActionFourOn); pmem_save();
        if(LW_ActionFourOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionFourOn){
            combo_run(Off_Rumble);}}
    if(get_ptime(Right_Bumper) >= (LWTime * 1000) && get_val(Right_Bumper) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionFiveOn = !LW_ActionFiveOn;
        pmem_write(6,LW_ActionFiveOn); pmem_save();
        if(LW_ActionFiveOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionFiveOn){
            combo_run(Off_Rumble);}
    }
 
    //LockPick Scripts
    if(ReadyForInput && AutoLockPick){
        AutoLockPick = FALSE;
        combo_run(InitOpenChestScript);}
    if(ReadyForInput && OpeningLock){set_val(Right_Trigger, 100);}
    if(ReadyForInput && OpeningLock && get_rumble(Rumble_Soft) > Max_Rumble && !Depressing){
        Depressing = TRUE;
        combo_run(OpenChestScript);
    }
 
    //Auto Farming Scripts
    if(ReadyForInput && AutoFarming && (FarmingTimer >= LogInTimer + Random_Second) && logged_In){
        Random_Second = Randomizer_Timer;
        FarmingTimer = 0;
        logged_In = FALSE;
        combo_run(LogOutCombo);}
    if(ReadyForInput && AutoFarming && (FarmingTimer >= LogOutTimer + Random_Second) && !logged_In){
        Random_Second = Randomizer_Timer;
        FarmingTimer = 0;
        logged_In = TRUE;
        combo_run(LogInCombo);
    }
 
    //Light Weaving scripts
    if(get_val(D_Down) && event_press(Right_Trigger)){
        LW_Timer = 0;}
    if(get_val(D_Down) && (event_press(Button_Four) || event_press(Button_Two) || event_press(Button_Three) || event_press(Right_Bumper) || event_press(Left_Bumper))){
        LightWeaveTime = LW_Timer;
        printf("lw time now set to: %d",LightWeaveTime);
        pmem_write(0,LightWeaveTimePrevious); pmem_save();
        combo_run(On_Rumble);
        }
    if(get_val(D_Down) && (event_release(Button_Four) || event_release(Button_Two) || event_release(Button_Three) || event_release(Right_Bumper) || event_release(Left_Bumper))){
        printf("bash times old| 1:%d , 2:%d , 3:%d , 4:%d , 5:%d",Bash_Time[1],Bash_Time[2],Bash_Time[3],Bash_Time[4],Bash_Time[5]);
        if (event_release(Button_Two)) Bash_Time[1]=time_active(Button_Two);
        if (event_release(Button_Three)) Bash_Time[2]=time_active(Button_Three);
        if (event_release(Button_Four)) Bash_Time[3]=time_active(Button_Four);
        if (event_release(Left_Bumper)) Bash_Time[4]=time_active(Left_Bumper);
        if (event_release(Right_Bumper)) Bash_Time[5]=time_active(Right_Bumper);
        printf("bash times now| 1:%d , 2:%d , 3:%d , 4:%d , 5:%d",Bash_Time[1],Bash_Time[2],Bash_Time[3],Bash_Time[4],Bash_Time[5]);
        pmem_write(21,Bash_Time[1]);pmem_write(22,Bash_Time[2]);pmem_write(23,Bash_Time[3]);pmem_write(24,Bash_Time[4]);pmem_write(25,Bash_Time[5]);
        pmem_save();
 
    }
    if(LightWeaveOn && !get_val(Left_Stick_Click)){   
    //If user inputs a skill button press with light weave on
        if(event_press(Button_Two) || event_press(Button_Three) || event_press(Button_Four) || event_press(Left_Bumper) || event_press(Right_Bumper)){
            LW_Button = 0;
            if(get_val(Button_Two) && LightWeaveOn && LW_ActionOneOn){LW_Button = 1;}
            else if(get_val(Button_Three) && LightWeaveOn && LW_ActionTwoOn){LW_Button = 2;}
            else if(get_val(Button_Four) && LightWeaveOn && LW_ActionThreeOn){LW_Button = 3;}
            else if(get_val(Left_Bumper) && LightWeaveOn && LW_ActionFourOn){LW_Button = 4;}
            else if(get_val(Right_Bumper) && LightWeaveOn && LW_ActionFiveOn){LW_Button = 5;}
            if(LW_Button > 0){combo_run(LW_Combo);}
        }
        if(LW_ActionOneOn){block(Button_Two, 300);}
        if(LW_ActionTwoOn){block(Button_Three, 300);}
        if(LW_ActionThreeOn){block(Button_Four, 300);}
        if(LW_ActionFourOn){block(Left_Bumper, 300);}
        if(LW_ActionFiveOn){block(Right_Bumper, 300);}
    }
}
 
combo InitOpenChestScript
{
//Open chest, move to far left tumbler. Set 5 tumblers left, move on to next script.
    set_val(Button_One, 100);    wait(200);
    set_val(Button_One, 0);    wait(750);
    set_val(LeftStick_X, -100);    wait(400);
    set_val(LeftStick_X, 0);
    TumblersToOpen = 5;
    OpeningLock = TRUE;
}
 
combo OpenChestScript
{
    set_val(Right_Trigger, 0);
    if(TumblersToOpen > 1){
        set_val(LeftStick_X, 100);
    }
    wait(200);
    set_val(LeftStick_X, 0);
    if(TumblersToOpen < 2){
        set_val(Right_Trigger, 0);
        OpeningLock = FALSE;//Once all pins are depressed turn off the script
    }
    TumblersToOpen = TumblersToOpen - 1;
    Depressing = FALSE;
}
 
combo ReCast_Fishing
{
    set_val(Button_One, 100);   wait(100);
    set_val(Button_One, 0);     wait(2600);
    set_val(Button_One, 100);   wait(100);
    set_val(Button_One, 0)
    FishingTimer = 0;
}
 
combo LogInCombo
{
    set_val(Button_One, 100);   wait(200);
    set_val(Button_One, 0);    wait(100);
    FarmingTimer = 0;
    logged_In = FALSE;
}
 
combo LogOutCombo
{
    //Look down, press A
    set_val(RightStick_Y, 100);    wait(1200);
    set_val(RightStick_Y, 0);    wait(100);
    set_val(Button_One, 100);    wait(100);
    set_val(Button_One, 0);    wait(200);
 
    //Open menu, press right trigger, and log out.
    set_val(Start_Button, 100);    wait(100);
    set_val(Start_Button, 0);    wait(250);
    set_val(Right_Trigger, 100);    wait(100);
    set_val(Right_Trigger, 0);    wait(100);
    set_val(Button_One, 100);    wait(100);
    set_val(Button_One, 0);    wait(100);
    set_val(Button_One, 100);    wait(100);
    set_val(Button_One, 0);    wait(100);
 
    FarmingTimer = 0;
    logged_In = TRUE;
}
 
combo LW_Combo
{    printf("LW_Button %d, Wait time to be used: %d",LW_Button,Bash_Time[LW_Button]); wait(0);
    set_val(Right_Trigger, 100);    wait(100);
    set_val(Right_Trigger, 0);      wait(LightWeaveTime);
    if(LW_Button == 1){set_val(Button_Two, 100);}
    else if(LW_Button == 2){set_val(Button_Three, 100);}
    else if(LW_Button == 3){set_val(Button_Four, 100);}
    else if(LW_Button == 4){set_val(Left_Bumper, 100);}
    else if(LW_Button == 5){set_val(Right_Bumper, 100);}
    wait(100);
    set_val(Button_One, 0); set_val(Button_Three, 0); set_val(Button_Four, 0);
    set_val(Right_Bumper, 0); set_val(Left_Bumper, 0);
    wait(Bash_Time[LW_Button]);
    set_val(Block_Button, 100);   wait(75);
    set_val(Block_Button, 0);   wait(100);
}
 
combo Notification_Rumble
{
    set_rumble(Rumble_Hard, RumbleNotification);    wait(150);
    set_rumble(Rumble_Hard, 0);                     wait(200);
    set_rumble(Rumble_Hard, RumbleNotification);    wait(150);
    set_rumble(Rumble_Hard, 0);                     wait(200);
    set_rumble(Rumble_Hard, RumbleNotification);    wait(150);
    set_rumble(Rumble_Hard, 0);                     wait(1150);
 
    ReadyForInput = TRUE;
}
 
combo On_Rumble
{
    set_rumble(Rumble_Hard, RumbleNotification);    wait(200);
    set_rumble(Rumble_Hard, 0);                     wait(500);
    set_rumble(Rumble_Hard, RumbleNotification);    wait(200);
    set_rumble(Rumble_Hard, 0);                     wait(2000);   
    Waiting = FALSE;
}
 
combo Off_Rumble
{
    set_rumble(Rumble_Hard, RumbleNotification);    wait(200);
    set_rumble(Rumble_Hard, 0);                     wait(2000);
    Waiting = FALSE;
}
 
combo ResetAll
{
    set_val(Right_Trigger, 0);
    set_val(LeftStick_Y, 0);
 
    ReadyForInput = TRUE;
    AutoLockPick = FALSE;
    OpeningLock = FALSE;
    Depressing = FALSE;
    LightWeaveOn = FALSE;
    AutoWalk = FALSE;
    Waiting = FALSE;
    AutoFarming = FALSE;
    AutoFishing = FALSE;
}
 
combo ResetPvars
{
    LightWeaveTime = LightWeaveTimePrevious;
    LW_ActionOneOn = TRUE;   //Xbox One: X  ||  PS4: Square  //
    LW_ActionTwoOn = TRUE;   //Xbox One: Y  ||  PS4: Triangle//
    LW_ActionThreeOn = TRUE; //Xbox One: B  ||  PS4: Circle  //
    LW_ActionFourOn = TRUE//Xbox One: LB ||  PS4: L1      //
    LW_ActionFiveOn = TRUE//Xbox One: RB ||  PS4: R1      //
    pmem_write(0,LightWeaveTimePrevious);
    pmem_write(2,LW_ActionOneOn); pmem_write(3,LW_ActionTwoOn);
    pmem_write(4,LW_ActionThreeOn);    pmem_write(5,LW_ActionFourOn);
    pmem_write(6,LW_ActionFiveOn);
    pmem_save();
}
 
/* ic
<cfgdesc>
 
[Elder Scrolls Online With Block Canceling for TITAN TWO]
control = info
shortdesc = <<<MULTILINE
<b>! This is a modified version for the Titan Two !</b>
 
Original Titan One Script by Elvish &nbsp;&nbsp;&nbsp;<a href="https://www.consoletuner.com/gpclib/?s=1017">Original Script @ GPC Library</a>&nbsp;&nbsp;&nbsp;<a href="https://www.consoletuner.com/forum/viewtopic.php?f=6&t=1814">Original Script Forum Topic</a>
MULTILINE
 
[Notes     <-- click to expand]
collapsible = 2
control = info
shortdesc = <<<MULTILINE
<b>! This is a modified version for the Titan Two !</b>
 
Original Titan One Script by Elvish &nbsp;&nbsp;&nbsp;<a href="https://www.consoletuner.com/gpclib/?s=1017">Original Script @ GPC Library</a>&nbsp;&nbsp;&nbsp;<a href="https://www.consoletuner.com/forum/viewtopic.php?f=6&t=1814">Original Script Forum Topic</a>
 
<b>Important</b>
The notes does not apply to 100% to this T2 version of the script. Some values are configured via the Interactive Configuration instead !
Notes:
///////////////////////
//Section 1: CONTROLS//
///////////////////////
 
  Reset Controls
        -Press Start to turn scripts off
            1. If you hold down Left Stick Click while pressing start no scripts will be turned off
        -Press and hold Start for 4 seconds to reset any persistant variables.
            1. This currently consists of the light weave time, and the initial on/off settings for the
                light weave skills.
            **NOTES**
                -If you are holding Left Stick Click no scripts will be turned off
 
  Auto Walking Controls
        -Press and hold Right Stick Down and hold Left Stick Click for about 2 seconds or until you feel a rumble to activate the script
            **NOTES**
                -Activate the script any time, initial settings are set to press sprint every 10.
                -If sprint is already on the button will still be pressed and as such will turn sprinting off.
 
  Lockpicking Controls
        -Press and hold Right Stick Down and hold D Pad Left for about 2 seconds or until you feel a rumble to activate the script
            **NOTES**
                -Max rumble beeds to be set to 6 for Xbox One and 75 for PS4 for this script to work properly
                -Look at the lock to be picked and then activate the script
                -If you are not looking at a lock you will need to press start to get right trigger turned off
 
  Fishing Controls
        -Press and hold Right Stick Down and hold D Pad Up for about 2 seconds or until you feel a rumble to activate the script
            Then press A/Cross while looking at a fishing hole, it will fish it out for you.
 
  Farming Controls
        -Press and hold Right Stick Down and hold D Pad Right for about 2 seconds or until you feel a rumble to activate the script
            **Notes**
                -Stand ontop of something (dresser, nightstand, backpack) then activate the script
                -For best results stand on something flat (Backpacks are not flat, but dressers are) and look
                    down. Spin in 360 degreese to ensure you are looking at the desired object no matter what
                    direction you face. That is not to say you CAN'T loot backpacks, but in my experience my
                    toon falls off of them after 5 - 10 minutes of cycling.
 
  Light Weave Controls
        -Press and hold Right stick down and then hold D Pad Down for about 2 seconds or until you feel a rumble to activate the script
        -Press and hold any ablity button to toggle it being on or off (1 rumble means off, 2 rumbles means on)
        -In order to use your ultimate you must first press and hold down Left Stick Click, then press the buttons to cast ultimate
        -To set a new light weave time in-game preform a light weave attack with D Pad Down held down, or in other words:
            1. With D Pad Down held down
                A. Press right trigger
                B. Then press any ability button(Controller will rumble to acknowledge the input)
                   AND Hold down the ability button until the animation is ready to be blocked
        -If you hold Left Stick Click then while light weave is active no light weave abilities will be used
            **NOTES**
                -You can turn light weaving on and off for specific buttons regardless if the light weaving
                    script is currently active or not.
                -Your settings will be save even with the Titan One turned off. Hold start for 4 seconds to
                    clear your settings back to the initial settings.
 
////////////////////////////////
//Section 2: NOTES ON SETTINGS//
////////////////////////////////
  Misc Settings
        -Rumble Notification defines the rumble strength of notifications. These notifications
            will happen every time user enters a menu or changes a setting. Set this high enough
            that you will feel the rumble indication.
                1. Three Rumbles means a script is being turn on or off
                2. Two rumbles means a light weave ability is toggled on or light weave time is now set.
                3. One Rumble means that a light weave ability is toggled off
 
  Lockpick Settings
        -Max_Rumble defines when to move to the next pin of the lock. Set to 6 if on Xbox One or
            set to 75 if you are on PS4.
 
  Auto Farming Settings
        -Log In Timer dictates the time inbetween pressing A to select your character and logging out
        -Lot Out Timer dictates the time inbetween pressing log out in game and pressing A to log back
            in (Remember it takes 9 extra seconds if you are in an unsafe zone)
        -Max Random decides how greatly the times to log in and out can be raised (Set to 0 to dissable)
 
  Auto Walk Settings
        -SprintSpeed defines after how many seconds to press the sprint button, this can be
            deactivated by setting to 0.
 
  Light Weaving Settings
        -LightWeaveTime defines how many Miliseconds to wait after pressing right trigger before
            casting an ability.
        -LWTime defines how many seconds you must hold a skill button to toggle it being on or off.
        -The LW_Action skills define if light weaving is set to on or off for that particular skill,
            this can be changed in game. But you may modify them here if you know what you want for
            starting points every time you load the script.
MULTILINE
 
[General Setup]
collapsible = 1
control = info
shortdesc = <<<MULTILINE
General Script Configuration
MULTILINE
 
[Rumble Force]
group = true
shortdesc = <<<MULTILINE
 
<b>Rumble Notifications</b> - Intensity (20..100)
MULTILINE
byteoffset = 7
bitsize = 8
control = spinbox
default = 20
minimum = 10
maximum = 100
step = 1
 
[Auto Lockpick Settings]
group = true
shortdesc = <<<MULTILINE
 
<b>Auto Lockpick Settings</b> - Select your console:
MULTILINE
byteoffset = 8
bitsize = 8
control = radiobox
default = 0
item     = PS4
item     = Xbox One
 
 
[LightWeave Time]
shortdesc = The time to wait after hitting right trigger and before using an ability
byteoffset = 0
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[bash 0]
shortdesc = dummy
collapsible = 3
byteoffset = 19
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[Lightweave for Button_Two (Xbox One: X  ||  PS4: Square)]
byteoffset = 2
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 1 time]
group = true
shortdesc = wait time before block canceling (50..1000)
byteoffset = 21
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[Lightweave for Button_Three (Xbox One: Y  ||  PS4: Triangle)]
byteoffset = 3
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 2 time]
group = true
shortdesc = wait time before block canceling (50..1000)
byteoffset = 23
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[Lightweave for Button_Four (Xbox One: B  ||  PS4: Circle)]
byteoffset = 4
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 3 time]
group = true
shortdesc = wait time before block canceling (50..1000)
byteoffset = 25
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[Lightweave for Left Bumper]
byteoffset = 5
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 4 time]
group = true
shortdesc = wait time before block canceling (50..1000)
byteoffset = 27
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[Lightweave for Right Bumper]
byteoffset = 6
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 5 time]
group = true
shortdesc = wait time before block canceling (50..1000)
byteoffset = 29
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
</cfgdesc>
*/
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Elder Scrolls Online GamePack!

Postby Vonburner » Sat Oct 19, 2019 10:41 pm

Ill give it a try when I get home and What meant was animation Cancelling. I don't use for test videos.
User avatar
Vonburner
Sergeant First Class
Sergeant First Class
 
Posts: 25
Joined: Wed Oct 09, 2019 1:47 am

Re: Elder Scrolls Online GamePack!

Postby Vonburner » Sun Oct 20, 2019 2:14 am

WAY WAY WAY BETTER!!! With the config window i can easily customize the light waves and really see whats going on. Ill run a few more test but so far im loving how easy you made it to customize on the fly
User avatar
Vonburner
Sergeant First Class
Sergeant First Class
 
Posts: 25
Joined: Wed Oct 09, 2019 1:47 am

Re: Elder Scrolls Online GamePack!

Postby Vonburner » Sun Oct 20, 2019 5:08 am

After Doing some test only weird thing is it i press button 4 it will push left bumper. Weird
Attachments
test.png
test.png (59.59 KiB) Viewed 2194 times
User avatar
Vonburner
Sergeant First Class
Sergeant First Class
 
Posts: 25
Joined: Wed Oct 09, 2019 1:47 am

Re: Elder Scrolls Online GamePack!

Postby Scachi » Sun Oct 20, 2019 8:45 am

For me with LW enabled every press of circle, triangle or square will do the combo
"R2,<button initially pressed>,L1"
for it is
on press of circle: "R2, Circle, L1"
on press of triangle: "R2, Triangle, L1"
..and so on..

L1 is used for block canceling I think ?
Last edited by Scachi on Sun Oct 20, 2019 1:17 pm, edited 2 times in total.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Elder Scrolls Online GamePack!

Postby Vonburner » Sun Oct 20, 2019 1:12 pm

Scachi wrote:For me with LW enabled every press of circle, triangle or square will do the combo
"R2,<button initially pressed>,L1"
for it is
on press of circle: "R2, Circle, L1"
on press of triangle: "R2, Triangle, L1"
..and so on..

L1 is used for block canceling I think ?


That makes sense ya I’m not using the block canceling feature
User avatar
Vonburner
Sergeant First Class
Sergeant First Class
 
Posts: 25
Joined: Wed Oct 09, 2019 1:47 am

Re: Elder Scrolls Online GamePack!

Postby Scachi » Sun Oct 20, 2019 1:17 pm

Here is a version with option added to the Interactive Configuration to disable blockcanceling for each button on lw usage:
Code: Select all
#pragma METAINFO("Elder Scrolls Online", 2, 1, "Elvish orgT1, Scachi convT2")
#include <titanone.gph>
///////////////////////////////////////////////////////////
//Elder Scrolls Online Gamepack V2.1 With Block Canceling//
///////////////////////////////////////////////////////////
// https://www.consoletuner.com/gpclib/?s=1017
// viewtopic.php?f=6&t=1814
///////////////////////////////////////////////////////////
/*  ///////////////////////
    //Section 1: CONTROLS//
    ///////////////////////
 
  Reset Controls
        -Press Start to turn scripts off
            1. If you hold down Left Stick Click while pressing start no scripts will be turned off
        -Press and hold Start for 4 seconds to reset any persistant variables.
            1. This currently consists of the light weave time, and the initial on/off settings for the
                light weave skills.
            **NOTES**
                -If you are holding Left Stick Click no scripts will be turned off
 
  Auto Walking Controls
        -Press and hold Right Stick Down and hold Left Stick Click for about 2 seconds or until you feel a rumble to activate the script
            **NOTES**
                -Activate the script any time, initial settings are set to press sprint every 10.
                -If sprint is already on the button will still be pressed and as such will turn sprinting off.
 
  Lockpicking Controls
        -Press and hold Right Stick Down and hold D Pad Left for about 2 seconds or until you feel a rumble to activate the script
            **NOTES**
                -Max rumble beeds to be set to 6 for Xbox One and 75 for PS4 for this script to work properly
                -Look at the lock to be picked and then activate the script
                -If you are not looking at a lock you will need to press start to get right trigger turned off
 
  Fishing Controls
        -Press and hold Right Stick Down and hold D Pad Up for about 2 seconds or until you feel a rumble to activate the script
            Then press A/Cross while looking at a fishing hole, it will fish it out for you.
 
  Farming Controls
        -Press and hold Right Stick Down and hold D Pad Right for about 2 seconds or until you feel a rumble to activate the script
            **Notes**
                -Stand ontop of something (dresser, nightstand, backpack) then activate the script
                -For best results stand on something flat (Backpacks are not flat, but dressers are) and look
                    down. Spin in 360 degreese to ensure you are looking at the desired object no matter what
                    direction you face. That is not to say you CAN'T loot backpacks, but in my experience my
                    toon falls off of them after 5 - 10 minutes of cycling.
 
  Light Weave Controls
        -Press and hold Right stick down and then hold D Pad Down for about 2 seconds or until you feel a rumble to activate the script
        -Press and hold any ablity button to toggle it being on or off (1 rumble means off, 2 rumbles means on)
        -In order to use your ultimate you must first press and hold down Left Stick Click, then press the buttons to cast ultimate
        -To set a new light weave time in-game preform a light weave attack with D Pad Down held down, or in other words:
            1. With D Pad Down held down
                A. Press right trigger
                B. Then press any ability button(Controller will rumble to acknowledge the input)
                   AND Hold down the ability button until the animation is ready to be blocked
        -If you hold Left Stick Click then while light weave is active no light weave abilities will be used
            **NOTES**
                -You can turn light weaving on and off for specific buttons regardless if the light weaving
                    script is currently active or not.
                -Your settings will be save even with the Titan One turned off. Hold start for 4 seconds to
                    clear your settings back to the initial settings.
 
*/
       
 
/*  ////////////////////////////////
    //Section 2: NOTES ON SETTINGS//
    ////////////////////////////////
  Misc Settings
        -Rumble Notification defines the rumble strength of notifications. These notifications
            will happen every time user enters a menu or changes a setting. Set this high enough
            that you will feel the rumble indication.
                1. Three Rumbles means a script is being turn on or off
                2. Two rumbles means a light weave ability is toggled on or light weave time is now set.
                3. One Rumble means that a light weave ability is toggled off
 
  Lockpick Settings
        -Max_Rumble defines when to move to the next pin of the lock. Set to 6 if on Xbox One or
            set to 75 if you are on PS4.
 
  Auto Farming Settings
        -Log In Timer dictates the time inbetween pressing A to select your character and logging out
        -Lot Out Timer dictates the time inbetween pressing log out in game and pressing A to log back
            in (Remember it takes 9 extra seconds if you are in an unsafe zone)
        -Max Random decides how greatly the times to log in and out can be raised (Set to 0 to dissable)
 
  Auto Walk Settings
        -SprintSpeed defines after how many seconds to press the sprint button, this can be
            deactivated by setting to 0.
 
  Light Weaving Settings
        -LightWeaveTime defines how many Miliseconds to wait after pressing right trigger before
            casting an ability. Because this script runs every 5 MS this should be set in an
            increment of 5 MS.
        -LWTime defines how many seconds you must hold a skill button to toggle it being on or off.
        -The LW_Action skills define if light weaving is set to on or off for that particular skill,
            this can be changed in game. But you may modify them here if you know what you want for
            starting points every time you load the script.
 
   */
//////////////////////
    //Section 3: Settings// some of the following settings are configured via the Interactive Configuration !
    ///////////////////////
    int Block_Button = XB1_LB;
    int Bash_Time[6] = {
        100, // wait time for "no weaving button"
        100, // wait time for "Button_Two(Xbox One: X  ||  PS4: Square)" in weaving combo
        100, // wait time for "Button_Three(Xbox One: Y  ||  PS4: Triangle)" in weaving combo
        100, // wait time for "Button_Four(Xbox One: B  ||  PS4: Circle)" in weaving combo
        100, // wait time for "Left Bumper" in weaving combo
        100, // wait time for "Right Bumper" in weaving combo
    };
    uint8 Block_Canceling[6] = { 0, 1, 1, 1, 1, 1    };
 
  //Misc Settings
    uint8 RumbleNotification = 20; //The rumble strength for all notifications
 
  //Auto Lockpick Settings   
    uint8 Max_Rumble = 6; //set to 6 for xbox one and 75 for PS4 (Lockpick rumble detection)
 
  //Auto Walk Settings
    int SprintSpeed = 10; //This is how many seconds inbtween left stick clicks(it will turn sprint off if already sprinting. 0 will dissable.)
 
  //Auto farm scripts
    int LogInTimer = 35; //Time it takes to log on
    int LogOutTimer = 34; //Time it takes to log off
    int Max_Random = 10; //The amount of time in which logging in or out can change
 
  //Light Weaving Settings
    int LWTime = 4; //Seconds you must hold a button to toggle the lightweave for a skill on or off
    int LightWeaveTime = 70; //The time you wait after hitting right trigger and before using an ability
    int LightWeaveTimePrevious = 70;
    //Initial On-Off values for the light weaving skills
    bool LW_ActionOneOn = TRUE;   //Xbox One: X  ||  PS4: Square  //
    bool LW_ActionTwoOn = TRUE;   //Xbox One: Y  ||  PS4: Triangle//
    bool LW_ActionThreeOn = TRUE; //Xbox One: B  ||  PS4: Circle  //
    bool LW_ActionFourOn = TRUE//Xbox One: LB ||  PS4: L1      //
    bool LW_ActionFiveOn = TRUE//Xbox One: RB ||  PS4: R1      //
 
/*  //=============================\\
    ||DO NOT MODIFY BELOW THIS LINE||
    ||DO NOT MODIFY BELOW THIS LINE||
    ||DO NOT MODIFY BELOW THIS LINE||
    \\=============================//   */

 
/*Button definitions. As these are all the same index on Xbox One and PS4 these
    deffinitions will work on both consoles. Make sure to adjust the settings
    section though!*/

define Button_One = 19//Xbox One: A  ||  PS4: Cross   //
define Button_Two = 20//Xbox One: X  ||  PS4: Square  //
define Button_Three = 17;//Xbox One: Y  ||  PS4: Triangle//
define Button_Four = 18; //Xbox One: B  ||  PS4: Circle  //
define Right_Bumper = 3;
define Right_Trigger = 4;
define Right_Stick_Click = 5;
define Left_Bumper = 6;
define Left_Trigger = 7;
define Left_Stick_Click = 8;
define Select_Button = 1;
define Center_Button = 0;
define Start_Button = 2;
define D_Up = 13;
define D_Right = 16;
define D_Down = 14;
define D_Left = 15;
define LeftStick_X = 11;//Left stick left(-100) and right(+100)
define LeftStick_Y = 12;//Left stick up(-100) and down(+100)
define RightStick_X = 9;//Right stick left(-100) and right(+100)
define RightStick_Y = 10;//Right stick up(-100) and down(+100)
 
//Rumble Packs
define Rumble_Soft = RUMBLE_B;
define Rumble_Hard = RUMBLE_A;
 
//Booleans
int ReadyForInput = TRUE;
int AutoLockPick = FALSE;
int OpeningLock = FALSE;
int Depressing = FALSE;
int LightWeaveOn = FALSE;
int AutoWalk = FALSE;
int Waiting = FALSE;
int logged_In = TRUE;
int AutoFishing = FALSE;
int AutoFarming = FALSE;
bool runLW_BlockCancel = FALSE;
 
//Variables
int MSElapsed = 0;
int Randomizer_Timer = 0;
int TumblersToOpen = 0;
int LW_Timer = 0;
int SprintTimer = 0;
int FarmingTimer = 0;
int LW_Button = 0;
int Random_Timer_Inc = 1337;
int Random_Second = 0;
int FishingTimer = 0;
 
init{
    pmem_load();
    pmem_read(0,&LightWeaveTime);
    LightWeaveTimePrevious=LightWeaveTime;
    pmem_read(2,&LW_ActionOneOn);
    pmem_read(3,&LW_ActionTwoOn);
    pmem_read(4,&LW_ActionThreeOn);
    pmem_read(5,&LW_ActionFourOn);
    pmem_read(6,&LW_ActionFiveOn);
    pmem_read(7,&RumbleNotification);
    pmem_read(8,&Max_Rumble);
    if (Max_Rumble==0) Max_Rumble=75; // ps4
    else Max_Rumble=6; // xbox one
    printf("lw time: %d | lockpicking maxrumble: %d | combo button state (enabled=1, disabled=0) | 1:%d , 2:%d , 3:%d , 4:%d , 5:%d",LightWeaveTime,Max_Rumble,LW_ActionOneOn,LW_ActionTwoOn,LW_ActionThreeOn,LW_ActionFourOn,LW_ActionFiveOn);
 
    pmem_read(21,&Bash_Time[1]);
    pmem_read(23,&Bash_Time[2]);
    pmem_read(25,&Bash_Time[3]);
    pmem_read(27,&Bash_Time[4]);
    pmem_read(29,&Bash_Time[5]);
    printf("bash times| 1:%d , 2:%d , 3:%d , 4:%d , 5:%d",Bash_Time[1],Bash_Time[2],Bash_Time[3],Bash_Time[4],Bash_Time[5]);
 
    pmem_read(12,&Block_Canceling[1]);
    pmem_read(13,&Block_Canceling[2]);
    pmem_read(14,&Block_Canceling[3]);
    pmem_read(15,&Block_Canceling[4]);
    pmem_read(16,&Block_Canceling[5]);
    //printf("Blockcanceling| 1:%d , 2:%d , 3:%d , 4:%d , 5:%d",Block_Canceling[1],Block_Canceling[2],Block_Canceling[3],Block_Canceling[4],Block_Canceling[5]);
}
 
main {
    //vm_tctrl(-5); //This should run every 5 MS now
    //set_val(TRACE_1, LightWeaveTime);
    //Initiate the Light weaving script timer which also controls random second timer   
    LW_Timer = LW_Timer + get_rtime();
    if(LW_Timer >= 1337) {
        LW_Timer = 0;
        Randomizer_Timer = Randomizer_Timer + 1;
        if(Randomizer_Timer > Max_Random){Randomizer_Timer = 0;}
    }
 
    //Fishing Script
    if(AutoFishing && get_rumble(Rumble_Soft) > 0){FishingTimer = FishingTimer + get_rtime();}
    else if(AutoFishing && !get_rumble(Rumble_Soft) <= 0){
        FishingTimer = 0;}
    if(AutoFishing && FishingTimer >= 1500){
        combo_run(ReCast_Fishing);
    }
 
    //Initiate the real time timer
    MSElapsed = MSElapsed + get_rtime();
    if(MSElapsed >= 1000){
        MSElapsed = 0;
        FarmingTimer = FarmingTimer + 1;
        if(FarmingTimer >= 1200){FarmingTimer = 0;}
    }
    //Reset all persistant variables if start is held down for 4 seconds
    if(get_ptime(Start_Button) >= 4000 && get_val(Start_Button) == 100 && !get_val(Left_Stick_Click)){
        combo_run(Notification_Rumble);
        combo_run(ResetPvars);
    }
 
    //Reset all on start press if not pressing left stick click
    if(event_press(Start_Button) && !get_val(Left_Stick_Click)){
        combo_run(ResetAll);
        if(AutoLockPick || LightWeaveOn || AutoFarming || AutoFishing){combo_run(Notification_Rumble);}
    }
 
    //D Pad Left activates Auto Lockpick
    if(ReadyForInput && get_ptime(D_Left) >= 2000 && get_val(D_Left) == 100 && get_val(Right_Stick_Click)){
        ReadyForInput = FALSE;
        AutoLockPick = TRUE;
        combo_run(Notification_Rumble);
    }
    //D Pad Up activates Auto Fish
    if(ReadyForInput && get_ptime(D_Up) >= 2000 && get_val(D_Up) == 100 && get_val(Right_Stick_Click)){
        ReadyForInput = FALSE;
        AutoFishing = TRUE;
        combo_run(Notification_Rumble);
    }
    //D Pad Right activates Farming
    if(ReadyForInput && get_ptime(D_Right) >= 2000 && get_val(D_Right) == 100 && get_val(Right_Stick_Click)){
        Random_Second = Randomizer_Timer;
        ReadyForInput = FALSE;
        FarmingTimer = LogInTimer - 3;
        AutoFarming = TRUE;
        combo_run(Notification_Rumble);
    }
    //D Pad Down activates Light Weaving
    if(ReadyForInput && get_ptime(D_Down) >= 2000 && get_val(D_Down) == 100 && get_val(Right_Stick_Click)){
        ReadyForInput = FALSE;
        LightWeaveOn = TRUE;
        combo_run(Notification_Rumble);
    }
    //Toggle for light weave abilities
    if(get_ptime(Button_Two) >= (LWTime * 1000) && get_val(Button_Two) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionOneOn = !LW_ActionOneOn;
        pmem_write(2,LW_ActionOneOn); pmem_save();
        if(LW_ActionOneOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionOneOn){
            combo_run(Off_Rumble);}}
    if(get_ptime(Button_Three) >= (LWTime * 1000) && get_val(Button_Three) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionTwoOn = !LW_ActionTwoOn;
        pmem_write(3,LW_ActionTwoOn); pmem_save();
        if(LW_ActionTwoOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionTwoOn){
            combo_run(Off_Rumble);}}
    if(get_ptime(Button_Four) >= (LWTime * 1000) && get_val(Button_Four) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionThreeOn = !LW_ActionThreeOn;
        pmem_write(4,LW_ActionThreeOn); pmem_save();
        if(LW_ActionThreeOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionThreeOn){
            combo_run(Off_Rumble);}}
    if(get_ptime(Left_Bumper) >= (LWTime * 1000) && get_val(Left_Bumper) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionFourOn = !LW_ActionFourOn;
        pmem_write(5,LW_ActionFourOn); pmem_save();
        if(LW_ActionFourOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionFourOn){
            combo_run(Off_Rumble);}}
    if(get_ptime(Right_Bumper) >= (LWTime * 1000) && get_val(Right_Bumper) == 100 && !Waiting){
        Waiting = TRUE;
        LW_ActionFiveOn = !LW_ActionFiveOn;
        pmem_write(6,LW_ActionFiveOn); pmem_save();
        if(LW_ActionFiveOn){
            combo_run(On_Rumble);}
        else if(!LW_ActionFiveOn){
            combo_run(Off_Rumble);}
    }
 
    //LockPick Scripts
    if(ReadyForInput && AutoLockPick){
        AutoLockPick = FALSE;
        combo_run(InitOpenChestScript);}
    if(ReadyForInput && OpeningLock){set_val(Right_Trigger, 100);}
    if(ReadyForInput && OpeningLock && get_rumble(Rumble_Soft) > Max_Rumble && !Depressing){
        Depressing = TRUE;
        combo_run(OpenChestScript);
    }
 
    //Auto Farming Scripts
    if(ReadyForInput && AutoFarming && (FarmingTimer >= LogInTimer + Random_Second) && logged_In){
        Random_Second = Randomizer_Timer;
        FarmingTimer = 0;
        logged_In = FALSE;
        combo_run(LogOutCombo);}
    if(ReadyForInput && AutoFarming && (FarmingTimer >= LogOutTimer + Random_Second) && !logged_In){
        Random_Second = Randomizer_Timer;
        FarmingTimer = 0;
        logged_In = TRUE;
        combo_run(LogInCombo);
    }
 
    //Light Weaving scripts
    if(get_val(D_Down) && event_press(Right_Trigger)){
        LW_Timer = 0;}
    if(get_val(D_Down) && (event_press(Button_Four) || event_press(Button_Two) || event_press(Button_Three) || event_press(Right_Bumper) || event_press(Left_Bumper))){
        LightWeaveTime = LW_Timer;
        printf("lw time now set to: %d",LightWeaveTime);
        pmem_write(0,LightWeaveTimePrevious); pmem_save();
        combo_run(On_Rumble);
        }
    if(get_val(D_Down) && (event_release(Button_Four) || event_release(Button_Two) || event_release(Button_Three) || event_release(Right_Bumper) || event_release(Left_Bumper))){
        printf("bash times old| 1:%d , 2:%d , 3:%d , 4:%d , 5:%d",Bash_Time[1],Bash_Time[2],Bash_Time[3],Bash_Time[4],Bash_Time[5]);
        if (event_release(Button_Two)) Bash_Time[1]=time_active(Button_Two);
        if (event_release(Button_Three)) Bash_Time[2]=time_active(Button_Three);
        if (event_release(Button_Four)) Bash_Time[3]=time_active(Button_Four);
        if (event_release(Left_Bumper)) Bash_Time[4]=time_active(Left_Bumper);
        if (event_release(Right_Bumper)) Bash_Time[5]=time_active(Right_Bumper);
        printf("bash times now| 1:%d , 2:%d , 3:%d , 4:%d , 5:%d",Bash_Time[1],Bash_Time[2],Bash_Time[3],Bash_Time[4],Bash_Time[5]);
        pmem_write(21,Bash_Time[1]);pmem_write(22,Bash_Time[2]);pmem_write(23,Bash_Time[3]);pmem_write(24,Bash_Time[4]);pmem_write(25,Bash_Time[5]);
        pmem_save();
 
    }
    if(LightWeaveOn && !get_val(Left_Stick_Click)){   
    //If user inputs a skill button press with light weave on
        if(event_press(Button_Two) || event_press(Button_Three) || event_press(Button_Four) || event_press(Left_Bumper) || event_press(Right_Bumper)){
            LW_Button = 0;
            if(get_val(Button_Two) && LightWeaveOn && LW_ActionOneOn){LW_Button = 1;}
            else if(get_val(Button_Three) && LightWeaveOn && LW_ActionTwoOn){LW_Button = 2;}
            else if(get_val(Button_Four) && LightWeaveOn && LW_ActionThreeOn){LW_Button = 3;}
            else if(get_val(Left_Bumper) && LightWeaveOn && LW_ActionFourOn){LW_Button = 4;}
            else if(get_val(Right_Bumper) && LightWeaveOn && LW_ActionFiveOn){LW_Button = 5;}
            if(LW_Button > 0 && !LW_BlockCancel && !runLW_BlockCancel){combo_run(LW_Combo);}
        }
        if(LW_ActionOneOn){block(Button_Two, 300);}
        if(LW_ActionTwoOn){block(Button_Three, 300);}
        if(LW_ActionThreeOn){block(Button_Four, 300);}
        if(LW_ActionFourOn){block(Left_Bumper, 300);}
        if(LW_ActionFiveOn){block(Right_Bumper, 300);}
        if (runLW_BlockCancel) {
            printf("blockcancel started");
            runLW_BlockCancel=FALSE;
            combo_run(LW_BlockCancel);
        }
    }
}
 
combo InitOpenChestScript
{
//Open chest, move to far left tumbler. Set 5 tumblers left, move on to next script.
    set_val(Button_One, 100);    wait(200);
    set_val(Button_One, 0);    wait(750);
    set_val(LeftStick_X, -100);    wait(400);
    set_val(LeftStick_X, 0);
    TumblersToOpen = 5;
    OpeningLock = TRUE;
}
 
combo OpenChestScript
{
    set_val(Right_Trigger, 0);
    if(TumblersToOpen > 1){
        set_val(LeftStick_X, 100);
    }
    wait(200);
    set_val(LeftStick_X, 0);
    if(TumblersToOpen < 2){
        set_val(Right_Trigger, 0);
        OpeningLock = FALSE;//Once all pins are depressed turn off the script
    }
    TumblersToOpen = TumblersToOpen - 1;
    Depressing = FALSE;
}
 
combo ReCast_Fishing
{
    set_val(Button_One, 100);   wait(100);
    set_val(Button_One, 0);     wait(2600);
    set_val(Button_One, 100);   wait(100);
    set_val(Button_One, 0)
    FishingTimer = 0;
}
 
combo LogInCombo
{
    set_val(Button_One, 100);   wait(200);
    set_val(Button_One, 0);    wait(100);
    FarmingTimer = 0;
    logged_In = FALSE;
}
 
combo LogOutCombo
{
    //Look down, press A
    set_val(RightStick_Y, 100);    wait(1200);
    set_val(RightStick_Y, 0);    wait(100);
    set_val(Button_One, 100);    wait(100);
    set_val(Button_One, 0);    wait(200);
 
    //Open menu, press right trigger, and log out.
    set_val(Start_Button, 100);    wait(100);
    set_val(Start_Button, 0);    wait(250);
    set_val(Right_Trigger, 100);    wait(100);
    set_val(Right_Trigger, 0);    wait(100);
    set_val(Button_One, 100);    wait(100);
    set_val(Button_One, 0);    wait(100);
    set_val(Button_One, 100);    wait(100);
    set_val(Button_One, 0);    wait(100);
 
    FarmingTimer = 0;
    logged_In = TRUE;
}
 
combo LW_Combo
{    printf("LW_Button %d, Wait time to be used: %d",LW_Button,Bash_Time[LW_Button]); wait(0);
    set_val(Right_Trigger, 100);    wait(100);
    set_val(Right_Trigger, 0);      wait(LightWeaveTime);
    if(LW_Button == 1){set_val(Button_Two, 100);}
    else if(LW_Button == 2){set_val(Button_Three, 100);}
    else if(LW_Button == 3){set_val(Button_Four, 100);}
    else if(LW_Button == 4){set_val(Left_Bumper, 100);}
    else if(LW_Button == 5){set_val(Right_Bumper, 100);}
    wait(100);
    set_val(Button_One, 0); set_val(Button_Three, 0); set_val(Button_Four, 0);
    set_val(Right_Bumper, 0); set_val(Left_Bumper, 0);
    wait(Bash_Time[LW_Button]);
    if (Block_Canceling[LW_Button]) runLW_BlockCancel=TRUE;
}
 
combo LW_BlockCancel
{
    set_val(Block_Button, 100);   wait(75);
    set_val(Block_Button, 0);   wait(100);
}
 
combo Notification_Rumble
{
    set_rumble(Rumble_Hard, RumbleNotification);    wait(150);
    set_rumble(Rumble_Hard, 0);                     wait(200);
    set_rumble(Rumble_Hard, RumbleNotification);    wait(150);
    set_rumble(Rumble_Hard, 0);                     wait(200);
    set_rumble(Rumble_Hard, RumbleNotification);    wait(150);
    set_rumble(Rumble_Hard, 0);                     wait(1150);
 
    ReadyForInput = TRUE;
}
 
combo On_Rumble
{
    set_rumble(Rumble_Hard, RumbleNotification);    wait(200);
    set_rumble(Rumble_Hard, 0);                     wait(500);
    set_rumble(Rumble_Hard, RumbleNotification);    wait(200);
    set_rumble(Rumble_Hard, 0);                     wait(2000);   
    Waiting = FALSE;
}
 
combo Off_Rumble
{
    set_rumble(Rumble_Hard, RumbleNotification);    wait(200);
    set_rumble(Rumble_Hard, 0);                     wait(2000);
    Waiting = FALSE;
}
 
combo ResetAll
{
    set_val(Right_Trigger, 0);
    set_val(LeftStick_Y, 0);
 
    ReadyForInput = TRUE;
    AutoLockPick = FALSE;
    OpeningLock = FALSE;
    Depressing = FALSE;
    LightWeaveOn = FALSE;
    AutoWalk = FALSE;
    Waiting = FALSE;
    AutoFarming = FALSE;
    AutoFishing = FALSE;
}
 
combo ResetPvars
{
    LightWeaveTime = LightWeaveTimePrevious;
    LW_ActionOneOn = TRUE;   //Xbox One: X  ||  PS4: Square  //
    LW_ActionTwoOn = TRUE;   //Xbox One: Y  ||  PS4: Triangle//
    LW_ActionThreeOn = TRUE; //Xbox One: B  ||  PS4: Circle  //
    LW_ActionFourOn = TRUE//Xbox One: LB ||  PS4: L1      //
    LW_ActionFiveOn = TRUE//Xbox One: RB ||  PS4: R1      //
    pmem_write(0,LightWeaveTimePrevious);
    pmem_write(2,LW_ActionOneOn); pmem_write(3,LW_ActionTwoOn);
    pmem_write(4,LW_ActionThreeOn);    pmem_write(5,LW_ActionFourOn);
    pmem_write(6,LW_ActionFiveOn);
    pmem_save();
}
 
/* ic
<cfgdesc>
 
[Elder Scrolls Online With Block Canceling for TITAN TWO]
control = info
shortdesc = <<<MULTILINE
<b>! This is a modified version for the Titan Two !</b>
 
Original Titan One Script by Elvish &nbsp;&nbsp;&nbsp;<a href="https://www.consoletuner.com/gpclib/?s=1017">Original Script @ GPC Library</a>&nbsp;&nbsp;&nbsp;<a href="https://www.consoletuner.com/forum/viewtopic.php?f=6&t=1814">Original Script Forum Topic</a>
MULTILINE
 
[Notes     <-- click to expand]
collapsible = 2
control = info
shortdesc = <<<MULTILINE
<b>! This is a modified version for the Titan Two !</b>
 
Original Titan One Script by Elvish &nbsp;&nbsp;&nbsp;<a href="https://www.consoletuner.com/gpclib/?s=1017">Original Script @ GPC Library</a>&nbsp;&nbsp;&nbsp;<a href="https://www.consoletuner.com/forum/viewtopic.php?f=6&t=1814">Original Script Forum Topic</a>
 
<b>Important</b>
The notes does not apply to 100% to this T2 version of the script. Some values are configured via the Interactive Configuration instead !
Notes:
///////////////////////
//Section 1: CONTROLS//
///////////////////////
 
  Reset Controls
        -Press Start to turn scripts off
            1. If you hold down Left Stick Click while pressing start no scripts will be turned off
        -Press and hold Start for 4 seconds to reset any persistant variables.
            1. This currently consists of the light weave time, and the initial on/off settings for the
                light weave skills.
            **NOTES**
                -If you are holding Left Stick Click no scripts will be turned off
 
  Auto Walking Controls
        -Press and hold Right Stick Down and hold Left Stick Click for about 2 seconds or until you feel a rumble to activate the script
            **NOTES**
                -Activate the script any time, initial settings are set to press sprint every 10.
                -If sprint is already on the button will still be pressed and as such will turn sprinting off.
 
  Lockpicking Controls
        -Press and hold Right Stick Down and hold D Pad Left for about 2 seconds or until you feel a rumble to activate the script
            **NOTES**
                -Max rumble beeds to be set to 6 for Xbox One and 75 for PS4 for this script to work properly
                -Look at the lock to be picked and then activate the script
                -If you are not looking at a lock you will need to press start to get right trigger turned off
 
  Fishing Controls
        -Press and hold Right Stick Down and hold D Pad Up for about 2 seconds or until you feel a rumble to activate the script
            Then press A/Cross while looking at a fishing hole, it will fish it out for you.
 
  Farming Controls
        -Press and hold Right Stick Down and hold D Pad Right for about 2 seconds or until you feel a rumble to activate the script
            **Notes**
                -Stand ontop of something (dresser, nightstand, backpack) then activate the script
                -For best results stand on something flat (Backpacks are not flat, but dressers are) and look
                    down. Spin in 360 degreese to ensure you are looking at the desired object no matter what
                    direction you face. That is not to say you CAN'T loot backpacks, but in my experience my
                    toon falls off of them after 5 - 10 minutes of cycling.
 
  Light Weave Controls
        -Press and hold Right stick down and then hold D Pad Down for about 2 seconds or until you feel a rumble to activate the script
        -Press and hold any ablity button to toggle it being on or off (1 rumble means off, 2 rumbles means on)
        -In order to use your ultimate you must first press and hold down Left Stick Click, then press the buttons to cast ultimate
        -To set a new light weave time in-game preform a light weave attack with D Pad Down held down, or in other words:
            1. With D Pad Down held down
                A. Press right trigger
                B. Then press any ability button(Controller will rumble to acknowledge the input)
                   AND Hold down the ability button until the animation is ready to be blocked
        -If you hold Left Stick Click then while light weave is active no light weave abilities will be used
            **NOTES**
                -You can turn light weaving on and off for specific buttons regardless if the light weaving
                    script is currently active or not.
                -Your settings will be save even with the Titan One turned off. Hold start for 4 seconds to
                    clear your settings back to the initial settings.
 
////////////////////////////////
//Section 2: NOTES ON SETTINGS//
////////////////////////////////
  Misc Settings
        -Rumble Notification defines the rumble strength of notifications. These notifications
            will happen every time user enters a menu or changes a setting. Set this high enough
            that you will feel the rumble indication.
                1. Three Rumbles means a script is being turn on or off
                2. Two rumbles means a light weave ability is toggled on or light weave time is now set.
                3. One Rumble means that a light weave ability is toggled off
 
  Lockpick Settings
        -Max_Rumble defines when to move to the next pin of the lock. Set to 6 if on Xbox One or
            set to 75 if you are on PS4.
 
  Auto Farming Settings
        -Log In Timer dictates the time inbetween pressing A to select your character and logging out
        -Lot Out Timer dictates the time inbetween pressing log out in game and pressing A to log back
            in (Remember it takes 9 extra seconds if you are in an unsafe zone)
        -Max Random decides how greatly the times to log in and out can be raised (Set to 0 to dissable)
 
  Auto Walk Settings
        -SprintSpeed defines after how many seconds to press the sprint button, this can be
            deactivated by setting to 0.
 
  Light Weaving Settings
        -LightWeaveTime defines how many Miliseconds to wait after pressing right trigger before
            casting an ability.
        -LWTime defines how many seconds you must hold a skill button to toggle it being on or off.
        -The LW_Action skills define if light weaving is set to on or off for that particular skill,
            this can be changed in game. But you may modify them here if you know what you want for
            starting points every time you load the script.
MULTILINE
 
[General Setup]
collapsible = 1
control = info
shortdesc = <<<MULTILINE
General Script Configuration
MULTILINE
 
[Rumble Force]
group = true
shortdesc = <<<MULTILINE
 
<b>Rumble Notifications</b> - Intensity (20..100)
MULTILINE
byteoffset = 7
bitsize = 8
control = spinbox
default = 20
minimum = 10
maximum = 100
step = 1
 
[Auto Lockpick Settings]
group = true
shortdesc = <<<MULTILINE
 
<b>Auto Lockpick Settings</b> - Select your console:
MULTILINE
byteoffset = 8
bitsize = 8
control = radiobox
default = 0
item     = PS4
item     = Xbox One
 
 
[LightWeave Time]
shortdesc = The time to wait after hitting right trigger and before using an ability (100..1000)
byteoffset = 0
bitsize = 16
control = spinbox
default = 100
minimum = 100
maximum = 1000
step    = 1
 
[bash 0]
shortdesc = dummy
collapsible = 3
byteoffset = 19
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[Lightweave for Button_Two (Xbox One: X  ||  PS4: Square)]
byteoffset = 2
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 1 time]
group = true
shortdesc = wait time before block canceling or exiting combo (50..1000)
byteoffset = 21
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[bash 1 block canceling]
group = true
byteoffset = 12
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable block canceling at the end of lightweave
 
 
[Lightweave for Button_Three (Xbox One: Y  ||  PS4: Triangle)]
byteoffset = 3
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 2 time]
group = true
shortdesc = wait time before block canceling or exiting combo (50..1000)
byteoffset = 23
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[bash 2 block canceling]
group = true
byteoffset = 13
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable block canceling at the end of lightweave
 
 
[Lightweave for Button_Four (Xbox One: B  ||  PS4: Circle)]
byteoffset = 4
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 3 time]
group = true
shortdesc = wait time before block canceling or exiting combo (50..1000)
byteoffset = 25
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[bash 3 block canceling]
group = true
byteoffset = 14
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable block canceling at the end of lightweave
 
 
[Lightweave for Left Bumper]
byteoffset = 5
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 4 time]
group = true
shortdesc = wait time before block canceling or exiting combo (50..1000)
byteoffset = 27
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[bash 4 block canceling]
group = true
byteoffset = 15
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable block canceling at the end of lightweave
 
 
[Lightweave for Right Bumper]
byteoffset = 6
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable Lightweave for this button
 
[bash 5 time]
group = true
shortdesc = wait time before block canceling or exiting combo (50..1000)
byteoffset = 29
bitsize = 16
control = spinbox
default = 100
minimum = 50
maximum = 1000
step    = 1
 
[bash 5 block canceling]
group = true
byteoffset = 16
bitsize = 1
bitoffset = 0
control = checkbox
default = 1
item     = Enable block canceling at the end of lightweave
 
</cfgdesc>
*/
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

Re: Elder Scrolls Online GamePack!

Postby Vonburner » Sat Oct 26, 2019 2:18 am

Hey I just realized something would you be able to switch the block cancelling button 7 to 8 instead Better Yet L2 instead of L1
User avatar
Vonburner
Sergeant First Class
Sergeant First Class
 
Posts: 25
Joined: Wed Oct 09, 2019 1:47 am

Re: Elder Scrolls Online GamePack!

Postby Scachi » Sat Oct 26, 2019 9:35 am

Vonburner wrote:Hey I just realized something would you be able to switch the block cancelling button 7 to 8 instead Better Yet L2 instead of L1

Change XB1_LB to the button you need in this line "int Block_Button = XB1_LB;"

What buttons does the game ifself allow to be assigned as the block button ?
When you can list them I can add them to the Interactive Configuration for the Titan Two script version to choose from.
User avatar
Scachi
Brigadier General
Brigadier General
 
Posts: 3044
Joined: Wed May 11, 2016 6:25 am
Location: Germany

PreviousNext

Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 73 guests