Weapons: finishes from the weapon, part set and mod records; default finish #139
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!139
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/139/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 12:09 UTC · original
holdmysocks:claude/weapon-default-finish→master· +128 −88 · 4 files · 1 commits · merged 2026-11-24 12:20 UTCWhat
Weapon finishes were matched to a model by guessing the part type from a word of the model name, within one family file. They are now joined from the game's own records, which also answers which finish a weapon has by default.
bc92474a, 168 records) has a part set (5ad6772f; its own, or its weapon type's454c2e3b) that lists component options per part type, and a mod list. A finish mod (a5791c62) lists variant records (6724161c), each for one part type. A variant is offered to the models of the components that the weapon's part set lists under that part type.optics,sight_optic,optic_rail,carry_handle,mag_assist,saddle,accs): 53 of 54.model_finishesreplacesweapon_families); older builds rebuild their own.Checked
sixng materialson the game data printsweapon_finishes: {models: 621, variants: 1276}.w_ar_duke_01now offers finishes for its front sight, carry handle (rear sight) and safety, which the name matching missed.cargo test -p sixng-core: 151 passed.Not decoded
38d9ad3a): not read into the index.060dc09e, the fore grips, 4 finishes) is unnamed.72f3252e) are not named.