TF3TF3 Mod PortalTransport Fever 3 · erweitert um Community-Checks
mod.io · Mod 6460012

Logistics & Map Exporter for LLM

von BrianchiVersion 1.0Aktualisiert 19.10.2026Rev. 121,3 KiB
Bitte ModManager zuerst starten. Dadurch wird der Installations-Link unter Windows registriert.

Beschreibung

Export your current map - towns, industries, supply chains, coordinates and terrain - as a file for ChatGPT, Claude, Gemini or any other AI assistant, and let it plan your transport network.ABOUT THIS PROJECTThis is a small side project, shared in case someone finds it useful. If AI tools are not your thing, no problem - just skip this mod; it changes nothing for anyone who does not install it.I made it to compare my own network planning with what an AI suggests for the same map, see where they differ and learn what I can improve. I still plan and build everything myself; the AI answer is only a second opinion.- It does not play the game for you: it only reads the map and writes a data file when you click the button. It builds nothing and changes nothing in your save.- There is no AI inside the mod: no network requests, your data goes nowhere. Use the file with an AI assistant, a spreadsheet, your own scripts, or just read it.- Optional by design: playing without it is exactly as before.Feedback, bug reports and ideas are welcome in the comments.WHAT IS EXPORTED- Towns: name, X/Y/Z position, residential/commercial/industrial capacity, cargo demands (demanded vs. supplied).- Industries: name, type, level, position, offshore flag, inputs (amount per cycle, stock) and outputs (amount per cycle, capacity).- Logistics corridors: every supplier -> consumer pair with distance, height difference, slope % and a terrain rating (FLAT, MODERATE_SLOPE, VERY_STEEP, MOUNTAIN_BARRIER, WATER_CROSSING).- Existing network: rail/road length (incl. bridges and tunnels), stations, lines (mode, stops, vehicles) and the rail layout as simplified polylines.- An 8x8 elevation grid of the whole map, plus a separate button for a full-resolution 16-bit heightmap PNG.The mod only reads the game state; it never changes your save.HOW TO USE1. Enable the mod for a new game or an existing save.2. In game, open the Mods button area (top-left, or radial menu -> Mods) and click the export icon (arrow out of a tray). The terrain icon next to it exports the heightmap PNG.3. Exports are saved automatically into the game's heightmaps folder, one set of files per savegame ( = savegame name; re-exporting the same save replaces its files): \userdata\\3493540\local\heightmaps\tf_ai_exporter__map_data.lua \userdata\\3493540\local\heightmaps\tf_ai_exporter__heightmap.png TF3 only lets mods write Lua files, so the map data is a Lua table with the same data as JSON - AI assistants read it directly. Need real JSON? Each export is also printed as JSON into the game log stdout.txt (copy the last block between TF3_MAP_AI_DATA_START and TF3_MAP_AI_DATA_END).4. Open prompt_template.md from the mod folder and send the prompt to your AI assistant together with tf_ai_exporter__map_data.lua (or .json).Full guide and troubleshooting: readme.md in the mod folder.Compatible with existing saves; can be added or removed at any time.

Bilder