Config
- Config file that you can customize to your needs...
wd-hudv2/shared/cfg.lua
cfg = {
debug = false,
updateInterval = 250,
speedoInterval = 150,
minimapScale = 1000,
settingsCommand = "hud",
useGameTime = false,
useKMH = true,
useNitro = true,
nitroKey = "X",
nitroItem = "nitrous",
nitroForce = 50.0,
removeNitroOnMilliseconds = 0.2,
cancelProgress = {
command = "cancel",
key = "X",
description = "wd-hudv2"
},
keybinds = {
{
button = "M",
label = "Phone"
},
{
button = "TAB",
label = "Inventory"
}
},
defaultSettings = {
color = '#00CB95',
statusType = 1,
progressType = 1,
carhudType = 3,
disableStatusValues = true,
mapType = "circle",
maponfoot = true,
colors = {},
modules = {
keybinds = true,
status = true,
carhud = true,
topInfos = true,
progressbar = true,
notification = true,
logo = true
}
},
status = { -- for icons you can use https://react-icons.github.io/react-icons/icons/fa6/. Values comes from wd-hud/shared/shared.lua file wd.getFuel function.
{
name = 'health',
title = "Health",
icon = 'health',
value = 50,
color = '#FF4848',
visible = true
},
{
name = 'armor',
title = "Armor",
icon = 'armor',
value = 10,
color = '#CC5FFF',
min = 1,
visible = true
},
{
name = 'hunger',
title = "Hunger",
icon = 'hunger',
value = 100,
color = '#FFA048',
visible = true
},
{
name = 'thirst',
title = "Thirst",
icon = 'thirst',
value = 100,
color = '#4886FF',
visible = true
},
{
name = 'stress',
title = "Stress",
icon = 'stress',
value = 100,
color = '#00CB95',
min = 1,
visible = true
},
{
name = 'stamina',
title = "Stamina",
icon = 'stamina',
value = 100,
color = '#00B3CB',
visible = true
}
},
topInfo = {
{
id = "mic",
value = "",
visible = true
},
{
id = "id",
value = "",
visible = true
},
{
id = "playerCount",
value = "",
visible = true
},
{
id = "time",
value = "",
visible = true
},
{
type = 'playerInfo',
id = "job",
value = "",
visible = true
},
{
type = 'playerInfo',
id = "cash",
value = "",
visible = true
},
{
type = 'playerInfo',
id = "bank",
value = "",
visible = true
},
},
voiceRanges = {
["1.5"] = "Whisper",
["3.0"] = "Normal",
["6.0"] = "Scream"
},
locale = "en",
locales = {
["en"] = {
['toggleseatbelt'] = 'Toggle Seatbelt',
["settingsTitle"] = "Settings",
["settingsDesc"] = "Customize your experience",
["settingsTag"] = "Main",
["keybindsTitle"] = "Keybinds",
["statusTitle"] = "Status",
["carhudTitle"] = "Car Hud",
["informationBoxesTitle"] = "Information Boxes",
["progressbarTitle"] = "Progressbar",
["progressbarStyleTitle"] = "Progressbar Style",
["notificationTitle"] = "Notification",
["statusValuesTitle"] = "Status Values",
["editorMode"] = "Editor Mode",
["editorModeDesc"] = "Open editor mode",
["enableDisable"] = "Enable or disable ",
["colorsMode"] = "Colors mode",
["colorsModeDesc"] = "Open colors mode",
["changeStyle"] = "Change style ",
["mapStyleTitle"] = "Map Style",
["mapStyleDesc"] = "Change map style",
["square"] = "Square",
["circle"] = "Circle",
["statusStyleTitle"] = "Hud Status Style",
["statusStyleDesc"] = "Qorem ipsum dolor sit amet, consectetur adipiscing",
["statusStyleTag"] = "Status",
["carhudStyleTitle"] = "Carhud Style",
["carhudStyleDesc"] = "Qorem ipsum dolor sit amet, consectetur adipiscing",
["carhudStyleTag"] = "Carhud",
["topInformationTitle"] = "Top Information",
["topInformationDesc"] = "Qorem ipsum dolor sit amet, consectetur adipiscing",
["topInformationTag"] = "Info",
["positionTitle"] = "Position Settings",
["positionDesc"] = "Qorem ipsum dolor sit amet, consectetur adipiscing",
["positionTag"] = "Position",
["statusHudTitle"] = "Status Hud",
["statusHudDesc"] = "Qorem ipsum dolor sit amet, consectetur adipiscing",
["notificationTitle"] = "Notification",
["notificationDesc"] = "Qorem ipsum dolor sit amet, consectetur adipiscing Qorem ipsum dolor sit amet, consectetur adipiscing Qorem ipsum dolor sit amet, consectetur adipiscing Qorem ipsum dolor sit amet, consectetur adipiscing Qorem ipsum dolor sit amet, consectetur adipiscing Qorem ipsum dolor sit amet, consectetur adipiscingQorem ipsum dolor sit amet, consectetur adipiscing Qorem ipsum",
["scaleTitle"] = "Scale",
["scaleDesc"] = "Qorem ipsum dolor sit amet, consectetur adipiscing",
["colorsTitle"] = "Colors Settings",
["colorsDesc"] = "Qorem ipsum dolor sit amet, consectetur adipiscing",
["colorsTag"] = "Colors",
["select"] = "Select",
["selected"] = "Selected",
["default"] = "Default",
["back"] = "Back",
["on"] = "On",
["off"] = "Off",
["enable"] = "Enable",
["showmaponfoot"] = "Minimap on foot",
["showmaponfootdesc"] = "Activate the minimap on foot",
}
}
}