REPO_JP-AllMapValuables icon

AllMapValuables

【Host Only MOD】Spawns valuables from all normal maps on any normal map.どのマップでも全マップの貴重品を生成します

By REPO_JP
Last updated a month ago
Total downloads 8836
Total rating 8 
Categories Mods Valuables Server-side AI Generated
Dependency string REPO_JP-AllMapValuables-4.0.0
Dependants 1 other package depends on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

COMPATIBLE WITH COSMETICS UPDATE V0.4.0.

AllMapValuables

This mod is a host-only mod that allows valuables from all normal maps to appear on any normal map.

The host controls the valuable generation pool. Players who join the host do not need to install this mod for the valuable spawn result itself.

Features

  • Mixes valuable presets from all normal gameplay maps.
  • Keeps the original valuable volume categories such as Tiny, Small, Medium, Big, Wide, Tall, and VeryTall.
  • Excludes shops, arenas, menus, lobbies, tutorials, and other non-gameplay levels.
  • Supports per-level spawn weights for the valuable source pool.
  • Can exclude the current map from the extra mixed pool.
  • Falls back to vanilla valuable generation when an error occurs, if enabled.
  • Uses reflection for version-sensitive shop, arena, and cosmetic world object checks.

Behavior

The mod patches ValuableDirector.SetupHost on the host side. When a normal level starts, it builds a mixed valuable pool from every valid normal map that has ValuablePresets. Each valuable size category is still spawned into the matching vanilla ValuableVolume type.

This means the mod changes which valuables can be selected, but it does not turn shops or arenas into valuable-spawning levels.

Host-only notes

Only the host or single-player instance runs the custom valuable generation. Participants receive the generated objects through the normal networked game flow.

If the host disables the mod or custom generation fails and fallback is enabled, the vanilla valuable generation path is used.

Config

Section Setting Description Default Minimum Maximum
A General EnableMod Enables or disables this mod. true false true
A General EnableVerboseLog Enables detailed debug logging. false false true
A General FallbackToVanillaOnError Falls back to vanilla valuable generation when an error occurs. true false true
A General ExcludeCurrentMapFromExtraPool Excludes the current map from the mixed valuable source pool. false false true
B Level Valuable Weights Level name generated at runtime Controls the spawn weight for valuables from that level. These entries are created dynamically for valid normal levels. 1 1 10

Installation

  1. Install BepInEx for R.E.P.O.
  2. Place the compiled AllMapValuables.dll in the BepInEx/plugins folder.
  3. Launch the game once to generate the config file.
  4. Edit the config values if needed.

Compatibility

This version is intended for R.E.P.O. v0.4.0. The mod avoids direct references to version-sensitive members such as shop and arena helper methods so that the build is less likely to break when minor game DLL differences exist.

※Mod created by AI

COSMETICS UPDATE V0.4.0対応済み.

REPOが好きな日本人のための日本人のみのREPOのDiscordサーバーあります! 参加は以下のリンクから! https://discord.gg/h5ATY4m5bZ

AllMapValuables

このMODは、ホスト専用の、どの通常マップでも全通常マップの貴重品を生成できるようにするMODです。

貴重品生成プールはホスト側で制御されます。 生成結果そのものを反映するだけであれば、参加者側にこのMODを導入する必要はありません。

機能

  • 全通常プレイマップの貴重品プリセットを混合
  • Tiny、Small、Medium、Big、Wide、Tall、VeryTall などのバニラ貴重品サイズカテゴリを維持
  • ショップ、アリーナ、メニュー、ロビー、チュートリアル、その他の非ゲームプレイレベルを除外
  • 貴重品の由来マップごとに生成重みを設定可能
  • 現在マップ由来の貴重品を追加混合プールから除外可能
  • エラー発生時、設定に応じてバニラ貴重品生成へ復帰可能
  • ショップ、アリーナ、コスメ箱関連のバージョン差分にReflectionで対応

動作仕様

このMODは、ホスト側の ValuableDirector.SetupHost にPatchを適用します。 通常レベル開始時、有効な通常マップの ValuablePresets から混合貴重品プールを作成します。 各貴重品サイズカテゴリは、バニラと同じ種類の ValuableVolume に生成されます。

つまり、生成候補になる貴重品の種類を変更しますが、ショップやアリーナを貴重品生成レベルに変えるものではありません。

ホスト専用に関する注意

カスタム貴重品生成は、ホストまたはシングルプレイ環境のみで実行されます。 参加者には、通常のネットワーク同期を通じて生成されたオブジェクトが反映されます。

ホストがMODを無効化している場合、またはカスタム生成に失敗してフォールバックが有効な場合は、バニラの貴重品生成処理が使用されます。

設定項目

セクション 設定値名 設定内容 初期値 最小値 最大値
A General EnableMod MODの有効無効 true false true
A General EnableVerboseLog 詳細デバッグログの有効無効 false false true
A General FallbackToVanillaOnError エラー発生時にバニラ貴重品生成へ復帰するか true false true
A General ExcludeCurrentMapFromExtraPool 現在マップ由来の貴重品を混合候補から除外するか false false true
B Level Valuable Weights 実行時に生成されるLevel名 そのマップ由来の貴重品生成重み。有効な通常レベルに対して動的生成 1 1 10

導入方法

  1. R.E.P.O.用のBepInExを導入
  2. コンパイルした AllMapValuables.dllBepInEx/plugins フォルダへ配置
  3. 一度ゲームを起動してConfigファイルを生成
  4. 必要に応じてConfig値を変更

互換性

このバージョンは R.E.P.O. v0.4.0 向けです。 ショップやアリーナ判定など、ゲームDLL差分で壊れやすいメンバーは直接参照せず、Reflectionで確認する構成にしています。

※AI生成MOD