# Railroad tracks

**URL:** <https://discourse.cataclysmdda.org/t/railroad-tracks/5387>\
**Category:** The Drawing Board\
**Created:** [March 12, 2014, 2:44am UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387 "2014-03-12T02:44:42Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![Binky](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Binky](https://discourse.cataclysmdda.org/u/Binky)\
**Post date:** [March 26, 2014, 1:47pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/21 "2014-03-26T13:47:38Z")

</div>

Agreed, 3 gauge seems right. Most trains where I am have two seats either side and a ‘one tile’ walkway, so it make sense from that point of view as well.

---

<div class="post-metadata">

**Author:** ![Wuzzy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/wuzzy/32/41_2.png) [@Wuzzy](https://discourse.cataclysmdda.org/u/Wuzzy)\
**Post date:** [March 26, 2014, 2:16pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/22 "2014-03-26T14:16:06Z")

</div>

Okay, the railroads have a gauge of 3 then. I pushed the changes to my GitHub repository.

This is how it looks like:

 ![](http://i.imgur.com/GBdmwMT.png)  
(The “1” is a signal.)

 ![](http://i.imgur.com/HiviZao.png)

I used the additional space to add more rubble. This makes railroad tracks more interesting; maybe even more realistic? I don’t know. But it should really slow people down when crossing a railroad—unless they find a street.

I don’t know if I should update my pull request or if I should wait until it gets merged (hopefully), then file another pull request. (Edit: Never mind: Turns out GitHub handles this automagically :-)))

---

<div class="post-metadata">

**Author:** ![Binky](https://avatars.discourse-cdn.com/v4/letter/b/f04885/32.png) [@Binky](https://discourse.cataclysmdda.org/u/Binky)\
**Post date:** [March 26, 2014, 2:25pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/23 "2014-03-26T14:25:28Z")

</div>

I’d update your pull request. It’s probably worth getting it into the best form possible before it gets merged, and I feel the three gauge tracks should definitely be standard. Really, you just don’t want people creating loads of stuff for a 5 gauge if it’s going to end up a 3 gauge.

---

<div class="post-metadata">

**Author:** ![Sean\_Mirrsen](https://avatars.discourse-cdn.com/v4/letter/s/e47774/32.png) [@Sean\_Mirrsen](https://discourse.cataclysmdda.org/u/Sean_Mirrsen)\
**Post date:** [March 26, 2014, 3:07pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/24 "2014-03-26T15:07:01Z")

</div>

[quote=“Wuzzy, post:22, topic:5387”]Okay, the railroads have a gauge of 3 then. I pushed the changes to my GitHub repository.

This is how it looks like:  
[/quote]Please fix the 90-degree turn track. If traincars will ever, in the future, be capable of moving along those, they need to be more curved, like real tracks.

![](https://dl.dropboxusercontent.com/u/4152380/pixelcurves.png)

^like the two I highlighted, for instance.

---

<div class="post-metadata">

**Author:** ![StopSignal](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/stopsignal/32/1923_2.png) [@StopSignal](https://discourse.cataclysmdda.org/u/StopSignal)\
**Post date:** [March 26, 2014, 4:49pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/25 "2014-03-26T16:49:37Z")

</div>

Keep going with this, it’s just fantastic, realistic, everythingistic.

---

<div class="post-metadata">

**Author:** ![Wuzzy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/wuzzy/32/41_2.png) [@Wuzzy](https://discourse.cataclysmdda.org/u/Wuzzy)\
**Post date:** [March 26, 2014, 4:56pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/26 "2014-03-26T16:56:31Z")

</div>

@Sean Mirrsen: Maybe. But I am not sure if I really want to do this. I don’t consider it that important. Also, I think it is still a long way to train vehicles, so this can wait.  
@Binky: GItHub updated the pull request automatically for me after I pushed to my branch.

I made a small update to the curves, however. I designed them in such a way that you have to cross at least two non-ground tiles (railroad tie or rubble) from the outside in order to reach the rail. I’ll push this soon. This makes the railroads a bit more regular. To cross a normal 2-way railroad, you now definitely would have to walk at least over 4 pieces of rubble—unless you find a road or a bridge of course ;-).

Oh, and thanks to you all for your support. 🙂

---

<div class="post-metadata">

**Author:** ![detahramet](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/detahramet/32/58_2.png) [@detahramet](https://discourse.cataclysmdda.org/u/detahramet)\
**Post date:** [March 26, 2014, 7:48pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/27 "2014-03-26T19:48:29Z")

</div>

3-gauge is definately a good idea

---

<div class="post-metadata">

**Author:** ![Belteshazzar](https://avatars.discourse-cdn.com/v4/letter/b/e274bd/32.png) [@Belteshazzar](https://discourse.cataclysmdda.org/u/Belteshazzar)\
**Post date:** [March 26, 2014, 8:35pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/28 "2014-03-26T20:35:17Z")

</div>

This looks really good, perhaps add some subway track for underground too?

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [March 26, 2014, 9:42pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/29 "2014-03-26T21:42:14Z")

</div>

Now let’s get some industrial zone/factories/warehouses/train stations in there. I imagine it’s going to get a little more complicated when you take into account the high density areas for that, with things like several parallel rails and the switches between them:  
[tt]  
|||||  
|||||  
||/|  
|/ |  
| |  
[/tt]  
Patterns like that would be really hard for the game to generate without it trying to mash them all into a big glob. Might have to include extra checks to see if a factory is nearby and then apply a set piece of rails or one of a variety of set pieces.

---

<div class="post-metadata">

**Author:** ![AseaHeru](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/aseaheru/32/8_2.png) [@AseaHeru](https://discourse.cataclysmdda.org/u/AseaHeru)\
**Post date:** [March 27, 2014, 4:54pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/30 "2014-03-27T16:54:46Z")

</div>

Comment: Standard Gage for railways is 4ft 8.5in. The width of a normal road lane is between 9ft and 15ft. Interstates in America have 12ft lanes. The normal width for the entire assembly of roadbed and track is about 16ft. The ties meanwhile are about 9ft long, and 9in wide.  
Now, the typical width of north American train cars is about 10ft.

All this means that if half a road in cata is 9 tiles, and that is 12 ft, than the tracks are about 6 tiles wide (total) and the roadbed is about 21 tiles…  
Ah… thats a tad big…

Shall we say that they are narrow gauge? mane railways had a gauge of 30in… so that is (unless I really cocked up) a track width (not roadbed) of only three tiles (aprox)…

---

<div class="post-metadata">

**Author:** ![Wuzzy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/wuzzy/32/41_2.png) [@Wuzzy](https://discourse.cataclysmdda.org/u/Wuzzy)\
**Post date:** [March 27, 2014, 6:43pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/31 "2014-03-27T18:43:17Z")

</div>

You could also say roads are too broad. Not kidding, even the median strip is two tiles broad. So I do not think the C:DDA road is a good thing to compare to.

I’ll stick to the 3-tile gauge, the road argument is too weak in my eyes. I won’t call it “narrow gauge”, I just call it the “3-tile gauge”. 😉

Oh, on GitHub they told me the railroad tracks are not going to be merged until someone puts them into the map generator. Sorry, the map generator is a bit over my head for me now. ☹  
Here is the discussion: [https://github.com/CleverRaven/Cataclysm-DDA/pull/6925](https://github.com/CleverRaven/Cataclysm-DDA/pull/6925)

---

<div class="post-metadata">

**Author:** ![AseaHeru](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/aseaheru/32/8_2.png) [@AseaHeru](https://discourse.cataclysmdda.org/u/AseaHeru)\
**Post date:** [March 31, 2014, 4:54pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/32 "2014-03-31T16:54:54Z")

</div>

I was going to compare them with car widths but I couldn’t find any dimensions for them. Go internet!

---

<div class="post-metadata">

**Author:** ![dovla](https://avatars.discourse-cdn.com/v4/letter/d/9e8a1a/32.png) [@dovla](https://discourse.cataclysmdda.org/u/dovla)\
**Post date:** [March 31, 2014, 9:07pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/33 "2014-03-31T21:07:14Z")

</div>

I like, except for right angle turns. I’d limit bends to 45 angle at most, which also might be easier to draw. Not because of future vehicles, it just looks wrong for tracks to bend like that.

---

<div class="post-metadata">

**Author:** ![Wuzzy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/wuzzy/32/41_2.png) [@Wuzzy](https://discourse.cataclysmdda.org/u/Wuzzy)\
**Post date:** [April 29, 2014, 3:47pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/34 "2014-04-29T15:47:24Z")

</div>

Oh, hi again.

This proposal is currently stuck. ☹

I know the current curves do not look very pretty. I am not updating those anytime soon because I’m lazy. But I think this is not really important. I may tackle it if the bigger problem has been solved.

The bigger problem where this is stuck is the question on how to put all the rail tiles onto the map. I have no real clue.

Someone suggested it could be done similar like the subway or even the river but I think this is non-sense. If railroads lead anywhere at least, then cities, of course. But I can’t just place a station into a city and connect dots. Problem #1 would be houses that are aligned to a railroad, because the railroad just blindly went over an ordinary road. Problem #2 would be the rail can possibly replace roads and therefore break the entire road network of the city. :-/ And there are probably other issues with that as well.  
I have no real plan how to lay those railroads or how to make them “grow”.

Another question is: Where should railroad stations be placed? Yes, I also plan train stations. It could be just a dummy overmap tile at the beginning, and the railroad is forced to go along those tiles. Certainly railroad stations belong to cities. But I think they also should occasionally stop somewhere else, for flavor reasons. The question is where exactly and how?

That’s why you haven’t heard from this for some time now.

---

<div class="post-metadata">

**Author:** ![vache](https://avatars.discourse-cdn.com/v4/letter/v/ea666f/32.png) [@vache](https://discourse.cataclysmdda.org/u/vache)\
**Post date:** [April 29, 2014, 4:59pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/35 "2014-04-29T16:59:11Z")

</div>

It should be possible to ensure that you’re not stomping over a road and just moving perpendicular/parallel to it. Otherwise, I’d imagine you’d probably push a set of points for known railroad connections, then connect them all. Then pick a couple random edge points and throw some connections there, like the way the roads do.

I can take a look at it sometime, but in the meantime, I’d recommend making or mocking up a railroad station, or some kind of factory with a railroad connection.

---

<div class="post-metadata">

**Author:** ![AseaHeru](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/aseaheru/32/8_2.png) [@AseaHeru](https://discourse.cataclysmdda.org/u/AseaHeru)\
**Post date:** [April 29, 2014, 7:51pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/36 "2014-04-29T19:51:10Z")

</div>

For railroad stations, mines and labs would probably have some, the hazard waste might have one, farms(?) might do with one if there are enough farms about.

As for the road issue, you could have it so there are street running tracks. There are still some about in New England, just not that many.  
Normally it runs down the center of the street in those cases, there arent many dual track street running unless its a double lane road.

If you add in factories, grain silos or airports they might have one aswell.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/cataclysmdda/original/1X/21b5d044e8473b25d0bf905d60477e25f6fbe0cf.png) [@system](https://discourse.cataclysmdda.org/u/system)\
**Post date:** [April 29, 2014, 7:57pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/37 "2014-04-29T19:57:41Z")

</div>

Railroad stations are large roundabouts with crane gantries and lotsa tools.

It’s basically a circle you can enter at from and come out in another or the same direction.

---

<div class="post-metadata">

**Author:** ![AseaHeru](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/aseaheru/32/8_2.png) [@AseaHeru](https://discourse.cataclysmdda.org/u/AseaHeru)\
**Post date:** [April 30, 2014, 12:13pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/38 "2014-04-30T12:13:39Z")

</div>

Not so with a Terminus, they have a single exit/entrance for the tracks.  
But for the most part what he says is true, except for perhaps the runabout thing. Thats mostly yards he is thinking of, I think.

---

<div class="post-metadata">

**Author:** ![StopSignal](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/stopsignal/32/1923_2.png) [@StopSignal](https://discourse.cataclysmdda.org/u/StopSignal)\
**Post date:** [April 30, 2014, 3:06pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/39 "2014-04-30T15:06:39Z")

</div>

> [@Wuzzy](#):
>
> Someone suggested it could be done similar like the subway or even the river but I think this is non-sense. If railroads lead anywhere at least, then cities, of course. But I can’t just place a station into a city and connect dots. Problem #1 would be houses that are aligned to a railroad, because the railroad just blindly went over an ordinary road. Problem #2 would be the rail can possibly replace roads and therefore break the entire road network of the city. :-/

I tought you had a map tile that combined street and railroad? It would obligue you to make tinier trains, but i think it’s ok

---

<div class="post-metadata">

**Author:** ![kevin.granade](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/kevin.granade/32/1316_2.png) [@kevin.granade](https://discourse.cataclysmdda.org/u/kevin.granade)\
**Post date:** [April 30, 2014, 3:50pm UTC](https://discourse.cataclysmdda.org/t/railroad-tracks/5387/40 "2014-04-30T15:50:20Z")

</div>

This is important enough that it will get in eventually, I just can’t say when. You’ve done a very important part of the implementation in laying out the tiles, I can do the mapgen part, but can’t really do the tiles that well, so that would have been a sticking point if I’d tried.

[Previous page](https://discourse.cataclysmdda.org/t/railroad-tracks/5387.md?page=1)

[Next page](https://discourse.cataclysmdda.org/t/railroad-tracks/5387.md?page=3)
