Fit vehicle parts whose names are known, and boats' parts #437

Manually merged
github merged 2 commits from github-bot/gh-437 into gh-pr/437/base 2026-11-27 03:15:23 +00:00 AGit
Owner

@⁠holdmysocks on GitHub · 2026-11-27 02:29 UTC · original
holdmysocks:named-parts → master · +10 −7 · 2 files · 2 commits · merged 2026-11-27 03:12 UTC

Vehicle exports and the viewer dropped every part whose name is known. A configuration's parts are listed by name where the name hash is solved (rhode_outboard) and by hash otherwise, and only the hashed ones were fitted. Boats were also never fitted with parts, because the viewer only fitted fragments with wheel mounts.

Changes

  • vehexport: fit every part of the configuration, named or hashed, in the main fit loop and in the slot models. Rims, tyres, brake discs and calipers still go on the wheels.
  • Viewer: fit vehicle parts for any fragment with a chassis bone, not only those with wheel mounts.

Results

  • Rhode, config 0: now fits the four outboard engines (side by side, x −1.48..1.48), plus the roof, sign, horns and radar.
  • Buffalo, config 4: now fits the bonnet, spoiler, splitter and about 20 other parts. Before, only the plates were fitted.
  • The Rhode's livery zones 252/253 are on the outboards, so its game livery draws once this and PR 423 are both in.

Tests

  • cargo test -p sixng-core vehexport: 4 pass.
  • cargo test -p sixng-gui: pass.
  • Rendered the Rhode and Buffalo in the viewer with the fix.
**@⁠holdmysocks** on GitHub · 2026-11-27 02:29 UTC · [original](https://github.com/holdmysocks/SixNG/pull/437) `holdmysocks:named-parts` → `master` · +10 −7 · 2 files · 2 commits · merged 2026-11-27 03:12 UTC Vehicle exports and the viewer dropped every part whose name is known. A configuration's parts are listed by name where the name hash is solved (`rhode_outboard`) and by hash otherwise, and only the hashed ones were fitted. Boats were also never fitted with parts, because the viewer only fitted fragments with wheel mounts. ## Changes - `vehexport`: fit every part of the configuration, named or hashed, in the main fit loop and in the slot models. Rims, tyres, brake discs and calipers still go on the wheels. - Viewer: fit vehicle parts for any fragment with a `chassis` bone, not only those with wheel mounts. ## Results - Rhode, config 0: now fits the four outboard engines (side by side, x −1.48..1.48), plus the roof, sign, horns and radar. - Buffalo, config 4: now fits the bonnet, spoiler, splitter and about 20 other parts. Before, only the plates were fitted. - The Rhode's livery zones 252/253 are on the outboards, so its game livery draws once this and PR 423 are both in. ## Tests - `cargo test -p sixng-core vehexport`: 4 pass. - `cargo test -p sixng-gui`: pass. - Rendered the Rhode and Buffalo in the viewer with the fix.
A configuration lists a part by its name where the name is known
(rhode_outboard, buffalo_bonnet_01) and by its hash otherwise. The export
only fitted the hashed ones, taking names for wheel models, so known parts
were dropped. The viewer fitted parts only on vehicles with wheel mounts,
so boats got none.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 02:42:25 +00:00
github-bot changed target branch from master to gh-pr/437/base 2026-11-27 03:15:20 +00:00
github manually merged commit d0ffc1ce68 into gh-pr/437/base 2026-11-27 03:15:23 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.