Repository navigation
1.5.51
1.5.51
The action-slot XP bar, finished. This release covers everything since 1.5.26 - the XP bar itself (1.5.29 to 1.5.51) plus the chat, potion-cooldown and Stats-tab work from the same run of testing.
The XP bar on the action slots ([Hotbar] ShowXpBar, off by default)
Your level and full XP bar sit flush on the action slots' right edge, centred on them: Level 42 - bar - 37% on the top row, and the 1234 / 3333 numbers under the bar with 6px of plate below them, left-aligned from the bar's start like the character window.
- Black card at
[Hotbar] XpBarOpacity(0.75), outlined by a hairline gold border - 0.5px at 15% opacity (XpBarBorder,XpBarBorderWidth,XpBarBorderOpacity). - The border is four solid line quads (top / bottom / left / right), never a sprite. The 9-sliced frame used before painted gold across the whole card face; it is deleted from the build.
- The bar's track is a black groove at
[Hotbar] XpBarTrackOpacity(0.75) and the filled part shows as a gold progress bar. - All the text is gold;
[Hotbar] XpBarWhiteNumbers(off by default) makes just the numbers white and leavesLevel, the/and the%gold. - Same font as the food-timer text, sized by
[Hotbar] XpBarScale. Every one of these knobs applies live from the F1 config - no restart. - Turning it on moves nothing else on the HUD, and the card keeps itself on top of hotbar overlays.
1.5.51 specifics
[Hotbar] XpBarFillGoldremoved - there is no reason to switch the gold progress fill off, so the filled part is now always gold.[Hotbar] XpBarTrackOpacitydefault is 0.75 (was 0.25), so the gold progress stands out in a dark groove.[Hotbar] XpBarWhiteNumbersdefault is false - all the card text stays gold.- Packaging: manifest description trimmed to the 64-character limit and the icon is 512x512.
Performance
- The piece-health label (
[Hover] ShowPieceHealth) searched the whole scene for its bar on every crosshair frame whenever that bar did not exist - and it never finds it while the HUD is hidden, so the scan repeated every frame with no chance of succeeding. It now retries every 2 seconds. - A 40-file read-only audit of this mod's scans confirms the XP bar's own work is cheap: its diagnostics run once (2s after the card builds), its cover guard runs every 1.5s, and its per-frame path is field reads and drift-checked writes with no allocation.
Also in this range
- Action-slot potion cooldowns: the countdown number moves down from the slot's centre (
[Items] PotionCooldownTextOffsetY) and the dim overlay no longer moves the action bar ([Items] PotionCooldownInset). - Chat: background opacity slider (
[Chat] ChatBackgroundOpacity), panel stays up 12s after the last activity ([Chat] HideChatPanelDelay), auto-scroll and font fixes. - Guardian powers section on the Stats tab (
[Stats] GuardianPowers, on): one row per equipped boss power. - Kill XP notices and the character-window level bar print the same XP numbers as the +X notices, not the raw internal counter.
- Action-slot XP bar text no longer draws as scrambled glyphs (the copied font material's glow, underlay and outline are stripped).
Full history: CHANGELOG.md.