Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Locked thread
tarehart
May 9, 2002
If you like Rocket League and programming competitions, this is for you.

code:
    public ControlsOutput processInput(DataPacket input) {

        Vector2 ballPosition = input.ball.position.flatten();
        CarData myCar = input.car;
        Vector2 carPosition = myCar.position.flatten();
        Vector2 carDirection = myCar.orientation.noseVector.flatten();
        Vector2 carToBall = ballPosition.minus(carPosition);

        double steerCorrectionRadians = carDirection.correctionAngle(carToBall);
        float steer;
        if (steerCorrectionRadians > 0) {
            steer = -1;
        } else {
            steer = 1;
        }

        return new ControlsOutput()
                .withSteer(steer)
                .withThrottle(1);
    }
You can get set up and start iterating on that code in about 5 minutes. There are 10+ people making bots already, and tournaments get 100+ viewers. Fame awaits. You can probably use your favorite language. https://github.com/RLBot/RLBot

Quick start video:
https://www.youtube.com/watch?v=Xn8amOA0cMA

My other venture:
https://www.youtube.com/watch?v=nzEtdDQrhyY

Don't try to use machine learning. Don't join the discord.

Adbot
ADBOT LOVES YOU

tarehart
May 9, 2002
I should have posted this in project.log and I'm sorry

putin is a cunt
Apr 5, 2007

BOY DO I SURE ENJOY TRASH. THERE'S NOTHING MORE I LOVE THAN TO SIT DOWN IN FRONT OF THE BIG SCREEN AND EAT A BIIIIG STEAMY BOWL OF SHIT. WARNER BROS CAN COME OVER TO MY HOUSE AND ASSFUCK MY MOM WHILE I WATCH AND I WOULD CERTIFY IT FRESH, NO QUESTION
I for one don't mind this thread being here and think this sounds cool as gently caress. Wish I had the time to personally contribute, but I hope others do 'cause I wanna watch some of the pro-tier developers in this forum duke it out with bots.

AgentCow007
May 20, 2004
TITLE TEXT
Do you have a date for the next tournament? I surfed the Discord and didn't see anything. Looking for a good project for summer break, Python and ML sounds like a blast

Thots and Prayers
Jul 13, 2006

A is the for the atrocious abominated acts that YOu committed. A is also for ass-i-nine, eight, seven, and six.

B, b, b - b is for your belligerent, bitchy, bottomless state of affairs, but why?

C is for the cantankerous condition of our character, you have no cut-out.
Grimey Drawer
Cool, I love the idea.

Veni Vidi Ameche!
Nov 2, 2017

by Fluffdaddy
I have never played Rocket League, but I like this idea. I'm glad you posted it in here, because I go into project.log about once per year to check up on BeagleSNES.

Adbot
ADBOT LOVES YOU

Careful Drums
Oct 30, 2007

by FactsAreUseless
Looks cool. What are the chances someone got this working in C#/.NET?

  • Locked thread