Part colours: a fitted body kit takes the car's paint #184
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!184
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/184/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 17:24 UTC · original
holdmysocks:claude/kit-paint→master· +112 −8 · 4 files · 2 commits · merged 2026-11-24 17:58 UTCWhat
Reported by the user: a wide-body kit fitted by hand stays black while the car takes its paint.
Two causes, both in the part colour tables (
vehcolour):51aab7c1record: a typed reference to something else. With type 5 itsdatanames a library part whose modifiers come along (197 of 198 such records name a library part). The elegy's wide-arch kit (dd804ee6) defines a group for its panels (part id 67) and names, through such a reference, the colour scheme part that binds that group to the body paint. The reference is now followed (up to three levels, like option lists).part_patches: for each of a vehicle's own parts that the usual configuration does not name, what fitting it changes (part id, colour, surface). 156 vehicles have such parts, 2,815 parts in all.The patches are written to
model.json(part_colours.part_patches: part name -> ids and their look entries) and applied by the viewer (Fit / Randomize parts) and bysixng vehicle --with.Versions: colour tables
FORMAT18 -> 19 (the cachedvehicle_parts.jsonis rebuilt on first use),EXPORT_VERSION20 -> 21.Side effect
Following the type 5 references also applies them for the parts a configuration names, so the default colours of 56 of 320 vehicles change, mostly by one or two part ids (elegy: id 113 now takes the paint). The largest: zorrusso (74 ids), lectro (52), marshall (50), bobcatxl (32), yosemite (26), sandkingxt (22).
Checked
sixng vehicle elegy --config 4 --with dd804ee6, opened in the viewer: the kit's arches, skirts and bumper panels take the paint; before they were black. The lower lip stays black (its part id is not in the kit's group).--fit-parts): the kit panels have the body colour.cargo build -p sixng-cli -p sixng-guipasses.Not decoded / not done
51aab7c1(0 to 4) are not read. Type 0 (580 records) and type 1 also name library parts; what they do is not known.