CMTM/Creating Data Records File

From TrainzOnline
Revision as of 23:58, 3 February 2010 by Windwalkr (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Car Movemenmt and Traffic Management System (CMTM)

Creating the Data Records File
Once you have all the records entered into the Movement Records Spreadsheet, save it as a .cvs or comma delimited file. Next, open this file in a Word Processor with find and replace option. Then remove all quotation marks except as shown below.

Example: (a database with 4 movement records)

string-table {
numrecs "4"
cmtm0 "1x3x5xx,PortalEast,XBG,x,Aus01,load,x,72,PortalEast,empty,x,x"
cmtm1 "12345xx,ECS AUS,XBG,FDDMS,Aus01,empty,x,8,PortalEast,load,x,x"
cmtm2 "1xxxx67,PortalEast,XBG,FDDMS,ECS AUS,empty,x,x,x,x,x,x"
cmtm3 "xx3xxxx,PortalSouth,XBG,x,PortalWest,load,x,x,x,x,x,x"
}

Note:
cmtm0 is active on days 1,3 and 5
cmtm1 is active on days 1,2,3,4 and 5
cmtm2 is active on days 1,6 and 7
cmtm3 is active on day 3


Operations:Car Movement & Traffic Management

Personal tools