MonAmiral-MoreCustomHats icon

MoreCustomHats

Adds new hats to PEAK!

Last updated 14 hours ago
Total downloads 14721
Total rating 1 
Categories Mods Items All Clients
Dependency string MonAmiral-MoreCustomHats-1.0.4
Dependants 2 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack_PEAK-5.4.2403 icon
BepInEx-BepInExPack_PEAK

BepInEx pack for PEAK. Preconfigured and ready to use.

Preferred version: 5.4.2403
Radsi2-PassporPagination-1.0.0 icon
Radsi2-PassporPagination

A simple passport pagination mod that creates a left & right button under options (if there are pages available)

Preferred version: 1.0.0
Radsi2-CustomHats-1.0.0 icon
Radsi2-CustomHats

Custom hats

Preferred version: 1.0.0

README

About

This mod adds new hats to PEAK!
It is based on Radsi2's CustomHats mod: https://thunderstore.io/c/peak/p/Radsi2/CustomHats/

Contents

Instructions

Download the mod with the Thunderstore app and new hats will automatically be added to your passport.
The Passport pagination mod is required to display all the hats in an organized manner.

If a player does not have the mod, they'll see you bald but you can still play with them.

Mods I recommend using with this one:

Screenshots & videos

Chibidoki, Timmy, cigarette and buzzball picture] More hats] Chibidoki video showcase

How to make your own mod

Feel free to clone the repository from GitHub if you want to make your own mod that adds hats (here: https://github.com/MonAmiral/VTuberHats )
You'll need an IDE like Visual Studio or equivalent to modify the code and compile it, and Unity 6 to compile the assets into AssetBundles.

First, code:

Find the line in Plugin.cs where it says hats.Add(LoadHat("chibidoki")); and duplicate it as many times as you want, changing the name for each hat.
Once you've made these changes compile the project and put its DLL into the mod folder.
I'm not going to go into details about coding, compiling, and preparing your mod. There's plenty of resources out there.

Code tutorial image]

Next, assets:

In Unity, create one prefab and one icon for each hat, and put them directly in the Assets folder (their FBX/textures/etc can be anywhere, but prefab and icon must be at the root).
Associate both prefab and icon with an AssetBundle named "morecustomhats".
Build the asset bundles using a simple button ( straight up copy code from here: https://docs.unity3d.com/540/Documentation/Manual/BuildingAssetBundles.html )
Copy the asset bundle into the mod folder!

Assets tutorial image]

Building the mod:

You can make a zip file with the DLL and the asset bundle and all the files which are needed to make a mod (manifest, icon, etc., check the Thunderstore documentation).

Final tutorial image]

Then you can test the mod by "Loading a Local Mod" in the Thunderstore Mod Manager, and admire the result!