You are viewing a potentially older version of this package. View all versions.
FinTeam-RailroadsAutomation-0.2.8 icon

RailroadsAutomation

Plan railway routes between markers, clear obstacles and build track automatically using materials from a shared stockpile. English and Russian.

By FinTeam
Date uploaded 6 days ago
Version 0.2.8
Download link FinTeam-RailroadsAutomation-0.2.8.zip
Downloads 57
Dependency string FinTeam-RailroadsAutomation-0.2.8

This mod requires the following mods to function

ValheimModding-Jotunn-2.30.2 icon
ValheimModding-Jotunn

Jötunn (/ˈjɔːtʊn/, 'giant'), the Valheim Library was created with the goal of making the lives of mod developers easier. It enables you to create mods for Valheim using an abstracted API so you can focus on the actual content creation.

Preferred version: 2.30.2
VladasZ-Railroads-0.2.2 icon
VladasZ-Railroads

Stone railroads for Valheim. A coal locomotive, wagons, stations and switches. Trains keep running when nobody is near.

Preferred version: 0.2.2

README

Railroads Automation

Plan a railway, supply the materials, and let construction take care of the rest.

Railroads Automation builds track between route markers using resources from a construction site's stockpile. It clears natural obstacles, prepares the ground, and lays track section by section.

Features

  • Route planning with a preview and material costs.
  • Automatic clearing of trees, stumps, bushes and rocks along the route.
  • Terrain grading and native Railroads curves and slopes.
  • Multiple independent lines sharing one stockpile.
  • Saved construction progress, pause and resume.
  • Connections to the open ends of existing track.
  • English and Russian, selected automatically from the game's language. Other languages use English.

Requirements

  • BepInEx for Valheim.
  • Railroads 0.2.2 or newer; checked with 0.2.3.
  • Jötunn 2.30.2 or newer.

Install with your mod manager. For manual installation, install the requirements and copy the plugins folder into BepInEx.

Getting started

  1. Equip a hammer and open the Railway Automation category. Build a Railway Construction Site, an A — Railway Start marker and a B — Railway End marker.
  2. Give both markers the same line name, such as NorthLine. Rotate A to point along the direction you want to build. To extend existing track, put A near its open end.
  3. Press E at the site, enter the same name and choose Select / create.
  4. Press Calculate to preview the route and see its material cost.
  5. Use Open stockpile or Alt+E at the site to add materials, then press Build.

Use Pause to stop a line. After moving its markers, pause and recalculate before continuing. Use the arrow buttons to switch between lines.

For more control, add up to 16 Railway Waypoints. Give them the line name for automatic order from A to B, or use NorthLine:1, NorthLine:2, etc. for a custom order. Use one naming style per line.

Remove A/B markers removes the selected line's endpoint markers and pauses its plan. Built track, the stockpile and waypoints stay in place. Marker materials are not refunded.

Configuration

Settings are in BepInEx/config/local.railroads.automation.cfg. Adjust construction speed, search limits, automatic clearing, terrain grading and track-bed width.

Current limitations

This is a beta for single-player/local worlds. Construction controls require the world host and site owner; remote multiplayer controls and dedicated-server operation are not supported.

Build in explored areas. Buildings and containers stop construction. Steep terrain, tight turns or occupied track junctions may need different marker positions or a manually placed switch. The planner does not guarantee a route across every landscape.

Construction runs while the world is open. Clearing and grading alter the route's surroundings; completed track remains after the site or markers are removed.

CHANGELOG

0.3.2

  • Remove line markers now clears A, B and all matching waypoints, including old duplicate waypoint numbers. Built track and stock remain.
  • Duplicate waypoint errors now include the conflicting name and both positions.
  • Protected independent lines whose full names contain colons from parent-line waypoint selection and cleanup.

0.3.1

  • Moved the construction site and all route markers to the native Transport tab alongside Railroads parts.
  • Fixed generated shrimp traps from RtDOcean stopping automatic route clearing.
  • Kept container, portal and building protection.
  • Existing 0.3.0 plans and bridge progress can continue without recalculation.

0.3.0

  • Added automatic stone piers for crossings over water and deep terrain depressions.
  • Bridge routes keep the shore-to-shore height instead of descending to the sea floor.
  • Added pier materials to estimates and recoverable construction payments.
  • Protected existing buildings below bridges and retained the original sea floor.
  • Existing unfinished plans must be recalculated; completed track remains in place.

0.2.9

  • Fixed wild chili and tomato plants from CookingAdditions stopping automatic construction as unrecognized objects.
  • Kept container and building protection during route clearing.

0.2.8

  • Added English localization, with Russian selected automatically when the game is set to Russian.
  • Localized construction controls, build-menu entries, tooltips, progress messages and errors.
  • Updated the description and setup instructions for the public beta.

0.2.7

  • Improved terrain-aware planning for short routes.
  • Added automatic ordering for waypoints named after their line.
  • Improved continuation from existing track and added A/B marker removal.