Vehicles: a part element names its model by asset id; pickup beds from their part #118
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!118
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/118/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 04:39 UTC · original
holdmysocks:claude/part-asset-ids→master· +124 −26 · 4 files · 1 commits · merged 2026-11-24 04:46 UTCDecodes the link from a vehicle part to its models, which was the missing step for pickup beds.
What
77f2b89e) of a vehicle pack names its model inasset(8605bf0e, 64 bits). It is the first half of MurmurHash3 x64 128, seed 0, of the model's lower-case name without LOD suffix.meta7a::asset_idcomputes it;vehicles.jsonnow gives it per element asasset(format 12;modelis unchanged). In the library the field is 32 bits and stays the joaat of the name.1c9dd6fe: the bed atmod_bed_attachand usually the rear bumper), and the configurations list that part. So the bed no longer depends on the<vehicle>_pickupname guess, and a configuration that names another body gets it. All parts of that slot form one "body" choice. The name guess stays as a fallback where no part names the model.--screenshot --exit) now waits for the parts reload a configuration asks for.Checked
1c9dd6fe, and for each the part is in the vehicle's configurations.cargo test -p sixng-core -p sixng-gui: 149 + 12 passed, with a new test of four known name / id pairs.Not decoded / not done
6191ddc2/deade5a9name elements, not read).1c9dd6fe.