Skip to content

Nameplates ​

A nameplate is the small panel floating over an entity or an object: its name, its health, what it is casting and the buffs and debuffs on it. A nameplate is made for every entity (the party, NPCs, pets) and for every object that has stats and a nameplate marker (a training dummy, a destructible barrel).

Set inUI Settings > Ui scene nameplate
Root classNameplate
Templateui_scenes/in_game/HUD/components/nameplates/nameplate_template.tscn
Made byThe NameplateManager, which the in-game interface creates. One nameplate for each owner

The nameplate is not part of the HUD: it lives in 3D space and follows its owner, drawn on its own layer.

Where it is placed ​

The plate is positioned over the NameplateMarker of the owner's skeleton (a point you place above the head). An entity or object without a marker has no nameplate. An object also needs stats (something to show) to get one: with a marker but no stats it has none, and an object with stats and a marker gets a simpler plate (name and health, no casting or auras).

The manager also:

  • Scales the plate down with distance (it is full size up to a distance and shrinks to 70% far away).
  • Orders the plates by distance: the closer one is drawn on top, and the target is always on top.
  • Hides the plate of an entity that dies, and shows it again when it is brought back.
  • Hides plates by the player's settings (below) and for entities in the fog of war (see the Fog hide nameplates option of the Gameplay Config).

What the scene must contain ​

The nameplate script finds its parts by unique name:

Unique nameNodeWhat it shows
NameLabelLabelThe name of the owner
HealthContainerMarginContainerThe health bars (made from the owner's pools: the bar scene is the Nameplate pool bar scene option of the root)
CastBarCastBarWhat the owner is casting, or the activity of an object
BuffGrid, DebuffGridGridContainerThe icons of the effects that are shown as buffs and debuffs. Pointing at an icon shows the effect tooltip
BordersMarginContainerA highlight shown when the owner is hovered or targeted

What the player controls ​

The UI > Nameplates options of the player's Game Settings decide what the plates show: friendly, enemy and pet plates on or off, only in combat, which auras, health text, the resource bar, the cast bar, the colour by class, and the maximum distance (0 = unlimited). You choose the defaults and which options the player may change.

Colours ​

The health bar colour comes from the relationship of the owner to the current player:

OwnerColour
A party memberThe class colour (if the player turned class colours on), otherwise the player colour
A friendly NPC or petThe friendly or pet colour
A hostile entity (and a hostile pet)The hostile colour
NeutralThe neutral colour

The colours are the Accessibility options of the player's settings, so a colour-blind player can choose their own.

Floating text ​

Damage numbers, heals, Dodge and Immune float up from the nameplate marker as a short text that fades out. They are made by the same manager from the results of combat and do not need the nameplate: they still show if the player turns nameplates off.

Making your own ​

Make a scene whose root script extends Nameplate and keep the unique names above (leave out the ones you do not want: a plate with no cast bar is fine). Set it in UI Settings. The pieces are the same as the action bar's: the same PoolBarUI and the same CastBar.

An entity that has no plate, but a frame ​

The target of the player is also shown in the HUD in the unit frame of the target. The unit frames are being reworked.

See also ​