Join Discord ↗

Dev Log #019 / AI Workshop

Map Forge: An In-House Editor the AI Operates and Measures

A new in-house map editor written in Rust: a 3D terrain view, sculpting, roads that shape the ground and automatic bridges, plus a script runner so the AI can place a road and then measure the result itself.

Map Forge 3D terrain view of a 4 km test map with a road drawn across a river valley
Map Forge’s 3D terrain view on a 4 km test map, with a road drawn across the river valley. Editor screenshot.

Why a new editor

Our map work for existing games kept running into tools we could not change or drive from scripts. Map Forge is our own replacement: a desktop editor written in Rust that reads and writes a Farming Simulator 25 map folder directly. It saves only the files that changed, after backing them up. It is an in-house tool, not a product, and it stays separate from Farm Forge.

Milestones

  • M1 (7 November): open a map and read its terrain, settings and roads.
  • M2: a live 3D terrain view, tested on an 8 km map at 1 m resolution.
  • M3: raise, lower, smooth and flatten brushes with undo.
  • M4 (9 November): roads you can draw and edit, with width and surface, draped over the ground and shaping it. Bridges appear automatically where a road crosses a valley deeper than a set limit.

Each milestone was opened on screen for the founder before the next one started, with a scrap-or-continue checkpoint after M3. The answer was continue.

The AI does the work, then checks it

A script runner executes the same commands as the editor’s command box, plus “look”, screenshots and cross-section profiles. On a test copy of Aurora Vale the AI placed two roads itself and measured their cross-sections. That found a 1.4 m trench where road shaping followed the raw ground instead of the smoothed ground. The fix was made and measured again.

The founder spotted that a river crossing had no bridge. Bridges are now automatic: on the test road a 43 m bridge clears the river by 2.6 m and leaves the riverbed untouched.

Next

Fields, ground paint, placeables, water and traffic paths, then a full map writer. A staged plan for converting maps from older game versions follows once the writer exists. None of this ships to the public. What carries over to Farm Forge is the knowledge, not the tool.

This is supposed to be an AI tool, so the AI should put the road down, measure it, and fix what it finds.

TW Farms Technologies LtdTHE COMMUNITY

Your free TW Farms account

Good to have you here.

A free account lets you join the comments and discussions, and download maps and mods.

Google shares your account identifier and email so we can sign you in. Your email is private; your chosen display name and comments are public. How we use account data.

or use your email

A community account is for website discussions.

Thank you for downloading

Enjoy your download.