Zum Hauptinhalt springen

MythicHUD Spoken

Spoken dialogue displayed via MythicHUD popup. Text appears with a typing animation effect controlled by the duration field. A typing sound can be configured to play at each animation step.

Configuration

mythichud_spokenMap

Configuration for this dialogue.

Properties

text

" required> The dialogue text. Supports MiniMessage formatting and PlaceholderAPI placeholders. duration

"> Duration of the typing animation. Set to 0 for instant display. popupId

"> MythicHUD popup ID. Default: typewriter_spoken_dialogue. sound

"> Sound played when the dialogue starts. typingSound

"> Sound played at each step of the typing animation. Synced with visible character progression. customVariables

"> Additional custom variables passed as extra command arguments.

The extension dispatches /happyhud popup with 7 pipe-separated arguments:

%arg-N%Content
%arg-1%Speaker display name
%arg-2%Current text (with typing progress)
%arg-3%Progress 0-100 (integer)
%arg-4%Progress 0.00-1.00 (float)
%arg-5%"finish" or "continue"
%arg-6%"true" or "false" (animation done)
%arg-7%"Press X to continue" text

YAML Template

Copy popups/typewriter_spoken_dialogue.yml and assets/typewriter_spoken_asset.yml to plugins/MythicHUD/.