Basic Activity Guide

From MetroSim Wiki
Revision as of 15:03, 18 June 2013 by Senjer (talk | contribs) (Created page with "On this page you can learn how to make your own activity. == Making the standard == First you see this line, here can you give your activity name and the starting time of the ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

On this page you can learn how to make your own activity.

Making the standard

First you see this line, here can you give your activity name and the starting time of the activity.

<activity name="JOUW NAAM" mappack="Custom" mapfile="beta3bonus.map" time="19:59:30">


Next see you the next line, here can you load the .ctd file with all the sectionmarkers. (You can edit the .cdt file as well)

<controldata system="0" pack="Custom" file="beta3b-routes.ctd">


Now we start with the train codes.

<train code="735">
  <duty code="735-1" number="735#PS" route="A-PS"  time="19:57:30" ai="true"/>
  <duty code="735-1" number="735#SP" route="A-SP"  time="20:05:00" ai="true"/>
  <duty code="735-1" number="735#PS" route="A-PS"  time="20:12:30" ai="true"/>
  <duty code="735-1" number="735#SP" route="A-SP"  time="20:20:00" ai="true"/>
 </train>
Can be read as:
<train code="(Train shift number)">
  <duty code="(Train code - number of trains)" number="(Train code#Start and end station)" route="A-PS"  time="19:57:30" ai="true"/>
  <duty code="735-1" number="735#SP" route="A-SP"  time="20:05:00" ai="true"/>
  <duty code="735-1" number="735#PS" route="A-PS"  time="20:12:30" ai="true"/>
  <duty code="735-1" number="735#SP" route="A-SP"  time="20:20:00" ai="true"/>
 </train>