Decode the ped material-ID system (clothing colours) #16

Open
opened 2026-11-26 20:55:50 +00:00 by github-bot · 0 comments
Owner

@⁠nineforge0 on GitHub · 2026-11-25 04:33 UTC · original

Most player/NPC clothing drawables bind a flat green/orange/blue region-map texture (materialid parameter) instead of a diffuse. The per-region colours come from metadata not yet decoded. The ped-meta parser on t3/hero-fulldata reads the per-pack part table and texture-variation records, but the region-to-colour mapping is missing.

Decoding this would let forge9 model export clothed characters with correct colours instead of a grey/green placeholder.

See docs/drawable_format.md Ped metadata section.

**@⁠nineforge0** on GitHub · 2026-11-25 04:33 UTC · [original](https://github.com/nineforge0/forge9/issues/16) Most player/NPC clothing drawables bind a flat green/orange/blue region-map texture (`materialid` parameter) instead of a diffuse. The per-region colours come from metadata not yet decoded. The `ped-meta` parser on `t3/hero-fulldata` reads the per-pack part table and texture-variation records, but the region-to-colour mapping is missing. Decoding this would let `forge9 model` export clothed characters with correct colours instead of a grey/green placeholder. See `docs/drawable_format.md` Ped metadata section.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:55:50 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.