Hi! I thought some railroad tracks would be nice in C:DDA. So this is just an idea about railroad tracks for C:DDA. I designed some rough map tiles in size 24×24, they (hopefully) connect to each other nicely.
This is just a rough draft. Suggestions and more stuff is welcome. I don’t know yet how to put these railroad tracks into the game, even if just for testing.
Straight rails:
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
Straight left rail:
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
Straight right rail:
.............-x-----x-..
..............x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
Straight rails, dead end:
........................
........................
..^^^^^^^^^..^^^^^^^^^..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..SSSSSSSSS..SSSSSSSSS..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
Straight left rail, dead end:
........................
........................
..^^^^^^^^^.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..SSSSSSSSS.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
Straight right rail, dead end:
........................
........................
.............^^^^^^^^^..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............SSSSSSSSS..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
.............-x-----x-..
.............^x^^^^^x^..
Rails over street:
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
x x x x
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
..-x-----x-..-x-----x-..
..^x^^^^^x^..^x^^^^^x^..
Outer curve:
........................
........................
........^^|^|^|^|^|^|^|^
......^|xxxxxxxxxxxxxxxx
....\^xx^^|^|^|^|^|^|^|^
....^x^|^^|^|^|^|^|^|^|^
...^x^\^|^|^|^|^|^|^|^|^
...-x-^\|^|^|^|^|^|^|^|^
..^x^^--\||^|^|^|^|^|^|^
..^x^^^^-\xxxxxxxxxxxxxx
..-x-----x|^|^|^|^|^|^|^
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^.............
Inner curve:
........................
........................
........................
........................
........................
........................
........................
........................
........................
........................
........................
........................
........................
...................^^^|^
.................^|xxxxx
...............\^xx^^^|^
...............^x^|^^^|^
..............^x^\^|^^|^
..............-x-^\|^^|^
.............^x^^--\|^|^
.............^x^^^^--xxx
.............^x^^^^^x-|^
.............-x-----x-..
..............x^^^^^x^..
Curved rails:
........................
........................
........^^|^|^|^|^|^|^|^
......^|xxxxxxxxxxxxxxxx
....\^xx^^|^|^|^|^|^|^|^
....^x^|^^|^|^|^|^|^|^|^
...^x^\^|^|^|^|^|^|^|^|^
...-x-^\|^|^|^|^|^|^|^|^
..^x^^--\||^|^|^|^|^|^|^
..^x^^^^-\xxxxxxxxxxxxxx
..-x-----x|^|^|^|^|^|^|^
..^x^^^^^x^.............
..-x-----x-.............
..^x^^^^^x^........^^^|^
..-x-----x-......^|xxxxx
..^x^^^^^x^....\^xx^^^|^
..-x-----x-....^x^|^^^|^
..^x^^^^^x^...^x^\^|^^|^
..-x-----x-...-x-^\|^^|^
..^x^^^^^x^..^x^^--\|^|^
..-x-----x-..^x^^^^--xxx
..^x^^^^^x^..^x^^^^^x-|^
..-x-----x-..-x-----x-..
..^x^^^^^x^...x^^^^^x^..
Key (actualy symbol may vary):
“.” = ground (may be earth and grass like on a field or anything else which is walkable) (movecost: 100)
“ ” = asphalt (movecost: 100)
“-”, “|” or “\” = railroad tie (new) (movecost: 100)
“x” = railroad track (new) (movecost: 100)
“^” = pile of rubble (movecost: 200)
“S” = buffer stop (new) (movecost: 150) (can be smashed for two-by-fours, nails and splintered wood)
Here’s some JSON for the new terrain types, could be used in a mod’s terrain.json:
[
{
"type" : "terrain",
"id" : "t_railroad_track",
"name" : "railroad track",
"symbol" : "x",
"color" : "ltgray",
"move_cost" : 2,
"flags" : ["TRANSPARENT"]
},{
"type" : "terrain",
"id" : "t_buffer_stop_h",
"name" : "buffer stop",
"symbol": "S",
"color" : "brown",
"move_cost" : 3,
"flags" : ["BASHABLE", "TRANSPARENT", "NOITEM", "MOUNTABLE"],
"bash": {
"str_min": 4, "str_max": 12,
"sound": "crack.",
"sound_fail": "whump.",
"ter_set": "t_railroad_tie_h",
"items": [
{ "item": "2x4", "amount": 5, "minamount": 2},
{ "item": "nail", "amount": 8, "minamount": 3},
{ "item": "splinter", "amount": 2 }
]
}
},{
"type" : "terrain",
"id" : "t_buffer_stop_v",
"name" : "buffer stop",
"symbol": "S",
"color" : "brown",
"move_cost" : 3,
"flags" : ["BASHABLE", "TRANSPARENT", "NOITEM", "MOUNTABLE"],
"bash": {
"str_min": 4, "str_max": 12,
"sound": "crack.",
"sound_fail": "whump.",
"ter_set": "t_railroad_tie_v",
"items": [
{ "item": "2x4", "amount": 5, "minamount": 2},
{ "item": "nail", "amount": 8, "minamount": 3},
{ "item": "splinter", "amount": 2}
]
}
},{
"type" : "terrain",
"id" : "t_railroad_tie_h",
"name" : "railroad tie",
"symbol" : "-",
"color" : "brown",
"move_cost" : 2,
"flags" : ["TRANSPARENT","FLAT"]
},{
"type" : "terrain",
"id" : "t_railroad_tie_v",
"name" : "railroad tie",
"symbol" : "|",
"color" : "brown",
"move_cost" : 2,
"flags" : ["TRANSPARENT","FLAT"]
},{
"type" : "terrain",
"id" : "t_railroad_tie_d1",
"name" : "railroad tie",
"symbol" : "/",
"color" : "brown",
"move_cost" : 2,
"flags" : ["TRANSPARENT","FLAT"]
},{
"type" : "terrain",
"id" : "t_railroad_tie_d2",
"name" : "railroad tie",
"symbol" : "\\",
"color" : "brown",
"move_cost" : 2,
"flags" : ["TRANSPARENT","FLAT"]
}
]
[hr]
I don’t think this is matured enough yet to build actual railroads with these. Some map tiles are still missing. But I think it’s a good start.
I do this because I think some railroad tracks would be nice to have in the game. The railroad tracks may have some use in the game—to slow down stupid monsters and—like streets—for orientation.