This is an old revision of the document!
Authors: Vawser
In this tutorial, we will be adding a new icon, specifically, icon ID 1099.
The same instructions apply for any icon ID, so substitute 1099 for your actual icon ID when reading the instructions below.
To start with, the new icon needs to be added to the shoebox layout files that are used to define the icon atlases.
To do this, copy the 01_common.sblytbnd.dcx file into your mod structure. It should be placed like so: <mod name>\menu\hi.
Unpack the 01_common.sblytbnd.dcx file with WitchyBND. This will result in a folder called 01_common-sblytbnd-dcx, containing all the layout files.
You can edit the layout files with a text editor (Notepad++ is used during this tutorial).
Within the layout file, the following terms are:
Once the the layout files have been edited, you can repack the file by using WitchyBND with the 01_common-sblytbnd-dcx folder, which will place the edited layout files into a new 01_common.sblytbnd.dcx.
These are the specific actions you should take for this tutorial:
01_common.sblytbnd.dcx file.SB_Icon.layout file.MENU_ItemIcon_01100.png as its name, placing the new line above it.MENU_ItemIcon_01099.png.x attribute to 0.y attribute to 204801_common.sblytbnd.dcx file.
The new icon as defined in the shoebox layout needs to be explicitly added to all relevant GFX files.
You need to edit the following GFX files:
01_000_FE.gfxThese are the specific actions you should take for this tutorial.
Note this only covers the HUD, e.g. 01_000_FE, you'll need to do the same process for all of the GFX files as listed in the general section.