Valheim
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
4 days ago
Downloads
1.1K
Size
1.3MB
ADDatHost Valheim hosting
30% off

Railroads

Build a railroad with the hammer: stone track, stations, a coal locomotive and wagons. Click a locomotive, pick a station, and the train drives there. Or sit on the bench and drive it yourself.

The mod is made for multiplayer on a dedicated server. Trains keep running when no player is near them, and the server plans the routes so 2 trains never get the same track.

This is the first public version. It runs on the servers of its author as part of another tool, and it is new as a mod of its own. Please report what does not work.

What you get

  • 24 track pieces: straights from 1 to 32 m, curves, 2 slopes with their bends, switches, a crossing, a turning loop, a T junction and an X junction. Track holds far out from a pole, so a line can cross a valley.
  • Stations with a name of your own on a board. A train stops at them.
  • A locomotive that burns coal, 1 per 100 m. It has a speed lever, a switch lever, torches, smoke and a steam engine sound.
  • Wagons with a storage of 18 slots, a bench for 2 riders and a sign you write yourself. Up to 4 behind a locomotive.
  • A wagon restaurant with a table that takes food and shows each dish, and a board on its roof for the name of your place.
  • A portal wagon: a portal that travels with the train.
  • The track, the stations and the trains on the map.
  • A train at speed hits what stands on the track.

Everything is in the Transport tab of the hammer.

How to play

  1. Lay track. Every end of a piece snaps to the end of another.
  2. Put a station on the track and give it a name with the use key.
  3. Put a locomotive on the track. Put coal in at a fire door.
  4. Use the locomotive and pick a station from the list. Or sit on the bench: forward and backward step the speed lever, left and right pick the branch at the next switch.
  5. Put a wagon right behind the train and couple it with the alternative use key, Shift and E by default.

Install

Install with a mod manager, or copy the folder plugins/Railroads of the zip into BepInEx/plugins. The files in meshes and icons must stay next to Railroads.dll.

The server and every player need the same version. A player with another version gets a message that names both versions, and no rail pieces. A server without the mod shows no rail pieces at all.

Settings

The file BepInEx/config/vladasz.railroads.cfg is written at the first start. The section Server counts only on the server, which sends it to every player. A change needs a restart of the server.

Setting Default What it is
TopSpeed 10 top speed of a train in m/s, from 4 to 15
CoalPer100Meters 1 coal burnt per 100 m, from 0 to 5. With 0 trains need no coal
MaxCoal 100 the most coal a locomotive holds, from 20 to 500
MaxWagons 4 the most wagons of a train, from 0 to 8
Hits Everything what a train hits: Everything, MobsOnly or Nothing
SureKill true a train at 9.5 m/s or more kills any mob it hits, a boss too
PortalWagon true the portal wagon can be built. A world with portals off never has it
MapTrack, MapStations, MapTrains true whether players may see them on the map

The section Map is your own: ShowTrack, ShowStations and ShowTrains.

Good to know

  • Coal comes from burnt food on a cooking station from the first day.
  • The wood of track can be paid with core wood too.
  • Rail pieces take no damage from mobs, fire or rain. Track in the air needs a pole now and then.
  • A train stops 1 m before another train or a loose wagon.
  • The texts of the mod are in English.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.