Duplicating driver rules in TS10

drstevewood

New member
I wish to run 6 trains at 10 minute intervals from an oil well to a refinery, About a dozen rules are required to guide the trains over the network. Having laboriously entered the sequence of rules for the first train into driver setup, I don't want to go through the exercise five more times. Can I copy and paste or use some other short cut to copy the same set of rules from ine train to another?

Steve
 
The easiest way would be to use the schedule library rule. Set up the instructions in this rule and then just instruct each train to copy commands from library.
 
I wish to run 6 trains at 10 minute intervals from an oil well to a refinery, About a dozen rules are required to guide the trains over the network. Having laboriously entered the sequence of rules for the first train into driver setup, I don't want to go through the exercise five more times. Can I copy and paste or use some other short cut to copy the same set of rules from ine train to another?

Steve

Hi Steve,

I have not tried in 2010 but there used to be a schedule command. With this you could program and save a schedule to the schedule library. Then for each driver you simply gave him a command to "waitXXX" then "copy commands from" (name of your schedule).

Cheers,
Bill69

Great, we maust all have been typing at the same time.
Bill69
 
Evenin' chaps,

I've installed the schedule library rule and set up the instructions, but the schedule library rule does not appear on the pick list when I attempt to apply it to my trains. Confused. Foxed. Please help.

Steve
 
Steve,

You need to add the driver command "Copy Commands From" to the Driver Commands rule in 'Edit Session' and then use that in driver to select from the Library.

All very confusing I agree !

Cheers

Chris
 
All learning by your mistakes and trial and error i'm afraid :P. The Schedule library is very useful, mine has around 15 schedules in atm and is growing still :)
 
About a dozen rules are required to guide the trains over the network.
Steve

Hi Steve - It looks as if your question has been answered by our learned colleagues, but I wish to make a small point here:

It is important to know the difference between rules and driver commands. especially when asking a question on the forum.

Rules are added to the session in surveyor mode and are not usually accessible to the player when driving the train.
They usually affect all trains and often require something to set them going such as a trigger, although many rules start when the player enters driver mode and stay in effect for the whole session. Some rules act only once and then go to sleep for the rest of the session.

Driver commands, on the other hand, are accessible in both surveyor and driver modes. They are applied to a driver's schedule and apply only to that train. Each train can and usually does have a different list of commands on it's schedule. In the case that you have raised, Steve, the schedule could be copied directly from one train or driver to another without using the schedule library, by using the "Copy Commands From" driver command.

Don't get me wrong. The schedule library is very versatile and a brilliant piece of programming by Brummfondel.

If you had really been using rules to control the trains (and this is also a valid way of doing it), then all trains travelling the line would trigger the same rules as they proceeded and no driver commands would need to come into play.
So a train emitted from a portal could trigger a trackside rule which sets up a destination path and (assuming the rules are perfectly set up) no player intervention would be needed. All trains would try to behave in the way same.

All right, I know that that isn't prototypical. I am just trying to make it clear that there is more than one way of doing things in Trainz, and that choices are available. Many rules have the ability to act on only specific trains, drivers, vehicles or other factors like the train priority, which make them selective in their application.

Sometimes, rules and driver commands interact with each other, as in the case of CommWithTTable, a driver command by atilabarut which displays options which are defined by a rule: InputTable (or Worktable). The rule is not accessible in driver mode, but its effects provide variable options to the driver comand.

So, Dr Steve, there is a lot to learn about controlling trains and it is worth while studying the available rules and commands and deciding on how you want to set up a session.

End of lesson.
 
Hi Trev999

Thank you very much for your helpful posting. It has certainly clarified a number of issues for me. It's heartening to know that experts such as yourself are prepared to go to so much effort to help novices such as me!

Thanks

Steve
 
Hi friends

Can you all help again?

In the scenario I posted, 6 tanker trains are waiting in six sidings outside an oil field. Train 1 departs at 0800, loads and delivers to the rinery and then returns to the oil field. The sequence of driver commands is something like this:

Drive to oil field>load>drive to refinery>unload>repeat

For Train 2 it is

Wait 10 mins>drive to oil field>load>drive to refinery>unload.........

But what then? If I add a repeat command it will pause for another 10 mins, whereas to retain the correct spacing between trains I want it to reload immediately.

Can anyone help please?

Steve
 
I have a problem with the library and copy commands: It works beautifully, but it slows down all the commands in the window. I mean that you click on one and everything freezes for up to 4 seconds! Then it works. This problem was there in 2004 too. Is anybody having the same situation?
 
There are a few versions, the latest is:

Enable Repeat,<kuid2:192081:2:3> - it will be on the DLS.

Earlier versions are obsolete.
 
Hi friends

Can you all help again?

In the scenario I posted, 6 tanker trains are waiting in six sidings outside an oil field. Train 1 departs at 0800, loads and delivers to the rinery and then returns to the oil field. The sequence of driver commands is something like this:

Drive to oil field>load>drive to refinery>unload>repeat

For Train 2 it is

Wait 10 mins>drive to oil field>load>drive to refinery>unload.........

But what then? If I add a repeat command it will pause for another 10 mins, whereas to retain the correct spacing between trains I want it to reload immediately.

Can anyone help please?

Steve

Once the second consist has has loaded drag the wait 10 mins out of the schedule, same with the other consists.
 
The way I do it is in the driver command section you put “wait 10 mins>Enable repeat>copy commands.” In the schedule library goes the “[FONT='Verdana','sans-serif']drive to oil field>load>drive to refinery>unload.........[/FONT]
 
Back
Top