BVE 4 : Installing UK Signals special to route file

 

 

Introduction

Thankyou for downloading the BVE Signal and AWS pack. The files have self installed to the path
Program Files\BVE\Railway\Object\BrSigs, should you need to access them or to read this document again.


If you have downloaded a BVE4 route which is already set up to use these signals, you need to do nothing.
The text in this document is aimed at developers only!



Signals

1. Preparation

Unzip the enclosed folder so that the ‘BrSigs’ folder lies within your objects folder,
eg. Program Files/BVE/Railway/Object/BrSigs

Open your CSV route file for editing.

Copy the following code to the end of the With Structure list in your route file :-

Signal(1).Load brsigs\signal2g; brsigs\glow2g
Signal(2).Load brsigs\signal2y; brsigs\glow2y
Signal(3).Load brsigs\signal3; brsigs\glow3
Signal(4).Load brsigs\signal4yg; brsigs\glow4yg
Signal(5).Load brsigs\repeat; brsigs\glowrepeat
Signal(6).Load brsigs\signal3featherl; brsigs\glow3featherl
Signal(7).Load brsigs\signal3featherr; brsigs\glow3featherr
Signal(8).Load brsigs\signal4ygfeatherl; brsigs\glow4ygfeatherl
Signal(9).Load brsigs\signal4ygfeatherr; brsigs\glow4ygfeatherr
Signal(10).Load brsigs\signal2callon; brsigs\glow2g
Signal(11).Load brsigs\signal3callon; brsigs\glow3
Signal(12).Load brsigs\signal4callon; brsigs\glow4yg
Signal(13).Load brsigs\signal2gy; brsigs\glow2gy


These will load the signal.bmp, signal .x file and glow files from the Sigs folder to the route.

In this example the following applies :

Signal(1) refers to all 2 aspect red/green signals

Signal(2) refers to all 2 aspect red/ yellow signals

Signal(3) refers to all 3 aspect red/yellow/red signals

Signal(4) refers to all 4 aspect red/yellow/double yellow/green signals

Signal(5) refers to all banner repeater (relay) signals

Signal(6) refers to all 3 aspect red/yellow/red signals with a LEFT HAND route indicator (feather/flash)
where your train will take that route

Signal(7) refers to all 3 aspect red/yellow/red signals with a RIGHT HAND route indicator (feather/flash)
where your train will take that route

Signal(8) refers to all 4 aspect red/yellow/double yellow/red signals with a LEFT HAND route indicator (feather/flash) where your train will take that route

Signal(9) refers to all 4 aspect red/yellow/double yellow/red signals with a RIGHT HAND route indicator (feather/flash) where your train will take that route

Signal(10) refers to 2 aspect signals where you wish a calling-on signal to be used

Signal(11) refers to 3 aspect signals where you wish a calling-on signal to be used

Signal(12) refers to 4 aspect signals where you wish a calling-on signal to be used

Signal(13) refers to all 2 aspect green/ yellow signals (colour light distant)

2. Inserting the actual signals to route


2 aspect green/red signals

.SigF 1; 1; x; y, .Section 0; 4,

Where x is position left/right of track centre, y is up/down of track centre.


2 aspect red/yellow signals

.SigF 2; 1; x; y, .Section 0; 2,


3 aspect signals

.SigF 3; 1; x; y, .Section 0; 2; 4,

4 aspect signals

.SigF 4; 1; x; y, .Section 0; 2; 3; 4,


Banner Repeaters (Relays)

.SigF 5; 1; x; y,
(NB. No Section command is required)


3 aspect signals with left hand lit feather/flash

.SigF 6; 1; x; y, .Section 0; 2; 4,

3 aspect signals with left right lit feather/flash

.SigF 7; 1; x; y, .Section 0; 2; 4,


4 aspect signals with left hand lit feather/flash

.SigF 8; 1; x; y, .Section 0; 2; 3; 4,

4 aspect signals with right hand lit feather/flash

.SigF 9; 1; x; y, .Section 0; 2; 3; 4,


2 aspect signals with a calling-on sub signal

.SigF 10; 1; x; y, .Section 0; 2,


3 aspect signals with a calling-on sub signal

.SigF 11; 1; x; y, .Section 0; 2,


4 aspect signals with a calling-on sub signal

.SigF 12; 1; x; y, .Section 0; 2,


2 aspect colour distant (green/yellow)

.SigF 13; 1; x; y, .Section 2; 2; 4,

The .Section code refers to the order in which the signal aspects are shown, meaning signals can be customizable, and you can apply your own rules. Eg. 4 aspect signals. If you take a look in the ‘BrSigs’ folder, you will see 4 signal bitmaps for the signal. SignalGY0 is red, SignalGY2 is yellow, SignalGY3 is double yellow, & SignalGY4 is green. See the pattern? The section command tells BVE that Signal 0 is danger, Signal 2 is the signal before danger, and so forth. The program will look for the end digit in the filename and apply that bitmap to the pattern you specify with the section command. Clever stuff!


Hope this helps!

Steve G
www.trainsimcentral.co.uk


Archive/readme updated 30th January 2005. Glow added to files for feather (route indicator) signals, thanks to Anthony Bowden.

Archive/readme updated 23rd August 2004. 2 aspect signals changed to comply with AWS.dll. Simulated AWS instructions for BVE4 removed as fully operational AWS+TPWS is introduced.