Results 1 to 5 of 5

Topic: Help with this script

  1. #1
    I Am Error

    User Info Menu

    Help with this script

    I got this script the other day, just wondering if thereis a way to change the original speed to 80? atm original speed = 100 sensitivity, but i want it to fluctuate between 80 and 60 not 100 and 60 if thats possible, thanks

    //Posted by GL0ZZ3N, a member of the community in the CronusMAX Forums - http://cronusmax.com/forums

    //Posted : Wednesday 2nd of August, 2017 14:31 UTC

    define BUTTON_YOU_WANT_TO_HOLD =XB1_LT;// This is the button/trigger you will need to be holding to activate the constant sensitivity change

    define TIME =500;// change this so you can adjust how long to HOLD a sensitivity before switching to high/low sensitivity. This is set by Millisecond, so 500 = 1/2 of a second. 250 = 1/4 of a second. etc.


    define SENSITIVITY =60;// Anything over 100 will raise sensitivity from default value. Anything under 100 will lower sensitivity.




    int original_speed;


    main{


    combo_run (SENSITIVITY_CHANGE);

    if(!original_speed){
    if( get_val(BUTTON_YOU_WANT_TO_HOLD)){
    sensitivity(9,NOT_USE, SENSITIVITY);
    sensitivity(10,NOT_USE, SENSITIVITY);
    }
    }




    }


    combo SENSITIVITY_CHANGE {


    original_speed =!original_speed;
    wait(TIME);
    }

  2. #2
    Senior Staff

    User Info Menu

    Re: Help with this script

    Quote Originally Posted by intheland View Post
    I got this script the other day, just wondering if thereis a way to change the original speed to 80? atm original speed = 100 sensitivity, but i want it to fluctuate between 80 and 60 not 100 and 60 if thats possible, thanks
    Here you go:


  3. #3
    I Am Error

    User Info Menu

    Re: Help with this script

    Thank you! Can you possibly help me out with this one!

    I think its more of a case of reformatting it so it don't clash with values, I want the LY LX part to stay the way it is so basically the part that activates the Left stick functions to stay the same, and the part that activates the right stick functions to stay the same, at the moment it seems like they're clashing and the right stick/RX/RY is way to high and wont stay as low as i want it, so instead of staying around 15 - 10 value it shoots all the way up to around 40.
    any help is appreciated

    //Posted by intheland, a member of the community in the CronusMAX Forums - http://cronusmax.com/forums

    //Posted : Friday 11th of August, 2017 6:43 UTC


    define RT = XB1_RT;
    define LT = XB1_LT;
    define LX = XB1_LX;
    define LY = XB1_LY;

    int value = 45
    int value2 = -45
    int delay = 45;

    int minT = -40;
    int pluT = 40;
    int pluTN = 30;
    int minTH = -40;
    int pluTH = 40;


    main {

    if(get_val(LT)) {
    combo_run(LT_C);
    }

    if(get_val(RT) && get_val(LT)) {
    combo_stop(LT_C);
    combo_run(RT_C);
    }

    if(get_val(LX) < value2 || get_val(LX) > value || get_val(LY) < value2 || get_val(LY) > value || get_val(LX) < value2 || get_val(LX) > value || get_val(LY) < value2 || get_val(LY) > value) {
    combo_stop(LT_C);
    combo_stop(RT_C);
    }

    }

    combo LT_C {
    set_val(LY, minT);
    wait(delay)
    set_val(LX, pluT);
    set_val(LY, pluTN);
    wait(delay)
    set_val(LY, pluTN);
    wait(delay)
    set_val(LX, minT);
    set_val(LY, pluTN);
    wait(delay)
    }

    combo RT_C {
    set_val(LY, minTH);
    wait(delay)
    set_val(LX, pluTH);
    set_val(LY, pluT);
    wait(delay)
    set_val(LY, pluT);
    wait(delay)
    set_val(LX, minTH);
    set_val(LY, pluT);
    wait(delay)
    }
    define RTT = XB1_RT;
    define LTT = XB1_LT;
    define RXX = XB1_RX;
    define RYY = XB1_RY;

    int valuee = 15
    int valuee2 = -15
    int delayy = 10;

    int minTT = -05;
    int pluTT = 05;
    int pluTNN = 05;
    int minTHH = -10;
    int pluTHH = 10;


    main {

    if(get_val(LT)) {
    combo_run(LT_CC);
    }

    if(get_val(RT) && get_val(LT)) {
    combo_stop(LT_CC);
    combo_run(RT_CC);
    }

    if(get_val(RXX) < value2 || get_val(RXX) > value || get_val(RYY) < value2 || get_val(RYY) > value || get_val(RXX) < value2 || get_val(RXX) > value || get_val(RYY) < value2 || get_val(RYY) > value) {
    combo_stop(LT_CC);
    combo_stop(RT_CC);
    }

    }

    combo LT_CC {
    set_val(RYY, minT);
    wait(delay)
    set_val(RXX, pluT);
    set_val(RYY, pluTN);
    wait(delay)
    set_val(RYY, pluTN);
    wait(delay)
    set_val(RXX, minT);
    set_val(RYY, pluTN);
    wait(delay)
    }

    combo RT_CC {
    set_val(RYY, minTH);
    wait(delay)
    set_val(RXX, pluTH);
    set_val(RYY, pluT);
    wait(delay)
    set_val(RYY, pluT);
    wait(delay)
    set_val(RXX, minTH);
    set_val(RYY, pluT);
    wait(delay)
    }

  4. #4
    Forum Admin

    User Info Menu

    Re: Help with this script

    I Already gave you the answer to that question in your other thread, if you need someone to do the changes for you, perhaps you should just ask for that rather then merely asking for help, i explained what you need to do to fix the script in a very simple way, it's as simple as telling the script to use the appropriate variables (int ... = ...; is a variable)

  5. #5
    I Am Error

    User Info Menu

    Re: Help with this script

    Quote Originally Posted by Swizzy View Post
    I Already gave you the answer to that question in your other thread, if you need someone to do the changes for you, perhaps you should just ask for that rather then merely asking for help, i explained what you need to do to fix the script in a very simple way, it's as simple as telling the script to use the appropriate variables (int ... = ...; is a variable)
    thats what i meant by help I appreciate the quick response but my autsim makes it hard for me to word the things the way I want them to sound, sorry about the confusion

Posting Permissions

  • You may not post new topics
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •