G'Day Steve,
I've not seen those lines of code added anywhere else in an AndiS signalling scheme, so I concur with VictoryWorks
However...
Have you thought about using a
basic ground signal, and have an
external indicator, rather than one with the indicator built-in? That's the way I've done it with my GPLS setups, and it seems to work. Here is the code I use for the main signal:
- Code: Select all
require "Assets/AndiS/FPSignals/scripts/FP CLS Stop Signal.out"
function Initialise ()
DefaultInitialise()
gLightTable[1][LIGHT_RED] = "CallOn_Red"
gLightTable[1][LIGHT_GREEN] = "CallOn_White"
gLightTable[1][HEAD_MAIN] = "2 Aspect GPLS"
end
The signal head itself is here implemented as a
child object called
2 Aspect GLPS, and the nodes for turning on and off are
CallOn_Red and
CallOn_White, determined by inspecting the
GeoPcDx file for the head model in
RW_Tools. In the blueprint, refer to the GeoPcDx of the signal's post for the geometry, or leave this reference blank if you want to place the signal head on a post implemented as a separate scenery item.
As for the external indicator, its blueprint refers directly to the script
FP External Text-based Indicator.out, which is found in AndiS>FP Signals>Scripts within his original package. The link0 of the indicator is placed immediately
after the link0 for the signal. Configure the indicator in the Editor by placing in the SignalID field two characters (or for however many routes you have), which refer to the textures to be displayed by the indicator for your routes, Route 1 then Route 2 and so on. Using a "_" character would leave the indicator blank for that route.
Steve, feel free to PM me with your email address, or if you wish, I can PM you with mine, and then we can exchange files back and forth to get your model working. I have a solution in mind for you using the external indicator route already, and can send you the files for this so that you can decide if the approach is right for you.
AndiS scripts are powerful and realistic, and it is a shame that more folks are not using them fully. With you now on board, I think we are up to about four, plus AP who used the AndiS system on
Wherry Lines...! Andi spent a lot of time and effort into creating these scripts; I am now involved with producing signalling schemes for various freeware "preserved" routes - so far, South Devon Railway and Swanage Railway (published on SSS) are powered by AndiS scripts, and a start has been made on a rendering of the Llangollen Railway.
Best wishes, and looking forward to getting your signals working