Stop at a trackmark - how to achieve?

samplaire

Member
Hi,
The scenario is like that: I set a train to drive to a trackmark T5 but I'd like the train to stop at a trackmark T1, T2, T3, T4 (for a set amount of time to unload passengers) which are between the loco and the T5. In other words I'd like to set a destination to a train but would like it to stop at certain stations in between. How can I achieve it? Do I have to use triggers and rules? Which and how? Could anybody prepare a simple route/session consisting of the needed assets? I would be very grateful for it. Thank you in advance!
 
A series of simple driver commands will do it...

Drive To Trackmark T1 > Load > Wait x Minutes > Drive To Trackmark T2 > Load/Unload > Wait x Minutes > Drive To Trackmark T3 etc

TRS09 and up use 'Navigate To' not 'Drive To'

Assuming you are using passenger-enabled platforms a better command would be 'Drive To (or Navigate To) StationName'
 
Last edited:
Thank you. Unfortunately you missunderstand me, I'm afraid. Please, look at the scenario I'd like to do: I set 'Drive to T5' (or 'navigate to T5') and the train goes there through some other points called T2, T3 and so on and I'd like the train to stop at the points, too. How to do it without building the comand series all the time?
 
Unfortunately, the way trackmarks are coded, you have to set the driver to drive to each trackmark individually. Unless someone has coded a script for doing it automatically, you'll have to do this for each trackmark you want the train to stop at, along with the relevant commands like unloading passengers.

It's time-consuming, but it's often the best way to do it, as you can easily see if any errors have creeped in if the AI drivers start misbehaving.
 
I see... One thing came to my mind: is it possible to make a macro command that I could prepare and then call in one go, no matter the driver? I mean, can I have an arsenal of macros and just choose one apropriate for a situation?
 
.......can I have an arsenal of macros and just choose one apropriate for a situation?

There is a way of doing this, you can create a "library" of schedules and then use a single command to call the one you want.

I'm not on my Trainz machine to check the details at the moment. Try looking for commands something like "Schedule Library" and "Drive schedule".

If you can't find them or understand them then post back and I'll get the details for you when I can.

Cheers
 
The TRS2006 Rules And Sessions Guide might be useful. The concepts covered in the guide are valid for all versions of Trainz from TRS2004 onwards.

Alternatively, you might find it easier to create an activity using Trainz Pro Routes' SCS (Scenario Creation System). There are versions for TRS2004 and TRS2006, and (I think) one in development for TS2010. Freeware.

Or if you've got TRS2004 then you can write scenarios in GameScript. See this introductory tutorial if you're interested.

HTH, John
 
Use the schedule library to make up your commands for each destination in surveyor. When in driver you want a consist to go to T5 use the copy command from rule and the set of commands you made in surveyor will be given to that driver.
 
Thank you for the valuable info! I'll check it when having my next time with TS :) I see my it in my wife's eyes that I have to have a break with TS for some time :)
 
Back
Top