Modern Warfare Toggle Menu issue

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

Modern Warfare Toggle Menu issue

Postby dyontherocket » Sat Nov 30, 2019 11:33 am

Hello all,

Im being stuck in the Modern Warfare script from ItzSnack version 2.2

When i want to change some variable's right into the controller like AIM ASSIST and ANTI RECOIL it works perfect. all other functions are working fine too. BUT when i want to exit the toggle menu i don't see any light or vibrate. So right in the game he changed a lot of settings, and thats horrible ofc.

When i want to RESET the toggles with OPTION + SHARE he's vibrating.

When i look into the device monitor, OPTION + D-PAD UP that i need is correct..

Hope anyone can help me out.

Best regards,
Dyon

(ps. sorry for my english)
User avatar
dyontherocket
Staff Sergeant
Staff Sergeant
 
Posts: 12
Joined: Wed Jan 30, 2019 10:01 pm

Re: Modern Warfare Toggle Menu issue

Postby dyontherocket » Sat Nov 30, 2019 1:32 pm

Im so sorry for the spam today, but this really makes me crazy... When i make the scrip like perfect. it works fine with 30% anti recoil. BUT the anti recoil will automaticly turn off even when the toggle menu is deactivated.

so when i looked the device monitor. he says -30% with the RY button, but without touching anything, when i reload for example, he says 0%...

