REPO_JP-ValuableInvulnHighlighter icon

ValuableInvulnHighlighter

Highlights nearby indestructible (invuln) valuables in pure red and optional red emission glow.無敵時間中の貴重品を赤発光させるMOD

By REPO_JP
Last updated 2 days ago
Total downloads 104
Total rating 1 
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-5.4.2100 icon
BepInEx-BepInExPack

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

Preferred version: 5.4.2100

README

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 PhysGrabObjectImpactDetector in parents
  • Targets objects flagged as isValuable
  • Applies highlight only while isIndestructible is true
  • Uses MaterialPropertyBlock to 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

  1. Install BepInEx 5.4.x for R.E.P.O.
  2. Place ValuableInvulnHighlighter.dll into:
    • BepInEx/plugins/
  3. Launch the game once to generate the config file
  4. 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)

導入方法

  1. R.E.P.O.向け BepInEx 5.4.x を導入
  2. ValuableInvulnHighlighter.dll を以下へ配置
    • BepInEx/plugins/
  3. ゲーム起動でConfig生成
  4. 必要に応じてConfigを編集

注意

  • クライアント側の見た目変更MOD
  • 発光は _EmissionColor 対応シェーダーが前提
  • 発光有効時は対象レンダラーの emission を確実に反映するためにマテリアルをインスタンス化する場合があり、解除時に復元します