Results 1 to 14 of 14

Topic: Combo max help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    SILVER IV

    User Info Menu

    Combo max help

    Hello, using combo max to get some combo scripts going, however I don't know how to bound it to a button on my controller. So for example, if you could tell me what command I need to get the combo to start when I press right on the rs on the ps4. Any help greatly appreciated.

  2. #2
    LEGENDARY EAGLE

    User Info Menu

    Re: Combo max help

    One thread is quite enough thank you.

    To answer your question; you'd use "if (get_val(PS4_RX) < -20) { combo_run(maxcmb); }" or "if (get_val(PS4_RX) > 20) { combo_run(maxcmb); }" i'm not 100% sure if left or right is positive or negative, so try one or the other... they should of course be placed in the main section.

  3. #3
    MASTER GUARDIAN I

    User Info Menu

    Re: Combo max help

    Quote Originally Posted by Swizzy View Post
    One thread is quite enough thank you.

    To answer your question; you'd use "if (get_val(PS4_RX) < -20) { combo_run(maxcmb); }" or "if (get_val(PS4_RX) > 20) { combo_run(maxcmb); }" i'm not 100% sure if left or right is positive or negative, so try one or the other... they should of course be placed in the main section.
    Right is positive. Up is negative.

  4. The Following User Says Thank You to 27321.john.3159 For This Useful Post:


  5. #4
    LEGENDARY EAGLE

    User Info Menu

    Re: Combo max help

    Quote Originally Posted by john.song.kim View Post
    Right is positive. Up is negative.
    Thanks, i only remember up/down due to using it quite frequently for anti-recoil

  6. #5
    SILVER IV

    User Info Menu

    Re: Combo max help

    Thank you so much swizzy and john for taking the time to respond and post that. I really appreciate it. So it seems that I'd use ps4 rx + or - depending on left or right and ps4 ry + or - depending on up or down? also, is there a post somewhere that lists this commands? like how to bound a combo to r2 or l2, maybe even the ls? thank you in advance.

  7. #6
    LEGENDARY EAGLE

    User Info Menu

    Re: Combo max help

    Quote Originally Posted by HercStampede View Post
    Thank you so much swizzy and john for taking the time to respond and post that. I really appreciate it. So it seems that I'd use ps4 rx + or - depending on left or right and ps4 ry + or - depending on up or down? also, is there a post somewhere that lists this commands? like how to bound a combo to r2 or l2, maybe even the ls? thank you in advance.
    There's no explicit explanation for every use case, but all commands are listed in the manual, i would recommend that you read through it, if you have any questions after that, we'll help you further.

    RX/RY are different due to the way sticks work (going both up, down, left and right) they're separated by their axes (X - Horizontal, Y - Vertical), they also rarely go back to 0 when released, therefor they need some minor special treatment.

    Every other button you can usually get away with just doing if (get_val(PS4_R2)) { combo_run(maxcmb); } as the default state is 0 (not pressed/pulled) which is the equivalent of false, any non-zero value is considered to be true

  8. #7
    SILVER IV

    User Info Menu

    so this is what I got, and when I play the game, it doesn't work.



    By the way, thank you for taking the time to look over this. I really appreciate it.

  9. #8
    LEGENDARY EAGLE

    User Info Menu

    Re: Combo max help

    Quote Originally Posted by HercStampede View Post
    so this is what I got, and when I play the game, it doesn't work.



    By the way, thank you for taking the time to look over this. I really appreciate it.
    Do the combos work if you use them separately? if not - then that's where you need to start, i don't see anything obvious that's wrong with this other then that you shouldn't have 2 main sections, you should have 1... My compiler is quite forgiving and just merge them for you, but for readability they shouldn't be separated like that.

    It could be that the game reacts to the stick input which throws the combo off, it might also be that you need to adjust a few timings slightly (increase or decrease the timings slightly) to get it to be 'just right'

    a way to test if it reacts to stick input is to put set_val(PS4_RX, 0); after the if statements which execute the combos...

    It's also possible that the combos are running at the same time because they are quite long, and that would obviously make them not work if you are trying to use the second combo while the first one is running and the first one is saying to press buttons the second one shouldn't at the wrong times etc.

    To counter that problem, you can try increasing the value from 20 to something higher, you can also add "&& !combo_running(maxcmb)" to the end of the if, this will make it only run if the mentioned combo isn't running

  10. The Following User Says Thank You to Swizzy For This Useful Post:


  11. #9
    SILVER IV

    User Info Menu

    Re: Combo max help

    They work perfectly if they're separated. So how should I combine the main sections?



    would that be acceptable? and should the main always be on top of the combos listed? Thank you again.

  12. #10
    LEGENDARY EAGLE

    User Info Menu

    Re: Combo max help

    Quote Originally Posted by HercStampede View Post
    They work perfectly if they're separated. So how should I combine the main sections?



    would that be acceptable? and should the main always be on top of the combos listed? Thank you again.
    No, each { } pair produces a block, you are effectively saying you have a main block and a unnamed block, which isn't going to work, you need to place the contents of the second main within the first one, and yes it's advised that the main section comes before the combos

  13. #11
    SILVER IV

    User Info Menu

    Re: Combo max help

    thank you so much, it works perfectly now. One last question, when using the rs, u set the number to 20, is that sensitivity? so the higher the number the less sensitive?

  14. #12
    LEGENDARY EAGLE

    User Info Menu

    Re: Combo max help

    Quote Originally Posted by HercStampede View Post
    thank you so much, it works perfectly now. One last question, when using the rs, u set the number to 20, is that sensitivity? so the higher the number the less sensitive?
    Correct, 20 is a standard value for deadzone management on controllers, on a good controller the value rarely goes above 10 when in "rest mode", however the more worn the controller is, the higher the deadzone will be, so 20 is usually considered "safe"

Posting Permissions

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