This is the code right now:
Code: Select all





 
 
 /*
 = = = = = = = = = = = = = = = = = = =
 = /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\  =
 = /\/\/\  Made By ItzSnack  /\/\/\  =
 = /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\  =
 = = = = = = = = = = = = = = = = = = =
 
 
 ===================
 === Version 2.2 ===
 ===================
 
 ================
 === FEATURES ===
 ================
 Aim Assist
 Anti Recoil
 Auto Run
 Rapid Fire
 Burst Fire
 Drop Shot
 Jump On Shot
 Drop On Shot
 Prone On Shot
 Super Sprint
 Strafe
 Hold Breath
 Hair Trigger
 Custom Sensitivity
 
 
 =================
 === Important ===
 ========================================================================
 === Recommended you read all the text below to understand everything ===
 ========================================================================
 
 =====================
 === Reset Toggles ===
 ==================================================
 === OPTIONS/MENU + SHARE/VIEW To Reset Toggles ===
 ==================================================
 
 ===================
 === Toggle Menu ===
 =============================================================================================================
 === Before being able to turn ON/OFF toggles you will have to open the toggle menu by doing the following ===
 === OPTIONS/MENU + D-PAD UP                                                                               ===
 === When ON your LED will flash Rainbow now you able to turn on any features you want                     ===
 === After you done make sure to disable the toggle menu                                                   ===
 === Your LED will be Black when your out of the toggle menu                                               ===
 =============================================================================================================
 
 ===============================================================================
 ===                          TOGGLES YOU CAN ACTIVATE                       ===
 ===============================================================================
 === Hold L2/LT And Press R3/RS For Rapid Fire                               ===
 === 1 Rumble = ON 2 = OFF                                                   ===
 ===============================================================================
 === Hold A/CROSS And Press UP For Burst Fire                                ===
 === 1 Rumble = ON 2 = OFF                                                   ===
 ===============================================================================
 === Hold L2/LT And Press UP For Jump On Shot                                ===
 === 1 Rumble = ON 2 = OFF                                                   ===
 ===============================================================================
 === Hold L2/LT And Press DOWN For Drop Shot                                 ===
 === 1 Rumble = ON 2 = OFF                                                   ===
 ===============================================================================
 === Hold L2/LT And Press LEFT For Strafe                                    ===
 === 1 Rumble = ON 2 = OFF                                                   ===
 ===============================================================================
 === Hold L2/LT And Press RIGHT For Drop On Shot                             ===
 === 1 Rumble = ON 2 = OFF                                                   ===
 ===============================================================================
 === Hold L2/LT And Press TRIANGLE/Y For Prone On Shot                       ===
 === 1 Rumble = ON 2 = OFF                                                   ===
 ===============================================================================
 === Hold A/CROSS And Press UP For Anti Recoil                               ===
 === 1 Rumble = ON 2 = OFF                                                   ===
 === Hold B/CRICLE And Press UP For +1 to Anti Recoil and DOWN For -1        ===
 === Hold B/CIRCLE And Press RIGHT For +1 to Horizontal and LEFT For -1      ===
 === Heavy Rumble = Increase Light Rumble = Decrease                         ===
 ===============================================================================
 */
    define ON = TRUE;
    define OFF = FALSE;
 
    //Layout
    define PS = 0;
    define SHARE = 1;
    define OPTIONS = 2;
    define R1 = 3;
    define R2 = 4;
    define R3 = 5;
    define L1 = 6;
    define L2 = 7;
    define L3 = 8;
    define RX = 9;
    define RY = 10;
    define LX = 11;
    define LY = 12;
    define UP = 13;
    define DOWN = 14;
    define LEFT = 15;
    define RIGHT = 16;
    define TRIANGLE = 17;
    define CIRCLE = 18;
    define CROSS = 19;
    define SQUARE = 20;
    define TOUCHPAD = 27;
 
    //Customize
    int Flipped = ON; //Change OFF TO ON If you play with Flipped Triggers
    int AS = ON; //Change ON TO OFF If you don't want Aim Assist
    int RUN = ON; //Change ON TO OFF If you don't want Auto Run
    int HT = ON; //Change ON TO OFF If you don't want Hair Trigger
    int CS = ON; //Change ON TO OFF If you don't want Custom Sensitivity
    int HB = OFF; //Change OFF TO ON If you want Hold Breath
    int SS = OFF; //Change OFF TO ON If you want Super Sprint
    int CR = OFF; //Change OFF TO ON If you want Auto Run Cancel when Reloading
 
    //Customize Toggles
    int AR_Toggle = ON; //Change ON TO OFF If you don't want Anti Recoil ON By Default
    int RF_Toggle = OFF; //Change OFF TO ON If you want Rapid Fire ON By Defualt
    int BF_Toggle = OFF; //Change OFF TO ON If you want Burst Fire ON By Defualt
    int JS_Toggle = OFF; //Change OFF TO ON If you want Jump Shot ON By Defualt
    int DS_Toggle = OFF; //Change OFF TO ON If you want Drop Shot ON By Defualt
    int SS_Toggle = OFF; //Change OFF TO ON If you want Drop On Shot ON By Defualt
    int Strafe_Toggle = OFF; //Change OFF TO ON If you want Strafe ON By Defualt
    int PS_Toggle = OFF; //Change OFF TO ON If you want Prone On Shot ON By Defualt
 
    //Custom Buttons
    int Crouch_Button = CIRCLE; //Your crouch button
 
    //Speed Of Features
    int RF_Speed = 40; //Rapid Fire Speed
    int BF_Speed = 300; //Burst Fire Speed
    int DS_Speed = 80; //Drop Shot Speed
    int Prone_Speed = 100; //How long until you prone when shooting
    int Reload_Time = 3400; //How long Auto Run will be disabled when reloading
    /*NOTE:
    Higher values = Slower
    Lower values = Faster
    Everything is in milliseconds*/
 
    //Custom Sensitivity
    int GEN_SENS = 100;
    int ADS_SENS = 100;
    int FIRE_SENS = 100;
    int ADS_FIRE_SENS = 100;
    int GRENADE_SENS = 100;
    /*NOTE:
    Default = 100
    Ranges from 0 to 327*/
 
    //Anti Recoil
    int AR = 25; //Anti Recoil
    int AR_I = 1; //Change 1 to -1 If you play with Inverted Anti Recoil
 
    //Aim Assist
    int AP = 17;
    int AM = -17;
    int Delay = 20;
    int Release = 18;
    /*NOTE:
    Increase AP & AM For more Assist but it can cause shake
    Decrease AP & AM If you feel shake and don't like it
    Release Is recommended to be 1 higher than AP & AM*/
 
    //Strafe
    int RIGHT_Speed = 200; //How long to go RIGHT
    int LEFT_Speed = 200; //How long to go LEFT
 
    //Toggles
    int ARS;
    int AR_HZ;
    int SP = ON;
    int USE_SENS;
    int Remove_Block;
    int Toggle_Menu;
    int Toggle_Rumble;
 
 
        main {
 
    if(get_val(OPTIONS) && event_press(SHARE)) {
    RF_Toggle = OFF;
    BF_Toggle = OFF;
    JS_Toggle = OFF;
    DS_Toggle = OFF;
    SS_Toggle = OFF;
    Strafe_Toggle = OFF;
    PS_Toggle = OFF;
    Toggle_Menu = OFF;
    combo_run(Menu_Rumble);}
 
    if(CS)
    if(!get_val(L2) && !get_val(R2)) {
    USE_SENS=GEN_SENS;}
    else if(get_val(L2) && !get_val(R2)) {
    USE_SENS=ADS_SENS;}   
    else if(!get_val(L2) && get_val(R2)) {
    USE_SENS=FIRE_SENS;}
    else if(get_val(L2) && get_val(R2)) {
    USE_SENS=ADS_FIRE_SENS;}
    else if(get_val(R1)) {
    USE_SENS=GRENADE_SENS;}
    sensitivity(RY,NOT_USE,USE_SENS);
    sensitivity(RX,NOT_USE,USE_SENS);
 
    LED(0,0,0,0);
 
    if(Flipped) {
    swap(R1,R2);
    swap(L1,L2);}
 
    if(HT)
    deadzone(L2,R2,100,100);
 
    if(HB)
    if(get_val(L2)) set_val(8,100);
 
    if(RUN)
    if(get_val(LY)<-90 && !get_val(L2)) set_val(L3,100);
    if(CR)
    if(get_val(SQUARE)) combo_run(Cancel);   
    if(SS == ON && get_val(L2)) combo_stop(SuperSprint);   
    if(SS)
    if(SP && get_val(LY)<-90) combo_run(SuperSprint);
    if(get_val(LY)>-90) SP = ON;
 
    if(AS)
    if(get_val(L2)) combo_run(ASc);
 
    if(AR_Toggle)
    if(get_val(L2) && get_val(R2))
    combo_run(ARc);
 
    if(RF_Toggle && get_val(R2))
    combo_run(RF);
 
    if(BF_Toggle && get_val(R2))
    combo_run(BF);
 
    if(SS_Toggle && event_press(R2))
    combo_run(Crouch);
 
    if(JS_Toggle && get_val(R2))
    set_val(CROSS,100);
 
    if(DS_Toggle && get_val(R2))
    combo_run(DSc);
 
    if(Strafe_Toggle && get_val(L2) && get_val(R2))
    combo_run(Strafe);else combo_stop(Strafe);
 
    if(PS_Toggle && get_val(R2) && get_ptime(R2) > Prone_Speed)
    set_val(CIRCLE,100);
 
    if(get_val(OPTIONS) && event_press(UP)) {
    Toggle_Menu=!Toggle_Menu;
    Toggle_Rumble=!Toggle_Rumble;}
    if(Toggle_Rumble)
    combo_run(Menu_Rumble);
 
    if(Toggle_Menu) {
    combo_run(Rainbow_Flash);
 
    if(get_val(L2) && event_press(R3)) {
    RF_Toggle=!RF_Toggle;
    if(RF_Toggle) combo_run(Flash_ON);
    else combo_run(Flash_OFF);}
 
    if(get_val(L2) && event_press(L1)) {
    BF_Toggle=!BF_Toggle;
    if(BF_Toggle) combo_run(Flash_ON);
    else combo_run(Flash_OFF);}
 
    if(get_val(L2) && event_press(UP)) {
    JS_Toggle=!JS_Toggle;
    if(JS_Toggle) combo_run(Flash_ON);
    else combo_run(Flash_OFF);}
 
    if(get_val(L2) && event_press(DOWN)) {
    DS_Toggle=!DS_Toggle;
    if(DS_Toggle) combo_run(Flash_ON);
    else combo_run(Flash_OFF);}
 
    if(get_val(L2) && event_press(RIGHT)) {
    SS_Toggle=!SS_Toggle;
    if(SS_Toggle) combo_run(Flash_ON);
    else combo_run(Flash_OFF);}
 
    if(get_val(L2) && event_press(LEFT)) {
    Strafe_Toggle=!Strafe_Toggle;
    if(Strafe_Toggle) combo_run(Flash_ON);
    else combo_run(Flash_OFF);}
 
    if(get_val(L2) && event_press(TRIANGLE)) {
    PS_Toggle=!PS_Toggle;
    if(PS_Toggle) combo_run(Flash_ON);
    else combo_run(Flash_OFF);}
 
    if(get_val(L2) && event_press(R1)) {
    AR_Toggle=!AR_Toggle;
    if(AR_Toggle) combo_run(Flash_ON);
    else combo_run(Flash_OFF);}
 
    if(get_val(CROSS)) {
    if(event_press(UP)) {
    AR = AR + 1;
    combo_run(Increase);}
    if(event_press(DOWN)) {
    AR = AR - 1;
    combo_run(Decrease);}
    if(event_press(RIGHT)) {
    AR_HZ = AR_HZ + 1;
    combo_run(Increase);}
    if(event_press(LEFT)) {
    AR_HZ = AR_HZ - 1;
    combo_run(Decrease);}
    set_val(UP,0);set_val(DOWN,0);set_val(RIGHT,0);set_val(LEFT,0);}
 
    if(get_val(L2)) {
    if(event_press(UP)) {
    Remove_Block=!Remove_Block;}
    if(event_press(RIGHT)) {
    Remove_Block=!Remove_Block;}
    if(event_press(DOWN)) {
    Remove_Block=!Remove_Block;}
    if(event_press(LEFT)) {
    Remove_Block=!Remove_Block;}
    if(event_press(R3)) {
    Remove_Block=!Remove_Block;}
    if(event_press(TRIANGLE)) {
    Remove_Block=!Remove_Block;}
    if(event_press(R1)) {
    Remove_Block=!Remove_Block;}
    if(event_press(L1)) {
    Remove_Block=!Remove_Block;}
    set_val(UP,0);set_val(RIGHT,0);set_val(DOWN,0);set_val(LEFT,0);set_val(R3,0);set_val(TRIANGLE,0);set_val(R1,0);set_val(L1,0);}}   
    if(get_val(OPTIONS)) {
    if(event_press(SHARE)) {
    Remove_Block=!Remove_Block;}
    set_val(SHARE,0);}
 
    if(abs(get_val(RY)) > AR + 2 || abs(get_val(RX)) > AR + 2) {
    combo_stop(AR);}}
 
    combo ARc {
    ARS = get_val(RY) + AR;
    if(ARS > 100) ARS = 100;
    set_val(RY,ARS * AR_I);
    ARS = get_val(RX) + AR_HZ;
    if(ARS > 100) ARS = 100;
    set_val(RX,ARS);}
 
    combo ASc {
    set_val(RY,a_f(RY,AP));
    wait(Delay);
    set_val(RX,a_f(RX,AP));
    wait(Delay);
    set_val(RY,a_f(RY,AM));
    wait(Delay);
    set_val(RX,a_f(RX,AM));
    wait(Delay);}
 
 
    combo DSc {
    set_val(Crouch_Button,100);
    wait(40);
    set_val(Crouch_Button,0);
    wait(DS_Speed);}
 
    combo Crouch {
    set_val(Crouch_Button,100);
    wait(100);}
 
    combo SuperSprint {
    set_val(L3,100);
    wait(40);
    set_val(L3,0);
    wait(40);
    SP = OFF;}
 
    combo Cancel {
    set_val(L3,0);
    wait(Reload_Time);}
 
    combo Strafe {
    set_val(11,100);
    wait(RIGHT_Speed);
    set_val(11,-100);
    wait(LEFT_Speed);}
 
    combo RF {
    set_val(R2,100);
    wait(40);
    set_val(R2,0);
    wait(RF_Speed);}
 
    combo BF {
    set_val(R2,100);
    wait(40);
    set_val(R2,0);
    wait(100);
    set_val(R2,100);
    wait(40);
    set_val(R2,0);
    wait(100);
    set_val(R2,100);
    wait(40);
    set_val(R2,0);
    wait(BF_Speed);}
 
    combo Rainbow_Flash {
    LED(2,0,2,0);
    wait(100);
    LED(0,0,0,0);
    wait(100);
    LED(0,0,0,2);
    wait(100);
    LED(0,0,0,0);
    wait(100);
    LED(0,2,2,0);
    wait(100);
    LED(0,0,0,0);
    wait(100);}
 
    combo Menu_Rumble {
    set_rumble(RUMBLE_B,100);
    wait(200);
    reset_rumble();
    Toggle_Rumble = OFF;}
 
    combo Increase {
    set_rumble(RUMBLE_A,100);
    wait(100);
    reset_rumble();}
 
    combo Decrease {
    set_rumble(RUMBLE_B,100);
    wait(50);
    reset_rumble();}
 
    combo Flash_ON {
    LED(0,0,2,0);
    set_rumble(RUMBLE_A,100);
    wait(400);
    reset_rumble();
    reset_leds();}
 
    combo Flash_OFF {
    LED(0,2,0,0);
    set_rumble(RUMBLE_B,100);
    wait(200);
    reset_rumble();
    LED(0,0,0,0);
    wait(100);
    set_rumble(RUMBLE_B,100);
    LED(0,2,0,0);
    wait(200);
    reset_rumble();
    reset_leds();}
 
    function a_f(p,m) {
    if(abs(get_val(p)) < Release) return m;
    return get_val(p);}
 
 
    function LED(a,b,c,d) {
    set_led(LED_1,a);
    set_led(LED_2,b);
    set_led(LED_3,c);
    set_led(LED_4,d);}
