Goal
Every field has an outline, a number and lies on its own farmland. The farmland is the plot the player buys; without farmland the field belongs to nobody. Farm and village need one too. On saving, the editor writes fields and farmlands into the map's files.
Steps
Draw fields
- Choose Fields Alt+1Alt+1Alt+1.
- Click the corners of the field on the ground one after another. Backspace takes back the last corner.
- Finish with Enter, a click on the first corner or “Create field”. The field gets the next free number.
- Editing: drag a corner to move it. A double-click on an edge inserts a corner. DelDelX deletes the selected corner or, with no corner selected, the field.
- Under “Start state of new fields (fields.xml)” you decide what a field starts a new game with: crop, growth, ground state. With nothing set, the game decides.
- Cut obstacles out of the field under “Holes”.
- If you have a black-and-white image of the fields, “Import fields” reads it: every white area becomes a field.
Assign farmland
- Choose Info layers Alt+2Alt+2Alt+2. The layer is set to the farmlands.
- Click “Give every field its farmland”. Every field gets its own farmland, with its field number where possible. “Margin around fields” decides how far the farmland reaches beyond the field edge.
- Paint the remaining plots by hand: farm, village, forest. “Next free” picks an unused number, then you drag the brush over the area. An area bounded by other numbers or by the map edge is filled with one click by “Fill (G)”.
- Ctrl while painting clears the farmland under the brush. Ctrl+R picks up the number under the pointer.
- The section for the selected farmland holds name, “Price scale” and “Owned at the start”. Tick the start ownership for the plot with the farm.
- Save with Save Ctrl+SCtrl+SCtrl+S. Only then are fields and farmlands in the files, and the checklist counts them.
From a real place
- Start From OpenStreetMap Alt+3Alt+3Alt+3. This only works for a map tied to the real world, that is from the terrain “Real place” or after locating it in the Area station.
- If the data is missing, “Load OpenStreetMap” fetches it. This sends the map section to a server; the window names it.
- Tick what you want to take over and click “Take over”. Arable land becomes fields with farmland. The whole thing is one step for Ctrl+ZCtrl+ZCtrl+Z.
Common mistakes
- A field cannot be bought in the game. It lies on no farmland. The problem list reports Farmland; the button in the row assigns one.
- Two fields are sold together. They lie on the same farmland. The problem list reports Field
p-farmland-multi. Paint one of the fields its own number. - A field lies on several farmlands. The boundary runs through the field. The problem list reports Field
p-field-spans. “Give every field its farmland” tidies that up. - A farmland is painted but missing in the game. The entry in the farmland file is missing. The problem list reports farmlands.xml
p-farmland-missing; the button creates it, saving writes it. - Fields cannot be clicked in the info layer. Every click paints there. Select the fields beforehand in the tool Fields Alt+1Alt+1Alt+1 and then switch back.
- The checklist counts zero fields. It reads the saved files. Save with Save Ctrl+SCtrl+SCtrl+S.
- A farmland number is too high. The info layer holds only a limited range of numbers, usually 254 farmlands. The problem list reports Game limits
c-farmland-ids. Use lower numbers or merge plots.
Next
Nature grows around the fields: Station 6: Nature.