labelList in mdl files

Willkommen in der Transport Fever Community

Welcome to the fan community of Transport Fever and Train Fever, the economic simulators of Urban Games. The community is free for you to share and inform yourself about the game. We cultivate a friendly and objective interaction with each other and our team will be happy to answer any questions you may have.

 

Registration and use is of course free for you.

 

We wish you a lot of fun and hope for active participation.

The Team of the Transport-Fever Community

  • In TpF2 there are some new metadata used in the model file (.mdl)

    Example code from the "Volvo_5000.mdl"


    Here is only a list of valid selections for labels (labelList)


    Namevalueexampledescription
    alignment LEFT, CENTER, RIGHT
    alpha Integer
    alphaModeCUTOUT, BLEND, NONE
    childIdString
    color{Integer,Integer,Integer}{ 1,1,1, }
    filter NONE, NUMBER
    fittingNONE, CUT, SCALE
    font String
    nLinesIntegerNumber of lines
    params{ relative = Boolean, offset = Integer }
    renderModeSTD, EMISSIVE
    size{ Integer , Integer }
    transf{ Float, Float, Float, Float,

    Float, Float, Float, Float,

      Float, Float, Float, Float,

      Float, Float, Float, Float ]

    See Transformationsmatrix
    typeLINE_NAME, NEXT_STOP, NAME, COMPANY_NAME, STATION_NAME, CUSTOM
    verticalAlignmentBOTTOM, CENTER, TOP

Share

Comments 5

  • Look here for more details :)

    Zielanzeigen

    • Thank's, It's not easy to find it as I didn't know what it was called in German language. I have started this page and I hope that others can edit the missing information.


      Sadly there is no detailed info about type = CUSTOM. That was why I started this page

    • Yeah.

      Custom is unknown at the moment.

    • Es fehlt einfach ein FIRST_STOP und LAST_STOP, das sollte UG noch nach Liefern, dass man die Erste oder Letzte Station der Linienrichtugn anzeigen lassen kann.

    • The busses in Sweden has often the name of the end station and below the text of a city or a bigger station "via city / via station".

      In the game the "via" could be player selected index of the line list, if only the type INDEXED_STOP exist.