Block Working for Single Tracks & Loops
Posted: Wed Jul 16, 2014 10:35 pm
OK, I think I have cracked this.
Wrote a set of block signals based on the UK 2 colour light system which defaults to green under all circumstances except when the line is actually blocked. These work for passing loops by use of a Yard Entry feature which allows the platform line to remain part of the block and the loop to act as a yard. Also produced a block signal to use on lines typical of single track routes where the yard follows on from the station line with no separating point work.
Essentially a block is shown on the 2D map and the signals are buried underground once the route is tested. On the 2D (Press 9) Map the blocks have a coloured light at each end and when a block is full the lights show red at each end of the block. You therefore get two lights on the map at each block end one; for the block you are in and one for the next block.
There is a block signal for replicating a starter over pointwork to make sure that AI locos do not run over points set against them. There is also one that can identify yard entry over a point and change the block back to "empty" once the loco enters the yard.
These are all small changes the lua scripts for the UK coloured light signals but saved as block signals as they have all of the warning/distant/yellow light functions stripped out. No really unusual stuff by me but I am pretty pleased to have got the concept sorted out and working for QD, Freeroam, Standard and Timetabled scenarios. Works a treat on my L&M route.
What is nice is that you set the blocks to seperate at stations so you need to stop, or slow down, and look at the map in 2D to see if the block ahead is clear which is sort of like stopping to collect a token or to phone ahead.
Wrote a set of block signals based on the UK 2 colour light system which defaults to green under all circumstances except when the line is actually blocked. These work for passing loops by use of a Yard Entry feature which allows the platform line to remain part of the block and the loop to act as a yard. Also produced a block signal to use on lines typical of single track routes where the yard follows on from the station line with no separating point work.
Essentially a block is shown on the 2D map and the signals are buried underground once the route is tested. On the 2D (Press 9) Map the blocks have a coloured light at each end and when a block is full the lights show red at each end of the block. You therefore get two lights on the map at each block end one; for the block you are in and one for the next block.
There is a block signal for replicating a starter over pointwork to make sure that AI locos do not run over points set against them. There is also one that can identify yard entry over a point and change the block back to "empty" once the loco enters the yard.
These are all small changes the lua scripts for the UK coloured light signals but saved as block signals as they have all of the warning/distant/yellow light functions stripped out. No really unusual stuff by me but I am pretty pleased to have got the concept sorted out and working for QD, Freeroam, Standard and Timetabled scenarios. Works a treat on my L&M route.
What is nice is that you set the blocks to seperate at stations so you need to stop, or slow down, and look at the map in 2D to see if the block ahead is clear which is sort of like stopping to collect a token or to phone ahead.