RandomCosmetic

版本 v4.0.0·更新於 2026-05-11

【Client MOD】Randomizes your equipped cosmetics on level changes using unlocked cosmetics only.レベル変更時に所持済みコスメだけで衣裝をランダム化します。

模組介紹 作者原文

COMPATIBLE WITH COSMETICS UPDATE V0.4.0.

RandomCosmetic

This mod is a client-only mod that randomizes your equipped cosmetics when the level changes.

Only cosmetics already unlocked by your save data are used by default.

It does not unlock cosmetics, grant cosmetic tokens, or overwrite saved presets unless you explicitly enable the optional save settings.

Features

  • Randomizes your cosmetic loadout on level changes.
  • Uses unlocked cosmetics only by default.
  • Supports separate randomization settings for normal levels, shop levels, and arena levels.
  • Supports category toggles for head, face, body, back-like, and other cosmetics.
  • Can include empty equipment slots in random results.
  • Protects saved presets by default.
  • Applies the randomized loadout after the level and local player cosmetics are ready.
  • Shows debug logs when enabled.

Mod Type

Client-only.

Each installed client randomizes only their own cosmetic loadout.

The visible result depends on the vanilla cosmetic sync behavior.

The host does not need to install this mod.

Important Notes

  • This is not an unlocker mod.
  • This is not a cosmetic-token mod.
  • This does not give access to locked cosmetics by default.
  • Saved presets are not overwritten by default.
  • Randomized loadouts are applied after the game becomes ready to avoid touching cosmetics too early.

Configuration

General

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| Enable | Enables this mod. | true | false | true |

| ShowDebugLog | Shows debug logs in the console. | false | false | true |

Randomize

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| RandomizeOnChangeLevel | Randomizes cosmetics on level changes. | true | false | true |

| RandomizeOnNormalLevelEnter | Randomizes cosmetics when entering normal levels. | true | false | true |

| RandomizeOnShopEnter | Randomizes cosmetics when entering shop levels. | false | false | true |

| RandomizeOnArenaEnter | Randomizes cosmetics when entering arena levels. | true | false | true |

| UseUnlockedOnly | Uses unlocked cosmetics only. | true | false | true |

| AllowEmptySlot | Allows empty equipment slots in random results. | true | false | true |

| EmptySlotWeight | Weight for empty equipment slots. | 1 | 0 | 100 |

Category

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| RandomizeHead | Randomizes head cosmetics. | true | false | true |

| RandomizeFace | Randomizes face cosmetics. | true | false | true |

| RandomizeBody | Randomizes body, arm, leg, foot, and grabber cosmetics. | true | false | true |

| RandomizeBack | Randomizes back-like cosmetics detected by cosmetic names. | true | false | true |

| RandomizeOther | Randomizes other cosmetics. | true | false | true |

Preset

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| DoNotOverwriteSavedPreset | Prevents saved preset overwrite while a random loadout is active. | true | false | true |

| SaveRandomizedLoadout | Saves randomized loadouts to the normal equipped cosmetic save. | false | false | true |

| SaveRandomizedLoadoutAsPreset | Saves randomized loadouts to a preset when allowed. | false | false | true |

| PresetSlot | Preset slot index used when saving randomized loadouts. | 0 | 0 | 27 |

Timing

| Setting | Description | Default | Min | Max |

|---|---|---:|---:|---:|

| ApplyDelaySeconds | Delay before applying a random loadout after the game becomes ready. | 0.25 | 0 | 10 |

| RetryIntervalSeconds | Retry interval while waiting for the local player and cosmetics. | 0.25 | 0.05 | 5 |

| MaxRetrySeconds | Maximum retry time for applying a random loadout. | 10 | 1 | 60 |

For Developers

The mod avoids direct compile-time references to cosmetic-only classes where possible and uses reflection-based access for compatibility with common BepInEx build environments.

Randomization is scheduled after level transition detection and applied after level generation and local player cosmetic readiness.

Th

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

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

BepInEx-BepInExPack

檔案與校驗

檔案名稱
RandomCosmetic-4.0.0.zip
檔案大小
103.0 KiB