Railroads
Stone railroads for Valheim. A coal locomotive, wagons, stations and switches. Trains keep running when nobody is near.Railroads
Vikings had ships. Now they have trains.
You lay stone track with the hammer, put a station on it, give the station a name and send a locomotive there. Or sit on the bench and drive it yourself, like in Factorio.
You can play it alone, host a game for friends or run it on a dedicated server. Trains keep going when nobody is near, and the server plans the routes, so 2 trains never get the same track.
What you get:
- 24 track pieces: straights from 1 to 32 m, curves, slopes, switches, a crossing, a turning loop, a T and an X junction
- stations with a name board
- a locomotive that burns coal, with a speed lever and a switch lever
- wagons with 18 slots of storage, a bench for 2 and a sign you write yourself
- a wagon restaurant with a table that shows the food you put on it
- a portal wagon, a portal that travels with the train
- a flatbed wagon, an empty deck of 4 by 6 m to build on
- track, stations and trains on the map
Everything is in the Transport tab of the hammer. A train at full speed hits whatever stands on the track, so don't stand on the track.
Your first train
- Take the hammer and lay track from the Transport tab. Track snaps to track.
- Put a station on the track and press E on it to give it a name. A station with no name is not in the menu.
- Put a locomotive on the track. It needs a workbench near.
- Press E on a fire door of the locomotive to put coal in. Hold E to put in more.
- Press E on the locomotive and pick a station.
Controls
- E on the locomotive: the station menu
- E on the bench of the locomotive: sit down and drive
- W and S: the speed lever, forward, stop and backward. One tap, you hold nothing
- A and D: the switch lever, which way the train goes at the next switch
- E while you sit on the bench: the station menu, you stay seated and ride along
- Space: get up, the train brakes
- Shift + E on a wagon: couple it to the train or uncouple it
Install it with a mod manager, or copy the folder Railroads into BepInEx/plugins. The server and every player need the same version. With another version you get a message and no rail pieces.
Settings are in BepInEx/config/vladasz.railroads.cfg. The Server section counts only on the server:
TopSpeed, 4 to 15 m/s, default 10CoalPer100Meters, 0 to 5, default 1. With 0 trains need no coalMaxCoal, 20 to 500, default 100MaxWagons, 0 to 8, default 4Hits:Everything,MobsOnlyorNothingSureKill: a train at 9.5 m/s kills any mob it hits, a boss tooPortalWagon: on or offMaxDeckPieces, 0 to 200, default 100. How many pieces fit on 1 flatbed wagonMapTrack,MapStations,MapTrains: what players may see on the map
If something does not work, tell me on Discord:





