ArenaRaceCosmeticBoxTrap
【Host Only MOD】Replaces arena race course object spawns with explosive cosmetic box traps.アリーナレースのコース上スポーンを接觸爆発するコスメボックストラップに置き換えるMOD
模組介紹 作者原文
ArenaRaceCosmeticBoxTrap
This mod is a host-only mod that replaces arena race course object spawns with rarity-based cosmetic box traps that explode on contact.
Only the host needs to install this mod.
The spawned boxes use existing in-game cosmetic box prefabs, and the host creates them as room objects so other players can see them.
Features
- Replaces arena race course physical object spawns with cosmetic boxes.
- Supports Common, Uncommon, Rare, and Ultra Rare cosmetic boxes.
- Uses configurable rarity weights.
- Uses rarity-based size ranges.
- Supports two size range modes: CompactRarity and Wide.
- Supports custom spawn chances for small and large volume spawn points.
- Adds random horizontal spawn position jitter.
- Adds random yaw rotation.
- Adds optional random tilt rotation.
- Makes spawned cosmetic boxes explode when touched by players or vehicles.
- Registers generated boxes to the arena race track piece cleanup list when possible.
Host-only behavior
This mod runs the replacement and explosion logic on the host.
Clients do not need the mod to see the spawned cosmetic boxes or their destruction effects.
The host replaces the normal arena race course object spawn with a cosmetic box by patching the arena race object spawner.
When a spawned box detects a player or vehicle contact, the host triggers the existing object destruction flow.
Config
| Setting | Description | Default | Min | Max |
|---|---|---:|---:|---:|
| Enabled | Enables or disables this mod.このMODを有効または無効にします | true | - | - |
| OverallSpawnChance | Overall spawn chance before volume-specific checks.ボリューム別判定前の全體生成確率 | 100 | 0 | 100 |
| SmallVolumeSpawnChance | Spawn chance for Tiny, Small, and Medium volume points.Tiny、Small、Mediumの生成確率 | 35 | 0 | 100 |
| LargeVolumeSpawnChance | Spawn chance for Big, Wide, Tall, and VeryTall volume points.Big、Wide、Tall、VeryTallの生成確率 | 100 | 0 | 100 |
| CommonWeight | Common cosmetic box rarity weight.Commonコスメボックスの抽選重み | 50 | 0 | 1000 |
| UncommonWeight | Uncommon cosmetic box rarity weight.Uncommonコスメボックスの抽選重み | 30 | 0 | 1000 |
| RareWeight | Rare cosmetic box rarity weight.Rareコスメボックスの抽選重み | 15 | 0 | 1000 |
| UltraRareWeight | Ultra Rare cosmetic box rarity weight.Ultra Rareコスメボックスの抽選重み | 5 | 0 | 1000 |
| SizeMode | Size range mode used for spawned cosmetic boxes.生成されるコスメボックスのサイズ範囲モード | CompactRarity | - | - |
| CommonMinScale | Common minimum scale in Wide mode.WideモードのCommon最小サイズ | 1.0 | 0.1 | 3.0 |
| CommonMaxScale | Common maximum scale in Wide mode.WideモードのCommon最大サイズ | 2.0 | 0.1 | 3.0 |
| UncommonMinScale | Uncommon minimum scale in Wide mode.WideモードのUncommon最小サイズ | 1.2 | 0.1 | 3.0 |
| UncommonMaxScale | Uncommon maximum scale in Wide mode.WideモードのUncommon最大サイズ | 2.3 | 0.1 | 3.0 |
| RareMinScale | Rare minimum scale in Wide mode.WideモードのRare最小サイズ | 1.5 | 0.1 | 3.0 |
| RareMaxScale | Rare maximum scale in Wide mode.WideモードのRare最大サイズ | 2.6 | 0.1 | 3.0 |
| UltraRareMinScale | Ultra Rare minimum scale in Wide mode.WideモードのUltra Rare最小サイズ | 2.0 | 0.1 | 3.0 |
| UltraRareMaxScale | Ultra Rare maximum scale in Wide mode.WideモードのUltra Rare最大サイズ | 3.0 | 0.1 | 3.0 |
| CommonMinScaleCompact | Common minimum scale in CompactRarity mode.CompactRarityモードのCommon最小サイズ | 1.0 | 0.1 | 3.0 |
| CommonMaxScaleCompact | Common maximum scale in CompactRarity mode.CompactRarityモードのCommon最大サイズ | 1.5 | 0.1 | 3.0 |
| UncommonMinScaleCompact | Uncommon minimum scale in CompactRarity mode.CompactRarityモードのUncommon最小サイズ | 1.3 | 0.1 | 3.0 |
| UncommonMaxScaleCompact | Uncommon maximum scale in CompactRarity mode.CompactRarityモードのUncommon最大サイズ | 2.0 | 0.1 | 3.0 |
| RareMinScaleCompact | Rare minimum scale in CompactRarity mode.CompactRarityモードのRare最小サイズ | 1.7 | 0.1 | 3.0 |
| RareMaxScaleCompact | Rare maximum scale in CompactRarity mode.CompactRarityモードのRare最大サイズ | 2.5 | 0.1 | 3.0 |
| UltraRareMinScaleCompact | Ultra Rare minimum scale in CompactRarity mode.CompactRarityモードのUltra Rare最小サイズ | 2.2 | 0.1 | 3.0 |
| UltraRareMaxScaleCompact | Ul
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: