Andis Signal and Text Based Route Indicator

Andis Signal and Text Based Route Indicator

Postby Auscgu » Thu Feb 24, 2022 5:29 am

Andis

This is the same project Joe is working on.
I have all the asset for a text based indicator to try with the signal for Bournemouth West.

The signal Diagram
Bournemoth West SD 1956 01.jpg


The Simple Test Build
BWT Sig2 01.jpg
Auscgu
Passed Fireman
 
Posts: 133
Images: 50
Joined: Sat Oct 21, 2017 11:04 am
Has thanked: 12 times
Been thanked: 17 times

Re: Andis Signal and Text Based Route Indicator

Postby Auscgu » Thu Feb 24, 2022 5:36 am

The route indicator works with out without the route numbers as it is using the 8 link numbers
I have put a Route Token at the end of each track.
BWT Sig 01a.jpg


In the Simple test the route in config
BWT Sig2 02.jpg


Z123456Z

Z is a blank Texture
1 to 6 Platform Numbers
Total 8 Routes

The arms will not work with this set up.
Only the Highest number arm activates.
Auscgu
Passed Fireman
 
Posts: 133
Images: 50
Joined: Sat Oct 21, 2017 11:04 am
Has thanked: 12 times
Been thanked: 17 times

Re: Andis Signal and Text Based Route Indicator

Postby Auscgu » Thu Feb 24, 2022 5:39 am

The Signal Code

Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<cBlueprintLoader xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0">
   <Blueprint>
      <cSignalBlueprint>
         <Name d:type="cDeltaString">AWs_LT_TripleN_Hb_HmCo_Hb_BWT_8T.xml</Name>
         <BrowseInformation>
            <iBrowseableBlueprint-cBrowseInformation>
               <DisplayName>
                  <Localisation-cUserLocalisedString>
                     <English d:type="cDeltaString">AWs_LT_TripleN_Hb_HmCo_Hb_BWT_8T.xml</English>
                     <French d:type="cDeltaString"></French>
                     <Italian d:type="cDeltaString"></Italian>
                     <German d:type="cDeltaString"></German>
                     <Spanish d:type="cDeltaString"></Spanish>
                     <Dutch d:type="cDeltaString"></Dutch>
                     <Polish d:type="cDeltaString"></Polish>
                     <Russian d:type="cDeltaString"></Russian>
                     <Other/>
                     <Key d:type="cDeltaString"></Key>
                  </Localisation-cUserLocalisedString>
               </DisplayName>
               <Description>
                  <Localisation-cUserLocalisedString>
                     <English d:type="cDeltaString"></English>
                     <French d:type="cDeltaString"></French>
                     <Italian d:type="cDeltaString"></Italian>
                     <German d:type="cDeltaString"></German>
                     <Spanish d:type="cDeltaString"></Spanish>
                     <Dutch d:type="cDeltaString"></Dutch>
                     <Polish d:type="cDeltaString"></Polish>
                     <Russian d:type="cDeltaString"></Russian>
                     <Other/>
                     <Key d:type="cDeltaString"></Key>
                  </Localisation-cUserLocalisedString>
               </Description>
               <Category d:type="cDeltaString">eSemaphoreSignals</Category>
               <ValidInScenarios d:type="cDeltaString">eFalse</ValidInScenarios>
            </iBrowseableBlueprint-cBrowseInformation>
         </BrowseInformation>
         <_posori>
            <cPosOriBlueprint/>
         </_posori>
         <_object>
            <cSceneryRenderBlueprint>
               <PrimaryNamedTextureSet>
                  <iBlueprintLibrary-cAbsoluteBlueprintID>
                     <BlueprintSetID>
                        <iBlueprintLibrary-cBlueprintSetID>
                           <Provider d:type="cDeltaString">ALGB</Provider>
                           <Product d:type="cDeltaString">Lattice Signals</Product>
                        </iBlueprintLibrary-cBlueprintSetID>
                     </BlueprintSetID>
                     <BlueprintID d:type="cDeltaString"></BlueprintID>
                  </iBlueprintLibrary-cAbsoluteBlueprintID>
               </PrimaryNamedTextureSet>
               <SecondaryNamedTextureSet>
                  <iBlueprintLibrary-cAbsoluteBlueprintID>
                     <BlueprintSetID>
                        <iBlueprintLibrary-cBlueprintSetID>
                           <Provider d:type="cDeltaString">ALGB</Provider>
                           <Product d:type="cDeltaString">Lattice Signals</Product>
                        </iBlueprintLibrary-cBlueprintSetID>
                     </BlueprintSetID>
                     <BlueprintID d:type="cDeltaString"></BlueprintID>
                  </iBlueprintLibrary-cAbsoluteBlueprintID>
               </SecondaryNamedTextureSet>
               <GeometryID d:type="cDeltaString">ALGB\Lattice Signals\[00]LT_Gty_HDm_HDb</GeometryID>
               <CollisionGeometryID d:type="cDeltaString"></CollisionGeometryID>
               <Pickable d:type="cDeltaString">eFalse</Pickable>
               <CastsShadows d:type="cDeltaString">eTrue</CastsShadows>
               <ShadowType d:type="cDeltaString">eShadowType_Blobby</ShadowType>
               <ViewType d:type="cDeltaString">ExternalView</ViewType>
               <Palettised d:type="cDeltaString">eFalse</Palettised>
               <Palette0Index d:type="sInt32">-1</Palette0Index>
               <Palette1Index d:type="sInt32">-1</Palette1Index>
               <Palette2Index d:type="sInt32">-1</Palette2Index>
               <HeatHaze/>
               <TexText/>
               <ProjectedLightElement/>
               <Instancable d:type="bool">0</Instancable>
               <DetailLevelGenerationRange>
                  <cSceneryRenderBlueprint-sDetailLevelGenerationRange>
                     <HighestLevel_1isHighest d:type="sInt32">10</HighestLevel_1isHighest>
                     <LowestLevel_10isLowest d:type="sInt32">10</LowestLevel_10isLowest>
                  </cSceneryRenderBlueprint-sDetailLevelGenerationRange>
               </DetailLevelGenerationRange>
            </cSceneryRenderBlueprint>
         </_object>
         <_signal>
            <cSignalComponentBlueprint>
               <NumberOfTrackLinks d:type="sUInt32">9</NumberOfTrackLinks>
               <Stopping d:type="cDeltaString">eTrue</Stopping>
               <JunctionSignalType d:type="cDeltaString">eJunctionTypeTheatre</JunctionSignalType>
               <ControlMode d:type="cDeltaString">eControlModeAutomatic</ControlMode>
            </cSignalComponentBlueprint>
         </_signal>
         <_script>
            <cScriptComponentBlueprint>
               <Name d:type="cDeltaString">AusWorks\FP_ALGB\Scripts\MB_HCoHCoH_BWT</Name>
            </cScriptComponentBlueprint>
         </_script>
         <_container>
            <cEntityContainerBlueprint>
               <TrackTerrainInEditor d:type="bool">0</TrackTerrainInEditor>
               <Children>
                  <cEntityContainerBlueprint-sChild d:id="3920">
                     <ChildName d:type="cDeltaString">one home arm</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">ALGB</Provider>
                                 <Product d:type="cDeltaString">Lattice Signals</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">LT_Arm_5f0_HomeN.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F0BF" d:precision="string">-1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000001840" d:precision="string">6</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>
                  <cEntityContainerBlueprint-sChild d:id="3928">
                     <ChildName d:type="cDeltaString">two home arm</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">ALGB</Provider>
                                 <Product d:type="cDeltaString">Lattice Signals</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">LT_Arm_5f0_HomeN.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000000000008C0" d:precision="string">-3</e>
                              <e d:type="sFloat32" d:alt_encoding="0000004033331140" d:precision="string">4.3</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>
                  <cEntityContainerBlueprint-sChild d:id="3936">
                     <ChildName d:type="cDeltaString">three home arm</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">ALGB</Provider>
                                 <Product d:type="cDeltaString">Lattice Signals</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">LT_Arm_5f0_HomeN.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="000000A099991440" d:precision="string">5.15</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>
                  <cEntityContainerBlueprint-sChild d:id="3944">
                     <ChildName d:type="cDeltaString">four home arm</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">ALGB</Provider>
                                 <Product d:type="cDeltaString">Lattice Signals</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">LT_CO_Arm.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F0BF" d:precision="string">-1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000001840" d:precision="string">4.5</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>
                  <cEntityContainerBlueprint-sChild d:id="3952">
                     <ChildName d:type="cDeltaString">proxy_LHm</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">AusWorks</Provider>
                                 <Product d:type="cDeltaString">FP_ALGB</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Lattice Signals\LT_Gty_proxy_LHm.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="00000000000008C0" d:precision="string">-3</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>
                  <cEntityContainerBlueprint-sChild d:id="3960">
                     <ChildName d:type="cDeltaString">proxy_EQ_S</ChildName>
                     <BlueprintID>
                        <iBlueprintLibrary-cAbsoluteBlueprintID>
                           <BlueprintSetID>
                              <iBlueprintLibrary-cBlueprintSetID>
                                 <Provider d:type="cDeltaString">AusWorks</Provider>
                                 <Product d:type="cDeltaString">FP_ALGB</Product>
                              </iBlueprintLibrary-cBlueprintSetID>
                           </BlueprintSetID>
                           <BlueprintID d:type="cDeltaString">Lattice Signals\LT_proxy_EQ_S.xml</BlueprintID>
                        </iBlueprintLibrary-cAbsoluteBlueprintID>
                     </BlueprintID>
                     <Matrix>
                        <cHcRMatrix4x4>
                           <Element>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F0BF" d:precision="string">-1</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="0000000000000000" d:precision="string">0</e>
                              <e d:type="sFloat32" d:alt_encoding="000000000000F03F" d:precision="string">1</e>
                           </Element>
                        </cHcRMatrix4x4>
                     </Matrix>
                     <ParentNodeName d:type="cDeltaString"></ParentNodeName>
                  </cEntityContainerBlueprint-sChild>
               </Children>
            </cEntityContainerBlueprint>
         </_container>
      </cSignalBlueprint>
   </Blueprint>
</cBlueprintLoader>


The lua file

Code: Select all
--------------------------------------------------------------------------------------
-- A main signal with three stop arms and no distant arms
-- Anthony Brailsford/Mark Brinton Scripts
--

require "Assets/AndiS/FPSignals/scripts/FP Universal Semaphore.out"

function Initialise ()
DefaultInitialise() -- no need to give the route count here

   gArmTable[1][ARM_HOME][SEM_CHILD_NAME]       = "one home arm"
   gArmTable[1][ARM_HOME][SEM_PROCEED_ANIM]    = "Clear01"
   gArmTable[1][ARM_HOME][SEM_BLOCKED_ANIM]    = "Stop01"

   gArmTable[2][ARM_HOME][SEM_CHILD_NAME]       = "two home arm"
   gArmTable[2][ARM_HOME][SEM_PROCEED_ANIM]    = "Clear02"
   gArmTable[2][ARM_HOME][SEM_BLOCKED_ANIM]    = "Stop02"

   gArmTable[3][ARM_HOME][SEM_CHILD_NAME]       = "two home arm"
   gArmTable[3][ARM_HOME][SEM_PROCEED_ANIM]    = "Clear02"
   gArmTable[3][ARM_HOME][SEM_BLOCKED_ANIM]    = "Stop02"

   gArmTable[3][ARM_CALLON][SEM_CHILD_NAME]    = "four home arm"
   gArmTable[3][ARM_CALLON][SEM_PROCEED_ANIM]    = "Clear01"
   gArmTable[3][ARM_CALLON][SEM_BLOCKED_ANIM]    = "Stop01"

   gArmTable[4][ARM_HOME][SEM_CHILD_NAME]       = "three home arm"
   gArmTable[4][ARM_HOME][SEM_PROCEED_ANIM]    = "Clear03"
   gArmTable[4][ARM_HOME][SEM_BLOCKED_ANIM]    = "Stop03"

   gArmTable[5][ARM_HOME][SEM_CHILD_NAME]       = "three home arm"
   gArmTable[5][ARM_HOME][SEM_PROCEED_ANIM]    = "Clear03"
   gArmTable[5][ARM_HOME][SEM_BLOCKED_ANIM]    = "Stop03"

   gArmTable[6][ARM_HOME][SEM_CHILD_NAME]       = "three home arm"
   gArmTable[6][ARM_HOME][SEM_PROCEED_ANIM]    = "Clear03"
   gArmTable[6][ARM_HOME][SEM_BLOCKED_ANIM]    = "Stop03"

   gArmTable[7][ARM_HOME][SEM_CHILD_NAME]       = "three home arm"
   gArmTable[7][ARM_HOME][SEM_PROCEED_ANIM]    = "Clear03"
   gArmTable[7][ARM_HOME][SEM_BLOCKED_ANIM]    = "Stop03"

   gArmTable[8][ARM_HOME][SEM_CHILD_NAME]       = "three home arm"
   gArmTable[8][ARM_HOME][SEM_PROCEED_ANIM]    = "Clear03"
   gArmTable[8][ARM_HOME][SEM_BLOCKED_ANIM]    = "Stop03"

