Message Areas - "I have a Question"
Train-Sim.Com Message Areas
"I have a Question"
Email this topic to a friend
Printer-friendly version of this topic
Bookmark this topic (Registered users only)
Previous Topic | Next Topic Conferences MSTS Route Design (Protected) Original message
Motley24Crue2 (181 posts)
Dec-12-01, 02:04 PM (EST) "I have a Question" i know i have Posted this a few times "hehe sorry" buthow do i edit the Gantry.dat file so it will add more then 1 type of Gantry in the "Auto-Placement Command" i.e. 1 track gantry for 1 track, 2 track for 2 track and so onThanks Bob
Alert Edit | Reply | Reply With Quote | Top
Table of Contents
Subject Author Message Date ID RE: I have a Question mivone Dec-13-01 1
Lobby | Topics | Previous Topic | Next Topic
Messages in this topic
mivone (95 posts)
Dec-13-01, 02:08 AM (EST) 1. "RE: I have a Question" Here is my understanding of how the gantry.dat file works, starting with an example of this file for 4 types of gantry of increasing width:SIMISA@@@@@@@@@@JINX0g0t______Tr_GantryFile (
GantrySets ( 1
GantrySet(
Name ( "First Route" )
Style ( 00000002 )
Separation ( 40 )
GantryTable ( 4
GantryTableEntry (
Filename ( "JP1gantry1tall.s" )
Distance ( 5.000 )
)
GantryTableEntry (
Filename ( "JP1gantry2.s" )
Distance ( 11.373 )
)
GantryTableEntry (
Filename ( "JP1gantry3tall.s" )
Distance ( 17.000 )
)
GantryTableEntry (
Filename ( "JP1gantry4lan.s" )
Distance ( 30.000 )
)
)
)
)
)(leading spaces have disappeared in this posting).The way the automatic gantry selection works is that the first listed gantry is chosen where the track width is smaller than the Distance ("gantry width limit") that you specified for this gantry. Where the track width is larger than this limit, the second listed gantry is chosen, assuming that the track width is smaller than the Distance ("gantry width limit") that you specified for this second gantry. And so on for the wider tracks and gantries. So you should list gantries in the gantry.dat file in order of increasing width. In this file, Name is the route name, and Separation gives the interval between gantries (40m in this case). The number after GantryTable (4 here) specifies how many gantry types will be listed and used: each is specified as a GantryTableEntry, together with a Filename and a Distance. The JP1gantry*.s correspond to 1-, 2-, 3- and 4-track lines (most of these gantries must be imported into a new route).An option in the gantry.dat file is to have pairs of gantries placed opposite each other across the tracks: this is specified as Style ( 00000002 ) in the gantry.dat file. This can be useful when placing single-pylon gantries along single-track lines, in which case you may want to have the pylons standing always on the OUTSIDE of curves (on the left of the track in a right curve, and on the right of the track in a left curve). You can then simply delete those gantries that you don't want, instead of painfully moving a gantry across the track and turning it around.Unfortunately, if you apply this method to two-pylon gantries for multi-track lines, you will get useless off-centered pairs of gantries. So my recommendation, if you want outside gantries in turns, is that you first place pairs of single-track gantries (limited to narrow track widths), and delete all those you don't want, then change the gantry.dat file to place non-paired multi-track gantries, again deleting those that you don't want: this uses Style ( 00000001 ) in the gantry.dat file. It is not clear what RE takes as the track width, so a trial-and-error approach is best: set your gantry width limits (as shown in the example above); place gantries (select Auto-placement | Add gantries) in a tile that has a variety of track widths to check whether the result is as desired; then delete all those gantries (select Auto-placement | remove gantries); change your gantry width limits in the gantry.dat file (you don't need to exit from RE); and try again. As you see, it's a bit tricky, and not exactly user-friendly. Also, those "tall" gantries are surprizingly tall indeed: they will have to be driven into the ground after placement!(The above will appear in the next version of my Guide, under Electrification.)Michael Vone
Step by Step Guide to Route Building for Microsoft Train Simulator
Cliff Hanger Route
Rocky Island Route
http://avsim.com/hangar/utils/mvchallenges/ Remove | Alert Edit | Reply | Reply With Quote | Top
Lock | Archive | Remove
Lobby | Topics | Previous Topic | Next Topic
Restored from the Train-Sim.Com archive, captured January 24, 2002. About this archive.