R2API Skins
R2API Submodule for adding custom Skins and Skin-related utilities to the game
模組介紹 作者原文
R2API.Skins - Adding new Skins, Skin-Specific IDRS and VFX and Skill-Specific parts
About
R2API.Skins is a submodule for R2API that takes the Skin related methods and utilities from `R2API.Loadout` and implements them in this new submodule
Alongside the old skin creation methods from R2API.Loadout, R2API.Skins also contains utilities for improving the skin experience, such as having Skin-Specific ItemDisplayRuleSets, custom VFX for skins, providing a system for overriding Light colors and having Skill-Specific parts
Changelog
1.4.7
- Fix IDRS issues when adding skin-specific overrides under certain conditions.
- Fix IDRS issues related to async skin application by refreshing item displays when a skin with a custom IDRS is applied.
1.4.6
- Fix IDRS issues related to async skin application by refreshing item displays when a skin with a custom IDRS is applied.
1.4.5
- Fix custom IDRS not working since memop update.
1.4.4
- Async SetLobbySkinToBodySkin to reduce load time.
- Add SkinCustomGameobjectComponent component.
1.4.3
- Add missing nullchecks for SkinSkillVariants.
- Add lowPriority boolean field to SkinSkillVariantsDef.
1.4.2
- Update for DLC 3 release 3.
1.4.1
- Update for DLC 3 release 2.
1.4.0
- Update for DLC 3 release.
1.3.1
- Fix missing Patcher / Interop dlls
1.3.0
- Added SkinSkillVariants feature for adding skill-specific skin parts replacements.
1.2.2
- Removed the SkinLightReplacement system, as it was not used by a single mod in the entire, alongside the fact that the Memory Optimization patch made its concept obsolete.
1.2.1
- Moved to SkinDefParams creation
- SkinDefInfo is now obsolete. Use SkinDefParamsInfo instead.
- Added precautions to automatically add and populate the ModelSkinsController on displayPrefabs, when necessary. This should be done by the devs.
- Added validity checks for name and nameTokens
1.2.0
- Added the ability to replace the color LightInfos for a skin
1.1.2
- Initial fixes for SOTS DLC2 Release.
1.1.1
- Added the ability to override DisplayGroupRule per item for a skin. Which allows to add skin-specific item display without requiring to create IDRS with all items. See SkinIDRS.AddGroupOverride().
1.1.0
- Added the SkinVFX class for adding skin-specific effect replacements.
1.0.0
- Initial Release
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: