VisibleArrowTrap

版本 v1.0.0·更新於 2026-09-13

Makes the Citadel arrow trap's warning line actually visible, with a configurable color, brightness, and width.

模組介紹 作者原文

VisibleArrowTrap

A BepInEx mod for PEAK that makes the Citadel arrow trap's warning line actually visible.

Overview

In the Citadel biome, arrow-shooting traps project a "laser pointer" style warning line that fires an arrow when a scout (or an object like a dropped backpack) crosses it. The stock line is a faint, soft-edged line that easily blends into the environment, so it's easy to miss until you're already hit.

VisibleArrowTrap replaces it with a solid, crisp, configurable-colored beam, so you can actually see it coming.

  • Client-side visual change only — no gameplay logic is touched, so it's safe to use in multiplayer even if other players don't have it installed.
  • Choose from several color presets, or restore the game's original look on demand.
  • Adjust brightness and thickness to taste.

Requirements

  • PEAK (Steam)
  • BepInEx 5.4.x (Mono)
  • PEAKLib.ModConfig — optional, but recommended. Adds an in-game settings menu so you don't have to edit the.cfg file by hand.

Installation

  • Install BepInEx for PEAK, if you haven't already.
  • (Recommended) Install PEAKLib.ModConfig for an in-game settings UI.
  • Drop VisibleArrowTrap.dll into BepInEx/plugins/ (a subfolder is fine).
  • Launch the game.

Configuration

Settings are stored in BepInEx/config/VisibleArrowTrap.cfg, and can also be changed in-game from the MOD SETTINGS menu if PEAKLib.ModConfig is installed. Changes apply immediately to any traps already in the level.

| Setting | Default | Range / Options | Description |

|---|---|---|---|

| Color | Red | Original, Red, Orange, Yellow, Green, Blue, Violet | Warning line color preset. |

| Brightness | 1 | 0.2 – 3 | Color intensity multiplier. |

| Width | 0.045 | 0.01 – 0.3 | Line thickness, in world units. |

⚠️ Color = Original behaves differently

Selecting Original restores the trap's warning line to the game's own vanilla appearance — including its own width — and in this mode, Brightness and Width are ignored. This is intentional: the game's own line material doesn't respond to color/brightness the way this mod's custom beam does, so Original always renders exactly as unmodified PEAK does.

For every other Color option, Brightness and Width apply normally.

Compatibility

  • Only patches ArrowShooter.Awake. Doesn't touch any other trap, enemy, or system.
  • Purely cosmetic — arrow-firing logic and networking are untouched.

安裝與使用 安裝:BepInEx 外掛

  1. 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
  2. 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
  3. 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
  4. 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。

帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。

前置依賴

下面這些內容需要先安裝,否則該模組不會生效:

BepInEx-BepInExPack_PEAK

檔案與校驗

檔案名稱
VisibleArrowTrap-1.0.0.zip
檔案大小
174.2 KiB