squad-proto/.claude/commands/agent-sprite.md
z.kirill 4382af2322 Документация: границы движка, работа через модель, дизайн игры до лейтгейма
18-engine.md    границы Tile2D, проекции 2D, формат проекта, второй проект
  19-agent.md     инструменты --tool, скиллы, терминал в редакторе
  20-gdd.md       акты, петли, рост отряда, закон масштаба, бюджет 200 часов
  21-damage.md    семь стихий, статусы, десять реакций, формулы, триггеры
  22-loot.md      редкости, аффиксы, артефакты, зачарования, материалы
  23-endgame.md   Бездна, мутации, лидерборды, 262 ачивки

Плюс правки 01/02/07/15/16/17 под переехавшие пути и новые правила забега.

Дизайнерская часть держится на одном законе: угроза растёт квадратично, сила
отряда — линейно с затуханием, разрыв закрывается ЗНАНИЕМ, а не числами. Из
него выведены и экономика опыта (41 млн против 44 млн дохода), и то, почему
реакции считаются от глубины, а не от урона оружия, и почему в Бездне
множитель HP разрешён, а во всём авторском контенте запрещён.

.claude/commands: скиллы /tile2d, /room, /floor — правила этого движка,
которые нельзя вывести из кода. Главное записано первым: не отчитываться об
успехе без прохода --tool validate.

Числа в этих документах — вход для инструментов, а не украшение. Расхождение
между таблицей и выводом инструмента означает, что неправ документ.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-13 21:07:45 +03:00

1.7 KiB

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.