PEAK
You are viewing a potentially older version of this package. View Latest Version
Install

Details

Date Uploaded
yesterday
Downloads
535
Size
69KB
Dependency string
youxia173-BetterPingDistance-1.2.0

BetterPingDistance / 更好的标记显示距离

Reliable on-screen distance (and optional short name) for player pings in PEAK.
在 PEAK 里为标记稳定显示距离(可选玩家名缩写)。

Maintainer / 维护发布: youxia173
Chinese alias / 中文名: 更好的标记显示距离
Version / 版本: 1.2.0
Client side only / 仅客机


Credits / 致谢

This release is a maintained fork based on LucydDemon's BetterPingDistance.

本发布为基于 LucydDemon 原作的维护分支。

Please support the original author if you like the idea.
喜欢这个创意请也支持原作者。

Also builds on the idea of PingDistance by boxofbiscuits97.
思路亦参考 boxofbiscuits97 的 PingDistance。


What this fork improves / 本分支优化了什么

English

  • Reliable teammate pings: distance UI is created in a Harmony Postfix after the ping exists (Prefix exceptions used to skip distance UI while the vanilla ping still appeared)
  • GhostPing compatible: works when GhostPing still spawns a ping without line-of-sight
  • Safer UI init: canvas/font creation with try/catch and delayed init if GUIManager is not ready
  • Stable multiplayer keys: tracks markers by PhotonView id instead of fragile Character refs
  • Skin color fixes: restores readable distance color for vanilla skins; falls back to white for broken mod-skin colors
  • Optional short name: ShowPlayerNameShort — Chinese first character / Latin letter / first char
  • Distance scaling: text scales down at long range so it covers less of the view
  • Bilingual config comments (ZH / EN)

中文

  • 队友标记更稳: 在标记生成后的 Harmony Postfix 再创建距离 UI(原先 Prefix 抛错时会被吞掉,导致只见标记不见距离)
  • 兼容 GhostPing: 无视线时 GhostPing 仍生成标记的情况下也能出距离
  • 更安全的 UI 初始化: 画布/字体创建带异常保护,GUIManager 未就绪时可延后初始化
  • 联机更稳: 用 PhotonView ID 做字典键,避免 Character 引用异常
  • 皮肤颜色修复: 原版皮肤恢复可读颜色;模组皮肤颜色异常时回退白色
  • 可选名字缩写: ShowPlayerNameShort — 中文首字 / 拉丁字母 / 首字符
  • 远距离缩放: 距离越远字越小,少挡视野
  • 配置项中英双语注释

Install / 安装

  1. Install BepInExPack PEAK
  2. Install this mod (manager) or put youxia173.BetterPingDistance.dll in BepInEx/plugins/

Do not run together with the original LucydDemon BetterPingDistance (same feature, different GUID).
请勿与原版 LucydDemon BetterPingDistance 同时安装

Suggested categories: Client Side · Quality Of Life · Mods


Config / 配置

Path / 路径: BepInEx/config/youxia173.BetterPingDistance.cfg
Launch once to generate / 装好后先启动一次游戏生成配置。

Key Default English 中文
DisplayDuration 3 Seconds the distance text stays (0.1–30) 距离文字停留秒数(0.1–30)
ShowPlayerNameShort false Append short player name after distance 在距离后显示玩家名缩写

Edit the file, save, restart the game.
改完保存后重启游戏生效。


Changelog / 更新日志

See CHANGELOG.md.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.