You are viewing a potentially older version of this package. View all versions.
QWQhhhhhhh-DistanceLabel-0.1.1 icon

DistanceLabel

Shows the distance and value of valuable items

Date uploaded 8 hours ago
Version 0.1.1
Download link QWQhhhhhhh-DistanceLabel-0.1.1.zip
Downloads 24
Dependency string QWQhhhhhhh-DistanceLabel-0.1.1

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

DistanceLabel

Version: 0.1.1 (版本:0.1.1)

DistanceLabel shows the distance and value of nearby valuables, plus the distance and real HP of nearby enemies. (DistanceLabel 在附近贵重物品脚下显示距离和价值,并在附近怪物头顶显示距离和真实血量。)

What it does

(功能说明)

  • While you are in a level, every valuable within the radius shows a label below it.
  • (在关卡内时,半径范围内的每个贵重品都会在脚下显示一个标签。)
  • The distance is shown in white with one decimal, and the value is shown in gold with a $ suffix.
  • (距离用白色显示、保留一位小数;价值用金色显示,结尾带 $。)
  • Example: 10.0m 1000$ means 10.0 meters away and worth 1000 dollars.
  • (例如 10.0m 1000$ 表示距离 10.0 米、价值 1000 美元。)
  • Only valuables (ValuableObject) are labeled; weapons, tools and valueless objects are ignored.
  • (只给贵重品(ValuableObject)打标签;武器、工具和无价值物品不显示。)
  • Enemies show a light-red distance in meters above their head, followed by dark-red real HP current/max (percent).
  • (怪物头顶用淡红色显示距离(米),后面跟深红色真实血量 当前/最大 (百分比)。)
  • Example: 5.0M 180/200 (90%) means 5.0 meters away, 180 of 200 HP left.
  • (例如 5.0M 180/200 (90%) 表示距离 5.0 米、剩余 180/200 血。)
  • This mod is local-only: only you see the labels; nothing is sent to other players.
  • (本模组为纯本地效果:只有你自己看到标签,不会向其他玩家发送任何数据。)

Requirements

(依赖要求)

  • BepInEx 5.4.2100 or newer.
  • (BepInEx 5.4.2100 或更新版本。)

Installation

(安装方法)

  1. Copy DistanceLabel.dll into BepInEx/plugins/DistanceLabel/. (把 DistanceLabel.dll 复制到 BepInEx/plugins/DistanceLabel/ 目录。)
  2. Launch the game; the config file lch.distancelabel.cfg is generated automatically on first launch. (启动游戏,配置文件 lch.distancelabel.cfg 会在首次启动时自动生成。)

Settings

(设置项)

Setting Default Range Description
enable true true / false Show or hide all labels.
(开关) (true) (开 / 关) (显示或隐藏所有标签。)
radius 30 5 - 50 Show labels for valuables and enemies within this radius, in meters.
(半径) (30) (5 - 50 米) (只显示这个半径(米)以内的贵重品和怪物标签。)
showEnemies true true / false Show or hide enemy distance and HP labels.
(怪物标注) (true) (开 / 关) (显示或隐藏怪物距离和血量标签。)

Changelog

(更新日志)

0.1.1

(0.1.1)

Added (新增)

  • Added enemy labels: light-red distance in meters above the head, and dark-red real HP current/max (percent).
  • (新增怪物标注:头顶淡红色距离(米),深红色真实血量 当前/最大 (百分比)。)
  • Added a local HP mirror for non-host players so enemy HP drops in real time when damage is broadcast.
  • (为非房主新增本地血量镜像,伤害广播后怪物血量会实时扣除。)
  • Added the showEnemies config toggle for enemy labels.
  • (新增 showEnemies 配置开关,用于控制怪物标注。)

Fixed (修复)

  • Fixed all labels disappearing after death or respawn caused by picking the wrong camera during the death cutscene.
  • (修复死亡/重生过场中误选错误相机,导致所有标签消失的问题。)
  • Fixed all labels clustering at the bottom-left corner after death.
  • (修复死亡后所有标签堆到左下角的问题。)
  • Fixed a Harmony patch parameter mismatch that broke both valuable and enemy labels.
  • (修复 Harmony 补丁参数不匹配,导致贵重品和怪物标签一起失效的问题。)
  • Removed startup and per-frame log spam; the mod runs silently.
  • (删除启动和刷屏日志,模组运行时保持静默。)

Notes

(注意事项)

  • The labels update automatically; there is no scan key to press.
  • (标签自动刷新,不需要按扫描键。)
  • It works as a non-host player in multiplayer; no host install is required.
  • (多人联机里非房主也能用,不需要房主安装。)
  • It only reads positions, values and HP locally; it never changes the world or other players.
  • (它只在本地读取位置、价值和血量,从不改变世界或其他玩家。)