MonsterCompass
Screen-edge direction hints intensify as active monsters approach. Configurable color, range and opacity. Client-side, F7 toggle.
模組介紹 作者原文
Monster Compass / 怪物方向提示
Monster Compass 在屏幕邊緣顯示怪物方向。怪物越靠近玩家,箭頭越亮、脈衝越快;怪物保持激活時提示持續存在,怪物停用或場景切換時移除。提示不顯示怪物名字、血量或透視輪廓。
使用
- 上邊緣代表前方,下邊緣代表背後,左右邊緣代表左右方向。
- 提示隨玩家轉身和怪物移動更新,使用水平羅盤方向,不表示樓層或高度。
- 多個怪物可以同時顯示;相近方向的標記可能重疊。
- 按 F7 開關提示,並在屏幕頂部短暫顯示 ON/OFF 狀態。F7 是唯一的快捷鍵。
- 重新開啓後,模組會在約 0.25 秒內識別場上已經激活的怪物,包括關閉期間生成的怪物。
- 菜單、輸入被禁用和觀戰時隱藏提示;怪物消失或切換場景時清除。
安裝
通過 r2modman Mod Manager 安裝,並確保安裝依賴 BepInExPack 5.4.2305。
手動安裝時,將 ZIP 內的 BepInEx/plugins/MonsterCompass/MonsterCompass.dll 按原目錄解壓到遊戲目錄。不要把源碼 ZIP 當作模組導入。
配置
首次啓動後生成 BepInEx/config/RepoModDev.MonsterCompass.cfg。可以使用管理器配置編輯器,或退出遊戲後編輯文件。
| 配置項 | 默認值 | 用途 |
| --- | --- | --- |
| General.Enabled | true | 初始總開關 |
| General.ToggleKey | F7 | 唯一快捷鍵 |
| General.ContinuousTracking | true | 舊配置兼容項;當前版本始終追蹤激活中的怪物 |
| Hints.Duration | 8 | 舊配置兼容項;當前版本不按時間移除提示 |
| Hints.Opacity | 0.45 | 最大透明度,0.05–1 |
| Hints.Size | 38 | 1080p 下的標記大小,16–100 |
| Hints.EdgeMargin | 24 | 1080p 下距邊緣的間隔,8–150 |
| Hints.MaxDistance | 0 | 最大三維距離(米);0 表示不限 |
| Hints.NearDistance | 5 | 達到最高強度的距離(米) |
| Hints.FarDistance | 35 | 最低強度的距離(米) |
| Hints.Color | FF7B3BFF | RGBA 十六進制顏色 |
距離強度從 FarDistance 到 NearDistance 線性增加。MaxDistance 設置爲非零時,超過該距離的怪物不顯示提示。舊版本已經生成的 ContinuousTracking 和 Duration 配置會保留,不影響當前持續追蹤行爲。
聯機與兼容性
提示只在安裝者本機繪製,不發送自定義 RPC,也不修改怪物行爲或存檔。主機和客戶端均監聽本機的 EnemyParent.SpawnRPC(),並每 0.25 秒覈對 EnemyDirector.enemiesSpawned 中已經激活的怪物,因此可以恢復遺漏的生成事件。其他玩家不必安裝。
自定義怪物需要使用遊戲的 EnemyParent 生命週期或加入原版怪物列表。完全繞過這兩個流程的自定義生成器可能不支持。
本包針對 Steam R.E.P.O. v0.4.4.3 / build 23363152 編譯。已完成編譯、方向和強度自動檢查、ZIP 結構檢查,以及使用遊戲實際 RPC 和方向繪製鏈路的運行時檢查。
English
Monster Compass places a subtle arrow on the screen edge for each active monster. The cue becomes brighter and pulses faster as the monster approaches. It follows the horizontal bearing as you turn, stays visible while the monster is active, and disappears when the monster is deactivated or the scene changes.
Press F7 to toggle hints. F7 is the only hotkey. Re-enabling scans the game's active enemy registry within about 0.25 seconds, including monsters that spawned while hints were disabled. Menus, disabled input and spectating hide the cues.
NearDistance, FarDistance, MaxDistance, Opacity, Size, EdgeMargin and Color are active settings. ContinuousTracking and Duration are retained for compatibility with older config files; active monsters are now always tracked until they deactivate.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: