Manual DLC

Inventory System

To add an item to the inventory system is a pretty straightforwards process, however, it can be easy to mess it up and cause an error so read carefully.

First open up the DLC folder either by pressing the button inside the rig UI Open DLC Folder or going to C:\Users\USERNAME\AppData\Roaming\Blender Foundation\Blender\VERSION\scripts\addons\IceCube\ice_cube_data\internal_files\user_packs\inventory (This filepath is for windows, it will be different for other operating systems! Also replace USERNAME and VERSION with the appropriate username and version number)

Once you're inside the inventory folder you will have another option, you can either create the file structure manually, or download a template here or from the rig UI.

File Structure
|_name_of_folder
    |_assets
    |_thumbnails
    |_settings.json

settings.json template.

{
    "pack_name": "Template Asset Pack",
    "author": "DarthLilo",
    "version": "1.0.0",
    "default": "template_asset"
}

Now that you've got the file structure built, we're going to put our asset(s) in there. The first step is to create a thumbnail of our asset, you can do this however you want, though, in the IceCube/ice_cube_data/internal_files folder there is a camera_asset.blend which contains a camera in a decent position for thumbnails.

Once you've made your thumbnail save it in the thumbnails folder, and name it the name of your asset.

Next create a folder in the assets folder with the same name as your thumbnail and inside of that folder create a textures folder and an info.json file with the code below.

info.json
{
    "asset_name": "Template Asset",
    "author": "DarthLilo",
    "asset_version": "1.0.0"
}

After you make the .json and textures folder, create a .blend with the same name as your thumbnail which contains your asset. Make sure the asset is in a collection with the same name as the thumbnail.

The final step is to go into the settings.json and info.json and change the parameters to your own custom ones, most can be changed to whatever you want but default: under the settings json needs to be a valid asset.

Preset System

Follow the same steps as above for the preset system with the exception of a few files.

info.json

Replace the info.json file with this.

{
    "rig_name": "Template Rig",
    "base_rig": "Blender",
    "base_rig_vers": "3.1.2",
    "author": "DarthLilo",
    "rig_version": "v1",
    "has_baked": "True"
}

Make sure you also rename the assets folder to rigs or else it wont register properly. You'll also want to add _NORMAL to the end of your normal presets and _BAKED to the baked versions. Both of them will be in the same folder.

(NOTE: The collection inside the blend file does not need to be named yourrighere_NORMAL or yourrighere_BAKED, just yourrighere.

|_name_of_folder
    |_rigs
    |   |_yourrighere
    |   |   |_yourrighere_NORMAL.blend
    |   |   |_yourrighere_BAKED.blend
    |   |   |_info.json
    |_thumbnails
    |   |_yourrighere.png
    |_settings.json

Last updated