Basic Activity Guide: Difference between revisions

From MetroSim Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(15 intermediate revisions by 6 users not shown)
Line 1: Line 1:
On this page you can learn how to make your own activity.
On this page, you can learn how to make your activity.
 
== Making the standard ==
== Making the standard ==
First you see this line, here can you give your activity name and the starting time of the activity.
*First, you will see this line. Here you can give your activity name and the starting time of the activity.
  <activity name="JOUW NAAM" mappack="Custom" mapfile="beta3bonus.map" time="19:59:30">
  <activity name="JOUW NAAM" mappack="Custom" mapfile="beta3bonus.map" time="19:59:30">
<br/>
<activity name="URNAME"    mappack="Rijndam"mapfile="Rijndam1.map"  time="1:00:50">
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)
 
*Next, you will find this next line. Here you can load the .ctd file with all the sectionmarkers. (You can edit the .ctd file as well)
  <controldata system="0" pack="Custom" file="beta3b-routes.ctd">
  <controldata system="0" pack="Custom" file="beta3b-routes.ctd">
<br/>
<controldata system="0" pack="Rijndam" file="Rijndam.ctd">
Now we start with the train codes. Be sure the times are possible. (times are visible in the .cdt file)
 
*Now we start with the train codes. Be sure the times are possible. (times are visible in the .ctd file)
  <train code="735">
  <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#PS" route="A-PS"  time="19:57:30" ai="true"/>
Line 14: Line 17:
   <duty code="735-1" number="735#SP" route="A-SP"  time="20:20:00" ai="true"/>
   <duty code="735-1" number="735#SP" route="A-SP"  time="20:20:00" ai="true"/>
   </train>
   </train>
'''Can be read as:'''
''Can be read as:''
  <train code="(Train shift number)">
  <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="(Train code - number of trains)" number="(Train code#Start and end station)" route="A-PS"  time="19:57:30" ai="true"/>
Line 21: Line 24:
   <duty code="(Train code - number of trains)" number="(Train code#Start and end station)" route="A-SP"  time="20:20:00" ai="true"/>
   <duty code="(Train code - number of trains)" number="(Train code#Start and end station)" route="A-SP"  time="20:20:00" ai="true"/>
   </train>
   </train>
<br/>
 
When you have inserted all the trains like above you can number the trains you placed(explained further in this tutorial) to the right train code. The first placed train gets F10001 and the second one F10002 etc.
*When you have inserted all the trains like above, you can number the trains you placed (explained further in this tutorial) to the right train code. The first placed train gets F10001 and the second one F10002 and so on.
  <trainnumber old="F10001" new="7351PS" timetable="735"/>
  <trainnumber old="F10001" new="7351PS" timetable="735"/>
<br/>
 
Then place the trains itself like below.
*Then place the trains itself like below.
  <consist start="VRW1">
  <consist start="VRW1">
   <train pack="RET" file="5500.xml" number="5505">
   <train pack="RET" file="5500.xml" number="5505">
Line 32: Line 35:
   </train>
   </train>
   </consist>
   </consist>
'''Can be read as:'''
''Can be read as:''
  <consist start="(Station or place of placing">
  <consist start="(Station or place of placing">
   <train pack="RET" file="(traintype like 5200 or 5600).xml" number="(pre-selected number for train like 5217 or 5602)">
   <train pack="(trainpack like RET or London)" file="(traintype like 5200 or 5600).xml" number="(pre-selected number for train like 5217 or 5602)">
     <cab id="(0 or 1)" enabled="(true or false)" ai="(Train code)"/>
     <cab id="(0 or 1)" enabled="(true or false)" ai="(Train code)"/>
     <pantographs raised="(true or false)"/> (Like this rule there are more options possible see below)
     <pantographs raised="(true or false)"/> (Like this rule there are more options possible see below)
   </train>
   </train>
  </consist>
</consist>
'''pantographs raised="true":''' Pantograph is raised when placed. <br/>
'''shoes raised="true":''' The thirdrail shoes are up.<br/>
'''doorsleft/doorsright open="true":''' The doors on the selected side are open.<br/>
'''pantographs broken="true":''' Simulate a broken pantograph.<br/>


Selecting the scrollsign is possible with this command. Scrollsign1 is the rifi and scrollsign2 is the dutycounter.
Selecting the scrollsign is possible with this command. Scrollsign1 is the rifi and scrollsign2 is the dutycounter.
Line 48: Line 47:
  <car id="1" scrollsign1="4.0" scrollsign2="51"/>
  <car id="1" scrollsign1="4.0" scrollsign2="51"/>


