DEPRECATED: Please use Trains of the Rim for 1.6
[url=https://steamcommunity.com/sharedfiles/filedetails/?id=3530446424]https://steamcommunity.com/sharedfiles/filedetails/?id=3530446424[/url]
Overview
Adds "functional" trains to Rimworld using [url=https://steamcommunity.com/workshop/filedetails/?id=1845423808]SRTS Expanded[/url] by NECERO and SmashPhil and [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2844194752]Decorative Railway Props[/url] by PentalimbedP.
Features
[list]
[*] Trains operate just like SRTS Expanded caravans
[*] Trains can be used to transport things across both the colony map and world map
[*] Travel speeds and fuel types based on train type
[*] New research required
[*] Custom train sounds
[*] More trains will be added in the future
[/list]
[hr]
Trains
Below are the trains currently available.
[b]Travel Speed[/b] indicates how fast the train travels on a world tile. For reference, a vanilla drop pod is 25 speed and the SRTS Expanded Superpod is 1 speed.
[b]Fuel Type[/b] indicates what resource is needed to refuel the locomotive. When building a locomotive, choose either a woodburning locomotive or a more fuel efficient chemfuel burning locomotive.
If you are using [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2238859064]Steam World (Continued)[/url], [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2880558608]Medieval Times (Continued)[/url] or [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2560551007]Coal Expanded (Continued)[/url], there are coal variants of the chemfuel steam locomotives with identical stats.
Handcar
[url=https%3A%2F%2Fi.imgur.com%2FjbiRL8f.png][img]https://i.imgur.com/jbiRL8f.png[/img][/url][i.imgur.com]
A handcar is a railroad car powered by its passengers, or by people pushing the car from behind. It is mostly used as a railway maintenance of way or mining car, but it was also used for passenger service in some cases.
[b][u]Stats[/u][/b]
[b]Mass Capacity[/b]: 250
[b]Max Passengers[/b]: 4
[b]Travel Speed[/b]: 1
[b]Fuel Type[/b]: Steel
[b]Fuel Cost per World Tile[/b]: 10
[b]Research Required[/b]: Metal Railways
[b]Notes[/b]: I chose the handcar to use Steel as fuel to simulate laying down new rails or repairing existing rails. The amount of 10 represents a simulated balance between the Steel it would cost to build "new" railways compared to using the railcar on "existing" rails. You could also think of it as the Steel is costs to repair rails damaged by raiders. Willing to change this based on feedback or perhaps create a mod option.
Frisco 1503
[url=https%3A%2F%2Fi.imgur.com%2FpB7s09D.png][img]https://i.imgur.com/pB7s09D.png[/img][/url][i.imgur.com]
Frisco No. 1503 was built by Baldwin Locomotive Works in 1923. In March of 1938, it received stainless steel running boards skirts, retractable coupler pilot and covered pilot deck. In 1948 they removed all the added beauty and it was put into freights service. Scrapped in 1950s.
[b][u]Stats[/u][/b]
[b]Mass Capacity[/b]: 24000
[b]Max Passengers[/b]: 100
[b]Travel Speed[/b]: 3
[b]Fuel Type[/b]: Wood, Chemfuel, and Coal variants
[b]Fuel Cost per World Tile[/b]: 30 Wood or 10 Chemfuel/10 Coal
[b]Note:[/b] Tender (coal car) for Frisco 1503 can be found with Decorative Railway Props mod
EMD SD40-2
[url=https%3A%2F%2Fi.imgur.com%2FyszgyAH.png][img]https://i.imgur.com/yszgyAH.png[/img][/url][i.imgur.com]
The Electro Motive Division SD40-2 is a six-axle, 3,000hp diesel locomotive built from 1972 to 1986. An upgrade of the original SD40. Many have been built and many still exist as of today, but are slowly in the process of being retired.
[b][u]Stats[/u][/b]
[b]Mass Capacity[/b]: 38000
[b]Max Passengers[/b]: 200
[b]Travel Speed[/b]: 3
[b]Fuel Type[/b]: Chemfuel
[b]Fuel Cost per World Tile[/b]: 5 Chemfuel
Old Steam Locomotive
[url=https%3A%2F%2Fi.imgur.com%2FXDlZBGS.png][img]https://i.imgur.com/XDlZBGS.png[/img][/url][i.imgur.com]
A locomotive that burns fuel to heat water, generating steam that moves pistons connected to the wheels.
[b][u]Stats[/u][/b]
[b]Mass Capacity[/b]: 24000
[b]Max Passengers[/b]: 100
[b]Travel Speed[/b]: 3
[b]Fuel Type[/b]: Wood, Chemfuel, and Coal variants
[b]Fuel Cost per World Tile[/b]: 30 Wood or 10 Chemfuel/10 Coal
[b]Notes[/b]: This train's texture will be updated in the future to a more Rimworld vanilla art style.
[hr]
Limitations
With this current implementation of trains relying on SRTS Expanded, there are some limitations with realism.
[list]
[*] Trains aren't required to be placed on rails, [b]but[/b] you can just self-enforce this requirement using the rails from PentalimbedP's [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2844194752]Decorative Railway Props[/url].
[*] Trains can travel on world tiles without rails or railroads, [b]but[/b] you can self-enforce by using [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2280318231]Roads of the Rim (Continued)[/url].
[*] Trains "fly" out of the map.
[*] Handcar uses a blank white texture when in launching and landing.
[/list]
FAQ
★ [b]Railways tab is empty[/b]
Research "Metal Railways" and "Steam Locomotives" in the SRTS Trains research tab.
★ [b]My train doesn't have any functionality[/b]
Make sure you're not using the trains labeled as "decorative". I've included patches for Decorative Railway Props to change the label and description.
★ [b]Will you add a requirement for trains to use rails?[/b]
Probably not with how trains are currently implemented. I recommend just using the rails from PentalimbedP's [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2844194752]Decorative Railway Props[/url] and world roads from [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2280318231]Roads of the Rim (Continued)[/url]. When the Vehicle Framework by SmashPhil gets released, I might update this to use the new framework which hopefully would include some code for checking what terrain the train is on.
★ [b]Can you change the train leaving/incoming animation so the train appears to leave the map on the rails?[/b]
Maybe? This would probably require looking deeply into Rimworld's animation logic with "Skyfaller" objects (ie drop pods, shuttles, etc).
[hr]
Credits
[list]
[*] PentalimbedP for [url=https://steamcommunity.com/sharedfiles/filedetails/?id=2844194752]Decorative Railway Props[/url]
[*] Smash Phil for creating [url=https://steamcommunity.com/workshop/filedetails/?id=1845423808]SRTS Expanded[/url] code
[*] Neceros for [url=https://steamcommunity.com/workshop/filedetails/?id=1845423808]SRTS Expanded[/url]
[*] TechnoFox for creating SRTS, originally based on work by AKreedz 风影!
[/list]
[b]MIT License[/b]