Vehicles: all clips, bonnet and boot, brake discs, wheels by tyre size #56
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!56
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/56/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-23 16:13 UTC · original
holdmysocks:claude/vehicle-small-items→master· +279 −47 · 5 files · 4 commits · merged 2026-11-23 16:56 UTCFour small vehicle additions.
va_<model>dictionary goes intomodel.glbas a glTF animation, not onlyroof(va_jubileehassunroof_r_anim). The viewer shows a slider per extra clip.bonnetandbootbones. The opening direction comes from where the panel's vertices lie relative to its bone; the door slider uses the same rule.wheel_mountsgetsbrake_radiusandbrake_centre(the smaller collision disc on the wheel's axle line;wheel_mounts_version3). The viewer draws the configuration'sbrakedisc_*andcaliper_*models there.The viewer re-exports cached vehicles that predate this.
Checked
Not checked
The caliper's placement, hinges beyond those two cars, and the GLB animations in another tool. Sliding doors and panels under other bone names do not open.
Stacked on #55
This branch sits on #55 (roof animation), which sits on #54, and targets #55's branch so the diff shows only this work. Merge #54, then #55, then this.
A convertible's model info names its roof animation as in GTA V: animConvRoofDictName = joaat("va_<model>") and animConvRoofName = joaat("roof"). The dictionaries are in levels.rpf as entries without a recovered name (170 clip dictionaries there, 11 of them va_*); the existing clip decoder reads them. - anim: level_dictionaries (names cached in <work>/index/levels.clipdicts.json) and vehicle_roof. - Export: a vehicle with a va_<model>/roof clip gets it in model.glb as a glTF animation of the joint nodes, and model.json gets roof_animation (source, duration, bone coverage). Time 0 is the roof up, the end the roof stowed. - Viewer: a "roof fold" slider plays the clip (--roof 0..1 in automation). The "roof down" switch stays for a car with roof bones and no clip. - Viewer: joint nodes written as translation / rotation / scale are read. Only matrices were, and a GLB with an animation writes its joints as TRS, so its joints loaded at the origin. All ten convertibles among the 284 surveyed vehicles have the clip (carbonizzare, comet7, dominator9, dominatorclassic, lasso, schutzen, sentinelclassic2, vigero3, windsor2, zion2; 3.8 to 11.1 s, 12 to 74 channels) and every animated bone is on the car's skeleton. Watched in the viewer on sentinelclassic2, comet7 and windsor2. Not wired: va_jubilee holds a 1.7 s clip sunroof_r_anim (2 bones). The exported GLB was checked for the animation but not opened in another tool.