Command identity and cursors
The menu's game identity, and the compact cursor family's pointer, badges and world feedback set in [sizes] and [colors].
AEX Command shows the selected game's identity above the menu actions and
supplies a compact modern cursor family. The Cursor* fields set how that
cursor looks and how it marks targets in the world; change them when your game
needs its own pointer.
The worked example
The compact cursor as AEX Command configures it:
[sizes]
CursorPointerBadges = 1
CursorWorldFeedback = 1
CursorTargetHighlight = 1
CursorGroundFeedback = 0
CursorPointerWidth = 18
CursorPointerHeight = 20.25
CursorBadgeSize = 14
CursorBadgeOffsetX = 22
CursorBadgeOffsetY = 19
CursorLineWidth = 1.5
CursorFeedbackRadius = 20
CursorPulseSpeed = 2.4
CursorTargetPulseAmount = 0.42
[colors]
CursorPointer = "#e1edf5"
CursorAccent = "#86d5ff"
CursorBadgeBackground = "#09141e"
Command identity and interaction
Command uses rectangular button silhouettes in normal, hover, pressed and
selected states. Selection changes lighting and colour, not corner geometry.
The menu shows the selected game's logo and name above the actions; clicking
that identity opens the existing game chooser. Assign images.GameLogo for
custom theme artwork, or supply the game's existing icon through Studio's
Game workbench. Stock TA has bundled fallback logo artwork.
The Cursor* theme fields configure the compact pointer, contextual badge,
colours, scale and world feedback. The pointer tip remains the click point;
ordinary menu clicks keep a plain pointer. Whiteboard tools use the same family.
Use the Studio material browser to inspect the fields actually supplied by your
base theme and the Startup native preview to review the authored identity reveal.
All timing fields ending in Ms are milliseconds. Reduced motion retains a
static readable lockup and suppresses cursor pulse motion.
Compact pointers, badges and world feedback
CursorPointerBadges=1 in [sizes] selects the compact modern cursor
family. Classic TA cursors retain their existing selection and precedence.
The pointer stays at the real input hotspot even when order targeting snaps;
matching CursorWorldFeedback=1 draws brackets on the scene layer, separately
from the late-positioned cursor layer. Command sets CursorTargetHighlight=1
to fit a pulsing bracket to the unit, building or reclaimable map feature that
would receive the order. Unit brackets follow the drawn position and size to
the model's rest-pose bounds, so moving model parts leave the frame steady.
Reclaim previews the same target as its click,
including optional WreckSnap and the Alt override.
An armed command keeps its cursor badge while the bracket shows its valid target.
CursorGroundFeedback=0 hides the Shift preview diamond and leaves ground clicks
to their queued order markers.
Geometry is authored through CursorPointerWidth, CursorPointerHeight,
CursorBadgeSize, CursorBadgeOffsetX, CursorBadgeOffsetY,
CursorLineWidth, CursorFeedbackRadius, CursorPulseSpeed,
CursorPulseAmount and CursorTargetPulseAmount (0 for a static bracket).
Colors are CursorPointer, CursorAccent,
CursorBadgeBackground, CursorAttack and CursorRepair in [colors].
Set CursorTintGlyphArtwork=1 in [sizes] to tint grayscale action artwork
with the live command or whiteboard colour and pulse. Leave this at zero for
full-colour sprite sheets. Reduced motion freezes the pulse and uses the first artwork frame.
What goes wrong
The cursor fields log nothing of their own. Without CursorPointerBadges=1 the
compact family is not selected and the player sees the classic cursors. A player cursor choice also takes precedence over the theme (see
cursor artwork), so check with the
player's cursor setting at its default. A [sizes] value outside its range
rejects the whole theme with the is incomplete warning shown in
Validate and package.