Dashboard LEDs - user-grinch/ModelExtras GitHub Wiki
Available from v2.1+
π§ Overview
Dashboard LEDs are miniature indicators embedded in the vehicleβs dashboard mesh. Each LED reflects a specific vehicle state β from engine health to lighting β and toggles automatically based on gameplay conditions. No dummy is required; the plugin reads the material color and adjusts brightness accordingly.
Each LED material has two states:
Off β the LED remains unlit, blending with the dashboard.
On β the LED glows brightly, signaling an active or alert state.
π‘Tip: These LEDs are purely visual and ideal for immersive dashboards, HUD-style cockpits, or custom interiors. Use small quads or dots with emissive textures for extra glow.
β¨ Variants
π§ Engine Status
- π’ Engine On: Lights up when the engine is running normally.
Material Color: 255 200 100(engine_on) - π΄ Engine Broken: Activates when the engine is critically damaged.
Material Color: 255 200 101(engine_broken)
π«οΈ Lighting Indicators
- π Fog Light: Illuminates when fog lights are active.
Material Color: 255 200 102(fog_light) - π High Beam: Activates when high beam headlights are turned on.
Material Color: 255 200 103(high_beam) - π
Low Beam: Activates when low beam headlights are turned on.
Material Color: 255 200 104(low_beam)
π Turn Signals
- β¬
οΈ Indicator Left: Flashes when the left turn signal is active.
Material Color: 255 200 105(indicator_left) - β‘οΈ Indicator Right: Flashes when the right turn signal is active.
Material Color: 255 200 106(indicator_right)
π¨ Emergency & Utility
- π Siren Lights: Flashes when sirens are active (e.g. police, ambulance).
Material Color: 255 200 107(siren) - π¦ Boot Open: Lights up when the trunk is open.
Material Color: 255 200 108(boot_open) - π§ Bonnet Open: Lights up when the hood is open.
Material Color: 255 200 109(bonnet_open) - πͺ Door Open: Activates when any door is open.
Material Color: 255 200 110(door_open) - π€οΈ Roof Open: Activates when the roof is expanded.
Material Color: 255 200 111(roof_open)
βοΈ JSONC Configuration (Custom LED Colors)
You can customize the active (color) and inactive (color_off) material tint for each LED indicator in your vehicle's .jsonc file:
{
"leds": {
"engine_on": {
"material": {
"color": { "red": 0, "green": 255, "blue": 0 }, // Glowing LED color when active
"color_off": { "red": 25, "green": 25, "blue": 25 } // Darkened LED color when off
}
},
"high_beam": {
"material": {
"color": { "red": 0, "green": 120, "blue": 255 },
"color_off": { "red": 20, "green": 20, "blue": 30 }
}
}
}
}