HI all,
just quickly, I have a single line section governed by a combination of trev999’s variables and pguy’s IT’s coupled with MC. The double line section is very long, has high speeds, several approach signals and can deal with at least a few traffic generated from a portal every 30 minutes.
On each approach signal I’ve added intermediate approach TM’s designed specifically to cater additional opportunities to the driver (like following a line of breadcrumbs) before arriving at a home signal at STOP.
Heres how I demonstrated:
The signals I use in the double line section are Ranger_51’s NSW double light series.
They have a total of 10 aspects/states, but I limited to 4 for this scenario (se my signature below except without the stop_then_continue signal state (R-R-G)).
I used @Kennilworth’s analogy in this but chained it repeatedly until it reached the home signal.
• The last Clear signal lies alongside the outer approach TM.
• The last approach signal before the stop signal lies next to the inner approach TM.
Code:
[CLEAR]Autodrive through “tok 1 outer approach”
Skip to lbl 1 if s-variable “tok_1” = 0
Skip to lbl 1 if s-variable “tok_1_dir” = 1
[ADVANCE CAUTION]Autodrive through “tok 1 inter approach”
Skip to lbl 1 if s-variable “tok_1” = 0
Skip to lbl 1 if s-variable “tok_1_dir” = 1
[CAUTION]Autodrive through “tok 1 inner approach”
Skip to lbl 1 if s-variable “tok_1” = 0
Skip to lbl 1 if s-variable “tok_1_dir” = 1
[STOP]Autodrive to “tok 1 stop”
Wait until s-variable “tok_1” = 0
Lbl 1
ITMCAssignNextPath
Inc “tok_1” by 1
set “tok_1_dir” = 1
Auto drive to tok 1 exit
Dec “tok_1” by 1
Call At <portal>
I’m not exactly sure if I do need this structure to make it reasonable for the AI.
Or should I stick to the 2 TM rule? What are your thoughts?
In answering with @Kennilworth’s post will it work using
brummfondel’s autodrive instead of the base drive to/via commands, reason I ask this is I don’t like the physical elements where the ai would slow down for the TM and then drive up to track speed.
Also, in using autodrive to/through TM command, would it affect MCM to look for a train in the vicinity to activate an IT path?
in build 117669
Regards,
darrren