end


function startOpening(dollIndex, armIndex)

   Call ("ControlSound:SetParameter", "SignalProgress", 1)

end

function startClosing(dollIndex, armIndex)

   Call ("ControlSound:SetParameter", "SignalProgress", 0)

end

Auscgu
Passed Fireman
 
Posts: 133
Images: 50
Joined: Sat Oct 21, 2017 11:04 am
Has thanked: 12 times
Been thanked: 17 times

Re: Andis Signal and Text Based Route Indicator

Postby Auscgu » Thu Feb 24, 2022 5:46 am

Now for the Route Test Build
The Home Signal BWT02
BWT Sig2 03.jpg


Signal ID is BTW02

The links go just past the first scissor crossover
The inner distance is set for arm 1 & 3 (a)
Home signal for Arm 2 (f)

The rule 39 clear speed is set to 10 mph

Every other link is a inner link (-)

The Link Placement
BWT Sig2 04.jpg
Auscgu
Passed Fireman
 
Posts: 133
Images: 50
Joined: Sat Oct 21, 2017 11:04 am
Has thanked: 12 times
Been thanked: 17 times

Re: Andis Signal and Text Based Route Indicator

Postby Auscgu » Thu Feb 24, 2022 5:56 am

Wrappers to the Platforms

Wrapper for Plat 1 & 2
BWT Sig2 05.jpg


Wrapper for Plat 3 to 6 & Up Sidings
BWT Sig2 06.jpg


Wrapper Placement
BWT Sig2 07.jpg
Auscgu
Passed Fireman
 
Posts: 133
Images: 50
Joined: Sat Oct 21, 2017 11:04 am
Has thanked: 12 times
Been thanked: 17 times

Re: Andis Signal and Text Based Route Indicator

Postby Auscgu » Thu Feb 24, 2022 6:02 am

The Route Tokens to set the route numbers
BWT Sig2 08.jpg


Test the route with scenarios for each destination.
The speed, call on and route indicator all work.
The signal arms only activate the highest number like the simple test build.

Andis can you see the problem?
I have simplified the signal to only activate the call on for one route.
Just curious if this was the problem.

Cheers Ausc
Auscgu
Passed Fireman
 
Posts: 133
Images: 50
Joined: Sat Oct 21, 2017 11:04 am
Has thanked: 12 times
Been thanked: 17 times

Re: Andis Signal and Text Based Route Indicator

Postby AndiS » Thu Feb 24, 2022 8:57 am

This is a great use case for the route tokens! :D

Just to clarify, from the signal diagram, I believe that the centre arm is cleared with the route indicator. The one on the left is for the down siding. The one on the right is for the up sidings (No. 1 and No. 2). This is just a side note.

The signal arms only activate the highest number like the simple test build.

