# Server/Map layouts

Map layouts store alternate starting positions of buildables.

## Saving layouts

Layouts are saved with the `layoutsave` command:

```\layoutsave filename
```

Layout files are written to `layouts/mapname/filename.dat`.

Layout files are plain-text and have one line per buildable. The syntax is as follows:

```name pos angles origin2 angles2
```
• name may be one of `eggpod`, `overmind`, `barricade`, `acid`_`tube`, `trapper`, `booster`, `hive`, `telenode`, `mgturret`, `tesla`, `arm`, `dcc`, `medistat`, `reactor`, or `repeater`.
• pos, angles, origin2, and angles2 are all space-delimited triples of position or angle data, and the meaning of each is dependent on the particular buildable with the exception of pos, which is the world position of the buildable.

## Choosing a layout file

Layouts may be specified in map rotation files.

The current selection of layouts is indicated by `g_layouts`.

• `\changemap map [layout]` Changes the map to map and sets the current layouts to layout. Note that with this command, only one layout may be specified.
• `\callvote layout [layout]` Calls a vote to restart the game with the layout layout.

A list of layouts available for the current map may be seen with `\listlayouts`.