== Destinationcodes ==
===Key===
The next destinationcodes are standard in the .cdt file available.
*'''pantographs raised="true":''' Pantograph is raised when placed
<destinations>
*'''shoes raised="true":''' The thirdrail shoes are up
  <destinationcode code="K" id="4" name="Simvliet Centrum Keerspoor"/>
*'''doorsleft/doorsright open="true":''' The doors on the selected side are open
  <destinationcode code="C" id="5" name="Simvliet Centrum"/>
*'''pantographs broken="true":''' Simulate a broken pantograph
  <destinationcode code="X" id="6" name="Remise Bergpark"/>
 
  <destinationcode code="B" id="7" name="De Bergen"/>
== Destination codes ==
  <destinationcode code="S" id="8" name="Stationweg"/> <!-- Vanuit SST naar spoor 5, rest spoor 2 -->
''Main Article: [[Destination Codes]]''
  <destinationcode code="W" id="9" name="Stationweg Keerspoor"/>
 
  <destinationcode code="Z" id="10" name="Springstraat Opstel"/>
  <destinationcode code="P" id="11" name="Springstraat"/>
  <destinationcode code="M" id="13" name="De Molens"/>
  <destinationcode code="V" id="3"  name="De Molens Uitloop"/>
  <destinationcode code="O" id="14" name="Oostpark"/>
  <destinationcode code="Y" id="15" name="Oostpark Opstel"/>
 
  <destinationcode code="N" id="1"  name="Niet Instappen"/>
  </destinations>


<br/><br/>


{{Navigation Bar Getting Started}}
{{Navigation Bar Getting Started}}
[[Category:Tutorial]]
[[Category:Tutorial]]

Latest revision as of 18:30, 29 December 2020

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

Making the standard

  • First, you will see this line. Here you can give your activity name and the starting time of the activity.
<activity name="JOUW NAAM" mappack="Custom" mapfile="beta3bonus.map" time="19:59:30">
<activity name="URNAME"    mappack="Rijndam"mapfile="Rijndam1.map"  time="1:00:50">
  • Next, you will find this next line. Here you can load the .ctd file with all the sectionmarkers. (You can edit the .ctd file as well)
<controldata system="0" pack="Custom" file="beta3b-routes.ctd">
<controldata system="0" pack="Rijndam" file="Rijndam.ctd">
  • Now we start with the train codes. Be sure the times are possible. (times are visible in the .ctd file)
<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="(Train code - number of trains)" number="(Train code#Start and end station)" route="A-SP"  time="20:05:00" ai="true"/>
  <duty code="(Train code - number of trains)" number="(Train code#Start and end station)" route="A-PS"  time="20:12:30" ai="true"/>
  <duty code="(Train code - number of trains)" number="(Train code#Start and end station)" route="A-SP"  time="20:20:00" ai="true"/>
 </train>
  • When you have inserted all the trains like above, you can number the trains you placed (explained further in this tutorial) to the right train code. The first placed train gets F10001 and the second one F10002 and so on.
<trainnumber old="F10001" new="7351PS" timetable="735"/>
  • Then place the trains itself like below.
<consist start="VRW1">
  <train pack="RET" file="5500.xml" number="5505">
   <cab id="1" enabled="true" ai="735"/>
   <pantographs raised="true"/>
  </train>
 </consist>

Can be read as:

<consist start="(Station or place of placing">
  <train pack="(trainpack like RET or London)" file="(traintype like 5200 or 5600).xml" number="(pre-selected number for train like 5217 or 5602)">
   <cab id="(0 or 1)" enabled="(true or false)" ai="(Train code)"/>
   <pantographs raised="(true or false)"/> (Like this rule there are more options possible see below)
  </train>
</consist>

Selecting the scrollsign is possible with this command. Scrollsign1 is the rifi and scrollsign2 is the dutycounter.

<car id="0" scrollsign1="7.0" scrollsign2="51"/>
<car id="1" scrollsign1="4.0" scrollsign2="51"/>

Key

  • pantographs raised="true": Pantograph is raised when placed
  • shoes raised="true": The thirdrail shoes are up
  • doorsleft/doorsright open="true": The doors on the selected side are open
  • pantographs broken="true": Simulate a broken pantograph

Destination codes

Main Article: Destination Codes