This is per design. I underestimated the creativity of UK signal engineers back than and assumed that if there is an indicator, then you either have just one arm or one arm for the through route with a blank indicator and another arm for all the routes shown by the indicator.

Other than that, I can see no problem.

Important note to Joe: This only matters if you use an external route indicator. If the indicator is a bunch of signal arms, you are free to do whatever, regarding the arm numbering.
AndiS
Top Link Driver!
 
Posts: 736
Joined: Wed Apr 09, 2014 5:48 pm
Has thanked: 268 times
Been thanked: 308 times

Re: Andis Signal and Text Based Route Indicator

Postby albinopigeon » Thu Feb 24, 2022 9:55 am

The external indicator may be the way to go because I still haven't got the callon arm signal to work properly. I'll link back in with Ken and figure out how I can set it up. Thank you both!
Image

Asset maker, wagon builder, route builder among others.
albinopigeon
Fit for Firing Duties
 
Posts: 34
Joined: Wed Dec 08, 2021 4:19 pm
Has thanked: 2 times
Been thanked: 1 time

Re: Andis Signal and Text Based Route Indicator

Postby Auscgu » Thu Feb 24, 2022 10:28 am

Andis

I would read the signal as
Left arm to Dn Sdg
Middle Arm to Plat 1 & 2
Right Arm to Plat 3,4,5,6 and Dn Sdgs

Hard to confirm with out an lock table.
I can see your logic as the indicator is under the Main Arm.
Auscgu
Passed Fireman
 
Posts: 133
Images: 50
Joined: Sat Oct 21, 2017 11:04 am
Has thanked: 12 times
Been thanked: 17 times

Re: Andis Signal and Text Based Route Indicator

Postby Auscgu » Thu Feb 24, 2022 3:26 pm

Andis

I managed to track down the problem with the signals
I went back to 3 links and checked the signal.
I would work with out the route indicator.
Put the complex signal in place and it will work with out the route indicator.
All the arms follow the G table and work with route to arm indication.

As soon as the route indicator is in place the signal no longer receives the route to arm information.
The signal defaults to the highest arm as we have seen.

I help Joe create a text based route indicator and it works.
He is seeing the same issue as he has used the same script.

The route indicator script
Code: Select all
require "Assets/AndiS/FPSignals/scripts/FP External Text-based Indicator2.out"
closedCharacter = "0"


