LED Names & Model LEDs
Name LEDs by physical place so one pattern works across a fleet, and author a discoverable LED layout into the vehicle model itself.
An LED's name drives HUD display and pattern targeting. Follow this standard and a pattern written for one car works on the next. Set names per LED in the Editor.
Format
[ZONE][FACE?][SIDE?][NUM]
| Part | Description |
|---|---|
ZONE | 2–4 letter zone code, from the tables below |
FACE | Optional F (forward) or R (rear), only where the zone has multiple faces |
SIDE | Optional L or R, only for physically separate side-facing units |
NUM | Sequential, starting at 1 |
- All uppercase, no spaces, no symbols.
- Forward and rearward lights use sequential numbers only, no L/R suffix —
RD1,RD2,LBF1,LBF2. - Side-facing lights take an L/R suffix —
MRL,MRR,SRL1,SRL2. OmitNUMwhen there is one per side:LBAL, notLBAL1. - Names describe physical location only. Takedown, traffic advisor and alley lights are pattern behaviours, not names.
- Numbers count left to right from outside the vehicle — see Numbering direction.
- Numbering starts at
1. Start at0only to extend past the core — see Numbering beyond the core range.
Numbering direction
The observer stands outside looking in, so their left is not the vehicle's left every time.
| Face | Names | #1 sits on the vehicle's |
|---|---|---|
| Front-facing | LBF#, FG#, FB#, DS#, FV# | right |
| Rear-facing | LBR#, RD#, RV# | left |
| Right-side facing | SRR#, DOR# | rear |
| Left-side facing | SRL#, DOL# | front |
Numbering beyond the core range
#1–#6 is the cross-vehicle core that patterns and the HUD target reliably. A face with
more LEDs extends outward instead of renumbering: a rear lightbar with 8 LEDs uses
LBR0–LBR7, keeping LBR1–LBR6 portable. A pattern silently skips a name the vehicle
does not define.
Zone reference
Roof
| Code | Description | Example |
|---|---|---|
LBF# | Lightbar, front face | LBF1, LBF2 |
LBR# | Lightbar, rear face | LBR1, LBR2 |
LBAL / LBAR | Lightbar alley left / right, side-facing | LBAL |
MBF# / MBR# | Mini bar, front / rear face | MBF1, MBR1 |
MBAL / MBAR | Mini bar alley left / right | MBAL |
BK# | Beacon / rotator | BK1 |
Front exterior
| Code | Description | Example |
|---|---|---|
FG# | Front grille | FG1, FG2 |
FB# | Front bumper / push bar, forward-facing | FB1, FB2 |
FBL / FBR | Front bumper side end caps, side-facing | FBL, FBR |
HD# | Hood lights | HD1, HD2 |
Front interior (projects forward through the windshield)
| Code | Description | Example |
|---|---|---|
DS# | Dash lights, low mount | DS1, DS2 |
FV# | Front visor lights, high mount | FV1, FV2 |
Side
| Code | Description | Example |
|---|---|---|
MRL / MRR | Mirror lights | MRL, MRR |
SRL# / SRR# | Side runner lights | SRL1, SRR1 |
DOL# / DOR# | Door lights | DOL1, DOR1 |
PIL / PIR | Pillar light sticks, B/C-pillar | PIL, PIR |
Rear interior (projects rearward through the rear glass)
| Code | Description | Example |
|---|---|---|
RD# | Rear deck, low mount | RD1, RD2 |
RV# | Rear visor, high mount | RV1, RV2 |
Rear exterior
| Code | Description | Example |
|---|---|---|
RB# | Rear bumper face | RB1, RB2 |
RR# | Rear runner, body/rocker perimeter | RR1, RR2 |
RSP# | Rear step pad lights | RSP1, RSP2 |
LPL / LPR | License plate lights | LPL, LPR |
Specialty
| Code | Description | Example |
|---|---|---|
SPL / SPR | Spotlight, A-pillar or roof edge | SPL, SPR |
SC# | Scene / work lights | SC1, SC2 |
CAB# | Cabin / interior dome lights | CAB1 |
How many lights a face has
A face is addressed by slots 0 through 7 — the 1–6 core plus the outward 0
and 7. A pattern that splits sides cuts that in half, 0–3 against 4–7. A face
rarely has eight lights, so each light claims a span of the range and answers to all of
it. Two bumper lights become FB0 (also 1, 2, 3) and FB4 (also 5, 6, 7) —
one per side.
| Lights | Slots each claims |
|---|---|
| 2 | 0 1 2 3 · 4 5 6 7 |
| 3 | 0 1 2 · 3 4 · 5 6 7 |
| 4 | 0 1 · 2 3 · 4 5 · 6 7 |
| 5 | 0 1 · 2 · 3 4 · 5 · 6 7 |
| 6 | 0 · 1 2 · 3 · 4 · 5 6 · 7 |
| 7 | 0 · 1 · 2 · 3 4 · 5 · 6 · 7 |
| 8 | one each — 0 through 7 |
This is why a pair flashes both colours instead of one. Numbered densely as FB1/FB2, a
pair sat entirely in the low half and stayed dark through the other half of every pattern.
An odd count leaves the middle light owning a slot either side of the cut, so it flashes on
both beats and a three-, five- or seven-light bar still reads symmetrically.
- Faces of more than eight are numbered one slot each from
0and carry no spans - A zone that is already one per side —
LBAL,MRL,SRL— is not spanned; it is on one side of the car whatever its number - A slot you have typed on another LED is never claimed by a span
Automatic names and groups
You do not have to name anything to get started. An LED you have not named is named from
where it sits on the vehicle and which way it faces, following the zones above — drop a row
of lights along a roof bar and they become LBF1…LBF6, numbered from the correct end.
Each one also joins the group its zone implies, so a new vehicle arrives with Lightbar
Front, Lightbar Rear, Front Visor and the rest already usable as pattern columns.
- Anything you type is yours. Once you set a name or change an LED's groups, that LED is left alone from then on. Clear the name again to hand it back
- An automatic name follows the light. Move an LED to the other end of the bar and it is renamed to match, because the name describes a physical place
- Correct one and the rest follow. Geometry cannot tell a rear deck from a rear visor.
Rename one light of a cluster from
RD2toRV2and the others becomeRV— the zone you chose beats the guess. Only within a facing direction, so a front-facing name typed onto a rear cluster is treated as a slip and ignored - Names are ordinary names. They are saved, they drive the HUD and patterns, and they are what a pattern imported from another vehicle matches against
- The A–Z button in the Lights tab sorts the list into the same order. It is a one-off, not a running sort — your own arrangement is never reshuffled while you work
Where the geometry is genuinely ambiguous, no name is given and the LED stays LED 7 until
you name it. A door light, a pillar stick and a mirror light can occupy the same place on the
body, so tLS does not guess between them.
HUD default LEDs
When no layout declares which LED names to show, the HUD resolves the first group below with at least one matching LED on the vehicle.
| Priority | Names checked | Typical source |
|---|---|---|
| 1st | RD1 – RD6 | Rear deck lights |
| 2nd | RV1 – RV6 | Rear visor lights |
| 3rd | LBR1 – LBR6 | Lightbar rear face |
Only LEDs that exist are shown — RD1, RD2, RD3 gives three indicators, not six. With
none of these names present, the HUD shows all LEDs. A custom layout overrides this with its
own data-hud-led bindings.
Out of scope
Factory light circuits — headlight and tail light flashers — are native vehicle lights,
not placed LEDs. Do not invent names like HLF or TLF.
Model-defined LEDs
For vehicle modellers. Author named bones into your model and tLS reads the LED layout off
the skeleton — no tls.json, no placement work for whoever installs the vehicle. A v1
embedded layout is discovered whenever the vehicle has no saved leds section.
- You get geometry, not behaviour. Ship a
patterns-only
tls.jsonto light out of the box. - You export the bones by hand. Nothing is read from lightbar meshes, GTA siren lights, modelling empties or custom properties, and there is no modelling plugin.
Authoring contract: v1
Include a bone named tls_v1 to opt in; its placement is unused.
| Bone | Meaning |
|---|---|
tls_led_001 | Centre of the LED rectangle. Its rotation defines the LED's frame |
tls_led_001_r | Right-edge midpoint, in the centre bone's positive local X |
tls_led_001_u | Top-edge midpoint, in the centre bone's positive local Z |
- Number each LED 001 through 064. Gaps are fine; never renumber during a revision
- 64 is
TLS_MAX_LEDSinconfig/render_config.lua. A server owner may raise it, but author against 64 - The centre bone's +X points right, +Z points up, +Y points out of the lens. The edge markers cannot correct a wrong rotation
| Rule | Detail |
|---|---|
| Parenting | _r and _u are children of the centre bone, with no independent animation. Parent the centre to whatever the LED follows — chassis, door, bonnet |
| Placement | Put the centre on the intended emitting surface. tLS adds no lens offset |
| Dimensions | Metres. For a 0.10 m × 0.04 m rectangle, _r is at local (0.05, 0, 0) and _u at (0, 0, 0.02). sw and sh are half-extents, so that yields sw: 0.05, sh: 0.02 |
| Bounds | Both half-extents between 0.005 m and 2 m. Off-axis error within the greater of 0.5 mm or 1% of the larger half-extent |
| LODs | Keep every marker bone present and consistent across streamed variants and LODs |
| Animation | The centre bone may move at runtime — that is how door and bonnet LEDs work — but animated LED dimensions are not supported |
What gets skipped
A failed set is skipped and named in the client console (F8); the rest still loads.
| Cause |
|---|
An incomplete set — a centre bone with no _r, or no _u |
| Non-finite coordinates, reversed axes, or a degenerate size |
| An edge marker not aligned on the axis it belongs to |
A marker numbered above the server's TLS_MAX_LEDS |
A vehicle that streams in without its skeleton ready is retried at most once every five seconds, so a transient failure is not permanent. The editor forces a fresh scan.
Stable pattern identities
An embedded LED's ID and initial name are both its centre bone name, such as
tls_led_001, and its initial group is Model LEDs.
- Renaming or removing a marker breaks references to its old identity
- A new marker takes an unused number
A patterns-only tls.json references them without repeating placement:
{
"example_vehicle": {
"patterns": [
{
"name": "Example flash",
"fps": 4,
"colors": [{ "r": 255, "g": 0, "b": 0, "a": 1 }],
"frames": [
{ "duration": 1, "cells": { "tls_led_001": 1 } },
{ "duration": 1, "cells": {} }
]
}
]
}
}Declare it in the vehicle resource, using your model's real spawn name in place of
example_vehicle:
tls_config 'tls.json'Do not include leds: [] in a patterns-only config — an explicit empty array disables
the embedded layout.
Saved layout precedence
| Config | Result |
|---|---|
No leds field | Use the model layout, if present |
Explicit leds array, including [] | Use that array exclusively. Never merged with model geometry |
| No valid model layout | The existing manual placement workflow |
An ordinary editor save stores a full explicit layout overriding the model geometry. Your model file is never written to.
- The box icon — Import missing model-defined LEDs in the Lights tab appends only markers whose ID or centre-bone attachment is absent, keeping existing edits and patterns and respecting the LED cap. It persists only when you save
- To restore one marker, delete that LED and import it again
- Updating the model does not clear a saved override. The only way back to automatic
placement is to back up the config and remove its
ledssection
Extras, modkits and appearance
Version 1 embeds placement, orientation and size only. Extra and modkit visibility, livery restriction, texture and group are not inferred — set those in the editor and save an explicit layout.
Legacy and Enhanced
The same markers work on both generations.
tLS
Still stuck? Support can answer it directly.
Was this page helpful?
TIMMYG Studios