AI Sorting yard. How?

PikeWake

New member
Hi!
I'd like to set up AI for a simple sorting yard. I have the yard laid out and tested, but need some driver commands to do the following:
Starting from this:
Code:
I01 :----AAAAAA--\
I02 :----BBBBBB----\
I03 :----CCCCCC------\
I04 :----DDDDDD--------\
P01 :-------E-------------------
O01 :------------------/
O02 :----------------/
O03 :--------------/
O04 :------------/
Where I01 to O04 are tracks; A-D are consist and E is the engine.
The end result should look like:
Code:
I01 :------------\
I02 :--------------\
I03 :----------------\
I04 :------------------\
P01 :-------E-------------------
O01 :----AABBCC--------/
O02 :----AABBDD------/
O03 :----AACCDD----/
O04 :----BBCCDD--/
In other words: I want to split four sets of cars and reassemble four mixed sets on other tracks.
My problem is that I would like this to happen without knowing the ID of each separate car, i.e. I want to tell the driver to "couple with the first car on track I01, uncouple after the first two cars, drive to track O01 and uncouple, etc."

Is this at all possible? If so, are there any scripts around that can help me with this?

Any help will be most appreciated.

//PikeWake
 
Hi PikeWake,

Yes it is possible so long as you have enough patience, it will take quite a lot of commands. Extra commands you will need are "Couple At Trackmark" kuid 57145 81100 "UcouplezFrom" kuid 66277 80005 "Uncouplez" kuid 66277 80000"Hornz" kuid 66277 80001

You will also need trackmarks on each siding both the pick up sidings and the drop off sidings and one on the main exit line.

If you have too much trouble post here again and I will try to explain how it works.

Cheers,
Bill69
 
Bill69 has already said what is needed. You need to add to the track two trackmarks, one at the buffer end (not to near the buffer as the buffer stop will effect it) and one just inside the junction. Do this for each spur and name the trackmarks (say 101B at buffer end and 101J for junction end).
Commands would be :-
couple at trackmark 101J
uncouplez from two
couple at trackmark 102J
uncouplez from four
couple at trackmark 103J
uncouplez from six
drive to trackmark 001B
uncouplez
Then repeat the above using the names of the next spur.
 
Thanks a million, guys!

It was the "couple at trackmark" command I was looking for. Now everything works exactly as intended.
BTW Bill69: Nice touch adding the Hornz command! :)

Thanks again!

//Pikewake
 
Hi PikeWake,

Glad you got it fixed. I use the Hornz command every time the loco changes direction when shunting, it adds to the realism.

Glad to be of some help,
Bill69
 
Back
Top