Cutscene characters: clothing sets on the model that wears them, names confirmed by scene peds, outfit for models without own parts (#306) #349

Manually merged
github merged 4 commits from gh-pr/349/head into gh-pr/349/base 2026-11-26 20:29:30 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 03:47 UTC · original
holdmysocks:issue-306-more → master · +171 −14 · 3 files · 4 commits · merged 2026-11-26 04:17 UTC

Follow-up to #317 for #306: more cutscene (cs_) characters open, more outfit-list models are named, and outfit exports models that have no parts named after them.

Changes

  • Clothing sets without a head (pedlook): some character prefixes are not in the outfit list, but another model's wardrobe wears their parts. Such a prefix now takes that model's outfits, with the outfits that wear its parts first. Example: cs_roxy has her clothes but no head, and cs_nastydimez_roxyrashad wears them with her head and hair. The model table records which wardrobe resources name each such drawable (by 64-bit name id). The link counts only when an outfit wears the prefix's own head, or two of its parts for a set with no head. One shared accessory isn't enough: a crowd ped wears cs_mischa_piercing with a generic head, so cs_mischa is not linked to it.
  • Names confirmed by scene peds: words from the cutscene clip handles and the name dictionary are tried with the ped prefixes (cs_, ig_, g_m_m_ …) and _00…_12. A candidate is kept only when its 64-bit id is also a scene file's ped model, so these names are certain. New: cs_felixtheten, g_m_m_cashcity_00, g_f_m_cashcity_00, g_m_m_finalchapter_00, g_f_m_finalchapter_00, g_m_m_koltandassoc_00, g_f_m_koltandassoc_00, g_m_m_polillanegra_00/01/02, g_f_m_polillanegra_00. The model and name cache versions go up.
  • sixng outfit cs_mandy without --look or --parts exports outfit 0 for a model with no parts of its own, instead of failing with "no parts named cs_mandy_…". A name that is neither gets the old message. README: an example line and the rule.

Counts (full install, against #317)

#317 this PR
named outfit-list models 585 596
scene cast entries with an unresolved model 2452 2435
scene cast entries the viewer can play 5531 5548
distinct unresolved cast model ids 214 210
ped-look '^cs_' rows with head and body 344 of 356 346 of 357

cs_roxy now opens with a head (23 outfits). Still head-only, with nothing that links them: cs_blair, cs_byron_dugal, cs_connie, cs_cousin_02, cs_gator_trainer, cs_ilarus, cs_mischa, cs_vern. A 32-bit hash scan for their names finds only chance hits.

Checked: pedlook tests pass. outfit cs_mandy --hair writes the same 5.5 MB model and 39 MB hair file as --look 0. outfit cs_mandyy gives the part-name error. outfit cs_ali is unchanged.

**@⁠holdmysocks** on GitHub · 2026-11-26 03:47 UTC · [original](https://github.com/holdmysocks/SixNG/pull/349) `holdmysocks:issue-306-more` → `master` · +171 −14 · 3 files · 4 commits · merged 2026-11-26 04:17 UTC Follow-up to #317 for #306: more cutscene (`cs_`) characters open, more outfit-list models are named, and `outfit` exports models that have no parts named after them. ## Changes - **Clothing sets without a head** (`pedlook`): some character prefixes are not in the outfit list, but another model's wardrobe wears their parts. Such a prefix now takes that model's outfits, with the outfits that wear its parts first. Example: `cs_roxy` has her clothes but no head, and `cs_nastydimez_roxyrashad` wears them with her head and hair. The model table records which wardrobe resources name each such drawable (by 64-bit name id). The link counts only when an outfit wears the prefix's own head, or two of its parts for a set with no head. One shared accessory isn't enough: a crowd ped wears `cs_mischa_piercing` with a generic head, so `cs_mischa` is not linked to it. - **Names confirmed by scene peds**: words from the cutscene clip handles and the name dictionary are tried with the ped prefixes (`cs_`, `ig_`, `g_m_m_` …) and `_00`…`_12`. A candidate is kept only when its 64-bit id is also a scene file's ped model, so these names are certain. New: `cs_felixtheten`, `g_m_m_cashcity_00`, `g_f_m_cashcity_00`, `g_m_m_finalchapter_00`, `g_f_m_finalchapter_00`, `g_m_m_koltandassoc_00`, `g_f_m_koltandassoc_00`, `g_m_m_polillanegra_00/01/02`, `g_f_m_polillanegra_00`. The model and name cache versions go up. - **`sixng outfit cs_mandy`** without `--look` or `--parts` exports outfit 0 for a model with no parts of its own, instead of failing with "no parts named cs_mandy_…". A name that is neither gets the old message. README: an example line and the rule. ## Counts (full install, against #317) | | #317 | this PR | |---|---|---| | named outfit-list models | 585 | 596 | | scene cast entries with an unresolved model | 2452 | 2435 | | scene cast entries the viewer can play | 5531 | 5548 | | distinct unresolved cast model ids | 214 | 210 | | `ped-look '^cs_'` rows with head and body | 344 of 356 | 346 of 357 | `cs_roxy` now opens with a head (23 outfits). Still head-only, with nothing that links them: `cs_blair`, `cs_byron_dugal`, `cs_connie`, `cs_cousin_02`, `cs_gator_trainer`, `cs_ilarus`, `cs_mischa`, `cs_vern`. A 32-bit hash scan for their names finds only chance hits. Checked: pedlook tests pass. `outfit cs_mandy --hair` writes the same 5.5 MB model and 39 MB hair file as `--look 0`. `outfit cs_mandyy` gives the part-name error. `outfit cs_ali` is unchanged.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:29:28 +00:00
github manually merged commit 9144b5d958 into gh-pr/349/base 2026-11-26 20:29:30 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.