Skip to content
Tyler edited this page Jul 5, 2018 · 7 revisions

Welcome to the RLBotJavaExample wiki!

Development Environment

IntelliJ is the recommended code editor. See IntelliJ-Setup for instructions on setting up the project.

Tournament Submissions

The gradle target distZip will create a zip file that's good for tournament submissions. If you have IntelliJ set up according to IntelliJ-Setup, you can find distZip in the Gradle tool window in the "distribution" folder, and just double click it. Otherwise you can run .\gradlew.bat distZip from command line.

The zip will have all your compiled java code and any additional dependencies that you specified in build.gradle. You can also specify additional files to put in the zip by modifying build.gradle. When you do that, you will be able to access the file from Java at runtime when running from your tournament zip.

You can find the zip in the build/distributions folder. Extract it somewhere and look in the bin folder for a batch file. It should work identically to run-bot.bat.

It would be smart to test your zip before you submit to the tournament. If you modify your rlbot.cfg to point to the bot config in your extracted zip folder, and run the java part of your bot from the batch file in the extracted zip's bin folder, that should be an adequate test.

Clone this wiki locally