Train-Sim.Com
BVE

Cycle command

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #335

Member since Apr-9-03 · 38 posts

RE: Cycle command

Cycle command – image 1

The cycle statement allows to declare a sequence of ground objetcs to be repeted instead of an only one object.If you have these objects declared as grounds:
Structure.Ground(1) Ground1.csv
Structure.Ground(2) Ground2.csv
Structure.Ground(3) Ground3.csv
Structure.Ground(4) Ground4.csv
Structure.Ground(5) Ground5.csv
Structure.Ground(6) Ground6.csvThen you use these cycle statements:
Cycle.Ground(0) 1,2,3,6
Cycle.Ground(1) 4,5,6
Cycle.Ground(10) 2,3,6
Then you put this in the route definition:100, Track.Ground 0
Will set the ground at Ground1.csv + Ground2.csv + Ground3.csv + Ground4.csv (25+25+25+25 = 100 meters long and repeded every 100 meters400, Track.Ground 1
Will set the ground at Ground4.csv + Ground5.csv + Ground6.csv (25+25+25 = 75 meters long and repeded every 75 meters600, Track.Ground 2
Will set the ground at Ground2.csv as usual (repeted every 25 meters)900, Track.Ground 10
Will set the ground at Ground2.csv + Ground3.csv + Ground6.csv (25+25+25 = 75 meters long and repeded every 75 metersTo notice that you have lost the declaration:
Structure.Ground(1) Ground1.csv as single ground object.Hope this can help.Luigi Cartello
http://web.tiscali.it/lcartello/

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Apr-7-03 · 33 posts

RE: Cycle command

Thanks once again Luigi.I appreciate the help.

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | File Library ] Copyright © 2002 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured June 22, 2003. About this archive.