Aftercharge Idle XP

This script is to idle matches in Aftercharge for the purposes of idle XP, occasional wins and the very slight change of acquiring the orbital strike achievement. There is an idle kick in this game and no auto re-queue so this will endlessly loop games to get some experience when you are sleeping or otherwise occupied.
Version1.01
AuthorSitava
Publish DateTue, 26 Feb 2019 - 21:44
Last UpdateTue, 26 Feb 2019 - 22:09
Downloads15
RATE


0

0

Release Notes: Fluff text tweak.
Code: Select all
// Aftercharge idle XP with occasional wins
 
// Spin adjustment is to change the rotational speed. As this is set up, 50% makes the character move in a nice big circle however it stays in the spawn.
// Tweaking this value will result in different behavior which may be necessary to have games end. I've found being the last workonic sometimes drags them out.
// Though you get XP based on the time played so long games aren't a bad thing - if you don't get caught, games don't end and this loses its usefulness.
// XP gained varies based on events in game but you will average over 1,000XP per cycle (its 2 matches back to back.)
 
int turbo;
int rotation = -35; // default is 35% to the left.
 
main
{
if (event_press (XB1_LS)) {turbo = !turbo;} // LS click enables/disables
if (turbo) {combo_run (MB);} // If enabled, run combo
else combo_stop (MB); // Otherwise stop combo
}
 
combo MB { // Mash Button
    set_val (XB1_LX, 100); // hold left stick right
    set_val (XB1_RX, (rotation)); // hold right stick right at ROTATION pressure
    wait (1000); // wait 1 sec - this gives a partial spin and keeps LS to the right
    set_val (XB1_LX, 100); // hold left stick right
    set_val (XB1_A, 100); // hit A
    wait (250); // wait .25 seconds
}