Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
ValuableInvulnHighlighter
Highlights nearby indestructible (invuln) valuables in pure red and optional red emission glow.無敵時間中の貴重品を赤発光させるMOD
By REPO_JP
| Last updated | 3 months ago |
| Total downloads | 683 |
| Total rating | 8 |
| Categories | Mods Tools Client-side |
| Dependency string | REPO_JP-ValuableInvulnHighlighter-1.0.0 |
| Dependants | 0 other packages depend on this package |
This mod requires the following mods to function
BepInEx-BepInExPack
BepInEx pack for Mono Unity games. Preconfigured and ready to use.
Preferred version: 5.4.2100README
ValuableInvulnHighlighter
Highlights nearby indestructible (invuln) valuables in pure red, with optional red emission glow.
Features
- Detects valuables within a configurable radius around the local player
- While the valuable is indestructible (invuln), forces its render color to pure red
- Optional red emission glow (shader must support
_EmissionColor) - Visual-only behavior (no gameplay changes)
How it works
- Scans colliders around the local player at a configurable interval
- Finds
PhysGrabObjectImpactDetectorin parents - Targets objects flagged as
isValuable - Applies highlight only while
isIndestructibleis true - Uses
MaterialPropertyBlockto avoid modifying shared materials - If glow is enabled, instantiates renderer materials once to enable emission keyword safely, then restores on unhighlight
Configuration
Config file location:
BepInEx/config/REPOJP.ValuableInvulnHighlighter.cfg
Options:
General.EnableMod- Enable or disable the mod
General.Radius- Scan radius around the local player (default 15)
General.ScanIntervalSeconds- Scan interval in seconds (default 0.10)
Glow.EnableGlow- Enable emission glow (default true)
Glow.GlowIntensity- Emission intensity multiplier (default 0.35)
Installation
- Install BepInEx 5.4.x for R.E.P.O.
- Place
ValuableInvulnHighlighter.dllinto:BepInEx/plugins/
- Launch the game once to generate the config file
- Edit config as needed
Notes
- This is a client-side visual mod
- Emission glow requires the material shader to support
_EmissionColor - When glow is enabled, the mod may create instanced materials for affected renderers to ensure emission is visible, and will restore them when no longer highlighted
ValuableInvulnHighlighter
近距離の無敵時間中の貴重品を赤色表示させる
機能
- ローカルプレイヤー周囲の指定半径内の貴重品を検知
- 貴重品が無敵状態(破壊不能)の間だけ見た目を純赤に変更
- 任意で赤い発光を付与(シェーダーが
_EmissionColorに対応している必要あり) - 見た目のみの変更(ゲームプレイには影響しない)
動作概要
- 指定間隔でローカルプレイヤー周囲のコライダーを走査
- 親方向に
PhysGrabObjectImpactDetectorを探索 isValuableが true のものだけ対象化isIndestructibleが true の間だけハイライト適用- sharedMaterial を変更せず
MaterialPropertyBlockで色を上書き - 発光有効時は emission を確実に見せるためにレンダラーのマテリアルを一度だけインスタンス化し、解除時に復元
設定
Configファイル出力先:
BepInEx/config/REPOJP.ValuableInvulnHighlighter.cfg
設定項目:
General.EnableMod- MODの有効/無効
General.Radius- 走査半径(既定15)
General.ScanIntervalSeconds- 走査間隔秒(既定0.10)
Glow.EnableGlow- 発光の有効/無効(既定true)
Glow.GlowIntensity- 発光強度倍率(既定0.35)
導入方法
- R.E.P.O.向け BepInEx 5.4.x を導入
ValuableInvulnHighlighter.dllを以下へ配置BepInEx/plugins/
- ゲーム起動でConfig生成
- 必要に応じてConfigを編集
注意
- クライアント側の見た目変更MOD
- 発光は
_EmissionColor対応シェーダーが前提 - 発光有効時は対象レンダラーの emission を確実に反映するためにマテリアルをインスタンス化する場合があり、解除時に復元します