Strike Suit Zero Aids

This script aims to make your controller last longer and automate a few things that you do often such as enabling thrusters and Suit Dash.
Version1.1
AuthorSitava
Publish DateMon, 11 Aug 2014 - 13:25
Last UpdateMon, 11 Aug 2014 - 18:34
Downloads44
RATE


3

0

Release Notes: Removed switches and moved combos into 'MAIN' area. Really no need for enable/disable commands.
Code: Select all
/* Strike Suit Zero (Xbox One) Aids
 
This script aims to make your controller last longer and automate a few things that you do often such as enabling thrusters and Suit Dash.
 
*/

 
main            {
    if (get_val(XB1_LT) > 90 && get_ptime(XB1_LT) >= 1000) {set_val(XB1_RS, 100);} // If Thrust is on for 1 second, enable thrusters (RS)
    if (get_val(XB1_Y) == 100 && get_ptime(XB1_Y) >= 300) {combo_run(DashON);} // If Y (EMP) is held for 300ms, run Dash combo
}
 
combo DashON    {
// Double tap left - wait 1 sec - double tap right - wait 1 sec - repreat
// Strike Suit doesn't have EMP (Y) so you evade by dashing. I'm used to using Y which is disabled in Strike Mode. Hold Y to dash left and right.
    set_val(XB1_LEFT, 100);
    wait (40);
    set_val(XB1_LEFT, 0);
    wait (40);
    set_val(XB1_LEFT, 100);
    wait (40);
    set_val(XB1_LEFT, 0);
    wait (1000);
    set_val(XB1_RIGHT, 100);
    wait (40);
    set_val(XB1_RIGHT, 0);
    wait (40);
    set_val(XB1_RIGHT, 100);
    wait (40);
    set_val(XB1_RIGHT, 0);
    wait (1000);
}