i need help with a script?

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

i need help with a script?

Postby iiximmer » Sun Jan 05, 2020 5:07 am

so i basically just want to remove the fast lean script and see if there is anything to be done to improve the anti recoil for the xim apex. it just feels off. If anyone could do this for me id be extremely grateful... thank you in advance!
Code: Select all
 // GPC Online Library
// rainbow_six_siege_[ps4].gpc
 
/*'########:::::'###::::'####:'##::: ##:'########:::'#######::'##:::::'##:::::'######::'####:'##::::'##:
   ##.... ##:::'## ##:::. ##:: ###:: ##: ##.... ##:'##.... ##: ##:'##: ##::::'##... ##:. ##::. ##::'##::
   ##:::: ##::'##:. ##::: ##:: ####: ##: ##:::: ##: ##:::: ##: ##: ##: ##:::: ##:::..::: ##:::. ##'##:::
   ########::'##:::. ##:: ##:: ## ## ##: ########:: ##:::: ##: ##: ##: ##::::. ######::: ##::::. ###::::
   ##.. ##::: #########:: ##:: ##. ####: ##.... ##: ##:::: ##: ##: ##: ##:::::..... ##:: ##:::: ## ##:::
   ##::. ##:: ##.... ##:: ##:: ##:. ###: ##:::: ##: ##:::: ##: ##: ##: ##::::'##::: ##:: ##::: ##:. ##::
   ##:::. ##: ##:::: ##:'####: ##::. ##: ########::. #######::. ###. ###:::::. ######::'####: ##:::. ##:
  ..:::::..::..:::::..::....::..::::..::........::::.......::::...::...:::::::......:::....::..:::::..::
This is my competitive Rainbow Six: Siege Script. It includes Quick Lean, Recoil Control, and Crouch Spam. The
reason I did not include rapid fire is because this is meant for people who want it to be less detectable that
they are using macros. Whether that be because they are keeping it secret from friends or they are competing in
ESL GO4s or GameBattles where macros are banned. Hopefully you like my script.
 
If you enjoy my script it would be much appreciated if you can check my YouTube out and maybe drop a sub.
 
YouTube - Alloy
 
PSN - NRT-Alloy
 
*/

 
// Rapidfire values
define RF_HOLD    = 33;
define RF_RELEASE = 64;
 
define RECOIL_CONTROL = 5;       // Adjust the value from 0 - 100 to tune vertical recoil control
define RECOIL_CONTROL_LEFT = 0// Adjust the value from 0 - 100 to tune recoil control from the left
define RECOIL_CONTROL_RIGHT = 0; // Adjust the value from 0 - 100 to tune recoul control from the right
 
int recoil_control;         
int recoil_control_left;   
int recoil_control_right;     
int rf;           
 
main {
 
//FastLean       
    if (get_val(PS4_L2) && event_press(PS4_L3)) combo_run(LeanLeft);
    if(combo_running(LeanLeft)) {set_val(PS4_L3, 0);}
 
 
    if (get_val(PS4_L2) && event_press(PS4_R3)) combo_run(LeanRight);
    if(combo_running(LeanRight)) set_val(PS4_R3, 0);
 
//CrouchSpam         
if((get_val(PS4_L2)) && (get_val(PS4_CIRCLE))) {
        combo_run(Crouch_Spam);
        }
 
//AntiRecoil
    if (get_val(PS4_R2)) combo_run(Recoil_Control);
 
//Rapidfire
 
    if (get_val(PS4_L2) && event_press(PS4_CROSS)) rf=!rf;
 
    if(rf && get_val(PS4_R2)) combo_run(RapidFire);
    else combo_stop(RapidFire);
}   
 
//COMBOS
 
//CROUCH SPAM COMBO
combo Crouch_Spam {
    set_val(PS4_CIRCLE, 100);
    wait(80);
    set_val(PS4_CIRCLE, 0);
    wait(60);
    set_val(PS4_CIRCLE, 0);
}
 
//QUICK LEAN RIGHT COMBO
combo LeanRight {
    set_val(PS4_L3, 100);
    wait(40);
    set_val(PS4_R3, 100);
    set_val(PS4_L3, 100);
    wait(90);
    set_val(PS4_R3, 100);
    set_val(PS4_L3, 0);
    wait(10);
    set_val(PS4_R3, 0);
}
 
//QUICK LEAN LEFT COMBO
combo LeanLeft {
    set_val(PS4_R3, 100);
    wait(40);
    set_val(PS4_L3, 100);
    set_val(PS4_R3, 100);
    wait(90);
    set_val(PS4_L3, 100);
    set_val(PS4_R3, 0);
    wait(10);
    set_val(PS4_L3, 0);
}
 
combo RapidFire {
    set_val(PS4_R2, 100);
    wait(RF_HOLD);
    set_val(PS4_R2, 0);
    wait(RF_RELEASE);
}
 
