Museumtram Activity

General discussions

Moderator: senjer

MSB4THOMAS
Posts: 85
Joined: 15 Aug 2019, 20:13
Location: Amsterdam, The Netherlands

Museumtram Activity

Post by MSB4THOMAS »

So i've been trying to replace the NZH tram in the activity with the 1990 12G tram but When i pretty much break the whole activity and then there are no trams and no trains. I did want no trains in the activity to increase the performance a little bit but no success. Can anyone help me with that?

Regards.
User avatar
Sjoerd
Posts: 5645
Joined: 26 Dec 2014, 21:14
Location: Alphen aan den Rijn

Re: Museumtram Activity

Post by Sjoerd »

You probably made an XML-error somewhere.
The simulator used to react to that by not showing the activity in the menu screen at all, but currently it reacts to that my loading the network, but not the vehicles.
CEO of the Rijndam Electrical Transport company :D
MSB4THOMAS
Posts: 85
Joined: 15 Aug 2019, 20:13
Location: Amsterdam, The Netherlands

Re: Museumtram Activity

Post by MSB4THOMAS »

Aha. That is what it did, any idea how i can do it?
User avatar
Sjoerd
Posts: 5645
Joined: 26 Dec 2014, 21:14
Location: Alphen aan den Rijn

Re: Museumtram Activity

Post by Sjoerd »

You can always provide us with the activity (put it in a zip-file and upload as attachment) so we can look at it to find the error.
CEO of the Rijndam Electrical Transport company :D
MSB4THOMAS
Posts: 85
Joined: 15 Aug 2019, 20:13
Location: Amsterdam, The Netherlands

Re: Museumtram Activity

Post by MSB4THOMAS »

Here is the file. It's the first time i tried to edit an activity so if i made some rookie mistakes forgive me haha.
Attachments
Museumtram.rar
(3.91 KiB) Downloaded 88 times
User avatar
Sjoerd
Posts: 5645
Joined: 26 Dec 2014, 21:14
Location: Alphen aan den Rijn

Re: Museumtram Activity

Post by Sjoerd »

Problem found:

<consist start="HHOVMP" service="899">
<train pack="TramNL" file="GVB_12G_1990.xml"/><pantographs raised="true"/><cab id="0" enabled="true" ai="847" mycontrol="true"/></train>
</consist>

That / is the problem. In XML-language, you 'closed' the <train> already. So adding the rest (the <pantographs raised="true"/><cab id="0" enabled="true" ai="847" mycontrol="true"/></train>), the software doesn't know what to do with, as it is not part of the 12G anymore due to that /.

So just remove that / ;)
CEO of the Rijndam Electrical Transport company :D
MSB4THOMAS
Posts: 85
Joined: 15 Aug 2019, 20:13
Location: Amsterdam, The Netherlands

Re: Museumtram Activity

Post by MSB4THOMAS »

Alright thanks for the help :)
MSB4THOMAS
Posts: 85
Joined: 15 Aug 2019, 20:13
Location: Amsterdam, The Netherlands

Re: Museumtram Activity

Post by MSB4THOMAS »

It now works thanks for the help :D
Attachments
20220109141644_1.jpg
20220109141644_1.jpg (341.25 KiB) Viewed 1393 times
Mark28jr
Posts: 261
Joined: 14 Sep 2013, 21:11
Location: Winschoten

Re: Museumtram Activity

Post by Mark28jr »

MSB4THOMAS wrote: 09 Jan 2022, 13:19 It now works thanks for the help :D
zou je deze misschien willen delen om hem te kunnen spelen?
User avatar
Jim2016
Posts: 890
Joined: 04 Jan 2016, 14:42

Re: Museumtram Activity

Post by Jim2016 »

This is an English forum, please speak English here
Post Reply