expansion:naval:health_ui
Table of Contents
Ship Health HUD
Overview
Ships have a health pool (Hits / MaxHits). Players can monitor ship health in two ways:
- Single-click tooltip (quick status)
- Ship Health HUD (a live-updating gump)
1) Single-Click Tooltip Health
Single-click a ship to view basic health messaging based on HP percentage:
- Healthy (high %)
- Damaged (mid %)
- Critical (low %)
This is a fast way to check status without opening UI.
2) Ship Healthbar HUD (Live Gump)
The Ship Health HUD is a compact healthbar gump that:
- Displays ship name + HP % + current HP
- Auto-refreshes when the ship’s Hits/MaxHits change
- Auto-closes when you move too far away or change map
How to open it
Use the tillerman context menu:
- Single-click the tillerman
- Choose Ship Healthbar (or similar entry)
If enabled, some builds also allow opening via direct HUD toggle when interacting with the ship UI.
Auto-refresh behavior
The HUD checks HP changes frequently (fast enough to feel real-time). It only redraws when values actually change, to avoid unnecessary spam/overhead.
Auto-close rules
The HUD will close if:
- The ship is deleted
- You move too far away from the ship
- You change maps
- You are no longer a valid viewer (dead/disconnected/etc.)
Why this matters
In naval fights, ship HP can drop quickly. The HUD lets you:
- decide when to retreat
- coordinate repairs
- confirm whether your cannons are actually winning the exchange
expansion/naval/health_ui.txt · Last modified: by UO Enigma
