{"id":25974659,"url":"https://github.com/unknown-gd/npc-model-replacement","last_synced_at":"2026-04-23T03:32:09.974Z","repository":{"id":209641595,"uuid":"724593613","full_name":"unknown-gd/npc-model-replacement","owner":"unknown-gd","description":"Simple script for replacing npc models and randomizing skins and bodygroups.","archived":false,"fork":false,"pushed_at":"2023-11-29T06:13:20.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T02:35:31.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/unknown-gd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-11-28T11:58:43.000Z","updated_at":"2023-11-28T12:00:40.000Z","dependencies_parsed_at":"2023-11-28T13:27:20.679Z","dependency_job_id":"23694967-de25-418e-93c1-99450c13c6cf","html_url":"https://github.com/unknown-gd/npc-model-replacement","commit_stats":null,"previous_names":["prikolmen/npc-model-replacement","unknown-gd/npc-model-replacement"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/unknown-gd/npc-model-replacement","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknown-gd%2Fnpc-model-replacement","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknown-gd%2Fnpc-model-replacement/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknown-gd%2Fnpc-model-replacement/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknown-gd%2Fnpc-model-replacement/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/unknown-gd","download_url":"https://codeload.github.com/unknown-gd/npc-model-replacement/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/unknown-gd%2Fnpc-model-replacement/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32164905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-23T02:19:40.750Z","status":"ssl_error","status_checked_at":"2026-04-23T02:17:55.737Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-05T02:32:54.450Z","updated_at":"2026-04-23T03:32:09.959Z","avatar_url":"https://github.com/unknown-gd.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npc-model-replacement\nSimple script for replacing npc models and randomizing skins and bodygroups.\n\n## Customization from Lua\nThe `true`/`false` in `Skin` and `BodyGroups` means random, if true, the script chooses a random value for that key.\n\n```lua\nlist.Set( \"NPCModelReplacement\", \"original/model/path\", \"your/model/path\" )\nlist.Set( \"NPCModelReplacement\", \"original/model/path\", { \"your/model/path\", \"your/model/path2\", \"your/model/path3\" }  )\nlist.Set( \"NPCModelReplacement\", \"original/model/path\", { ModelPath = \"your/model/path\", Skin = 0, BodyGroups = \"000000\" }  )\nlist.Set( \"NPCModelReplacement\", \"original/model/path\", {\n    { ModelPath = \"your/model/path\", Skin = 0, BodyGroups = \"000000\" },\n    { ModelPath = \"your/model/path2\", Skin = false, BodyGroups = false },\n    { ModelPath = \"your/model/path3\", Skin = true, BodyGroups = true },\n    { ModelPath = \"your/model/path3\", Skin = { 0, 4 }, BodyGroups = {\n            {\n                id = 0,\n                value = 1\n            },\n            {\n                id = 2,\n                value = 0\n            }\n        }\n    }\n} )\n```\n\n# Customization from JSON in SERVER data\nSupports all the same things as Lua customization but in JSON format, more info at wiki.facepunch.com/gmod\n```json\n{\n\t\"models/monk.mdl\": \"models/alyx.mdl\",\n\t\"path/to/model2\": \"path/to/other/model2\"\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funknown-gd%2Fnpc-model-replacement","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funknown-gd%2Fnpc-model-replacement","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funknown-gd%2Fnpc-model-replacement/lists"}