Head skins: cs_ heads without a face preset take their character's face (cs_lucia) #355

Manually merged
github merged 1 commit from gh-pr/355/head into gh-pr/355/base 2026-11-26 20:30:00 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 04:50 UTC · original
holdmysocks:people-cs-head-faces → master · +90 −4 · 3 files · 1 commits · merged 2026-11-26 05:40 UTC

cs_lucia's head has no face preset (its name hash appears only in the model itself), so the viewer gave it an automatic face: another fr1_lat woman's, not Lucia's. This makes a cs_ head without a preset borrow the face of the same character's other head.

The link is the ped model table's character name (Models::aliases; player_story000_00 carries "lucia"). A cs_<x> head with no preset takes the faces of the head of the one model that carries character name <x>, when:

  • exactly one model carries that name, and it is not the cs_ model itself;
  • that model has exactly one head with a preset and the same head code (sex, body type, ethnicity);
  • the ages are equal, or both adult (y and m). Lucia's player head is …_000_m and her cutscene head …_000_y, so equal age letters alone would have excluded the case asked for. Old (o) and child heads never mix with others.

Which heads it covers: of the 29 cs_ heads without a preset, this links only cs_lucia. The others have no character model, or only a head of another age (cs_marv_carpenter old vs middle-aged), body type (cs_kordell mr1 vs mb1, the cousins' adult vs kid heads) or ethnicity (cs_loz_billysgang), so they keep the automatic face.

What changes

  • model.json head_skin.source is character, with the donor head as group; the viewer labels it "the face of this character's other head".
  • Face table cache version 3 → 4, so it rebuilds on first use (about 5 s). Older exes rebuild it back to version 3 when they run.
  • README: Head skins section.

Renders (face close-up, outfit 0; top: current target\release, bottom: this PR): cs_lucia now has Lucia's player face, with the same moles, brows and forehead relief as player_story000_00. cs_marv_carpenter is unchanged. The sheet is in the work scratch folder bodyskin/cs/cs_faces.png.

Tests: sixng-core lib 311 passed (new: character_heads). The viewer builds.

**@⁠holdmysocks** on GitHub · 2026-11-26 04:50 UTC · [original](https://github.com/holdmysocks/SixNG/pull/355) `holdmysocks:people-cs-head-faces` → `master` · +90 −4 · 3 files · 1 commits · merged 2026-11-26 05:40 UTC `cs_lucia`'s head has no face preset (its name hash appears only in the model itself), so the viewer gave it an automatic face: another fr1_lat woman's, not Lucia's. This makes a `cs_` head without a preset borrow the face of the same character's other head. **The link** is the ped model table's character name (`Models::aliases`; `player_story000_00` carries "lucia"). A `cs_<x>` head with no preset takes the faces of the head of the one model that carries character name `<x>`, when: - exactly one model carries that name, and it is not the `cs_` model itself; - that model has exactly one head with a preset and the same head code (sex, body type, ethnicity); - the ages are equal, or both adult (`y` and `m`). Lucia's player head is `…_000_m` and her cutscene head `…_000_y`, so equal age letters alone would have excluded the case asked for. Old (`o`) and child heads never mix with others. **Which heads it covers:** of the 29 `cs_` heads without a preset, this links only `cs_lucia`. The others have no character model, or only a head of another age (`cs_marv_carpenter` old vs middle-aged), body type (`cs_kordell` mr1 vs mb1, the cousins' adult vs kid heads) or ethnicity (`cs_loz_billysgang`), so they keep the automatic face. **What changes** - `model.json` `head_skin.source` is `character`, with the donor head as `group`; the viewer labels it "the face of this character's other head". - Face table cache version 3 → 4, so it rebuilds on first use (about 5 s). Older exes rebuild it back to version 3 when they run. - README: Head skins section. **Renders** (face close-up, outfit 0; top: current target\release, bottom: this PR): `cs_lucia` now has Lucia's player face, with the same moles, brows and forehead relief as `player_story000_00`. `cs_marv_carpenter` is unchanged. The sheet is in the work scratch folder `bodyskin/cs/cs_faces.png`. Tests: sixng-core lib 311 passed (new: `character_heads`). The viewer builds.
The ped model table gives each model a character name. A cs_<x> head that
no preset lists now takes the face of the head of the one model carrying
character name <x>, when both heads have the same sex, body type and
ethnicity code and neither is old or a child where the other is not (young
and middle-aged mix). Of the 29 such cs_ heads this links cs_lucia to
Lucia's player head; before, it got another woman's face. model.json
head_skin.source is "character" with the donor head as group; the viewer
labels it. Face table cache version 4.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:29:58 +00:00
github manually merged commit aeacdcec4d into gh-pr/355/base 2026-11-26 20:30:00 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.