Script SC53 Stop extension
This script extends a train’s stop at a platform when conditions ahead are blocked.
Key features:
• Can be launched by arrival to line stop or passing of a platform marker
• Extends stop in small increments (15s default) until path forward is open
• Extends stop if either ANY or ALL of linked sensors are reserved/occupied
• Extends stop if another train in front on the same platform
• Optional tags for both stopped and blocking trains
• Configurable lead (check) time, extension time, maximum extension, and check distance ahead
Use cases:
• Hold the train in stop until another train passes
• The stub terminus is still occupied
• The next block ahead is still occupied
• Opposite direction train on single track line still on the way
• Train ahead on the same platform prevents departure
• With more complex setup, may be able to check whether junction ahead is free to proceed
IMPORTANT:
• Extending departure may result in late arrival to the next stop.
• It also hides timetable issues as signal wait warnings will not occur.
• Due to API limitations, not all situations can be addressed. It is not possible to extend stop simply based on a signal’s stop state. Instead, the script needs to check reservations/occupancy at specific sensors (signals).
How it works:
• Departure time is extended shortly before departure (e.g. 10s), if defined conditions are met. Multiple extensions are possible.
Installation:
• Place 530 Stop extension controller anywhere (can be off-track).
• Attach 532 Stop extension marker to a platform marker, OR
• Attach 531 Stop extension to a line stop. Link either to controller
• Add to the controller sensors (signals) to monitor and tags (if desired)
• Add distance for physical occupancy check ahead on the same platform.
Deployment notes:
• This script can supplement script 01 Priority signals but cannot interact with it. It needs to have its own sensors set up to trigger stop extension.
• For complex junction ahead that can block departure, set multiple signals on various tracks as sensors.
• When tags are used, line and train tags are checked.
• When using double stops, attach script to the last stop. Using marker with double stops will extend the first stop.
Revisions:
Old revisions of this mod are available below. Click the link to download.