shield-plusHow to add a new Item

This page provides a step-by-step guide on how to add a new item (not a weapon) to the project.

Importing assets

For a simple item you would only need a sprite. Import it nside Assets/The Archer/Sprites/UI/Items folder. Set it's Texture Type to Sprite (2D and UI) in the Inspector.

Creating Weapon Data

  1. Open Assets/The Archer/Scriptables/Armory/Items.

  1. Clone an existing weapon data asset, or create a new one via: Right-click → Create → October → Armory → Item Data

  2. Rename the new asset.

  3. Fill out the data fields according to the Item Data description from the Armory Overview Page. Set Icon to a sprite you've imported at the beginning.

  4. Open Assets/The Archer/Scriptables/Armory, select the Armory Database asset, and add your new weapon data to the Items list.

That’s it! When you launch the game, your new item should now appear in the Armory Page of the Main Menu.

Last updated