The Lab
The Lab Hud · VORP

Install The Lab Hud on VORP

This guide installs The Lab Hud on a VORP server and removes the duplicate icons VORP draws by default. Expect about ten minutes, most of it spent in vorp_core's config.

Estimated time: 10 minVORP

Before you start

  • A running VORP server with vorp_core and vorp_metabolism
  • The Lab Hud purchased with the Cfx.re account that owns the server's license key
  • Optional: pma-voice or saltychat for the mic bar

Install steps

  1. Step 1: Download the resource from the Cfx.re Portal

    Sign in to the Cfx.re portal with the account you used at checkout, open your granted assets and download tlb-hud. Extract the archive: you get a single tlb-hud folder. Keep the folder name as it is.

  2. Step 2: Place it after VORP in server.cfg

    Copy tlb-hud into your resources folder (a bracketed category such as [the-lab] works too), then add it below the VORP resources. The HUD looks for a started vorp_core when it boots, so the order matters.

    # VORP stack first
    ensure vorp_core
    ensure vorp_inventory
    ensure vorp_metabolism
    # ...other VORP resources
    
    ensure tlb-hud
  3. Step 3: Check the metabolism scale

    vorp_metabolism counts from 0 to 1000. If your server uses another maximum, set it in tlb-hud/shared/config.lua. Forcing the framework is optional but removes any dependence on start order.

    Config.Framework = 'vorp'
    
    Config.FullHunger = 1000
    Config.FullThirst = 1000
  4. Step 4: Hide the VORP icons

    In vorp_core/config/config.lua, set these options to true: HideUi, HideGold, HideMoney, HideLevel, HideID, HideTokens, HidePVP. The vorp_metabolism display needs no change: The Lab Hud hides it while it is open.

  5. Step 5: Test in game

    Restart the server, join and pick a character. The HUD appears once the character is selected. Eat or drink something and check that hunger and thirst move; type /hud to toggle it.

Troubleshooting

Money and ID stay empty

tlb-hud started before vorp_core and fell back to standalone. Move its ensure line down or set Config.Framework = 'vorp'.

Hunger and thirst look too low

Config.FullHunger / Config.FullThirst do not match your metabolism maximum.

Two HUDs on screen

One of the Hide* options in vorp_core/config/config.lua is still false, or another HUD resource is running.

FAQ

Do I need oxmysql for the HUD?

No. The Lab Hud reads everything through VORP and the game, and stores nothing.

Can I change the toggle command?

Yes, with Config.Command (default hud).

Can another script hide the HUD during a cutscene?

Call exports['tlb-hud']:ToggleHud(false) and ToggleHud(true) afterwards.