Driver commands for destination signs?

<kuid2:206816:99003:3> Change Destination Sign
<kuid2:206816:99020:6> Change Destination Sign (MP)
from p-dehnert, work good here
 
My subway cars use textuire files for changing destination signs. The DestSignTable doesn't work. How can I fix the problem?
 
Builtin is <kuid2:206816:99004:4> DestSignTable (also by p-dehnert)
add this to your session and configure it for your train, it needs to know the library where you have your destination textures
hope this helps
 
eIxgwB6.png


How can I import the library where I have destination textures?
 
First click add destination, then the table opens (starts)
next the option "import destinations from texture-group" appears
now select your texture library with the destinations
 
I have TANE, TRS 2019, and TRS2022. DestSignTable works in TANE and DOESN'T work in TRS2019 and TRS2022. My Train Door Controller works in TANE and DOESN'T work in TRS2019 and TRS2022. I think that N3V made changes to the scripting language that breaks some scripts in TRS2019 and TRS2022
 
Jeff, depending on which version of TRS19 you use
SP4 has problems with texture replacement (= also destination textures)
the current beta it is fixed, so TRS19SP5 it will work again and also next versions of TRS22
So don't put too much time in, test in TANE/TRS19 before SP4 or beta SP5 and up
 
Last edited:
TRS2019 and TRS2022 DestSignTable:
A2GA1nP.png



TANE DestSignTable:
lF5dGKM.png


Note that TANE DestSignTable has "Import destinations from texture-group". TRS2019 and TRS2022 DestSignTable DOESN'T have "Import destinations from texture-group".
 
N3V has removed that feature from the latest version <kuid2:206816:99004:5>. The version <kuid2:206816:99004:3> from the DLS could be used, after disabling the current version.

Peter
 
Peter, Thank you very much! DestSignTable version <kuid2:206816:99004:3> worked! Can you fix my "Train Door Controller"?
 
The names of the doors were wrong, and the wrong doors were opening. Here is the corrected version of the browser handling:
Code:
    thread void displayBrowser(Train mytrain)
    {
    Browser myBrowser;
    Message msg;
    int i;
    Vehicle[] vehicles;
    myBrowser = Constructors.NewBrowser();
    myBrowser.SetWindowRect(100,100,225,255);
    myBrowser.LoadHTMLFile(GetAsset(),"browser.html");
    wait()
    {
        on "Browser-URL", "live://Zero/",msg:
        {
        if (msg.src != myBrowser)
        {
            msg.src = null;
            continue;
        }
        vehicles = mytrain.GetVehicles();
        for (i = 0; i < vehicles.size(); i++)
        {
            vehicles[i].SetMeshAnimationState("left-passenger-door",false);
            vehicles[i].SetMeshAnimationState("right-passenger-door",false);
        }
        msg.src = null;
        continue;
        }
        on "Browser-URL", "live://One/",msg:
        {
        if (msg.src != myBrowser)
        {
            msg.src = null;
            continue;
        }
        vehicles = mytrain.GetVehicles();
        for (i = 0; i < vehicles.size(); i++)
        {
            if (vehicles[i].GetDirectionRelativeToTrain())
            vehicles[i].SetMeshAnimationState("left-passenger-door",true);
            else
            vehicles[i].SetMeshAnimationState("right-passenger-door",true);
        }
        msg.src = null;
        continue;
        }
        on "Browser-URL", "live://Two/",msg:
        {
        if (msg.src != myBrowser)
        {
            msg.src = null;
            continue;
        }
        vehicles = mytrain.GetVehicles();
        for (i = 0; i < vehicles.size(); i++)
        {
            if (vehicles[i].GetDirectionRelativeToTrain())
            vehicles[i].SetMeshAnimationState("right-passenger-door",true);
            else
            vehicles[i].SetMeshAnimationState("left-passenger-door",true);
        }
        msg.src = null;
        continue;
        }
        on "Browser-URL", "live://Three/",msg:
        {
        if (msg.src != myBrowser)
        {
            msg.src = null;
            continue;
        }
        vehicles = mytrain.GetVehicles();
        for (i = 0; i < vehicles.size(); i++)
        {
            vehicles[i].SetMeshAnimationState("left-passenger-door",true);
            vehicles[i].SetMeshAnimationState("right-passenger-door",true);
        }
        msg.src = null;
        continue;
        }
        on "Browser-Closed", "", msg :
        {
        if (msg.src != myBrowser)
        {
            msg.src = null;
            continue;
        }
        break;
        }
    }
    }
Tested in TRS19 with SP4.

Peter
 
Back
Top