BetterHud
The BetterHud Extension bridges TypeWriter's dialogue system with the BetterHud plugin. It enables cinematic spoken dialogue with typing effects, grid-based options, and a revolutionary Cursor Menu system that lets players interact with UI elements using their gaze.
Key Features
- Cinematic Dialogue — Spoken text and typing effects in custom popups.
- Cursor Menus — Gaze-controlled interactive HUD menus.
- Movement Menus — WASD-controlled immersive grid menus using player seating.
- Minimap — Dynamic terrain rendering and waypoints.
[!NOTE] Shader Integration The extension automatically deploys merged shaders (
text.vsh/text.fsh) compatible with both BetterHud's layout engine and Vanilla Minimaps' terrain rendering. No manual resource pack modification is required.
Interface Variables
When a BetterHud dialogue is active, variables are automatically sent to the popup.
Spoken Dialogue
| Variable | Description |
|---|---|
speaker | Display name of the speaking character |
text | Current text being typed out |
progress | Integer percentage of typing completion (0-100) |
is_complete | true/false if the full text has finished typing |
Cursor Menu
The cursor menu provides dynamic variables to position the cursor element:
| Variable | Description |
|---|---|
cursor_x | Cursor X position (0-100%) |
cursor_y | Cursor Y position (0-100%) |
hovered_button | ID of the currently hovered button |
button_<id>_hovered | 1 if the specific button is hovered, 0 otherwise |
Quick Start
- 1. Configure Settings — Start with the configuration entry: movement_menu_config, minimap_manifest. This defines global settings for the extension. → movement_menu_config → minimap_manifest
Placeholders
| Placeholder | Description |
|---|---|
%typewriter_betterhud_dialogue_timer% | Remaining time on the current dialogue. |
%typewriter_betterhuddialogue_timer% | Alias of the placeholder above; both are accepted. |