AI vs Manual

okhiu

Active member
Hello all,
I have a question regarding the control of a train: is there any possibility to make the AI take control of a train (with certain orders) after the user has manually driven that train?
To describe a little, let's say the user has to manually drive the train from A to B, and when the train arrives to B the locomotive must decouple and go to a depot. But i want this decoupling and depot driving to be done automatically by the AI. How can i do that? How can I set the AI to take control of the train when a certain event happens?
 
Hi,

you could use the "Driver Schedule Rule" for this. It allows you to react to an event, such as the player train stopping at the station, by assigning a schedule

to a particular driver, in this case you would want it to be the driver of the player's train. The above rule itself doesn't watch for the player's train arriving at

the station, it merely applies the new schedule. So you're going to have to use some other rules to watch for that.

You could try having this rule:

Trigger Check (Set it up to monitor a Trigger at the start of the siding/track where you want the Player's train to stop.)

Then indent directly under Trigger Check the following rules,

-Ordered List
-Wait for Consist Stop/Start (Set it up to watch for the player's train)
-Driver Schedule Rule (Assign the new schedule to the driver of the player's train)

Something you could try if you wanted too.

Cheers.
 
Last edited:
Hello,

You could use the "Driver Schedule Rule" for this. It allows you to react to an event, such as the player train stopping at the station, by assigning a schedule

to a particular driver, in this case you would want it to be the driver of the player's train. The above rule itself doesn't watch for the player's train arriving at

the station, it merely applies the new schedule. So you're going to have to use some other rules to watch for that.

You could try having this rule:

Trigger Check (Set it up to monitor a Trigger at the start of the siding/track where you want the Player's train to stop.)

Then indent directly under Trigger Check the following rules,

-Ordered List
-Wait for Consist Stop/Start (Set it up to watch for the player's train)
-Driver Schedule Rule (Assign the new schedule to the driver of the player's train)

Regards
Arthur

Thanks, i will try that and let you know the result.
 
Back
Top