How best to render train tracks in a city map?
Other than just a solid line, I would like the railway to look like . . . well, a railway: two parallel lines crossed by countless perpendicular lines. Have I missed a drawing command somewhere that can do this?
Comments
To do this, draw the center line first, then use the offset command (Draw -> Offset) to make an offset copy of this line on either side (These would be the actual tracks.). Then use Symbols Along (Draw menu) with the esc line centre symbol and the middle symbol angle option with 100% (You need to experiment to find the appropriate value, based on the distance between rails, but use the same values for all the scales) for all scales to create the perpendicular lines, using the original center line as the target. Finally delete the center line, and you have a basic track. The offset command makes sure the rails run paralell even through curves, something not accomplishable by regular copy.
http://www.dundjinni.com/forums/forum_posts.asp?TID=1561&KW=rail.
and then go here:
http://www.dundjinni.com/forums/forum_posts.asp?TID=1559&KW=rail.
EDIT: Thanks to Dogtag, the bad link has been fixed.
http://www.nightsaroundthetable.com/dnldzip/Railroad_LMK.zip
Also, see this thread:
http://forum.profantasy.com/comments.php?DiscussionID=2364
I shared the battle map in another post to illustrate how to cast shadows with cave walls, but it serves here as an example of the "offset/symbols along" method for creating tracks. In the linked example, I used straight track but, in other maps, the tracks curve nicely. Also, for the forum post, I switched from "point lighting" to "wall shadow lighting" to illustrate the cave wall shadows (and to provide a more brightly-lit map).
Admittedly, for the battle map, I got a little more complex than Monsen's quick and dirty method. I used separate sheets for the ties and the rails, which let me adjust shadow lengths and add a slight bevel to the tracks.
Cheers,
~Dogtag
1. You need the CC3 conversion, which is not on John Casky's old web site but is available here:
http://forum.profantasy.com/comments.php?DiscussionID=2364
2. These are vector symbols rather than raster symbols. They do not always give your map the appearance that you might want in a CC3 or CC3+ raster map.