Characters: list every ped model of the outfit list, named where a name is recovered #199
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!199
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/199/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 19:59 UTC · original
holdmysocks:claude/people-all-ped-models→master· +269 −8 · 4 files · 1 commits · merged 2026-11-24 20:20 UTCWhat
A character built only from shared parts (generic head, generic clothes) had no drawable with its prefix, so the character list and the viewer's picker never showed it, although it opened fine when its model name was typed. This lists every ped model of the game's outfit list.
pedlook::model_names, cached in the work directory): the outfit list stores only name hashes, so candidate names are hashed against its keys. Candidates: index names and their_prefixes, the name dictionary, and capitalised words of the text tables (single words and runs of two or three) behind the ped model prefixes. Text and dictionary candidates count only with a ped model prefix.sixng charactersaddsmodels: every model with name, hash, outfit count and whether it is already listed as a character.--kind modelshows these alone.ped-lookandoutfit:takeped_0x<hash>(or0x<hash>) for a model without a name.Numbers
2,713 models; 579 named (the character list had 318 names before, 116 of them model names). 2,134 are listed as
ped_0x<hash>. With about 13 million candidates against 2,713 keys, around eight names are expected to be chance hits; all but one of the names found carry a ped model prefix.Verified
--model … --screenshot.Not verified
Follow-ups
A wider name search for the unnamed ambient models, display names from the text labels, a text search command.