Please disclose if any significant portion of your mod was created using AI tools by adding the 'AI Generated' category. Failing to do so may result in the mod being removed from Thunderstore.
Railroads
Stone railroads for Valheim. A coal locomotive, wagons, stations and switches. Trains keep running when nobody is near.
By VladasZ
| Date uploaded | 3 days ago |
| Version | 0.1.2 |
| Download link | VladasZ-Railroads-0.1.2.zip |
| Downloads | 49 |
| Dependency string | VladasZ-Railroads-0.1.2 |
This mod requires the following mods to function
denikson-BepInExPack_Valheim
BepInEx pack for Valheim. Preconfigured with the correct entry point for mods and preferred defaults for the community.
Preferred version: 5.4.2351README
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
- 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.
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 offMapTrack,MapStations,MapTrains: what players may see on the map
If something does not work, tell me on Discord:





CHANGELOG
Changelog
0.1.9
New settings for the flatbed wagon, all in the Server section.
DeckHeight: how high you can build over the deck, 2 to 12 m, default 4.
DeckReachLeftRight and DeckReachFrontBack: how far a piece can reach past the edges of the deck, 0 to 2 m, default 0.5.
DeckPiecesIndestructible: what is built on a flatbed takes no damage. Off by default.
DeckSmelters: a smelter, a blast furnace, a kiln and an obliterator can be built on a flatbed. Off by default.
DeckFires: a campfire, a hearth and a brazier can be built on a flatbed. Off by default. Torches always can.
A cauldron on a flatbed keeps its fire after the train moved.
CoalPer100Meters is CoalPer1000Meters now, default 10. A value you set before is kept, 2 becomes 20.
TopSpeed goes from 2 to 40 m/s now.
0.1.8
The rail pieces are in the build menu right after you join. Before you had to pick something up first.
0.1.7
A new wagon, the flatbed. It is an empty deck and you build on it.
0.1.6
The settings of the mod show in a config manager in the game now. The 3 map settings count at once when you change them there. The others count from the next start of a world.
0.1.5
The portal wagon works with TargetPortal now. The torches of the locomotive are no longer pixelated.
0.1.4
In a hosted game the host can drive again while another player is near the train. A train you send no longer stops on the way when you go far from it, like through a portal. One popup for the new pieces, not 24. A few smaller fixes for trains with 2 players near.
0.1.3
No more warning in the log at the first use of the hammer when you don't have Craft From Containers.
0.1.2
Single player and hosted games work now, I tested both. Also a new icon and a Discord server for the mod.
0.1.1
A new icon and a new page text. The mod itself is the same.
0.1.0
The first version.