Train-Sim.Com
MSTS Activity Design

NEC4.0 Activities

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #1766

Charter Member · 4 posts

Hej,I tried to create a passenger-activity on the bayview-route from
Philadelphia to Baltimore (MARC Camden). There are no real stations on this route, only stops, and at some stops its impossible to registrate the stop in the activity. So the activity couldn't be finish, because you didn't stop at all stations/stops.
Is there an update for this or has anybody a solution for this problem?
Thanks in advance for help.Marc

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Charter Member · 2216 posts

RE: NEC4.0 Activities

Hi,Delete that default end activity event.
At the end of the path, place a location event that ends the Activity.
Checking if the player has stopped at a location is - IMHO - possible by a location event at that place and checking that the train must have stopped.Now comes the tricky part.
An activity is only active when the Activation level is 1.So let every location event add 1 to the Activition level of your end location event. The start Activition level of the end location event much be choosen so that the outcome of all stop location events is 1.So when you have 3 stop location events, the Activation level of the end location event start with -2. (-2 +1 +1 +1 = 1) Dick van den HovenNEC4.0 Activities – image 1

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | File Library ] Copyright © 2002 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured September 17, 2003. About this archive.