93 lines
3.3 KiB
Lua
93 lines
3.3 KiB
Lua
Config = {}
|
|
|
|
-- =====================
|
|
-- ALLGEMEIN
|
|
-- =====================
|
|
|
|
-- Items die den Ausweis oeffnen
|
|
-- type: 'id' = Personalausweis, 'license' = Fuehrerschein
|
|
Config.Items = {
|
|
['id_card'] = {
|
|
label = 'Personalausweis',
|
|
type = 'id',
|
|
},
|
|
['driver_license'] = {
|
|
label = 'Fuehrerschein',
|
|
type = 'license',
|
|
},
|
|
}
|
|
|
|
-- Entfernung in Metern, in der andere Spieler den Ausweis sehen koennen
|
|
Config.ShowDistance = 5.0
|
|
|
|
-- =====================
|
|
-- MUGSHOT (Charakterbild auf dem Ausweis)
|
|
-- =====================
|
|
-- Benoetigt: MugShotBase64 Resource (ensure MugShotBase64)
|
|
Config.MugShot = {
|
|
enabled = true, -- Mugshot aktivieren/deaktivieren
|
|
transparent = true, -- true = Hintergrund entfernen, false = mit Hintergrund
|
|
}
|
|
|
|
-- =====================
|
|
-- ANIMATION
|
|
-- =====================
|
|
Config.Animation = {
|
|
dict = 'mp_common', -- Animation Dictionary
|
|
name = 'givetake1_b', -- Animation Name
|
|
flag = 49, -- 49 = Upper Body + Loop
|
|
duration = -1, -- -1 = bis manuell gestoppt
|
|
prop = {
|
|
enabled = false, -- Prop deaktiviert (Animation hat eigene Handbewegung)
|
|
model = 'prop_fib_badge', -- Prop-Modell
|
|
bone = 28422, -- Hand-Bone (rechte Hand)
|
|
offset = vector3(0.0, 0.0, 0.0),
|
|
rotation = vector3(0.0, 0.0, 0.0),
|
|
},
|
|
}
|
|
|
|
-- =====================
|
|
-- BENACHRICHTIGUNGEN
|
|
-- =====================
|
|
Config.Notification = {
|
|
event = 'hex_4_hud:notify',
|
|
title = 'Ausweis',
|
|
duration = 3000,
|
|
}
|
|
|
|
-- =====================
|
|
-- LIZENZEN (Anzeige-Konfiguration)
|
|
-- =====================
|
|
-- Bestimmt wie jede Lizenz im UI dargestellt wird
|
|
-- icon: car, bike, truck, anchor, plane, shield, crosshairs, id-card, file-text
|
|
-- Lizenzen die hier nicht eingetragen sind, werden mit Standard-Icon angezeigt
|
|
Config.LicenseDisplay = {
|
|
['drive'] = { icon = 'car', color = '#3b82f6', label = 'Führerschein Klasse B' },
|
|
['drivedmv'] = { icon = 'car', color = '#3b82f6', label = 'Führerschein B (DMV)' },
|
|
['drive_bike'] = { icon = 'bike', color = '#8b5cf6', label = 'Motorradführerschein' },
|
|
['drive_bikedmv']= { icon = 'bike', color = '#8b5cf6', label = 'Führerschein A (DMV)' },
|
|
['drive_truck'] = { icon = 'truck', color = '#f97316', label = 'LKW-Führerschein' },
|
|
['drive_truckdmv']= { icon = 'truck', color = '#f97316', label = 'Führerschein C (DMV)' },
|
|
['dmv'] = { icon = 'shield', color = '#22c55e', label = 'Fahrerlaubnis' },
|
|
['boat'] = { icon = 'anchor', color = '#06b6d4', label = 'Bootsführerschein' },
|
|
['weed_processing'] = { icon = 'file-text', color = '#16a34a', label = 'Verarbeitungslizenz' },
|
|
['weaponlicense'] = { icon = 'crosshairs', color = '#ef4444', label = 'Waffenlizenz' },
|
|
}
|
|
|
|
-- =====================
|
|
-- AUSWEIS DESIGN
|
|
-- =====================
|
|
Config.CardTitle = {
|
|
id = 'PERSONALAUSWEIS',
|
|
license = 'FÜHRERSCHEIN',
|
|
weapon = 'WAFFENSCHEIN',
|
|
}
|
|
|
|
-- =====================
|
|
-- UI THEME
|
|
-- =====================
|
|
Config.Theme = {
|
|
accent = '#3b82f6', -- Hauptfarbe
|
|
accentLight = '#60a5fa', -- Hoverfarbe
|
|
}
|