Destiny 2 Moon AFK farm/Laurels farm script

GPC2 script programming for Titan Two. Code examples, questions, requests.

Destiny 2 Moon AFK farm/Laurels farm script

Postby glitchbish » Sun May 08, 2022 8:39 pm

Here is a script I came up with to do the Moon AFK farm in Destiny 2

You can also use it to farm laurels in Guardian Games. Will give you about 100 laurels in ~7-8 minutes

Code: Select all
uint8 moonfarm = 0;
fix32 moonfarm_kickbuster = 0.0;
 
combo moonfarm_Cb {
    moonfarm += 1;
    if (moonfarm % 5 == 0) {
        // Every five grenade throws, activate the AFK buster
        moonfarm_kickbuster = 100.0;
    } else {
        moonfarm_kickbuster = 0.0;
    }
    wait(0);
 
    // Throws grenade
    set_val(PS4_L1, 100);
    wait(100);
    wait(1500);
 
    // If AFK busting, go into options screen and move the cursor to the right
    set_val(PS4_OPTIONS, moonfarm_kickbuster);
    wait(100);
    set_val(STICK_2_X, moonfarm_kickbuster);
    wait(1000);
    set_val(PS4_OPTIONS, moonfarm_kickbuster);
    wait(1800);
 
    // Restart and do it again
    combo_restart(moonfarm_Cb);
    wait(0);
}


Would appreciate if anyone has suggestions on how to streamline this, as I'm not fully versed on conditionals in combos

Enjoy!
User avatar
glitchbish
First Sergeant
First Sergeant
 
Posts: 45
Joined: Sat Feb 10, 2018 3:11 am

Re: Destiny 2 Moon AFK farm/Laurels farm script

Postby cphelan » Mon May 30, 2022 6:07 pm

Would I have to change anything for the script to work on my Xbox. If so, could you possibly post another script that would be able to work?
User avatar
cphelan
Private
Private
 
Posts: 1
Joined: Mon May 30, 2022 6:02 pm

Re: Destiny 2 Moon AFK farm/Laurels farm script

Postby glitchbish » Mon May 30, 2022 10:35 pm

No, you don't have to change anything to get it to work on Xbox. The button arguments are just aliases for the generic button values the device uses

You would only have to tweak it if you did a weird remapping of your in-game control scheme
User avatar
glitchbish
First Sergeant
First Sergeant
 
Posts: 45
Joined: Sat Feb 10, 2018 3:11 am

Re: Destiny 2 Moon AFK farm/Laurels farm script

Postby glitchbish » Thu Dec 15, 2022 12:37 am

This farm has been cancelled by Bungie
User avatar
glitchbish
First Sergeant
First Sergeant
 
Posts: 45
Joined: Sat Feb 10, 2018 3:11 am


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 75 guests