Community Forum

Setting up the trains on a new map.

Forum Overview >> Editor

CategoryEditor
Created05.12.2016 04:30


James Norred (Cajunwolf) 05.12.2016 04:32
I'm at the stage of laying track on one of my maps, and as far as I can tell, please tell me if I'm wrong here, but it looks like once finished I add a spline and bring the end point back around to the start, and center it between the tracks with a cool tool I found for this purpose on Modhob. I'm not sure how the spline setup works yet, and I guess my real question would be that once all of this is setup right, how does one place the trains on the tracks, and place them where I want them to be when the map starts? In other words how do you figure the coordinates to place the locomotive and cars?

This is a totally new layout from Goldcrest Valley, so it's not an import thingy, it's from scratch, and I want to learn to do this.

Also on the splines, when you select the tracks in the Scenegraph it highlights the spline, and S for start, an E for end, and a bunch of blue and red dots and red squares, what are each?

James Norred (Cajunwolf) 10.12.2016 07:50
bump

Tony Price (brownthumb) 19.12.2016 17:12
James, from what i've figured out so far is that the train will automatic be placed on tracks, you determine where you want it to start at with placement of spline, where you put the start point of your spline on the track is where it will start, it will then travel from s to e, the dots are points that you click on to fine tune your spline, for adjusting for curves or hills, you get them by hitting your insert key as you drag your spline around track. hope that is helpful.

James Norred (Cajunwolf) 20.12.2016 09:52
Yeah I have it figured out now Tony, thanks for the reply, and I'll have a nice tutorial on the topic soon. The spline and the trainSystem.xml file are what's important. The train will appear, and run, without a track being there as long as you have a spline in a closed loop. The trainSystem.xml file tells it to load the locomotive and how many of each type of car, and specifies any crossings. There is a tool on modhub called the "Track Spline Helper" that's a must have as it helps you keep the spline centered and at the right height. To teach myself I used the sample blank map and duplicated the track and did the spline from scratch. Now if you haven't seen this map, the track is a short oval loop with two crossings, not very big. It took me 7 hours to do that darn spline; I was quit proud of myself when it worked perfectly. So that being said, one has to really do want to do a railroad system, and have the patience to not only lay the track (it's not too bad on flat ground, but on slopes, oh my!), but stick with it to do the spline because that's what takes the time.


Note: Log in to post. Create a new account here.