22 lines
1.7 KiB
Markdown
22 lines
1.7 KiB
Markdown
|
|
# Generate a modular agent sprite
|
||
|
|
|
||
|
|
Argument: `$ARGUMENTS` is `component animation` (for example `armor_vest idle`).
|
||
|
|
|
||
|
|
1. Read `assets/agents/catalog.yaml`. Do not invent dimensions or direction order.
|
||
|
|
2. Run `python tools/agent_assets.py prompt <component> <animation>` and use that exact art brief.
|
||
|
|
3. Prefer the local Blender pipeline. Create the shared rig once if missing:
|
||
|
|
`python tools/agent_assets.py blender-init`. Render the requested aligned layer with:
|
||
|
|
`python tools/agent_assets.py blender-render <component> <animation>`.
|
||
|
|
Blender is at `C:\Program Files\Blender Foundation\Blender 5.2\blender.exe` and the
|
||
|
|
CLI finds it automatically (or accepts `--blender`). Never create a separate scene,
|
||
|
|
camera, scale or rig for equipment.
|
||
|
|
For a whole requested loadout or release set use
|
||
|
|
`python tools/agent_assets.py blender-render-all <components...> --animations idle walk attack`;
|
||
|
|
existing sheets are cached unless `--force` is explicitly requested.
|
||
|
|
4. If a raster image generator is available, request one 4x2 magenta-key board per animation frame, then run `python tools/agent_assets.py ingest <component> <animation> <boards...>` in frame order. Never hand-crop cells.
|
||
|
|
5. Run `python tools/agent_assets.py validate --strict`, then
|
||
|
|
`powershell -ExecutionPolicy Bypass -File tools/build_agent_assets.ps1`.
|
||
|
|
6. Inspect only with SpriteForge `validate` and `ascii`; do not open every generated frame. A human may request a contact sheet.
|
||
|
|
|
||
|
|
Visual lock: lean realistic covert operator, fitted dark sci-fi gear, Splinter Cell / Metal Gear / STALKER silhouette. Never bulky power armor, astronaut, space marine, chibi or Among Us. Canvas is 70x90 per direction, Diablo-style isometric orthographic view.
|