EnhancedPing
Distance labels, reliable ghost pings, and spherical path-drawing pings for PEAK.
截圖 共 1 張
模組介紹 作者原文
EnhancedPing
English | 中文
Recommended companion mod / 推薦搭配使用:FreeGhost
English
EnhancedPing expands PEAK's ping system with several practical features, while remaining fully client-side.
Highlights
- Ping distance: Every visible ping shows its distance from your current camera, including while spectating.
- Ghost pings: Dead scouts can ping from the spectator view and optionally keep the center reticle visible.
- Draw ping paths: Hold Ping, move your aim to draw a route, then release to play it for the team.
- No team-wide install required: Other players can see your normal and path pings without installing EnhancedPing.
Installation
Install Mod Manager or r2modman, or place EnhancedPing.dll directly in PEAK's BepInEx/plugins directory. EnhancedPing requires BepInEx 5.
Controls
EnhancedPing uses your current in-game Ping binding, including rebound keyboard, mouse, and controller inputs.
To draw a path, hold Ping while moving your aim across the terrain, then release. A local line previews the route as you draw. Small movements are treated as a normal ping; larger movements play the captured path from start to finish.
While path drawing is enabled, normal pings are sent when Ping is released. Disable Path.Enabled to restore PEAK's normal press-to-ping behavior.
Configuration
The config file is generated at BepInEx/config/com.github.lllei.EnhancedPing.cfg.
| Key | Default | Allowed range |
|---|---:|---:|
| General.Enabled | true | boolean |
| Distance.Enabled | true | boolean |
| Distance.Decimal Places | 0 | 0 to 1 |
| Distance.Font Size | 24 | 10 to 72 |
| Ghost.Enabled | true | boolean |
| Ghost.Show Reticle When Dead | true | boolean |
| Path.Enabled | true | boolean |
| Path.Maximum Ping Points | 10 | 2 to 20 |
| Path.Minimum Capture Angle Degrees | 0.5 | 0.05 to 5 degrees |
| Path.Minimum Path Angle Degrees | 1.5 | 0.1 to 30 degrees |
| Path.Preferred Point Duration Seconds | 0.20 | 0.05 to 1 second |
| Path.Maximum Sequence Duration Seconds | 2.0 | 1 to 10 seconds |
| Path.Show Preview | true | boolean |
Invalid numeric values are clamped or replaced with safe defaults at runtime. Path.Maximum Ping Points includes the start and endpoint.
Compatibility notes
Only the player using EnhancedPing needs to install it. Other players can see your pings and paths, including those sent while spectating.
Ghost pings use the currently observed living scout's color and follow PEAK's normal ping visibility rules. They may replace that scout's existing ping, and their next ping may replace yours. If there is no valid living scout to observe, ghost pings are unavailable.
EnhancedPing replaces the use cases of GhostPing and BetterPingDistance. Disable those mods to avoid overlapping Harmony patches or duplicate distance labels.
Building
Copy PeakGameDir.props.example to the gitignored PeakGameDir.props and set the PEAK directory, or set PEAK_GAME_DIR.
dotnet test tests\EnhancedPing.Core.Tests\EnhancedPing.Core.Tests.csproj -c Release
dotnet build EnhancedPing.sln -c Release
dotnet msbuild src\EnhancedPing\EnhancedPing.csproj -t:Deploy -p:Configuration=Debug
dotnet msbuild src\EnhancedPing\EnhancedPing.csproj -t:PackageThunderstore -p:Configuration=Release
Normal builds never write to the game directory. Deploy is explicit. Packaging writes artifacts/lllei-EnhancedPing-.zip.
For a release, update Version in EnhancedPing.csproj and version_number in manifest.json. MSBuild generates the BepInEx plugin version from Version, and packaging stops if the manifest and compiled DLL versions do not agree.
中文
EnhancedPing 爲 PEAK 的 Ping 系統加入多項實用功能,並且只需本地安裝。
功能亮點
- Ping 距離: 所有可見 Ping 都會顯示相對當前視角的距離,觀戰時同樣有效。
- 幽靈 Ping: 死亡後仍可從觀戰視角 Ping,並可選擇保留屏幕中心準心。
- 繪製 Ping 路徑: 按住 Ping 並移動視角即可繪製路線,鬆開後向隊友依次播放。
- 無需全隊安裝: 其他玩家不安裝 EnhancedPing,也能看到普通 Ping 和路徑 Ping。
安裝
可以通過 Mod Manager 或 r2modman 安裝,也可以將 EnhancedPing.dll 直接放入 PEAK 的 BepInEx/plugins 目錄。EnhancedPing 需要 BepInEx 5。
操作方法
EnhancedPing 使用遊戲中當前綁定的 Ping 操作,重新綁定後的鍵盤
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: