SkinExtender

版本 v0.1.1·更新於 2023-08-02

Extends skin support and adds scrolling.

截圖 共 2 張

模組介紹 作者原文

Skin Extender

| | |

|--|--|

Attempts to extend current skins.

Changes (User)

  • Adds scrolling support to character skin selection.
  • Increases max amount of shown skins from 6 to 12.
  • Character skin defaults if selected custom skin is missing
  • Shows where the skin comes from (config)

Changes (Dev)

  • Adds UnityAction onCreateSkins which is called after Globals_CreateGameContent and before auto-adding skins from a dictionary.
  • Adds method CreateSkinData to simplify initialization of creating a ScriptableObject instance of SkinData.
  • Overrides CharPopup.DoSkins to only show specific amounts of skins per 'page'. Also fixes out of range exception.
  • UnityActions Pre_onCharPopupDoSkins and Post_onCharPopupDoSkins are made to substitute regular orig() calls.
  • If you know IL, submit a PR to override it.
  • Adds post-fix to On.HeroSelectionManager.Start to check through all skins, choosing the base skin (or first skin if no base skins) to prevent a Nullref from the game trying to use a null SkinData.

Simple Implementation (Dev)

  • In your mod's Awake, create your SkinData manually or by AtOSkinExtender.Assets.CreateSkinData
  • Subscribe to AtOSkinExtender.Plugin.onCreateSkins to ensure your SkinData gets added and recognized by the mod.
  • Within your subscription, add your SkinData to the packlist via AtOSkinExtender.Assets.AddSkinDataToPack

2.1. Use the name of your mod for the identifier

2.2. The identifier is used to autosort based on client's configuration settings and to show skin mod origin

Written with StackEdit.

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
  3. 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
  4. 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。

不同模組的安裝位置差異較大,包內說明是最可靠的依據。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_AcrossTheObeliskHookGenPatcher-HookGenPatcher

檔案與校驗

檔案名稱
SkinExtender-0.1.1.zip
檔案大小
72.0 KiB