RimWorld

RimWorld

496 ratings
Rails and Roads of the Rim
2
2
   
Award
Favorite
Favorited
Unfavorite
Mod, 1.3, 1.4
File Size
Posted
Updated
5.941 MB
Dec 1, 2022 @ 5:00pm
Dec 17, 2022 @ 5:11pm
3 Change Notes ( view )

Subscribe to download
Rails and Roads of the Rim

In 2 collections by Vampiresbane
Wild West RimWorld mods
29 items
Wild West Rimworld Complete List
82 items
Description
Rails and Roads of the Rim

RRotR - A Rimworld mod allowing rail and road construction on the world map.

Introduction

This is an continuation and expansion on Loconeko's "Roads of the Rim" which was a successor to Jecrell's RimRoads from beta Rimworld. This expansion on Roads of the Rim adds buildable rail to the buildable road options. The rail portion of this mod is intended to be used alongside mods such as SRTS Trains and/or Decorative Railway Props.

Features
  • Create Rail or Road Construction Sites on the world map
  • Send Caravans with skilled colonists, pack animals, and resources to build the rail or the road
  • Enjoy faster movement than the base game on high tier roads, including for all already existing roads (can be switched off in the settings)
  • Part or all of the biome, hills, swamps and season movement difficulty is also cancelled depending on the rail or road
  • Asphalt roads, glitter roads and rail tunnels can be built through impassable terrain
  • Get your allies to help you build

Details

Construct
With RRotR, caravans can create a construction site on the world map, players can then select a type of rail or road, left click from neighbouring tile to neighbouring tile until they reach their desired goal and then right click to build. If you make a mistake, clicking on a planned section of rail or road will remove it and all sections after it. Clicking on the Construction Site or right-clicking anywhere will finalise the construction.

Do note that rail overpasses should not be used to go over more than one tile of road or rail. Due to a limit to the core or mod coding, this does not render properly.

Work
By using resources and colonists with Construction skill, the current section (or leg) can be built. A progress bar is shown on the world map. Once a leg is finished, the caravan automatically moves on to the next leg.
Note : Rail and road legs must be built in the order they were placed on the world map.

Having all colonists down, resting during night time, or a moving caravan will prevent work. Similarly, some rail and roads require a certain percentage of the workforce to have a certain construction skill. If only a lower percentage is available, work will be reduced. If no colonist in the caravan has the required skill, work will be impossible. Prisoners don't work.

Cancel construction
A site can be removed by selecting it and clicking on the "Cancel Construction" button. A Caravan does not need to be there to do so. All resources spent so far will be lost.

Building costs modifiers
Construction costs have two components : base costs that depend on the road and modifiers that depend on the terrain. Rail and roads cost more at higher elevation, starting from 1000m. Hills and swamps also have an effect, which can be checked when clicking on a site.

The total cost can be further reduced from 100% down to 10% in the settings. The original author, Loconeko, believed that anything lower than 100% is probably quite unrealistic, but I believe that 10% is actually realistic if playing with a small settlement or you want to be able to build a lot of roads and rail. To adjust the cost settings be sure to turn off the setting for enabling ISR2G which I've disabled anyways due to the ISR2G causing too many bugs. Adjust to your liking and taste.

Important note
It is not necessary to bring all resources at once in one caravan. A fraction is enough for a certain amount of work. However, it is necessary to bring each material with you. As an example a tenth of the asphalt road: 360 Stone, 60 Steel, 30 Chemfuel is enough material for a tenth of the work (180 work.)

Upgrade
When building a road over an existing one that is slower, 30% of the cost of the existing road will be deducted from the cost of the new road, as long as both roads use that same resource (e.g. A dirt road will provide 120 work and 36 wood when upgrading to a Stone road.)
Note: Railroads cannot be upgraded.

Allies help
Allied factions can help building rail or roads.

Impact on movement
The roads of RRotR do not only provide a customized movement cost multiplier compared to the base game, they also cancel some or all of the movement cost of the terrain.

Rails only provide a partial movement cost multiplier. This is because SRTS Trains, which provides loadable and usable trains, uses retextured drop pod sprites and so the trains ignore terrain on the world map and their speed is modifiable through SRTS Trains' settings. Because of this, the buildable rails are for mostly aesthetic purposes only. The general movement cost multiplier (60%) used for both railroad track and glitterrail is to reflect the general speed increase a person and/or animal would gain by walking on railroad track instead of normal terrain or a specifically built type of road.

