Super Stardust HD

Circular automatic shooting when Right analog is not in use. L1 to limit top speed, good for precise maneuvers. Select button to turn on/off slow motion mode. With this script I got the last two trophies that were missing to 100%. Shock and Awe - Destroy 10 nukes in Endless - and Late Boomer - Get 15 bombs in Bomber.
Versionv1.00
AuthorConsoleTuner
Publish DateMon, 14 Feb 2011 - 11:20
Last UpdateMon, 14 Feb 2011 - 20:59
Downloads242
RATE


2

0

Code: Select all
/* *
 * Super Stardust HD
 * ****************************************************************** */

 
define TW = 60;
 
int slow = FALSE;
 
main {
    // Circular automatic shooting when Right analog is not in use.
    if(abs(get_val(PS3_RX)) < 20 && abs(get_val(PS3_RY)) < 20) {
        combo_run(CircleAutoShot);
    } else if(combo_running(CircleAutoShot)) combo_stop(CircleAutoShot);
 
    // L1 to limit top speed, good for precise maneuvers.
    if(get_val(PS3_L1)) {
        sensitivity(PS3_LX, NOT_USE, NOT_USE, NOT_USE, -55, +55);
        sensitivity(PS3_LY, NOT_USE, NOT_USE, NOT_USE, -55, +55);
        set_val(PS3_L1, 0);
    }
 
    // Select button to turn on/off slow motion mode.
    if(event_press(PS3_SELECT)) slow = !slow;
    if(slow) combo_run(SlowMotion);
}
 
combo SlowMotion {
    set_val(PS3_START, 100);
    wait(60);
    set_val(PS3_START, 0);
}
 
combo CircleAutoShot {
    set_val(PS3_RX, 0);
    set_val(PS3_RY, -100);
    wait(TW);
    set_val(PS3_RX, -100);
    set_val(PS3_RY, -100);
    wait(TW);
    set_val(PS3_RX, -100);
    set_val(PS3_RY, 0);
    wait(TW);
    set_val(PS3_RX, -100);
    set_val(PS3_RY, +100);
    wait(TW);
    set_val(PS3_RX, 0);
    set_val(PS3_RY, +100);
    wait(TW);
    set_val(PS3_RX, +100);
    set_val(PS3_RY, +100);
    wait(TW);
    set_val(PS3_RX, +100);
    set_val(PS3_RY, 0);
    wait(TW);
    set_val(PS3_RX, +100);
    set_val(PS3_RY, -100);
    wait(TW-20);
    set_val(PS3_RX, +100);
    set_val(PS3_RY, -100);
}