SimpleHUD is a configurable HUD framework mod for Road to Vostok.
This README is for maintainers/contributors, not end users.
mod.txt
Mod metadata and autoload registration (SimpleHUDMain).SimpleHUD/Main.gd
Runtime entrypoint; binds to vanilla HUD, reads preferences, drives overlay updates.SimpleHUD/HudOverlay.gd
Builds and updates vitals/status UI, layout/positioning, alpha behavior.SimpleHUD/Config.gd
Active runtime configuration class (full parser + defaults + helpers).SimpleHUD/widgets/*
UI widgets (StatWidget,RadialStat,StatusTray).SimpleHUD/widgets/ConfigPresets/*/Config.gd
Full preset config variants intended to be drop-in replacements forSimpleHUD/Config.gd.SimpleHUD.default.ini
Packaged default INI (included in VMZ build).build_simplehud_vmz.sh
Build script formod/SimpleHUD.vmz.
Presets are full Config.gd files:
TextNumericPlainTextNumericColorRadialPlainRadialColor
Each preset Config.gd is comprehensive (not partial). You can replace SimpleHUD/Config.gd with a preset file and get a full mode switch.
Config.gd supports two load layers after apply_defaults():
res://SimpleHUD.default.iniuser://simplehud.ini
For strict preset behavior, this repo currently uses:
LOAD_DEFAULT_INI := falseLOAD_USER_INI := false
in active/preset configs, so pasted preset configs are authoritative and not overwritten by INI merges.
If you re-enable either flag, external INI values can override preset defaults.
- Vitals can render as text or radial donut charts per config.
- Visibility uses per-stat thresholds.
- Alpha scales by urgency (
1 - percent/100) with optional floor (min_stat_alpha_floor). - Status tray supports hidden/inflicted/always behavior and reads condition flags from
GameData.
Radial icons are decoded via Image buffer loaders in StatWidget.gd (PNG/JPG/WebP/SVG), not plain load("res://...").
Reason: in modded runtime, ResourceLoader may fail for some image paths/extensions in VMZ mounts. Byte-based decode is more reliable.
From SimpleHUD/:
./build_simplehud_vmz.shBuild output:
SimpleHUD/mod/SimpleHUD.vmz
The build bundles:
mod.txtSimpleHUD.default.iniSimpleHUD/Docs/(if present)
- Choose target mode (text/radial + plain/color).
- Edit active
SimpleHUD/Config.gdor replace with a presetConfig.gd. - Verify in-game behavior (thresholds, alpha, placement, icon rendering).
- Rebuild VMZ.
- Keep
SimpleHUD.default.inialigned with intended shipped default behavior.
Docs/HUD-Map.md- vanilla HUD node mapping and data-source notes.Docs/Workshop-Description.md- workshop copy and screenshot links.