Sizes
Pedro Costa edited this page May 10, 2023
·
7 revisions
LOABE uses .cfg files formatted in JSON to configure its sizes (lets call them LOABESize
)
Each size should have its own configuration following the file naming of ÌD - AbbreviatedName.cfg
. Even tho the file is named as .cfg its actually JSON formatted, this extension was choosen because well, its a configuration file.
These files must exclusively be placed inside BepInEx/plugins/luxsoabextensions/Sizes
.
{
"ID": 1,
"Diameter": 1.25,
"AbbreviatedName": "SM",
"FullName": "SMALL",
"SortingOrder": 20,
"TagColor": {
"r": 255,
"g": 136,
"b": 42,
"a": 255
}
}
-
ID
- int - unique id, should be positive and not overlap no other ID (including Stock's ID). Look at the existing IDs inplugins/luxsoabextensions/Sizes
-
Diameter
- float - Its not used by the game for now but its a good practice to set this as yourLOABESize
's diameter -
AbbreviatedName
- string - Name that will appear on the tag (XS, SM, MD, LG, XL, etc) -
FullName
- string - Name that will appear when parts are filtered by size on the OAB -
SortingOrder
- int - Indicates where thisLOABESize
should fall in the ordering of the sizes once the OAB is loaded -
TagColor
- Color32 - Color of the Tag and text of theLOABESize
- Check other sizes and choose an ID that has not been used yet.
- Create a .cfg file based on the configuration shown in here.
- Paste that .cfg into
BepInEx/plugins/luxsoabextensions/Sizes
. - Enjoy your new label!