To see required resources for each type of road or rail, see construction menu preview above.

See the Terrain Feature summary above to see what percentage of a specific terrain feature is cancelled, depending on the rail or road type. Note that these effects apply both to generated roads (from the base game) and built rail and roads from RRotR. Lastly, both glitter roads, glitterrail, and railroad can be built over water, but no roads or rail of any kind, sadly, can be built on ice sheet or sea ice. The base game does not allow for this and neither Loconeko nor I ever figured out a solution.

Giving Feedback

Feedback is more than welcome on Steam.

You're welcome to also alter the base xml code that I added for the rail.

I wrote a guide on how to do that here:

Includes How-to Add ISR2G/AISR2G Resource Gatherers.

I also wrote a guide on how to make a Western out of Rimworld:


You can check the code on GitHub.[github.com]

Big thank you to both Loconeko and Mlie for their work on the original mod code. Without that base code, I never would have been able to make small changes to the dll file and large additions to the Def xml files. By the way, if you do not care for building rail, but want just to build roads, here is the link to Roads of the Rim (Continued) by Mlie and his team.

Your Help Is Needed!
If you are experienced at C#, I need help coding the following features:
  • Construction Menu Scroll Bar
  • Allow friendly mechanoids to construct rail/roads
  • Any translations are welcome.


Changelog
Dec 17 - Changed movement bonus to all rails to 55% instead of 60%. This allows all rail types to be built over and through dirt paths and roads without using overpasses.
Dec 10 - Removed Uranium and components from C# "allResourcesWithoutModifiers". Added Chinese and Russian language translations (thank you G_Kun and kamikadz13).
Dec 1 - 1.0 Release

Known Mod Incompatibilities
  • Biomes! Islands - road generation from the base game is confusing the ocean tiles as viable placement spots
304 Comments
Vampiresbane  [author] Jun 19, 2024 @ 10:21pm 
@Mlie Thank you Mlie. Very much appreciated. Everyone else, enjoy 1.5 for RRotR (Continued).
Mlie Jun 19, 2024 @ 12:12pm 
Vampiresbane  [author] Jun 19, 2024 @ 7:53am 
@jimmyal, Eadragonixius, and klimfoxes8899 Reminded him, I hadn't realized that he needed me to put it in as a request in his discord, so did that, he'll do a rerelease and take over support as well. I don't have a timeline for it currently.
Vampiresbane  [author] Jun 19, 2024 @ 7:36am 
@jimmyal, Eadragonixius, and klimfoxes8899 I sent a reminder to mlie and asked how far up the queue a (Continued) version is. I will let you all know more when I find out.
ꑭ¦KLIM|FOX¦ꑭ Jun 6, 2024 @ 9:20am 
1.5 pls🧎‍♂️🧎‍♂️🧎‍♂️
Svela Jun 6, 2024 @ 4:04am 
"...no roads or rail of any kind, sadly, can be built on ice sheet or sea ice. The base game does not allow for this and neither Loconeko nor I ever figured out a solution." At first I was very saddened about this, but then I recently discovered the Custom Biome Features mod. I favor playing in the Propane Lakes biome from Alpha Biomes, but the idea behind Propane Lakes is that it is so cold that propane liquifies. It is a more extreme version of Ice Sheet, and thus no roads or rivers can form there either.

I still haven't tested Custom Biome Features myself yet, but I thought I'd bring it to your attention as a possible solution.
Black Adder May 31, 2024 @ 7:59am 
Cant wait for it to be updated. Thanks for all your work m8 <3
Eadragonixius May 21, 2024 @ 2:15pm 
It's all good boss, just take your time with it, we can wait, well... the more patient bunch of us at least
Vampiresbane  [author] May 20, 2024 @ 1:15pm 
@Dualdragon and jimmyal An update on my progress for updating. So for whatever reason, I cannot get an update to not crash. I'm not sure what the issue is/was but after banging my head against the wall trying to fix it for a whole day, I contacted Mlie on 04/15 to make this mod into one of his <Mod> (Continued) as he and his team have a knack for this. At the time he estimated it may take a month or so to update it since he had a backlog of other mods to update still. Since it's been about a month since he and I talked, I assume that we should be seeing that mod anytime and I'll put a link to it in this mod's description. If I don't see it in another month, I'll check in with him on his progress and make an update here as well.
jimmyal May 14, 2024 @ 10:48pm 
please update when you can