Page 1 of 1

Create the activity

Posted: 23 Aug 2018, 00:40
by metro1
hello, I tried to create an activity but even with the tutorial you put on the wiki I do not understand anything at all can be a video tutorial would be necessary

-How can I terminate the arrival of my train on a terminus example: from S Aeroport to Araplin combiens de minutes ??

-Did I want to create a "mega" activity (rush hour) is it long?

- Can you tell me the first thing to do after giving the name of the activity

-After finishing the activity how do we go from the Word Pad file to the ctd file or other bulk file so that it displays the activity on the simulator

Thanks you

Re: Create the activity

Posted: 14 Oct 2018, 19:09
by metro1
please help me ansewer

Re: Create the activity

Posted: 14 Oct 2018, 20:09
by Jim2016
Why don't you take a look at an activity similar to what you want to make?

4. I suggest opening the file with Notepad. Then go to File > Save as. There, name your activity as "Activity name.act" and in the "Save as type:" menu select "All files". Then click Save.

Re: Create the activity

Posted: 14 Oct 2018, 20:12
by Sjoerd
Jim2016 wrote: 14 Oct 2018, 20:09 name your activity as "Activity name.ctd" and in the "Save as type:" menu select "All files". Then click Save.
CTD files are not activities; they only contain route information for use in activities. The activities are the ACT-files. ;)

Re: Create the activity

Posted: 14 Oct 2018, 20:35
by Jim2016
Whoops 😬 Didn’t notice

Re: Create the activity

Posted: 22 Jan 2019, 16:45
by Alfacinha315
Hello. I am trying to convert an existing activity, but when I save it in the .act format it's not displayed in the simulator. What's happening?

Re: Create the activity

Posted: 22 Jan 2019, 17:58
by Sjoerd
You probably made an XML error somewhere.

Re: Create the activity

Posted: 22 Jan 2019, 18:12
by Alfacinha315
I think it's more easy if I send here my activity...

Re: Create the activity

Posted: 22 Jan 2019, 18:28
by Sjoerd
Two (of the same) XML errors here;

<consist start="DNA2">
<train pack="RijndamRail" file="9000.xml"/>
<cab id="0" enabled="false" ai="501"/>
<car id="0" scrollsign1="14.0" scrollsign2="51"/>
</train>
</consist>

<consist start="TRD2" position="40">
<train pack="RijndamRail" file="9000.xml"/>
<car id="0" scrollsign1="15.0" scrollsign2="52"/>
</train>
</consist>
Fixing that will make the activity appear.

Re: Create the activity

Posted: 22 Jan 2019, 19:05
by Alfacinha315
You're right... I also forgot to set the initial position at Transferium Rijndijk 2.

Here is the right file... I hope you like it.