Vehicles: truck bodies and beds from the configuration's parts #95
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!95
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/95/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 00:41 UTC · original
holdmysocks:claude/truck-bodies→master· +174 −35 · 3 files · 1 commits · merged 2026-11-24 00:47 UTCTrucks and pickups showed a cab on a bare frame: their bodies are separate models that a configuration's parts bring in.
What
Core
truckbeds_box_01,truckbeds_flatbed_03,truckbeds_mixer_01_lrg...), mud flaps, antennas, light bars. The chain is part0caef606->elements-> element77f2b89e: bone079baba7, hidden stock bones2b490ab7, and the model, which is the low half of the element's part set key8605bf0e(the joaat of the model's name; 1,996 of the library's 2,027 elements name an existing model that way).vehicles.jsonis format 11: a vehicle'smodsnow also holds the library parts its configurations name, markedshared, and every element hasmodel.Viewer
<vehicle>_pickup(_flatbed,_cargobed). It is offered as a part of its own ("body (link not known)"), placed at themod_bed_attachbone and on by default.Export (not in this PR: it was merged first; see the follow-up PR "Vehicles: no prop tint on vehicle shaders")
part_colours_version8, so vehicles and their parts are exported again on first open.Checked
cargo test -p sixng-core -p sixng-gui: 156 passed (no new tests).Not decoded / not done
1c9dd6fe) names its models by hashes that match no model name in the archives, so the<vehicle>_pickupmodel is attached by its name and a bone, not through that part. Bed liners, tailgates and other pieces of that part are not shown.f14244fdrecord in packs.rpf or data.rpf), so they show the stand-in trim and paint colours, not per-part ones.be692119in a vehicle pack looked like body attachments but are prop sets (litter, boxes and tools placed in the cab or on the bed: each names a small entity list in levels.rpf). Not used here.