The Route Indicator .bin
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<cBlueprintLoader xmlns:d="http://www.kuju.com/TnT/2003/Delta" d:version="1.0">
   <Blueprint>
      <cSignalBlueprint>
         <Name d:type="cDeltaString">AWs_BR(WR) Route Indicator Plymouth</Name>
         <BrowseInformation>
            <iBrowseableBlueprint-cBrowseInformation>
               <DisplayName>
                  <Localisation-cUserLocalisedString>
                     <English d:type="cDeltaString">AWs_BR(WR) Rte Indicator Plm</English>
                     <French d:type="cDeltaString"></French>
                     <Italian d:type="cDeltaString"></Italian>
                     <German d:type="cDeltaString"></German>
                     <Spanish d:type="cDeltaString"></Spanish>
                     <Dutch d:type="cDeltaString"></Dutch>
                     <Polish d:type="cDeltaString"></Polish>
                     <Russian d:type="cDeltaString"></Russian>
                     <Other/>
                     <Key d:type="cDeltaString"></Key>
                  </Localisation-cUserLocalisedString>
               </DisplayName>
               <Description>
                  <Localisation-cUserLocalisedString>
                     <English d:type="cDeltaString">AWs_BR(WR) Rte Indicator Plm</English>
                     <French d:type="cDeltaString"></French>
                     <Italian d:type="cDeltaString"></Italian>
                     <German d:type="cDeltaString"></German>
                     <Spanish d:type="cDeltaString"></Spanish>
                     <Dutch d:type="cDeltaString"></Dutch>
                     <Polish d:type="cDeltaString"></Polish>
                     <Russian d:type="cDeltaString"></Russian>
                     <Other/>
                     <Key d:type="cDeltaString"></Key>
                  </Localisation-cUserLocalisedString>
               </Description>
               <Category d:type="cDeltaString">eTrackInfrastructure</Category>
               <ValidInScenarios d:type="cDeltaString">eFalse</ValidInScenarios>
            </iBrowseableBlueprint-cBrowseInformation>
         </BrowseInformation>
         <_posori>
            <cPosOriBlueprint/>
         </_posori>
         <_object>
            <cSceneryRenderBlueprint>
               <PrimaryNamedTextureSet>
                  <iBlueprintLibrary-cAbsoluteBlueprintID>
                     <BlueprintSetID>
                        <iBlueprintLibrary-cBlueprintSetID>
                           <Provider d:type="cDeltaString">AusWorks</Provider>
                           <Product d:type="cDeltaString">FP_JYelland</Product>
                        </iBlueprintLibrary-cBlueprintSetID>
                     </BlueprintSetID>
                     <BlueprintID d:type="cDeltaString">Signals\BR(WR)_Arms\BR(WR)-Route-Indicator-Plymouth-Textures.xml</BlueprintID>
                  </iBlueprintLibrary-cAbsoluteBlueprintID>
               </PrimaryNamedTextureSet>
               <SecondaryNamedTextureSet>
                  <iBlueprintLibrary-cAbsoluteBlueprintID>
                     <BlueprintSetID>
                        <iBlueprintLibrary-cBlueprintSetID>
                           <Provider d:type="cDeltaString"></Provider>
                           <Product d:type="cDeltaString"></Product>
                        </iBlueprintLibrary-cBlueprintSetID>
                     </BlueprintSetID>
                     <BlueprintID d:type="cDeltaString"></BlueprintID>
                  </iBlueprintLibrary-cAbsoluteBlueprintID>
               </SecondaryNamedTextureSet>
               <GeometryID d:type="cDeltaString">DTG\ExeterKingswear\RailNetwork\Signals\Semaphore\Arms\[00]route</GeometryID>
               <CollisionGeometryID d:type="cDeltaString"></CollisionGeometryID>
               <Pickable d:type="cDeltaString">eTrue</Pickable>
               <ShadowType d:type="cDeltaString">eShadowType_None</ShadowType>
               <ViewType d:type="cDeltaString">ExternalView</ViewType>
               <HeatHaze/>
               <TexText/>
               <ProjectedLightElement/>
               <Instancable d:type="bool">0</Instancable>
               <DetailLevelGenerationRange>
                  <cSceneryRenderBlueprint-sDetailLevelGenerationRange>
                     <HighestLevel_1isHighest d:type="sInt32">10</HighestLevel_1isHighest>
                     <LowestLevel_10isLowest d:type="sInt32">10</LowestLevel_10isLowest>
                  </cSceneryRenderBlueprint-sDetailLevelGenerationRange>
               </DetailLevelGenerationRange>
            </cSceneryRenderBlueprint>
         </_object>
         <_signal>
            <cSignalComponentBlueprint>
               <NumberOfTrackLinks d:type="sUInt32">1</NumberOfTrackLinks>
               <Stopping d:type="cDeltaString">eFalse</Stopping>
               <JunctionSignalType d:type="cDeltaString">eJunctionTypeTheatre</JunctionSignalType>
               <ControlMode d:type="cDeltaString">eControlModeAutomatic</ControlMode>
            </cSignalComponentBlueprint>
         </_signal>
         <_script>
            <cScriptComponentBlueprint>
               <Name d:type="cDeltaString">AusWorks\FP_JYelland\Signals\scripts\WRIndicator</Name>
            </cScriptComponentBlueprint>
         </_script>
         <_container>
            <cEntityContainerBlueprint>
               <Children/>
            </cEntityContainerBlueprint>
         </_container>
      </cSignalBlueprint>
   </Blueprint>
</cBlueprintLoader>
Auscgu
Passed Fireman
 
Posts: 133
Images: 50
Joined: Sat Oct 21, 2017 11:04 am
Has thanked: 12 times
Been thanked: 17 times

Next

Return to Route Creation

Who is online

Users browsing this forum: No registered users and 1 guest