Cockatrice/doc/continuumatrice-battlefield.md
2026-11-01 23:52:50 -07:00

1.5 KiB

Continuumatrice battlefield style

Cockatrice's three visual table rows are reused as Front, Support, and Command. This is purely a display change: the server still sees a single table zone.

Card XML <tablerow> Position
0 Front
1 Support
2 Command

Optional color customization

Create battlefield.ini in the active Cockatrice theme directory:

[Zones]
Front = #A08E343D
Support = #A0286981
Command = #A05E428C

The Qt color notation is #AARRGGBB, including transparency. Without this file, built-in red, teal, and purple shades are used. Reload the theme to apply changes. The row order follows the player's mirrored/inverted layout, so Front always faces the battlefield center.

Font

To render labels using your own Continuumorphous Regular, copy either Continuumorphous-Regular.ttf or Continuumorphous-Regular.otf into fonts/ inside the current theme directory, or into a fonts/ directory beside the Continuumatrice executable.

The font is also detected if already installed as "Continuumorphous Regular" or "Continuumorphous". If not found, a Qt default font is used. The font asset is not included in this change; no resource entry was added that would break builds when the file is missing.

Compatibility

The existing drag/drop, row mapping, stacking, card counters, playmats, and multiplayer protocols are preserved. This does not enforce gameplay placement restrictions.