Appearance
World Zones: the Farmland section
This page belongs to the World Zones chapter. It covers the Farmland section of the Inspector. Z-MOD shows it when the selected zone's type is Farmland. The Farmland Generator plans fields, plants crops, orchards, pastures and fallow land, lays farm tracks, draws fences and hedges, builds a farmstead (with interiors), and adds details and exterior props.
For a Farmland zone, this section drives generation. The zone's own Generate / Clear Generated buttons are hidden (see Generate, Regenerate and Clear). The zone's own vegetation layers (in Parameters) start off for Farmland; when you switch one on, it grows as a band along the zone's edge (Distribution Border only, 4 m).
Screenshots
There are no screenshots of this section yet. None could be taken from a real run of the editor: this environment has no Electron build of the editor. This page is written from the editor's source code (world-zone-farmland.html / .ts, farmland*.ts, world-zone.service.ts, the en-US language files).
Stages
The Farmland Generator runs these stages, in this order (FARMLAND_STAGES):
| Stage | Row count shows | Can hold locked items |
|---|---|---|
| Fields | the fields planned | locked fields |
| Crops | plants on the fields | — |
| Tracks | farm tracks (generated as Roads) | locked tracks |
| Boundaries | fences + fence models + hedge plants | locked fences |
| Buildings | farmstead buildings | locked buildings |
| Room Layouts | buildings laid out at the last run | — |
| Furnishing | interior props placed at the last run | — |
| Details | detail plants (rough ground, field edges, waterside) | — |
| Exterior Furnishing | exterior items | locked items |
Each row has the stage name, its status (Generated / Dirty / Empty, as for the Settlement stages), its count, a 🔒 n mark when some items are locked, and, at Inspector level Medium, two buttons:
- ▶ (Generate Fields, Generate Crops, Generate Tracks, Generate Boundaries, Generate Buildings, Generate Details, Generate Exterior): runs that stage only. Disabled while busy, without usable terrain, or when the zone is disabled.
- ✕ (Clear {stage}): removes this stage's unlocked content. Disabled while busy or when the stage is Empty with nothing in the map.
When stages are out of date the section says: "Some stages are out of date (Needs Regeneration): Regenerate runs them; nothing regenerates by itself."
Actions
| Button | What it does | Availability |
|---|---|---|
| Generate All | The zone's Generate: every Farmland stage, plus the zone's own vegetation layers when any is on. One undo step. Message: "Farm: N fields, N plants on them, N tracks, N fences, N buildings. Exterior: …" | Disabled while busy, without terrain, or with a blocker (the tooltip names it). |
| Regenerate | Runs the stages that are not up to date, in order. When only the appearance is Dirty, redraws materials only. "Nothing to change." when all is up to date. One undo step. | Disabled while busy, without terrain, when disabled, or when nothing needs to run. |
| Clear Generated | Removes the farm's unlocked content and the zone's own vegetation layers' content. Message: "Cleared N farm items." | Disabled while busy or with nothing generated. |
| Clear Including Locked | Asks: "Remove everything this farm generated, including N locked items and locked fields?" Confirm with the red button or Cancel. | Disabled while busy or when nothing is locked. |
| Regenerate Interiors | Lays out and furnishes the farmstead's buildings again; fields, tracks, fences and buildings stay. Locked buildings and hand-made rooms are kept. Inspector level Medium. | Disabled while busy, without terrain, when disabled, or with no buildings. |
As for settlements, every run also brings the zone's Terrain Paint, Loot and Vehicle Spawns stages up to date in the same undo step, and validates the zone's area afterwards.
Generation Materials
Inspector level Medium. The same box as in the Settlement section, for the farmstead's buildings and the farm's road slots (farm tracks and farmyard). Regenerate Appearance, Re-roll and the Buildings / Roads buttons redraw materials without moving anything.
Planning overlay, field preview and the field list
Show Farmland Planning
Tick Show Farmland Planning to draw, on the selected Farmland zone:
- every field filled by type: Crop (yellow), Orchard (green), Pasture (light green), Fallow (brown), labelled "Field n · Type" (🔒 when locked);
- track candidates: the boundaries two fields share where no track runs yet (dashed);
- the farmstead's ground (red) and a dashed line to its access;
- the selected field's outline in white (holes dashed).
A legend appears under the buttons. The overlay is editor display only.
Preview Field Layout
Preview Field Layout (Inspector level Medium) plans the Fields stage without changing anything and draws the planned fields in place of the current ones. The hint says "N fields planned - Apply generates exactly this layout." The preview redraws itself about 0.3 s after each parameter change. Apply generates exactly that plan (Generate Fields, one undo step); Discard drops it. The button reads Preview again while a preview is shown.
The field list and the field inspector
After the Fields stage ran, a fold-out Fields (N) lists every field: colour swatch, name (Field n unless renamed), area in hectares, and 🔒 when locked. Click a field in the list to select it; the planning overlay turns on by itself. Click the same field again to deselect it.
In the viewport: with Show Farmland Planning on and Select / Edit mode, a click inside a field of the selected zone selects that field instead of starting a move of the zone. Without a field selected, the section says "Click a field in the viewport, or in the list, to inspect it."
The selected field's box:
| Control / row | Effect |
|---|---|
| Name | Type a name and confirm; empty shows the placeholder Field n. One undo step. |
| Type | Crop / Orchard / Pasture / Fallow. Sets the field's type by hand. If the Crops stage was already generated, that field is replanted at once ("Field regenerated: N plants."); otherwise "Field type set." One undo step. |
| ID | Field id and layout (Orthogonal / Organic). Inspector level Advanced. |
| Orientation | Field direction in degrees. Inspector level Medium. |
| Area | m² and ha. |
| Status | Planted (N plants) or Not planted, plus type set by hand when overridden. |
| Lock Field | A locked field keeps its outline and what grows on it through Generate Fields and Generate Crops. One undo step. |
| Regenerate Field | Regrows this field's content only. One undo step. |
Last run report and warnings
After a run or a preview, the section lists the run's statistics (fields, coverage, crop rows and plants, orchard trees, tracks and their length, fields reached / not reached, fences and hedges with lengths, gates, farm buildings by kind, interiors, exterior items…). Interior skip reasons appear only when not zero.
| Warning | Meaning |
|---|---|
| No field fits this zone with these sizes and limits (slope, water, roads, edge margin). | Lower the field sizes or relax the limits. |
| No flat ground near a road fits the farmstead: none was placed. | Make the farmstead smaller, or bring a road near flat ground. |
| The crop mix has nothing that resolves: crop fields stay empty. | Add an entry to Crops (one per field). |
| The crop area is very large: plant spacing was widened to stay within the instance budget. | Information only. |
| No road runs near the zone: the tracks have no access from a road. | Draw a road next to the zone. |
| Fence models are chosen but none is set: the procedural fence was used. | Add a fence model, or switch Fence back to Procedural. |
| None of the fence models is in the project: the procedural fence was used. | Re-import the models. |
| The farm building set resolves to nothing. | Enable or add buildings. |
| No farmhouse fits the farmstead. | Enlarge the farmstead. |
Preset
Preset buttons: Mixed Farms, Crop Fields, Pasture Land, Orchard Area. Tooltip: "Configuration only: a preset sets the parameters below; nothing is generated until you generate." A new Farmland zone starts as Mixed Farms.
Applying a preset replaces every Farmland parameter with that preset's values (one undo step), including the farm building set, every mix, the fence models and the exterior options. Your own Generation Materials palettes are not part of a preset, so they return to the defaults. As soon as you edit a value, no preset is shown selected and the hint reads "Custom: the parameters were edited after the preset was applied."
What the presets change from Mixed Farms:
| Preset | Main differences |
|---|---|
| Mixed Farms | The base values listed below. |
| Crop Fields | Orthogonal layout; large fields (60–110 × 120–220 m, min 2000 m²); Crop 85 / Orchard 0 / Pasture 5 / Fallow 10; row jitter 12 %; hedges on 35 % of boundaries; few trees and edges. |
| Pasture Land | Organic layout; fields 50–90 × 60–120 m, variation 50 %; Pasture 80; more pasture trees; fences on 90 % of boundaries, gates 80 %. |
| Orchard Area | Orthogonal layout; fields 40–70 × 60–120 m; Orchard 75; hedges on 50 % of boundaries. |
Parameters
The parameters are grouped in fold-outs named after what they feed; Fields is open by default. Changing a value marks the stage it feeds Dirty. Number fields clamp to their range; % fields show 0–100 and store 0–1; Width min / max and Length min / max follow each other so min never exceeds max. Every change is one undo step.
Inspector levels: the amounts, densities, the field-type weights, widths and the farmstead size are Normal; spacing, jitter, margins, slopes, field sizes and the choices Field direction, Row direction and Fence are Medium. Defaults are those of Mixed Farms.
Fields
| Control | Range / options | Default | Level | Purpose |
|---|---|---|---|---|
| Field layout | Orthogonal / Organic / Mixed | Mixed | Normal | Orthogonal: rectangles on the field direction's axes, straight boundaries. Organic: irregular fields following roads, water and terrain. Mixed: rectangles where the ground allows, organic fields where roads, water, edges or slopes cut them. |
| Field direction | Auto / Manual | Auto | Medium | Auto: from the roads around the zone (their dominant axis) and its long axis. Manual: the angle below. |
| Field direction (°) | −180–180, 1 (Manual only) | 0 | Medium | Degrees from world X towards Z. Crop rows run along it by default. |
| Width min (m) | 8–1000, 1 | 40 | Medium | Field width across the field direction. |
| Width max (m) | 8–1000, 1 | 80 | Medium | |
| Length min (m) | 8–1000, 1 | 70 | Medium | Field length along the field direction. |
| Length max (m) | 8–1000, 1 | 150 | Medium | |
| Variation (%) | 0–100, 5 | 35 | Normal | How irregular Organic and Mixed boundaries are; how staggered Orthogonal ones are. |
| Min field area (m²) | 50–200 000, 50 | 900 | Medium | Smaller pieces are merged into a neighbour or left as rough ground. |
| Max field slope (°) | 1–60, 1 | 14 | Medium | Steeper ground is never part of a field. |
| Water clearance (m) | 0–100, 1 | 8 | Medium | Ground kept free between a field and water. |
| Road setback (m) | 0–50, 0.5 | 3 | Medium | Ground kept free between a field and a road's built edge. |
| Zone edge margin (m) | 0–100, 1 | 4 | Medium | Ground kept free inside the zone's edge. |
Field types
Relative weights (0–1000, step 1, Normal) of the four field types: Crop 55, Orchard 15, Pasture 20, Fallow 10.
Crops
| Control | Range / options | Default | Level | Purpose |
|---|---|---|---|---|
| Row direction | Along field / Across field / Manual angle | Along field | Medium | Rows along or across each field's direction, or every row at the angle below. |
| Row angle (°) | −180–180, 1 (Manual only) | 0 | Medium | World angle of every crop row. |
| Row spacing (m) | 0.3–20, 0.1 | 1.8 | Medium | Metres between crop rows. |
| Plant spacing (m) | 0.2–20, 0.1 | 0.9 | Medium | Metres between plants along a row. |
| Row jitter (%) | 0–100, 5 | 25 | Medium | How far plants wander off their row slot. |
| Density (%) | 0–100, 5 | 94 | Normal | Share of row slots planted. |
| Edge margin (m) | 0–30, 0.5 | 2.5 | Medium | Unplanted ground along the field boundary. |
| Alternate rows (the mix's next crop) | checkbox | off | — | Every other row grows the mix's next crop. |
| Crops (one per field) mix | grass and shrub sources | Wheat 3, Corn 2, Vegetable 1 | — | Each crop field grows one entry of this mix. |
Orchard
| Field | Range, step | Default | Level | Purpose |
|---|---|---|---|---|
| Row spacing (m) | 2–40, 0.5 | 6.5 | Medium | Metres between orchard rows. |
| Tree spacing (m) | 1.5–40, 0.5 | 5 | Medium | Metres between trees in a row. |
| Jitter (%) | 0–100, 5 | 12 | Medium | How far trees wander off their slot. |
| Edge margin (m) | 0–30, 0.5 | 4 | Medium | Ground along the boundary left without trees. |
| Grass /100 m² | 0–100, 1 | 6 | Normal | Grass patches under the trees. |
| Orchard trees mix | tree sources | Fruit tree 3, Young Tree 1 | — |
Pasture
| Field | Range, step | Default | Level |
|---|---|---|---|
| Grass /100 m² | 0–100, 1 | 14 | Normal |
| Shrubs /100 m² | 0–5, 0.05 | 0.25 | Normal |
| Trees /100 m² | 0–5, 0.01 | 0.03 | Normal |
Mixes: Pasture grass, Pasture shrubs, Pasture trees.
Fallow
| Field | Range, step | Default | Level | Purpose |
|---|---|---|---|---|
| Grass /100 m² | 0–100, 1 | 5 | Normal | Dry grass per 100 m². |
| Weeds /100 m² | 0–5, 0.05 | 0.6 | Normal | Weeds per 100 m². |
Mixes: Fallow grass, Fallow weeds.
Farm tracks
| Control | Range / options | Default | Level | Purpose |
|---|---|---|---|---|
| Track surface | Dirt / Gravel / Grass | Dirt | Normal | The track's surface. |
| Track density (%) | 0–100, 5 | 50 | Normal | How many spines reach the far fields. |
| Track width (m) | 2–10, 0.5 | 3.5 | Normal | |
| Curvature (%) | 0–100, 5 | 35 | Medium | 0: sharp corners; higher: smoother curves through bends. |
| Field access (%) | 0–100, 5 | 60 | Medium | Chance a field away from the tracks gets a branch to its edge. |
| Generate farm tracks | checkbox | on | — | Farm tracks as Roads along field boundaries. |
Fences and hedges
| Control | Range / options | Default | Level | Purpose |
|---|---|---|---|---|
| Boundaries | None / Fence / Hedge / Mixed | Mixed | Normal | Mixed: fences around pastures, hedges elsewhere. |
| Fence | Procedural / Fence models | Procedural | Medium | Procedural: a rail fence built by the spline system (the editor notes splines are not exported to the runtime yet). Fence models: your models, one per module, exported as instanced props. |
| Coverage (%) | 0–100, 5 | 70 | Normal | Share of boundaries that get a fence or a hedge. |
| Fence module / post spacing (m) | 0.5–20, 0.1 | 2.5 | Medium | One fence model per module, or the procedural fence's post spacing. |
| Gate probability (%) | 0–100, 5 | 60 | Medium | Chance a fence run gets a gate besides the ones at tracks. |
| Gate width (m) | 2–20, 0.5 | 4 | Medium | |
| Hedge width (m) | 0.4–10, 0.1 | 1.6 | Medium | Two staggered rows above 1.2 m. |
| Hedge density (%) | 0–100, 5 | 70 | Normal | How closely hedge shrubs stand. |
| Height variation (%) | 0–100, 5 | 35 | Medium | How much hedge shrubs vary in size. |
| Hedgerow trees (%) | 0–100, 5 | 25 | Normal | A hedgerow tree every so often. |
With Fence: Fence models, a Fence models list appears: each row is a model (or Missing model), a weight (0–1000, step 1) and ✕. Add a fence model… lists the project's imported models. An empty list says "No fence model: the procedural fence is used." Mixes: Hedge shrubs, Hedgerow trees.
Farmstead
| Control | Range / options | Default | Level | Purpose |
|---|---|---|---|---|
| Yard surface | Dirt / Gravel / Grass | Gravel | Normal | The farmyard's surface. |
| Width (m) | 16–300, 1 | 56 | Normal | Along the front (towards the road). |
| Depth (m) | 16–300, 1 | 44 | Normal | Away from the road. |
| Trees around it (%) | 0–100, 5 | 60 | Normal | A windbreak behind and beside the farmstead. |
| Generate a farmstead | checkbox | on | — | A farmyard with farm buildings near the road access. |
Farm building set: each row has an Enabled checkbox, the building's name, a weight (0–1000, step 1) and ✕. Add a building… lists the farm presets first (Farmhouse, Barn, Stable, Farm shed, Machine shed, Grain store…), then the other built-in buildings, then the map's hand-made buildings. Default: Farmhouse 30, Barn 30, Machine shed 15, Stable 10, Farm shed 10, Grain store 5.
Interiors
The same controls as the Settlement Interiors group: Generate Room Layouts (on), Furnish Interiors (on; disabled without room layouts), and with furnishing on, Preset (Auto by each building's kind), Density (Low / Normal / High) and Quality (Poor / Normal / Rich). The panel notes: "The farmhouse is laid out as a home; barns, stables and stores as one open space. Farm and machine sheds stay empty." There is no Back / Side Doors option for farms.
Details
| Control | Range | Default | Level | Purpose |
|---|---|---|---|---|
| Field edge vegetation (%) | 0–100, 5 | 25 | Normal | Shrubs and trees along field edges with no fence or hedge. |
| Rough ground (%) | 0–100, 5 | 50 | Normal | Grass, shrubs and trees on ground no field took. |
| Denser vegetation by water | checkbox | on | — | Thicker vegetation on the water side. |
Mixes: Rough grass, Rough and edge shrubs, Rough, edge and farmstead trees.
Exterior furnishing
The farm's Exterior Furnishing box (tractors, troughs, bales, tanks, abandonment and details). It is the same box as for settlements: see Zone sections → Exterior Furnishing.
Mix rows
Every mix in this section works the same way: each row has a source dropdown (the map's vegetation definitions of the allowed categories, then the built-in presets marked (preset)), a weight (0–1000, step 0.5) and ✕ Remove from the mix. Add to mix… adds the chosen source with weight 1. An empty mix shows "Nothing in the mix: this layer generates nothing."
Typical tasks
Make a farm with fenced pastures
- Draw a zone with Type of new zones: Farmland (see Drawing a zone).
- In the Farmland section, click Pasture Land.
- Click Preview Field Layout (Medium level) to check the fields; adjust Width / Length while the preview follows.
- Click Apply, then Generate All for the rest of the farm.
Change one field into an orchard
- Tick Show Farmland Planning and click the field in the viewport (Select / Edit mode).
- Set Type to Orchard. If crops were generated, the field is replanted right away.
- Tick Lock Field so later Generate Fields / Generate Crops keep it.
Typical mistakes
- Applying a preset after fine-tuning: it replaces every Farmland parameter. Undo with Ctrl+Z.
- Changing the zone's Type away from Farmland: the zone gets the new type's parameters and the Farmland section disappears. The farm's generated content stays in the map until cleared.
- Expecting a farm without a nearby road to have track access: draw a road along the zone first.
- Fence models with an empty list: the procedural fence is used instead, with a warning.
Related pages
- World Zones — the main chapter.
- Settlement section — the Settlement Generator.
- Zone sections — Exterior Furnishing, Terrain Paint, Loot, Vehicle Spawns, Neighbours and transitions, POIs.