Skip to main content

Spoken Dialogue

The textdisplay_spoken entry renders a single line of dialogue as a floating 3D entity, usually above an NPC's head.

Configuration

textString

The dialogue text.

speaker

"> The entity speaking. Determines the location and name tag.

durationDuration

Typing animation duration.

position

"> Optional override for text position if no speaker is defined.

Styling

scaleDouble

Text size multiplier.

billboardBoolean

If true, text always faces the player.

backgroundColorColor

Background color of the text box.

textOpacityDouble

Opacity of the text (0.0 - 1.0).

viewRangeDouble

Maximum distance at which the text is visible.

Advanced Colors

speakerBackgroundColorColor

Color behind the speaker's name.

textBackgroundColorColor

Color behind the main text body.

instructionBackgroundColorColor

Color behind instruction text (e.g. "Space to continue").

dialogue:
type: textdisplay_spoken
text: "Can you hear me?"
speaker: "guide_npc"
backgroundColor: "#00000088"