Vehicles: number plates follow their switches #223
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!223
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/223/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 23:40 UTC · original
holdmysocks:claude/number-plates→master· +30 −12 · 1 files · 2 commits · merged 2026-11-24 23:53 UTCWhat
Number plates, plate frames and plate mounts now follow their switches instead of being put on every plate bone the vehicle has. Before, a plate part fitted all four of its elements wherever the bone existed, so most vehicles showed a front plate the data does not ask for, and the export listed two "the vehicle has no bone" lines per plate part.
The four plate bones are
plate_f(03e3e512),plate_r(567b0a43),mod_plate_f(a0976fcb) andmod_plate_r(8e174ab3). Every plate, frame and mount part of the library has two switches over them:plate_r; with keyc623bf2cthe one onmod_plate_r; with68bd62canothing.2aef799dthe element onplate_f; with2aef799d+7be534e0the one onmod_plate_f; with503c4352nothing.The keys are set by fitted parts:
c623bf2cby rear bumpers (slotbumper_r), pickup beds and boots;7be534e0by front bumpers (slote7a4b1f5= joaatbumper_f);2aef799dand503c4352by parts of the vehicle (108 and 36 vehicles).vehicles.rs:vehicles.jsonFORMAT16 -> 17 (the viewer rebuilds the file). Switch records in it go from 1,085 to 2,303. No change in the export or viewer code: both already pick a switch's element from the fitted parts' keys.Checked
sixng vehicle(reclaimerclassic 0 and 4, bobcatxl 0, dominator 0): one plate and one frame or mount, each "switch ...", no plate lines undernot_fitted(before: two of each fitted, two "no bone" lines each).2aef799d) shows front and rear plates.cargo test --workspace --lockedpasses.Not decoded / not done
68bd62ca(no part does).2aef799dcannot be checked against the game here; it is what the switch says.