Fortnite - Scroll wheel reset on console

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

Fortnite - Scroll wheel reset on console

Postby Muzak10 » Fri Dec 20, 2019 3:46 pm

Is there anyway we can isolate the binds for edit and confirm on console like they can on PC?

For example I use scroll up to toggle harvest tool, is there anyway I could bind my reset confirm to scroll up without affecting harvest tool or does console layout not allow that?

Essentially what I'm asking is has anyone got a script/setup which allows for one button resets?

I'm using Alan's original Fortnite script BTW
User avatar
Muzak10
Sergeant Major
Sergeant Major
 
Posts: 94
Joined: Tue Oct 30, 2018 10:49 am

Re: Fortnite - Scroll wheel reset on console

Postby J2Kbr » Sat Dec 21, 2019 10:16 pm

I haven't played Fortnite in the past months, so not sure what is the scroll wheel reset. However, on consoles you are forced to enter and exit to/from build mode by pressing a button, usually Circle/B. What you can do is a combo to enter in build mode, place a build piece and exit build mode. All this triggered via one button press.
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Fortnite - Scroll wheel reset on console

Postby Muzak10 » Tue Dec 24, 2019 5:22 pm

Cheers m8, I think it's time I experimented with making my first scripts in the new year.

At the minute I have set edit to scroll up, reset edit to scroll down and then confirm to right mouse button so I'm sure that process could be streamlined so that when I scroll down it will automatically press r2

But then how do you make sure that it only does it within the reset environment and not normal play? Can you set a combo so that it will only press r2 after scroll down if scroll up has been pressed quickly after scroll up?
Or something to that affect
User avatar
Muzak10
Sergeant Major
Sergeant Major
 
Posts: 94
Joined: Tue Oct 30, 2018 10:49 am

Re: Fortnite - Scroll wheel reset on console

Postby J2Kbr » Wed Dec 25, 2019 11:43 am

Muzak10 wrote:But then how do you make sure that it only does it within the reset environment and not normal play? Can you set a combo so that it will only press r2 after scroll down if scroll up has been pressed quickly after scroll up?

Maybe something like this:
Code: Select all
#include <mouse.gph>
 
int8 state;
 
main {
    // Can you set a combo so that it will only press r2 after scroll down if
    // scroll up has been pressed quickly after scroll up?
    if(mouse_status(MREPORT_UPDATED)) {
        if(mouse_status(MWHEEL_FORWARD)) {
            state++;
        } else if(mouse_status(MWHEEL_BACKWARD)) {
            if(state == 2) {
                //
                // TODO: combo_run() here
                //
            }
            state = 0;
        }
    }
}
ConsoleTuner Support Team
User avatar
J2Kbr
General of the Army
General of the Army
 
Posts: 20323
Joined: Tue Mar 18, 2014 1:39 pm

Re: Fortnite - Scroll wheel reset on console

Postby Muzak10 » Mon Dec 30, 2019 10:02 am

Thanks, I have got into routine of scrolling down and almost instantly pressing m2 button so it's probably not interrupting muscle memory for a minimal gain at this stage.
User avatar
Muzak10
Sergeant Major
Sergeant Major
 
Posts: 94
Joined: Tue Oct 30, 2018 10:49 am


Return to GPC2 Script Programming

Who is online

Users browsing this forum: No registered users and 63 guests

cron