# Station 1: Area

## Goal

You have a map to work on: newly created, built from a real place, or an existing one opened. It sits in a mod folder with a modDesc.xml, and its size is settled.

## Steps

### Create a new map

1. Start **New map** (`Alt+2`). The wizard has four steps: basis, name and target, area, summary.
2. In the first step, choose “Game map as base”. The game map supplies ground textures, foliage and settings such as weather and shop. Use “Copy an existing map” only if you want to start from a finished map or a template.
3. Choose the size. 2048 m is the area of the game maps. 4096 m and 8192 m cost noticeably more performance in the game.
4. Choose the terrain:
   - “Flat map”: a level surface at the ground height you set. Leave room below if you want to dig in water later.
   - “From heightmap”: a greyscale image as the height source. It is resampled to the map size.
   - “Real place”: heights, aerial image and OpenStreetMap data of a place you pick in the step “Area”.
5. Leave “Clean map” ticked. Then only what a map needs for playing stays from the game map: vehicle dealer, start points, triggers, map ends. Buildings, trees and decoration are dropped.
6. Enter title and author. The name of the mod folder is derived from the title and is also the map's id in the game.
7. Check the summary and click “Create map”. The map is built in the background and opens afterwards. The editor switches straight to the Terrain station.

### A real place

1. In the wizard, choose the terrain “Real place”.
2. In the step “Area”, switch on the map view. This sends the map section and the search text to a map service; the text in the window names it.
3. Search for the place and drag the square where you want it. The dot above the edge rotates it.
4. Decide what comes along: the aerial image as a reference picture, roads and areas from OpenStreetMap, the surroundings for the border terrain.
5. Create the map. Loading takes a few minutes depending on the size. Afterwards the aerial image lies on the map, and fields, forest, water and roads are ready as suggestions.

### Open an existing map

1. Start **Open map** (`Alt+1`) and choose the map's i3d file in its mod folder. A ZIP mod works too.
2. Work on a copy if the map is not yours: **Save as copy** creates one and opens it.

### Locate the map

1. **Choose area** (`Alt+3`) opens the tab “Area” on the right. There you enter place, latitude, longitude, size and rotation.
2. “Save area” stores these values next to the map. Terrain and map size do not change.
3. You change the size of a map in the Terrain station with **Change map size**.

## Common mistakes

- **The wizard stops at the first step.** The editor does not know the game folder. Set it under **Settings** (`Ctrl+,`) on the page “Game and paths” with “Choose game folder …”.
- **“A folder with this name already exists.”** The target already holds a mod with this name. Change the title or the mod folder.
- **The heightmap has the wrong edge length.** The game needs a power of two plus one, for example 2049 pixels. The problem list reports Game limits (`c-heightmap-size`). The wizard resamples a loaded heightmap itself; the error appears when you swap the file by hand.
- **In the game, overview map and fields are offset.** The map XML states a different size than the terrain. The problem list reports Game limits (`c-map-size`) and sets the value right with one click.
- **You used “Choose area” and expect real terrain.** The tab “Area” only stores the location. Real heights come through the terrain “Real place” in the wizard or through **From heightmap** (`Alt+4`).

## Next

With an empty map, continue in [Station 2: Terrain](./gelaende.md).

