Zerix Development

Configuratie

Alle Z-hud config-keys, defaults en wat ze doen.

Bestand: Z-hud/config.lua. Shared. Blijft open na Tebex / escrow.

Identiteit

KeyDefault
Framework'auto'auto / esx / qb / qbox
Debugfalseextra F8-prints [Z-hud]
Units'kmh'of 'mph'
UpdateInterval200ms tussen NUI-updates
ToggleCommand'hud'/hud
SettingsCommand'hudsettings'/hudsettings
CinematicCommand'cinematic'/cinematic

Auto-detect: qbx_core → qb-core → es_extended.

Status

Zie Status en needs.

Config.Status = {
    health = true, armor = true, hunger = true, thirst = true,
    stamina = true, oxygen = true, stress = true, voice = true,
}
Config.StatusOrder = { 'health', 'armor', 'hunger', 'thirst', 'stamina', 'oxygen', 'stress' }
Config.ShowArmorOnlyWhenPresent = true
Config.ShowOxygenOnlyWhenUnderwater = true
Config.ShowStressOnlyWhenPresent = true
Config.ShowStaminaOnlyWhenLow = false
Config.LowThreshold = 25

Info, voertuig, radar

Zie Radar en weergave en Voertuig.

KeyDefault
Info.compass / street / time / moneytrue
Info.playerIdfalse
Vehicle.enabled / rpm / seatbelt / cruisetrue
Vehicle.seatbeltKey'B'
Vehicle.cruiseKey'Y'
Vehicle.seatbeltEjecttrue
Radar.show'always'
Radar.zoom1100

Brandstof

Config.FuelResource = nil -- of 'ox_fuel'
Config.FuelResources = { 'ox_fuel', 'LegacyFuel', 'ps-fuel', ... }

nil = eerste started resource uit de lijst, anders native.

Verbergen & voice

Config.Hide = { pause = true, death = false, inventory = true, cinematic = true }
Config.HideComponents = { 2, 3, 4, 6, 7, 8, 9, 13 }
Config.Voice = { enabled = true, showRange = true }

Kleuren

Zerix-defaults (hex). CSS-variabelen in de NUI volgen deze map.

Config.Colors = {
    health = '#10B981',
    armor = '#818cf8',
    hunger = '#f59e0b',
    thirst = '#38bdf8',
    stamina = '#34d399',
    oxygen = '#22d3ee',
    stress = '#f87171',
    voice = '#10B981',
    accent = '#10B981',
}

Speler-settings

Config.AllowPlayerSettings = true
Config.DefaultScale = 1.0

false = /hudsettings en openSettings doen niks. Schaal in de UI is 0.7–1.4. Opslag: KVP z_hud_settings.