//RECOIL CONTROL COMBO [Don't adjust values]
combo Recoil_Control {
    recoil_control = get_val(10) + RECOIL_CONTROL;
    if(recoil_control > 100) recoil_control = 100;set_val(10, recoil_control);
    recoil_control_left = get_val(9) -RECOIL_CONTROL_LEFT;
    if(recoil_control_left > 100) recoil_control_left = 100;set_val(9, recoil_control_left);
    recoil_control_right = get_val(9) +RECOIL_CONTROL_RIGHT;
    if(recoil_control_right > 100) recoil_control_right = 100;set_val(9, recoil_control_right);
}
User avatar
iiximmer
Private First Class
Private First Class
 
Posts: 3
Joined: Mon Nov 18, 2019 3:31 am

Re: i need help with a script?

Postby Mad » Sun Jan 05, 2020 5:16 am

You could try this one out that was made for xim: https://www.consoletuner.com/gpclib/?s=1149

Here is your script without fast lean:
Code: Select all
 // GPC Online Library
// rainbow_six_siege_[ps4].gpc
 
/*'########:::::'###::::'####:'##::: ##:'########:::'#######::'##:::::'##:::::'######::'####:'##::::'##:
   ##.... ##:::'## ##:::. ##:: ###:: ##: ##.... ##:'##.... ##: ##:'##: ##::::'##... ##:. ##::. ##::'##::
   ##:::: ##::'##:. ##::: ##:: ####: ##: ##:::: ##: ##:::: ##: ##: ##: ##:::: ##:::..::: ##:::. ##'##:::
   ########::'##:::. ##:: ##:: ## ## ##: ########:: ##:::: ##: ##: ##: ##::::. ######::: ##::::. ###::::
   ##.. ##::: #########:: ##:: ##. ####: ##.... ##: ##:::: ##: ##: ##: ##:::::..... ##:: ##:::: ## ##:::
   ##::. ##:: ##.... ##:: ##:: ##:. ###: ##:::: ##: ##:::: ##: ##: ##: ##::::'##::: ##:: ##::: ##:. ##::
   ##:::. ##: ##:::: ##:'####: ##::. ##: ########::. #######::. ###. ###:::::. ######::'####: ##:::. ##:
  ..:::::..::..:::::..::....::..::::..::........::::.......::::...::...:::::::......:::....::..:::::..::
This is my competitive Rainbow Six: Siege Script. It includes Quick Lean, Recoil Control, and Crouch Spam. The
reason I did not include rapid fire is because this is meant for people who want it to be less detectable that
they are using macros. Whether that be because they are keeping it secret from friends or they are competing in
ESL GO4s or GameBattles where macros are banned. Hopefully you like my script.
 
If you enjoy my script it would be much appreciated if you can check my YouTube out and maybe drop a sub.
 
YouTube - Alloy
 
PSN - NRT-Alloy
 
*/

 
// Rapidfire values
define RF_HOLD    = 33;
define RF_RELEASE = 64;
 
define RECOIL_CONTROL = 5;       // Adjust the value from 0 - 100 to tune vertical recoil control
define RECOIL_CONTROL_LEFT = 0// Adjust the value from 0 - 100 to tune recoil control from the left
define RECOIL_CONTROL_RIGHT = 0; // Adjust the value from 0 - 100 to tune recoul control from the right
 
int recoil_control;         
int recoil_control_left;   
int recoil_control_right;     
int rf;           
 
main {
//CrouchSpam         
if((get_val(PS4_L2)) && (get_val(PS4_CIRCLE))) {
        combo_run(Crouch_Spam);
        }
 
//AntiRecoil
    if (get_val(PS4_R2)) combo_run(Recoil_Control);
 
//Rapidfire
 
    if (get_val(PS4_L2) && event_press(PS4_CROSS)) rf=!rf;
 
    if(rf && get_val(PS4_R2)) combo_run(RapidFire);
    else combo_stop(RapidFire);
}   
 
//COMBOS
 
//CROUCH SPAM COMBO
combo Crouch_Spam {
    set_val(PS4_CIRCLE, 100);
    wait(80);
    set_val(PS4_CIRCLE, 0);
    wait(60);
    set_val(PS4_CIRCLE, 0);
}
 
combo RapidFire {
    set_val(PS4_R2, 100);
    wait(RF_HOLD);
    set_val(PS4_R2, 0);
    wait(RF_RELEASE);
}
 
//RECOIL CONTROL COMBO [Don't adjust values]
combo Recoil_Control {
    recoil_control = get_val(10) + RECOIL_CONTROL;
    if(recoil_control > 100) recoil_control = 100;set_val(10, recoil_control);
    recoil_control_left = get_val(9) -RECOIL_CONTROL_LEFT;
    if(recoil_control_left > 100) recoil_control_left = 100;set_val(9, recoil_control_left);
    recoil_control_right = get_val(9) +RECOIL_CONTROL_RIGHT;
    if(recoil_control_right > 100) recoil_control_right = 100;set_val(9, recoil_control_right);
}
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
Mad
Major General
Major General
 
Posts: 4536
Joined: Wed May 22, 2019 5:39 am

Re: i need help with a script?

Postby iiximmer » Sun Jan 05, 2020 7:16 am

thank you dude. And for sure ill try it out and see if i see a difference
User avatar
iiximmer
Private First Class
Private First Class
 
Posts: 3
Joined: Mon Nov 18, 2019 3:31 am


Return to GPC1 Script Programming

Who is online

Users browsing this forum: No registered users and 76 guests