claude-of-tanks / tools/marketing-shots
Purpose
<!-- agent-docs:fill:purpose -->
Capture reproducible public-facing game imagery without changing live gameplay.
Mental model & key files
<!-- agent-docs:fill:model -->
Scripts drive the game's shot/studio hooks and save canonical viewport outputs;
the game remains the renderer of record.
Patterns to follow / invariants
<!-- agent-docs:fill:patterns -->
Pin viewport, quality, camera, map, vehicle, sim time, and UI visibility. Keep
captures reproducible and separate from runtime assets.
Common tasks → first action
<!-- agent-docs:fill:tasks -->
Read the screenshot contract, run one known shot, compare composition and pixel
dimensions, then generate the requested set.
Live battle frames in a game mode (the home page's mode and mechanic slots):
mode-battle-shots.mjs --queue=<file> runs per-slot recipes from
mode-battle-recipes.mjs (battle by spec, map, mode and hour; mode-state waits;
scripted driving; chase, scope or external cameras) and freezes candidates on the
frame an event produced (mode-battle-director.mjs); review the contact sheets,
then --pick=<slot>:<n>. It holds the shared capture lock in short normal-ticket
batches and starts its dev server only while holding it.
Gotchas
Kevin personally directs promotional media. Do not generate or publish a new
image/video campaign without his explicit creative direction for that campaign.
Keep the refreshed map photographs when changing public media selections.
<!-- agent-docs:fill:gotchas -->
Do not use transient overlays in public shots.
Stop the capture server/browser at closeout.