if you get this far you might want to check out posts by segy, who's worked out how to get 100 trains out of portals to a timetable using SCS2006 (Scenario Creation System) and "un-portal" rule. I'm still figuring this one out!
HTH
News
14 55 Jul 26 2008, 03:44 PM
In: Last PostConversion Delays
By: Gandalf0444
Regular Forum (no new posts) Introductions
Introduce Yourself here
Forum Led by: Moderators 14 50 Jun 23 2008, 08:12 AM
In: Last PostHI there from sdpnz
By: K4driver
Regular Forum (no new posts) Community
Got a community event? post it here.
Forum Led by: Moderators 50 241 Jul 20 2008, 02:12 PM
In: Last PostGreat MSTS Downloads
By: Dylanviey
Regular Forum (no new posts) Support
User Control Demo.
This introduces some of the commands available to provide instructions to the player and monitor his/her progress.
The player is presented with a screen asking which train he/she would like to drive. This leads nicely
There is also a limit to the number of threads that can be run in a scenario which I believe is 64. I have found ways to increase the number of trains that can be run within this limitation and can explain them to you if you ever reach the limit.
You'll need to be a bit cunning with this one. I'd go with something like this in your Scenario thread...
Scenario
OnAnnouncement Make_AI_Train
AddTrainToRoute My_AI_Train
And then in the PlayerTrain thread you'd need something like this...
PlayerTrain
OnTrackMark TrackMark_X
Announce Make_AI_Train
So when the PlayerTrain hits TrackMark_X the Scenario thread will see the announcement and add My_AI_Train to the route.
Make sure that you're not going to hold up absolutely everything in the Scenario thread though.