Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: tidy-up to match the Naut page

If a new Awesomenauts patch comes out to change what maps are available or release a brand new one, you will need to update the data stored in the Planet enum and include possibly add some assets for that 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 is the class ) that contains all of the statistics and data about each 'nautof 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

Create Construct a brand new enum Planet, placed at the bottom of the list , likely based on an existing one and then change all of 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 this the new map. Take special care for 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 is are a large amount of few places where new assets need to be added. These need to be named as the shortName from above with a suffix and placed inside this folder.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 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