willy92wins/dayz-modding-knowledge-pack/dayz-model-pipeline
Claude Code and agent skill by willy92wins/dayz-modding-knowledge-pack
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Skill for generating complete DayZ mod objects autonomously — from 3D models to game-ready .p3d files with LODs, memory points, named selections, procedural textures, .rvmat materials, animations (model.cfg), and config.cpp. Primary path: Blender headless for pro geometry (bevel, subdiv, booleans, Smart UV, AO bake, auto LOD decimate — user-gated for visual LODs) + py3d for .p3d assembly. Textures use OpenSimplex FBM multi-layer compositing. Use when user mentions: Object Builder, p3d files, LO…
Install
npx vskill@latest install willy92wins/dayz-modding-knowledge-pack/dayz-model-pipelineSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as willy92wins/dayz-modding-knowledge-pack/dayz-model-pipeline.
DayZ Model Pipeline — Complete Autonomous Object Generation
This skill enables generating complete DayZ mod objects from scratch — 3D model, textures, materials, animations, and all config files — using Python and Blender headless. Primary path uses Blender for pro-grade geometry (bevel, subdiv, booleans, Smart UV, AO baking, auto LODs via decimate) + py3d for .p3d assembly. Fallback path uses py3d only for quick prototyping without Blender. (until 1.29: the LOD table, Rule 14 visual-LOD proxies, and AddonBuilder packing loop below remain the 1.29 contract.) (since 1.30: inventory-attachment proxies also need ViewGeometry on dedicated server; wells need ViewGeometry liquid_source; -cacheP3D for unbinarized meshes; disableSimulation on static houses. Details: dayz-1-30-model-pipeline.md and ## DayZ 1.30.)
Artist-return .p3d preflight (SP-246)
BEFORE deploying any .p3d that came back from an artist, run this offline py3d preflight against the file that was sent. An artist exporter keeps what is VISIBLE and drops the rest. An untouched LOD is suspicious, not safe: the envelope may have moved while ViewGeometry, FireGeometry, boundingbox_min/max and *_axis came back intact and now lie.
Origin: GunRacks T2, 2026-08-15 (rack_t2_editado_final.p3d). Visual improvements were real (modelled hinges replacing a 1792-face wire mesh; cabinet depth 0.268 → 0.436 m). The return had no Geometry LOD, 7 proxy triangles deleted from the visual LOD, hideproxy declared but empty (0 points / 0 faces), Component01 and proxy paths lowercased. ViewGeometry / FireGeometry / boundingbox_min/max / doors1_axis were intact — the front protruded 0.168 m outside FireGeometry; the door axis sat 198.8 mm behind its own leaf.
Preflight (cheap, all offline with py3d, before deploying anything):
- Count LODs by
classify_lod_resolutionagainst the file that was sent. Geometry is the first to vanish. - Proxy selections present in visual + ViewGeo + FireGeo, and all of them inside the bone. Compare their coordinates against the sent model: if they change, the in-game alignment is lost.
- Visual-LOD bbox vs collision boxes vs `boundingbox_min/max`. If they diverge, rebuild the boxes, not the visual.
- Animation axes (
*_axis) against the piece they rotate: axis-to-piece distance. On T2 that number was 198.8 mm and jumped out on its own. - Casing of
Component01and of the mod's own paths against the validated artifact. - Orphan points and leftovers of replaced geometry — here, 3 points (one 0.57 m outside the model, which poisons any bbox computed from
lod.points) and 16 stray faces.
Reintegration supports (any artist round-trip):
#SharpEdges#are POINT indices. Any filtering that reindexes points leaves them pointing at foreign points without failing — remap them by hand. Measured here: max 2466 of 2505 points, 781 pairs, 0 lost after remap.- A py3d round-trip of a third-party exporter file is not byte-identical (here +892 B: regenerates
#UVSet#and drops empty#SharpEdges#) but it does keep points, faces, selections, properties and hard edges. Checking the round-trip BEFORE editing is the gate that authorizes touching the file with py3d — a.p3dgenerated by py3d does come back identical.
More than one artist round (same day, T1 `gunrackt1_nuevo.p3d` + T2 `rack_t2_puerta`):
- The artist starts from an old copy, so every correction later than the one they have comes back undone. Both returns re-applied the 180° proxy rotation removed the same day — exactly
R_orig·Ry(180)with the anchor fixed, on all 10 proxies. Proxy-triangle legs are 1–2 mm, so 180° moves vertices ~4 mm and no view flags it. The post-artist correction list is a re-runnable script, not a finished job; re-run it whole every round-trip, and compare against the DEPLOYED file, not the previous delivery. - Do not parameterize the patch as a delta on whatever the delivery brought. Memory point
doors1computed asdelivered_value + dzwould have been silently wrong on the 2nd delivery (memory origin 8.11 mm lower in Y, different Z). Always anchor to geometry in the file itself (Z = leaf_midplane + offset), and verify the reformulation reproduces the already-deployed value before trusting it. - An artist change that reduces a prior improvement is not a regression by default. Here it gave back 43 mm of depth because the door went inside the body (it had hung in front of the sides). What decides is functional magnitude, not delta direction: useful gap became 0.284–0.303 m vs 0.168–0.187 m on the model that clipped. Measure it; do not opine it.
Capabilities
- Blender headless geometry (bevel, subdivision, boolean cutouts, shade smooth)
- Automatic LOD generation via Blender Decimate modifier (LOD0 → LOD3)
- Decimation gate: Any decimation whose output is VISUAL (LOD0 or visible LODs) must be flagged to the user and approved BEFORE running — default is the user decimates manually. Automated decimation without asking is only acceptable for non-visual collision/view LODs.
- Smart UV projection and AO baking from real 3D geometry
- Procedural texture generation via Pillow + OpenSimplex (coherent noise FBM, multi-layer compositing)
- Direct .p3d assembly via py3d library (LOD packaging, named selections, memory points)
- Full LOD pipeline (Resolution, Geometry, Fire Geometry, View Geometry, Shadow, Memory)
- Animation setup (model.cfg with skeletons, bones, rotation/translation animations)
- Config generation (config.cpp with AnimationSources, DamageSystem, hiddenSelections)
- Material generation (.rvmat files with emissive support for LEDs/indicators)
- Complete addon packaging ($PBOPREFIX$, folder structure ready for AddonBuilder)
- Interactive 3D preview via Three.js HTML artifacts for visual validation before generating
Quick Reference
Before doing anything, read the relevant reference file:
- Wheeled vehicle? READ FIRST, before baking →
references/vehicle-structural-parity.md. A from-scratch vehicle reveals the pieces a real DayZ vehicle has of stock (Geometry wheel hubs, crew proxies in ViewGeometry, FireGeometry damage zones, lights, AnimationSources) one error at a time in-game unless you extract the full anatomy up front. Debinarize the civiliansedan once, diff against it, build every missing piece in one pass — that is the anatomy a project's readiness gate expects in hand before the spec is written (LL-030). - 1.30 vanilla P3Ds are ODOL v56 (1.29: v54), and so are the models you binarize since the DayZ Tools update of 2026-10-15 (`binarize.exe` 1.30.164.078; before it they came out v55). Before debinarizing a 1.30 vanilla reference model or reading back one of your own, read the P3D header (bytes 4-7); a v54 reader fails on vanilla v56 with
ValueError: subsection not found, and a v55 reader fails on your v56 models. Preflight detail:dayz-vehicles/references/dayz-1-30-vehicles.md; the DayZ Tools build and the v56 bytes:references/dayz-1-30-model-pipeline.md. - Wheeled vehicle config.cpp + model.cfg (complete, worked example) →
references/vehicle-config-and-modelcfg.md. The full car class: SimulationModule (engine/gearbox/drive/differential/suspension), Crew, lights, DamageZones, cargo, wheel/door items + slots + proxies, sound, AnimationSources, plus the matching model.cfg (CfgSkeletons bone hierarchy + wheel/steering/damper animations). Reproduces a verified working car (Tyson89/Landrover). Read AFTER vehicle-structural-parity.md. - Wheeled vehicle per-LOD content, memory points & proxies →
references/vehicle-structural-parity.mdAddendum 2026-05-30b (what each LOD carries for a car, the full memory-point catalog, and proxy placement per LOD). - Vehicle-specific work beyond assembly (CarScript config tuning, vanilla parity debugging, wheel simulation, dedicated-server packaging failures) → delegate to the USER skill
dayz-vehicles. - Blender headless pipeline (PRIMARY) →
references/blender-headless.md - Procedural texture generation (OpenSimplex) →
references/procedural-textures.md - Direct P3D assembly (for LOD packaging) →
references/py3d-direct-generation.md - LODs & geometry rules →
references/lods-and-geometry.md. A large building or rock with an interior (hundreds of collision pieces, an MLOD of hundreds of MB,binarizeOTHER_FAILwith no capacity line): its section "Collision of a large building with an interior" (SP-453, SP-457, SP-458). - Memory points & named selections →
references/memory-and-selections.md - Animations (model.cfg) →
references/animations.md - Config.cpp & addon structure →
references/config-and-packing.md - DayZ 1.30 (proxies / cacheP3D / disableSimulation / liquid_source) →
references/dayz-1-30-model-pipeline.md - Blender manual workflow (ALTERNATIVE) →
references/blender-workflow.md - LF_PowerGrid object recipes →
references/lfpg-recipes.md - AnswerOverflow community findings (mined 2026-05-17) →
references/answeroverflow-2026-05-17.md(binarize misalignment on personality meshes, nested proxy disappearance on binarized models, Maya Object Builder alternative) - Multi-material rvmat: per-section texturing (Multi shader, RGB+Black mask, dual UV set, uvTransform) →
references/multi-rvmat-section-texturing.md(mined from DayZ Modders Discord 2026-06). Read when one mesh region needs several tiling detail textures with per-section specular (metal vs paint vs rubber), or when scaling/offsetting textures via uvTransform.
Pipeline Overview
Phase 0: external-binary provenance (LL-230)
Before editing any .p3d, .paa, .rvmat, or other binary received outside the repository, inventory the live asset and the latest known external delivery. Compare SHA-256, byte size, modification date, and the relevant structural count (for a mesh, face count). A newer _artist_drop/, _from_provider/, or scratch/ tree is a provenance gate, not background context.
Resolve every divergence in Phase 0: integrate the external delivery now with an explicit budget; retain the live asset as a conscious decision recorded in the bug ledger with owner and review date; or update the provider package when the live asset is newer. “Separate surgery” without an owner and date does not close the gate.
Path A: Blender Headless + py3d Assembly (PRIMARY)
This is the PRIMARY path. Blender generates pro-grade geometry; py3d assembles the .p3d. Install: apt-get install -y blender && pip install opensimplex --break-system-packages + py3d fork DayZ (bloque CRITICAL abajo).
CRITICAL: py3d installation — Do NOT usepip install py3d(differentpoint-cloud library) and do NOT install upstream from GitHub anymore. Use thepy3d DayZ fork >= 1.6.0 (KoffeinFlummi codec + anti-corruption guards,DayZ LOD constants,validate(), proxies, recipe, and CLIpython -m py3d),pack distributionpy3d-dayzviapip install -e tools/py3d:```bashSKILL_DIR=<this skill dir># py3d DayZ fork >= 1.6.0 (pip install -e tools/py3d).# NEVERpip install py3d(PyPI = point-cloud lib) NOR git+upstream (no guards).pip install -e tools/py3dpython3 -c "import py3d; assert getattr(py3d,'IS_DAYZ_FORK',False) and tuple(map(int,py3d.__version__.split('.')))>=(1,6,0), (py3d.__version__, py3d.__file__)"```
Step 1: Define the Object
- User describes what the object does, how it looks, what moves
- Identify: static parts, animated parts, interaction points, electrical connections
- Select recipe from
lfpg-recipes.mdor define a new one
Step 2: Create Interactive Preview (Optional but Recommended)
- Generate a Three.js HTML artifact showing the object in 3D
- Include state toggles (on/off/disconnected, open/closed, etc.)
- Let the user validate the design before generating the real model
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dayz-model-pipeline/SKILL.md
Popularity
- Repository stars
- 18
- Repository forks
- 6
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/willy92wins/dayz-modding-knowledge-pack/dayz-model-pipeline)