Commander portraits
Overview
A named person is a circle with a clean border, placed on the home side of their army box. The picture comes from a square image the user supplies. The crop keeps the center of that square.
When to use
Use when the plan names a king, a general, or another person who should be on the map.
Steps
- Read
docs/house-rules.mdanddocs/placement.md. - Collect the user's square images. Store them at
assets/portraits/<slug>.png. - Crop each one:
python3 skills/commander-portraits/scripts/circular_crop.py \
assets/portraits/<slug>.png \
assets/portraits/<slug>-circle.png \
--border "#c4a46a" \
--size 256
The --border hex is that empire's color.
- Set the marker
roletoperson,imageto the cropped file,attachto that side's army id, andoffsetso the circle sits just outside the box on the home side. - Set
detailtocoin,sculpture, orartistic reconstruction. If the file is missing, leaveimagenull and setdetailtoportrait not supplied. Draw initials in the circle. Do not generate a face. - The circle follows the army's motion because of
attach. Do not give the person a second motion. - Implement circular image markers in
hde/frame.pywhen the film uses an image. A plain dot is not the delivered portrait.
Checks
- Every named commander in the script has a circle.
- The circle does not cover the unit symbols or the subtitle.
- A reconstruction is labeled. A missing file is labeled
portrait not supplied. - No audio is added to present the portrait.
See also
skills/commander-portraits/scripts/circular_crop.pydocs/scene-contract.md
