Session creation questions

okhiu

Active member
Hi. I did a little bit of research but haven't found much about the issues i am going to post below, so i am goona ask here.

So, i want to create some sessions for a route. I know the basics of session creation (trains moving when a certain train hits a trigger, trains waiting a certain number of minutes, junctions switch automatically) but i would like to go further. So here are my questions:

1. In an automatic session, where the train rolls all by itself, how can i lock the camera view in a certain carriage? I want the player to be unable to move outside that carriage.

2. Is it possible to switch the control of a train from the player to the AI at a certain moment or when a trigger is activated? For example i want to drive the train manually to the station X , and after i arrive there i want the electric loco to uncouple and another diesel loco to couple to the train, and i want all this to be done automatically by the AI. So how can AI take control over the electric loco? :o

3. How can i automatically change the locomotive that is "active" ? For example , see question 2. , i want to be "attached" first to the electric loco, as it uncouples from the consist and rolls on a sidetrack, then when the electric loco reaches a certain point automatically switch the view to the diesel loco as it attaches to the consist.

I hope i haven't been too uncomprehensible, any idea would be appreciated.
 
Get the movetoloco command,stop train command, uncouplez command and change diection command.
Set your driver up like this:wait (how long it will take you to drive to when you want AI to take over)uncouple,drive to trigger,stoptrain,movetoloco,now you may have to give a command to change direction so that the diesel will go the right direction. continue your commands for the diesel.(this will have to be done in driver can't be set up ahead of time)
Moveto loco Kuid:131986:1007
stop train Kuid:131986:1020
uncouplez Biult-in
change direction Built-in
Hope this helps?
 
Yeap sure, ill use your ideas. Unfortunately i cannot download from DLS but i will solve this somehow, russian forums are always a good alternative to the DLS (if not even better :p ) Srill looking to find out how to lock the player in a passenger view
 
Hi again,

I managed to make the camera to change automatically the driver and the camera from one locomotive to the other, very good advice danny5, just that it seems it's not the Move to loco command but the Move to train command. If i use Move to loco, only the orders move, not the driver/camera. But it works.

Now i have a few other questions:

1. Why do sometimes the AI automatically change the direction of a junction? See the photo below.

clipboard01uvj.jpg


So the train has orders to go from Trackmarck 1 to Trackmark 2 using the Track B, and Junction 1 is switched accordingly. But in some cases (i have not managed to understand when and why) when the train gets closer to Junction 1, it switches it automatically to go towards Track A. So i have to place another trackmark after Junction 1, and give orders to the train to Drive Via ... So i have found a solution to the problem, but i would like to find out also the reason :)

2. I noticed that i cannot set the camera to cab view and lock it in the cabview mode for a locomotive that has orders to complete. I can set and lock the camera for a coach that it pulled by that loco, but not for the loco... Anybody has a solution for that? :o

3. How can i override a red signal? I want to couple a train to a consist, but the maneuvre signal shows as red, cause the consist is on the siding, and my locomotive can't reach it. Is there a rule or script that can help ?

For the moment that's all, maybe i will come with more as i progress with the session :)
 
1. Why do sometimes the AI automatically change the direction of a junction?

So the train has orders to go from Trackmarck 1 to Trackmark 2 using the Track B, and Junction 1 is switched accordingly. But in some cases (i have not managed to understand when and why) when the train gets closer to Junction 1, it switches it automatically to go towards Track A. So i have to place another trackmark after Junction 1, and give orders to the train to Drive Via ... So i have found a solution to the problem, but i would like to find out also the reason :)
I think (I aint 100% sure) that this is the result of the directions the tracks are layed down in.
This sounds silly, so let it sink in for a second.
I think track B is put down from RIGHT to LEFT and A is put down from LEFT to RIGHT. If you do not put down explicit direction markers, it will consider the direction in which you put down the track as the prefered direction. As a result, the train will try to reach its destination using as much tracks in the right direction as possible, which in this case is partly over track A.

Hope this makes sense to you.

I think you can "solve" the situation by putting a direction marker on track B between the 2 switches.

As a general note: Always try to lay the tracks in the direction you want the trains to drive in on that track.
 
Yeah, that might be the problem, but now it's kinda late to modify that. I solved the problem with "Via" command.

Now what i am trying to find out how can i make the AI to take control over a locomotive that has been previuosly driven by the user...
 
Okhiu, Try this; Set up the commands to the driver of the train you are driving like this;drive to ?track mark now click stop train when you want AI to take over just click continue schedule. The driver should take over.
 
Yeap, that works. Just thought there is a way do it automatically.

Anyway, now i have a bigger problem. I'll explain a little bit , attached also a photo cause it's a lot easier to explain.

So, a train arrives and stops at trackmark A on Track 1. The diesel locomotive decouples and drives to siding DEPOT 1 stopping at trackmark C. There it hits a trigger, and the camera switches to a shunting locomotive with 3 passenger coaches attached, found on siding DEPOT 2. The shunting locomotive drives and couples the 3 passenger coaches to the consist found on Track 1. The the shunting locomotive decouples and drives back alone on DEPOT 1 - trackmark B. It hits a trigger and the camera moves on an electric locomotive found on SIDING 1, this one couples to the consist found at Track 1. Of course, all the junctions are switched using Trigger rule and Set Junctions rule. The problem is that i have set a rule, that when the electric locomotive hits Trigger 1, Junction 1 should be changed from right to left, so that the train can continue it's journey using Track 1. But that junction never swithes. And i do not understand why. All other junctions switch correctly, as told in the Ordered List, only that one never does. It's the last one in the list. I tried to remove the tracks and lay them again in the direction needed, i removed the lever and replaced it, renamed it, nothing. I am really out of ideas about what can cause this problem.... :eek: Here a small sketch of the layout, it is not 100% accurate, only the basic.

untitled.jpg
 
Does anybody know why a train that comes from a portal does not respect the orders? I have put the Portal Timetable Rule , the train comes out a certain hour, and has orders to go to a certain trackmark then stop, but it passes the trackmark without stopping on it. Why?
 
Try using pguy's Portal Manager V2 or V3. I find these to be much more reliable.

I tried using that but i did not understood how to use it. Except from adding the maximum number of trains and adding some portals in a list...nothing is manageable there...
 
Back
Top