R6 Siege Gamepack info

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

R6 Siege Gamepack info

Postby Werundubz » Fri Apr 06, 2018 3:28 am

So ive installed the r6 Siege gamepack and have tried to use the "Lean Left & Right" mod, but when i went to the help/info on the gamepack i see this? the "To-Do Description" on class 5 6 and 7.. all i want is a R6 siege script or gamepack with Auto recoil, and auto peek or lean.. which this pack has autorecoil... just have no idea what im doing when setting the threshold of the "Lean mod" setting from 1-100



Class 5
Lean Left/Right
<TODO: Description>


Class 6
Sprint Mods
<TODO: Description>


Class 7
Hold/Run Toggle
<TODO: Description>
User avatar
Werundubz
Corporal
Corporal
 
Posts: 4
Joined: Thu Mar 01, 2018 4:34 am

Re: R6 Siege Gamepack info

Postby J2Kbr » Mon Apr 09, 2018 3:30 pm

I am not the author of this Gamepack, but checking the code there are comments in the code describing the functionality of the leaning mod, hope this helps:
Code: Select all
// LEAN LEFT/RIGHT
        if(i005_option) {
            if(get_val(PS4_LEFT)) {
                if(event_press(PS4_CROSS)) {                                                //  Strafe auto lean is only activated when strafing right & left.
                    lean_toggle = dotoggle(lean_toggle, SIDE_TOGGLE);
                } else
                if(event_press(PS4_CIRCLE)) {
                    lean_toggle = dotoggle(lean_toggle, TURN_TOGGLE);
                } else
                if(event_press(PS4_SQUARE)) {
                    lean_toggle = dotoggle(lean_toggle, ROTATE_TOGGLE);
                }
            }
            if(lean_toggle == SIDE_TOGGLE) {
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_LX) >= LX_RX_press) {       //  It will lean in the direction you are strafing.
                    ads_flag = TRUE;
                    lean_button = PS4_R3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_LX) < LX_RX_press) {
                    ads_flag = FALSE;
                }
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_LX) <= inv(LX_RX_press)) {  //  For example: Strafing right and auto lean will press the button to lean right.
                    ads_flag = TRUE;
                    lean_button = PS4_L3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_LX) > inv(LX_RX_press)) {
                    ads_flag = FALSE;
                }
            }
            if(lean_toggle == TURN_TOGGLE) {
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_RX) >= LX_RX_press) {
                    ads_flag = TRUE;
                    lean_button = PS4_L3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_RX) < LX_RX_press) {             //  It will lean in the opposite direction you are rotating.
                    ads_flag = FALSE;
                }
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_RX) <= inv(LX_RX_press)) {
                    ads_flag = TRUE;
                    lean_button = PS4_R3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_RX) > inv(LX_RX_press)) {        //  For example: Rotating the view right and auto lean will press the button to lean left.
                    ads_flag = FALSE;
                }
            }
            if(lean_toggle == ROTATE_TOGGLE) {
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_LX) >= LX_RX_press && get_val(PS4_RX) <= inv(LX_RX_press)) {    //  This works with a combination of strafe and rotate.
                    ads_flag = TRUE;
                    lean_button = PS4_R3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_LX) < LX_RX_press && get_val(PS4_RX) >= inv(LX_RX_press)) {          //  Doesn't press the lean button unless both axis are in use.
                    ads_flag = FALSE;
                }
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_LX) <= inv(LX_RX_press) && get_val(PS4_RX) >= LX_RX_press) {
                    ads_flag = TRUE;
                    lean_button = PS4_L3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_LX) > inv(LX_RX_press) && get_val(PS4_RX) <= LX_RX_press) {          //  For example: Strafing right and rotating left and auto lean will press the button to lean right.
                    ads_flag = FALSE;
                }
            }
        }
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: R6 Siege Gamepack info

Postby Werundubz » Mon Apr 09, 2018 6:12 pm

J2Kbr wrote:I am not the author of this Gamepack, but checking the code there are comments in the code describing the functionality of the leaning mod, hope this helps:
Code: Select all
// LEAN LEFT/RIGHT
        if(i005_option) {
            if(get_val(PS4_LEFT)) {
                if(event_press(PS4_CROSS)) {                                                //  Strafe auto lean is only activated when strafing right & left.
                    lean_toggle = dotoggle(lean_toggle, SIDE_TOGGLE);
                } else
                if(event_press(PS4_CIRCLE)) {
                    lean_toggle = dotoggle(lean_toggle, TURN_TOGGLE);
                } else
                if(event_press(PS4_SQUARE)) {
                    lean_toggle = dotoggle(lean_toggle, ROTATE_TOGGLE);
                }
            }
            if(lean_toggle == SIDE_TOGGLE) {
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_LX) >= LX_RX_press) {       //  It will lean in the direction you are strafing.
                    ads_flag = TRUE;
                    lean_button = PS4_R3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_LX) < LX_RX_press) {
                    ads_flag = FALSE;
                }
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_LX) <= inv(LX_RX_press)) {  //  For example: Strafing right and auto lean will press the button to lean right.
                    ads_flag = TRUE;
                    lean_button = PS4_L3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_LX) > inv(LX_RX_press)) {
                    ads_flag = FALSE;
                }
            }
            if(lean_toggle == TURN_TOGGLE) {
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_RX) >= LX_RX_press) {
                    ads_flag = TRUE;
                    lean_button = PS4_L3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_RX) < LX_RX_press) {             //  It will lean in the opposite direction you are rotating.
                    ads_flag = FALSE;
                }
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_RX) <= inv(LX_RX_press)) {
                    ads_flag = TRUE;
                    lean_button = PS4_R3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_RX) > inv(LX_RX_press)) {        //  For example: Rotating the view right and auto lean will press the button to lean left.
                    ads_flag = FALSE;
                }
            }
            if(lean_toggle == ROTATE_TOGGLE) {
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_LX) >= LX_RX_press && get_val(PS4_RX) <= inv(LX_RX_press)) {    //  This works with a combination of strafe and rotate.
                    ads_flag = TRUE;
                    lean_button = PS4_R3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_LX) < LX_RX_press && get_val(PS4_RX) >= inv(LX_RX_press)) {          //  Doesn't press the lean button unless both axis are in use.
                    ads_flag = FALSE;
                }
                if(!ads_flag && get_val(ads_button) && get_lval(PS4_LX) <= inv(LX_RX_press) && get_val(PS4_RX) >= LX_RX_press) {
                    ads_flag = TRUE;
                    lean_button = PS4_L3;
                    combo_run(LeanCombo);
                } else if(!get_val(ads_button) && get_lval(PS4_LX) > inv(LX_RX_press) && get_val(PS4_RX) <= LX_RX_press) {          //  For example: Strafing right and rotating left and auto lean will press the button to lean right.
                    ads_flag = FALSE;
                }
            }
        }

Thank you! I have messed with the scroll bar, and havent succeeded with getting it to work..
User avatar
Werundubz
Corporal
Corporal
 
Posts: 4
Joined: Thu Mar 01, 2018 4:34 am


Return to Titan One Device

Who is online

Users browsing this forum: No registered users and 233 guests

cron