Coding diverging signals.

prometheus_au

New member
Hey all,

I'm creating a local signal where if a consist was going straight, the signal would display green over red over an arrow pointing left (<-), and when diverging right would display red over green over an arrow pointing right (->).

Is there a way to link the signal with a junction without using gs scripting?

I have the arrow corona's made up and working. Am I right in assuming my coding would look something like this?

signals {
0
{
light 0,3
}
3
{
light 1,5,7
}
4
{
light 1,3,6
}
6
{
light 0,5,7
}
8
{
light 2,3,6
}
}

lights
{
0
{
corona "corona_red.tga"
}
1
{
corona "corona_yellow.tga"
}
2
{
corona "corona_green.tga"
}
3
{
corona "corona_red.tga"
}
4
{
corona "corona_yellow.tga"
}
5
{
corona "corona_green.tga"
}
6
{
corona "corona_left.tga"
}
7
{
corona "corona_right.tga"
}

}
... and would the signal automatically know that it's being used in relation to the junction immediately ahead?

Thanks in advance....;)
Prometheus
 
Back
Top