Vehicles: liveries as data (brands, stickers, textures, layouts) #168
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!168
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/168/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-24 15:13 UTC · original
holdmysocks:claude/liveries-data→master· +264 −1 · 3 files · 2 commits · merged 2026-11-24 16:05 UTCWhat
sixng vehiclesnow also writes<out>/vehicles/liveries.json: which stickers each vehicle brand puts where. This is the data side of liveries (SIX-109). Nothing is drawn yet; the exact placement of a sticker inside its zones is still not decoded.How a livery is stored:
fc1c7000) such asBENSON_BRAND_BAUMHARDERDAIRY. It gives slots with weighted part options and can build on parent variations (03ae1cb0).86cdf3df) in their modifier list. An entry names a sticker record and a layout in a layout group.ed9cf5df, vehicle library) names a texture by its 64-bit id in the vehicle texture stores, and holds colours and an aspect class.b0dd20cb, layoutse2d9c73a; its field names are hashed with their capitals). A layout lists the sticker zones it covers, a position, a size, a rotation in degrees and the UV set._COLOR1, PR 162).liveries.jsonper vehicle: its brands, each with its stickers (part, sticker record, texture id, colours, layout group and name, and the layout's zones, position, size, rotation, UV mode and aspect). New core modulevehstickers.Numbers (one run on the full install)
sixng vehicles.Checked
cargo build -p sixng-clipasses without warnings.Not decoded / not done
Locationand two small integers (80c88a97,9f8b8007); a sticker entry's five flags.