User avatar
dyontherocket
Staff Sergeant
Staff Sergeant
 
Posts: 12
Joined: Wed Jan 30, 2019 10:01 pm

Re: Modern Warfare Toggle Menu issue

Postby J2Kbr » Mon Dec 02, 2019 10:40 am

I found a bug in the script conversion:
Code: Select all
combo_stop(AR);
Should be:
Code: Select all
combo_stop(ARc);
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: Modern Warfare Toggle Menu issue

Postby dyontherocket » Fri Dec 06, 2019 12:00 am

J2Kbr wrote:I found a bug in the script conversion:
Code: Select all
combo_stop(AR);
Should be:
Code: Select all
combo_stop(ARc);


That will solve the problem!!! Many many thanks to you! I really loved it!

Do you advice to buy titan two?
User avatar
dyontherocket
Staff Sergeant
Staff Sergeant
 
Posts: 12
Joined: Wed Jan 30, 2019 10:01 pm

Re: Modern Warfare Toggle Menu issue

Postby Mad » Fri Dec 06, 2019 12:20 am

dyontherocket wrote:Do you advice to buy titan two?


You wont be disappointed if you do, its definitely a major upgrade hardware and feature wise.

And there are some great MW scripts for it to :smile0517:
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord (2K / FPS)
Mad
Major General
Major General
 
Posts: 4533
Joined: Wed May 22, 2019 5:39 am


Return to Titan One Device

Who is online

Users browsing this forum: Google [Bot] and 114 guests