Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

If a new 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 enum and include some assets for that map as well.

Main enum Class

Located NautDrafter/src/main/java/com/monkygames/nautdrafter/model/Planet.java is the class that contains all of the statistics and data about each 'naut.

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 a brand new enum, placed at the bottom of the list, likely based on an existing one and then change all of the values to be for this new map. Take special care for the third argument, shortName, as this is important later.

Assets you need to add

When you add a new character there is a large amount of places where new assets need to be added. These need to be named as the shortName from above or inside a folder with that name.

  • Render: A large a transparent image of 'naut. Can be located on either NautBuilder's website or on the 'naut's page on the official gamepedia at the top.
  • Icon: A smaller 80x80 image of the 'naut. Can be located of the main 'naut listing page on the official gamepedia.
  • Pick Sound: Multiple audio clips that are chosen at random to play when the 'naut is picked. Can be located on the gamepedia page under Information > Quotes > Chosen.
  • Ban Sound: Multiple audio clips that are chosen at random to play when the 'naut is banned. Can be located on the gamepedia page under Information > Quotes > On Death.
  • Emoji: A small 20x20 image of the 'naut used in chat. Can be located from The Spriters Resource, taken from a stationary sprite cropped to be just the head.
  • No labels