Robo Home | Changes | Preferences | AllPages

ModdedBot version 1.1 released!

So, you'd like to make a mod for Robocode? You have a great idea for a mod, and are wondering how DeathMatch, FreezeMod, and CoopRobot do it? You've come to the right place.

ModdedBot is a template for creating a Robocode mod. It provides the interface between the real Robocode, and all the robot behaviour changes you would like to make. ModdedBot extends AdvancedRobot; robots playing your mod simply extend ModdedBot instead of AdvancedRobot, and are then using all the modifications you made. It contains the entire framework for mod initialization and control, and for all event handling; you can do anything you want with events, and not require the robot to rename any methods whatsoever. The template also contains sample code on how to modify events, prevent the robot from receiving events, creating fake events, creating custom functionality such as powerups, and restricting access to certain methods.

To create your own mod, download the template, extract the source code, and rename it and save it in whatever package you want your mod to be in. You can then edit the file to your liking to create anything you would like your mod to do; the source code contains all the instructions you need. Then package up your mod and upload it to the repository, and create a nice little wiki page here introducing your mod and showing people how to use it.

Download it here: http://www.robocoderepository.com/BotDetail.jsp?id=1831

You can also visit TipsToMakeAMod for more information.

Robo Home | Changes | Preferences | AllPages
Edit text of this page | View other revisions
Last edited December 6, 2003 2:08 EST by Vuen (diff)