The Lab HUD
A minimal, clean HUD for RedM: health, stamina, hunger, thirst, microphone level, money and player ID.
Works with VORP, RSG, RedEM:RP and standalone (auto-detected). Health, stamina and the mic come from the game itself; money, id and metabolism come from your framework through small, open adapters.
Requirements
- A voice resource for the mic bar (
pma-voiceorsaltychat), optional. - For money / id and hunger / thirst, one of: VORP (
vorp_core+vorp_metabolism), RSG (rsg-core), RedEM:RP (redem_roleplay), or nothing (standalone).
Installation
- Drop
tlb-hudinto yourresourcesfolder. - Add it to your
server.cfg, after your framework:
ensure tlb-hud
The framework is detected automatically. To force one, set Config.Framework in shared/config.lua to 'vorp', 'rsg', 'redemrp' or 'standalone'.
What shows per framework
- Health, stamina, mic: always (native).
- Money: hidden in standalone (no economy).
- Hunger / thirst: shown for VORP (
vorp_metabolism) and RSG; hidden for standalone and, by default, RedEM:RP (fill its adapter to enable).
Hide the native UI
So the two HUDs do not overlap:
- VORP: in
vorp_core/config/config.lua, setHideUi,HideGold,HideMoney,HideLevel,HideID,HideTokens,HidePVPtotrue. Thevorp_metabolismhud is hidden automatically while the HUD is open. - RSG and others: disable that framework's own hud resource.
Commands
/hud— toggle the whole HUD./hudminimap— toggle the minimap (if a key is bound inshared/config.lua).
Frameworks (open files)
Each adapter is left open (escrow) so you can tune or add your own:
- Server (money / id / sex):
bridge/server/frameworks/<name>.lua, functiongetCharacterInfos(src). - Client (hunger / thirst):
client/bridge/frameworks/<name>.lua, functionsgetHunger()/getThirst()returning 0..100. - Voice:
client/bridge/voice.lua.
Copy standalone.lua on either side, fill the functions, give the server adapter a resource field for auto-detection, and pick it with Config.Framework. Tested on VORP; test the RSG and RedEM:RP adapters on your own server before going live.
Configuration
More options in shared/config.lua: refresh delays, native-UI hiding, voice ranges, metabolism max (VORP).