Modding:Items/Armors

From Starbounder - Starbound Wiki
Jump to: navigation, search

Quick Navigation


Directory

\apex
\avian
\floran
\glitch
\human
\hylotl
\novakid
JSON, PNG files for racial armor and clothing.
\backerhats JSON, PNG files for hats awarded to players who pre-ordered Starbound.
\backitems JSON, PNG files for back items.
\biome JSON, PNG files for costumes found in specific biomes.
\contest JSON, PNG files for 2013 Create-a-Hat winning contest entries.
\decorative JSON, PNG files for clothes, costumes, and hats not found elsewhere.
\other JSON, PNG files for armor, clothes, and costumes used by Non-Playable Characters.

Files

  • FRAMES Files : Act as image directories, identifying which section of a PNG file should be used during specific animations.
    • framesList : Used to set up animation frame directories for smaller PNG files, such as Head and Chest.
      Each name/value pair represents an animation frame, with the value being an array of four numbers. The numbers represent the top-left corner and bottom-right corner of the frame, in [X, Y, X, Y] format, measured in pixels (real ones, not money).
    • framesGrid : Used to set up animation frame directories for large PNG files, such as Back and Pants.
      size sets the height and width of all animation frames in [X, Y] format, dimensions sets the number of animation frames and their locations in [X, Y] format, and names sets the name for each animation frame.
    • aliases : Some animation names used by the game do not exist, and so this parameter pairs them with animation names that do exist.

Common Files

JSON Files

  • Common JSON Parameters
    • maleFrames/femaleFrames : Tells the game which PNG files to use, based on the gender of the character.
    • statusEffects :
    • itemTags :
    • learnBlueprintsOnPickup : Picking up this item will automatically teach the player a new recipe, determined here.

PNG Files

Note: Climbing animation frames are not currently used anywhere within the game.

  • head.png : Contains animation frames for a Head item.
  • chest.png, fsleeve, bsleeve : Contains animation frames for a Chest item.
  • pants.png : Contains animation frames for a Pants item.
  • icons.png : Used for displaying items in inventory and tooltip headers. When used for multiple items it is usually sized at 64 width x 16 height, and contains icons for - from left to right - Head, Chest, Legs, and Back items.
  • mask.png : Used by Head items to hide hair, and typically sized at 43 width x 43 height. Think of it as a reverse window - white portions of the image will allow hair to display, and transparent portions will prevent hair from displaying. This file ONLY affects hair; hiding the head can only be accomplished by the main item PNG file.
Mask example 1.png + Mask example 2.png = Mask example 3.png
The mask.png file for Bandit's Hood hides all hair outside of the hood, but still displays hair within the hood.