More Colors
A library mod for YapYap: adds extra costume colors and a no-code system for loading custom textures or AssetBundle materials via a simple text file.
截圖 共 1 張
模組介紹 作者原文
More Colors v1.3.0
Changelog - 1.3.0
- Fixed MoreColors to work with the latest game update!
Overview
More Colors is a lightweight extension library for YapYap that adds support for custom costume colors, skins, and materials. It provides a clean no-code system that allows other mods to register their own textures or AssetBundle materials using a simple text file. This mod is intended to be used as a base dependency for color and costume packs.
What it provides
- Runtime registration of additional costume colors
- External texture loading from other mods
- Support for custom AssetBundle materials and shaders
- No scripting required to add new skins
- Simple text-based configuration format
- Built-in localization support via YapLocalizer
Dependencies
- YapLocalizer (com.github.darmuh.yaplocalizer)
- BepInEx (BepInEx-BepInExPack-5.4.2304)
Who needs this
All players need this mod if everyone wants to see the custom colors and costumes.
Adding your own costumes
Any mod can define new colors by supplying a PNG texture or an AssetBundle containing a Material.
- Prepare your asset
- Texture route: Save your costume texture as a PNG file (example: myskin.png)
- Material route: Build an AssetBundle in Unity that contains your custom Material.
- Place the file
Put the PNG or AssetBundle file inside your own mod plugin folder.
- Create the config
Create a text file named konami_code.txt in the same folder as your assets.
Configuration format
The config file uses Key: Value lines and is read top to bottom.
Blank lines separate entries.
Supported keys
- Author: Sets the creator name and applies to all entries below it until changed.
- Name: Display name of the costume or color.
- FileName: Exact PNG file name including the.png extension (used for texture swaps).
- AssetBundle: The name of the AssetBundle file containing your material.
- Material: The exact name of the Material inside the AssetBundle to apply.
- Language-Local: Optional localized display names. Any key containing -Local is treated as localization and routed through YapLocalizer (examples: English-Local, French-Local).
Examples
Example with Textures
Author: Omniscye
Name: Lava
English-Local: Lava
French-Local: Lave
FileName: omnilava.png
Example with AssetBundles (Custom Shaders)
Author: Omniscye
Name: Tron Red
English-Local: Tron Red
AssetBundle: empressshaders
Material: tronred
Preparing a color pack for upload
If you are distributing a color or costume pack that depends on More Colors, include the following and list More Colors as a dependency:
- konami_code.txt
- All referenced PNG textures and/or AssetBundles
- manifest.json
- README.md
- icon.png
Credits
- Made by Omniscye / Empress
- Thanks to darmuh for the localization changes and keeping the system clean and easy to use
- If you need support for my mods or just want to hang out join my new personal server on Discord:
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: