I modified the traversor so that it automatically changes position after the passage of a train.

Willkommen in der Transport Fever Community

Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.

 

Die Registrierung und Nutzung ist selbstverständlich kostenlos.

 

Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.

Das Team der Transport-Fever Community


  • I modified the traversor so that it automatically changes position after the passage of a train.


    but there is a problem, I need the length of the train for the exit trigger.
    otherwise it changes position just after the engine exit.


    Does anyone know to get the lenght of the train ?

  • When you build a Train in Depot, you will see the length of the Train.

    __________________________________________________________________________________________________________________________
    Intel I5 8400+ / 16GB Ram / Nvidia Geforce 1060 GTX 6GB / SSD 256GB / HDD 2TB

  • i need the lengh in a script .


    does anyone know to extract or calcul it from the metadata.

  • boundingInfo = {
    bbMax = { 6.6557, 1.57, 4.0628, },
    bbMin = { -6.65572, -1.57, -0.03825, },


    First entry in the mdl, in both rows is the first number the X Value, in this case lenght of the vehicle is 6,6557 + 6,65572 = 13.31142m

    Grüße MaikC


    116494-emd-dda40x-nc-up-png116503-mc-br442-2-png

    Fehler- und Crashreports ausschließlich unter: MaikC - Fahrzeuge und anderes für TPF2 / 2471 TPF2 Modelle and counting.

    Meine Modelle auf Sketchfab anschauen.

    3 Mal editiert, zuletzt von MaikC ()

  • thanks .