Adding a new Map/Planet

If a new Awesomenauts patch comes out to change what maps are available, you will need to update the data stored in the Planet enum and possibly add some assets for the map as well.

Planet enum

Located in the model package of the main project is the Planet enum (NautDrafter/src/main/java/com/monkygames/nautdrafter/model/Planet.java) that contains all of the statistics and data about each of the Awesomenauts maps.

Editing

Locate the map/planet you want to edit and update the values in the constructor. You may want to check the JavaDoc for the constructor for help on what each variable is.

Adding

Construct a new Planet, placed at the bottom of the list in the Planet enum. It will be easiest to base this on one of the existing definitions, simply changing all the values to be for the new map. Take note of the third argument, shortName, as this is important when adding the assets later.

Assets you need to add

When you add a new map there are a few places where assets need to be added. These need to be named as the shortName from above with a suffix and placed inside the folder NautDrafter/resources/assets/ronimo/images/maps/

  • Regular Image: A screenshot taken in-game of an identifying feature of the map, cropped to be 512x190. Example.
    File name: shortname.png
  • Thumb: A small 48x48 thumbnail image of the planet. Taken from the maps page on the official Gamepedia and cropped/resized to size. Example.
    File name: shortname_thumb.png
  • Map: A 358x136 image of the mini-map seen in-game without any 'nauts on it. This can be created by taking an in-game screenshot at the start of a game and then cropping the image. The background of this should be transparent. Example.
    File name: shortname_map.png