NamePlateResize
Shrink the floating name and guild text above characters, with separate sizes for sims, NPCs and yourself.
模組介紹 作者原文
NamePlate Resize — v1.0.0
Note: Configuration generated on first run with plugin installed.
Description
This mod adds a configurable setting to decrease or increase the size of the nameplates. Sims, NPC and mob names, and your own name each get their own configurable size.
Works alongside my other mods.
Features
- A separate size for sims, for NPCs and mobs, and for your own nameplate.
- A vertical nudge, for when smaller text leaves an awkward gap above the head.
Configuration
All settings are stored in BepInEx/config/com.erenshor.nameplateresize.cfg, in three sections: [Sims], [NPCs] and [Yourself]. Each has the same three settings. Edit the file while the game is closed, as settings are read once at startup.
- NameplateScale — Default: 1, range 0.1–3
The size of the whole floating nameplate. 1 is the size the game draws it, so nothing changes until you lower one of these.
- HeightOffset — Default: 0, range -2–2
Moves the plate up or down, in metres. A smaller plate leaves a wider gap above the head, so something around -0.15 often sits better.
Requirements
- BepInEx 5.4.23.5
Installation
Mod manager: install normally.
Manual:
- Install BepInEx for Erenshor.
- Create the folder BepInEx\plugins\NamePlateResize\.
- Place NamePlateResize.dll in that folder.
- Launch the game once. The config file generates automatically.
Compatibility
One Harmony patch on one method.
- Other mods: a conflict is only possible with another mod that also resizes nameplates. Anything else will coexist fine.
- Game updates: if an update renames the patched method, the mod fails to load and logs an error while the game keeps running with vanilla nameplates.
- Adding or removing mid playthrough: safe. Nothing is written to your save, so removing it puts nameplates back to their normal size on the next launch.
Methods Patched
- NamePlate.Start — Postfix
Every nameplate in the game, for players, sims and mobs alike, is a copy of one prefab created in two different places. Patching the component they all carry covers both with a single patch and cannot miss a new one. It runs once per nameplate as it spawns, works out which of the three kinds it belongs to, and applies that kind's settings.
Performance
The patch runs once per nameplate as it is created, doing one component lookup and a few number assignments. Nothing is added to any update loop, and nothing is allocated or searched while you play. No per frame work at all.
Notes
- Settings are read once at startup, so a change needs a restart.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 多數模組依賴遊戲的模組載入器:常見做法是用社群模組管理器(如 r2modman)選中本遊戲安裝,由管理器自動處理載入器與依賴。
- 手動安裝時,把模組檔案放進遊戲目錄下對應的 Mod / plugins 資料夾。
- 啟動遊戲確認載入成功;帶「前置依賴」的模組需要把依賴一併安裝。
不同模組的安裝位置差異較大,包內說明是最可靠的依據。
下面這些內容需要先安裝,否則該模組不會生效: