stalker-soc-artlisted
Install: claude install-skill webpnk/stalker-soc-skills
# SoC art pipeline (Blender 3.2 + blender-xray 2.46, headless)
Scripts (copy `scripts\*` into `<root>\src\art\`; they find the workspace two folders up):
| File | What |
|---|---|
| `xrlib.py` | enable blender-xray, point it at `unpacked\`; `reset_scene`, `import_ogf`, `export_ogf` (SoC format) |
| `proplib.py` | `material(name, texture)`, `finish_prop(mesh, name, mass, gamemtl, shape)` -> single-bone OGF with box collision; `PROP_DIR` |
| `propkit.py` | `Builder` (boxes, cylinders, quads/tris with per-face materials and UVs) + example props; `--preview` renders PNGs |
| `robe_kit.py` | dress a vanilla stalker OGF in procedural cloth on its own skeleton (animations/AI keep working); presets wraith, wizard, ranger, villager, robed; set `PREFIX` |
| `inspect_ogf.py` | print bones, shapes, mass, materials, flags of any OGF (learn vanilla conventions) |
| `texlib.ps1` | `Init-Tex <prefix>`, `Cloth`, `Metal`, `Solid`, `TextBoard` (Cyrillic text), `Save-Dds` via texconv |
| `build_textures_example.ps1` | example texture build (UTF-8 **with BOM** - Cyrillic in PS 5.1) |
Run: `& "C:\Program Files\Blender Foundation\Blender 3.2\blender.exe" -b --factory-startup -P <script.py> -- <args>`
(`--factory-startup` keeps user prefs out; xrlib re-enables the add-on each run). The message
`id_delete: Deleting IMRender Result which still has 1 users` after previews is harmless.
## Rules that crash the game if broken
- **Bone gamemtl must exist in gamemtl.xr** or the game crashes silently wh