Pages

Themes and interface design

Where theme authoring, screen coverage and a game's setting defaults are documented.

A theme changes how AEX looks: menus, buttons, materials, icons and the HUD. Use this page when you want your game or mod to have its own look, or to set the defaults of a native game's settings.

The worked example

The smallest native theme, from Make a theme, extends a bundled base and selects the framed AEX HUD:

[theme]
name = "My Game"
extends = "aex-command"
hud = "framed"

A fuller commented copy to start from is the theme template, which goes in your game or mod as ui/theme.toml.

Themes

Make a theme walks through a native theme, shared button states, materials, icons, HUD styling, packaging and testing. Start from the theme template, then use the screen coverage and gaps to plan a complete game identity. AEX Command is the worked material direction. A theme changes presentation; AI behavior and unit definitions use their own authoring systems.

These Markdown guides form the creator reference for the developer site. Theme authoring, AI configuration, unit development and their schema references remain separate topics so each can be published and linked without mixing APIs.

Game setting defaults

Native games can define setting defaults and permissions in mod.toml's [match] section; a root game.toml holds the same policy for a game whose mod.toml has no [match].

What goes wrong

AEX writes theme loading to its log, aex.log. When no mounted theme is complete, it falls back:

UiTheme: no complete mounted theme; using the bundled theme

When a game has both, the policy comes from mod.toml and the log says:

[game-policy] game.toml is ignored: mod.toml has a [match] section

Next