Pages

Map schema

One map description per TOML file under a content pack's content/maps/: a map's identity and lobby details, with no terrain. A playable map is a TA map (TNT and OTA) in the mod. What the loader does with it, and what it does not: ../README.md.

Field Type Rule
id string Required, Identifier Rules.
name string Required, non-empty.
description string
max_players integer Positive.
environment string Free label (green, desert, arctic, ...).
size.width integer Positive.
size.height integer Positive.

Example

map-pack/content/maps/crossroads.toml:

id          = "crossroads"
name        = "Crossroads"
description = "A minimal example map used by the map-pack example."
max_players = 2
environment = "green"

[size]
width  = 8
height = 8