Skip to content

feat: StatusMenu live hero stats and guild name display#378

Merged
BoroBongo merged 5 commits into
mainfrom
feat/status-menu
Jun 16, 2026
Merged

feat: StatusMenu live hero stats and guild name display#378
BoroBongo merged 5 commits into
mainfrom
feat/status-menu

Conversation

@BoroBongo

@BoroBongo BoroBongo commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

StatusMenu was previously a stub with no data. It now reads all hero stats from NpcContainer on open and displays them correctly:

  • Guild name via new VmService.GetGuildName() reading TXT_GUILDS from Daedalus (localized name, e.g. "Nowicjusz"), with Props.TrueGuild override support
  • Level / XP / LP from hero.Vob (synced from NpcInstance via new NpcService.SyncHeroInstanceToVob() after any VM call)
  • HP / Mana / STR / DEX via vob.GetAttribute() index mapping
  • Armor (blunt, point, fire, magic) via vob.GetProtection()
  • Talents: all skill names and values from VmService.TalentTitles / TalentSkills with pipe-delimited skill-level formatting

QuestLogMenu: BACK arrow was positioned outside the content area; fixed by accounting for localScale.x/y in the offset calculation.

'Nameless'
image

'Diego'
image

'Milten'
image

'QuestLog'
image

BoroBongo and others added 4 commits June 15, 2026 21:45
StatusMenu was previously a stub with no data. It now reads all hero
stats from NpcContainer on open and displays them correctly:

- Guild name via new VmService.GetGuildName() reading TXT_GUILDS from
  Daedalus (localized name, e.g. "Nowicjusz"), with Props.TrueGuild
  override support
- Level / XP / LP from hero.Vob (synced from NpcInstance via new
  NpcService.SyncHeroInstanceToVob() after any VM call)
- HP / Mana / STR / DEX via vob.GetAttribute() index mapping
- Armor (blunt, point, fire, magic) via vob.GetProtection()
- Talents: all skill names and values from VmService.TalentTitles /
  TalentSkills with pipe-delimited skill-level formatting

QuestLogMenu: BACK arrow was positioned outside the content area;
fixed by accounting for localScale.x/y in the offset calculation.
Set z=-0.03 on all ARROW_UP/DOWN/BACK RectTransforms so they render on top.
Set ARROW_BACK Y to match ARROW_DOWN (bottom of content area).
Force TMP mesh update on entry open and set TMP SubMeshUI z=-0.02 so journal text is visible.
@BoroBongo BoroBongo marked this pull request as ready for review June 15, 2026 22:29
@BoroBongo BoroBongo mentioned this pull request Jun 15, 2026
Comment thread Assets/Gothic-Core/Scripts/Services/Vm/VmService.cs Outdated
@BoroBongo BoroBongo merged commit d9a2ef3 into main Jun 16, 2026
@BoroBongo BoroBongo deleted the feat/status-menu branch June 16, 2026 09:59
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