Skip to content

Centre the leader crown on name tags; widen default tag ranges - #27

Merged
absol89 merged 1 commit into
feat/nametag-privacyfrom
claude/project-thread-1vzxg0
Nov 4, 2026
Merged

absol89 merged 1 commit into
feat/nametag-privacyfrom
claude/project-thread-1vzxg0

Conversation

@absol89

@absol89 absol89 commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Requested by Eric · project thread

Follow-up for tiltedphoques#931. Merging this updates that PR.

Changes

  • Leader crown centred vertically (review feedback). The crown was centred on ImGui's line box, which includes room for accents and descenders, so it sat low next to the name. It's now centred on the capital-letter height (the H glyph's bounds), with the line-box centre as a fallback.
  • Default ranges: fade starts at 2000 units (was 3000) and the tag is invisible from 8000 units (was 5000), for both strangers and party members. Changed in NameTagService::Settings and the UI defaults in setting.service.ts.

Players who already saved custom distances keep their stored values.

Testing

  • Not built here (the client is Windows-only). Needs an in-game check of the crown next to a leader's name at a few distances and font sizes.
image

Generated by Claude Code

- The party leader's crown is now centred on the capital letters of the name
  instead of on the font's line box, which includes room for accents and
  descenders and left the crown sitting low.
- Name tags now start fading at 2000 units (was 3000) and are invisible from
  8000 units (was 5000), for both strangers and party members.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018fvQxPvkxb6UCNKSi6tjgx
@absol89 absol89 self-assigned this Nov 4, 2026
@absol89
absol89 merged commit c074477 into feat/nametag-privacy Nov 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants