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


Zur Download-Übersicht

Unlock Multiple Units

Von doug · Erstellt · Bearbeitet

Beschreibung

A mod to unlock multiple units to allow them to be selected individually when purchasing railroad vehicles.


I have now added options to include group file names for individual

unlocked units. There are separate options for stock and mod units.
These options will let you keep the purchase list from getting unduly
messy.
This mod will not overwrite group file names found in the model files.

Workshop

Steam Workshop
Workshop ID: 1935982800

Weitere Mods von doug

Kommentare 14

  • Hi it seems like your mod works for all trains except the TGV Atlantique/Thalys from angier. The backward car appears with the wrong orientation. For ICE, standard tgv and the other trains it works.

    • For a great many multiple unit trains, where there is a powered trailing unit, the orientation of the unit itself is forward, with the reversal being achieved in the multiple unit script file.

      Having that trailing car appear as a single, reversed unit requires a custom multiple unit script. It is not within the scope of this mod to provide such scripts for all multiple unit mods available.

      Having said that, it's not that hard to produce these scripts. Have a look at the multiple unit script for the TGV Atlantique. You will see a list of the individual model files that make it up. Click 'Save As' and then edit it to include only the last unit (which should have, as part of its description, the text 'forward = false'

      Doing this kind of thing is actually why I included the option to show the full path to the model file in the description box. Makes it a lot easier to determine which units you want to make scripts for.

    • Thanks for your answer but it looks like i'm way to silly to understand what you are telling me. I found the multiple unit scripts for the atlantique and the model files. Where should I save the edited file? In the same directory? I created a new file where only the back car was listed in vehicles, i edited the file itself, but nothing seemed to had an effect.

      definitly too stupid for that kind of scripts I am xD

    • I do not nearly know how I did it but somehow I managed to make the tailing car suddenly appear not in the mod created group but in the stock group where by default only the complete combined train appears. Rly dunno how but it works xD
      [Blockierte Grafik: http://koradns.de/tgv.PNG]

    • If you read German (actually, even if you don't...) you might want to have a look at this lexicon entry:

      Kaufmenü-Gruppen für Fahrzeuge

      It explains how groupFileNames work. For mods like the TGV, I tend to mod the mods to include groupFileNames so that they are arranged in the menu the way I want.

      Note that the Unlock Multiple Units mod will not mess with existing groupFileName entries.

      Essentially, you would want to assign a groupFileName entry to each model in the TGV mod, and then use the same entry for the reversed unit set up with an MU script.

      You probably didn't change the entry you found in the MU script (why would you have?) so it is appearing in the same list as the complete trains.

      The individual model files don't have their own entries, so the Unlock MU mod has assigned a default value, based on the first unit it was presented with as all the models were loaded by the game.

    • Ganz ehrlich es ist doch eigentlich eh lächerlich dass die Leute hier Englisch sprechen. Wenn ich raten müsste dann würde ich sagen, dass 80% der Forenuser hier Deutsche bzw. Menschen aus dem DACH-Raum sind. Jedenfalls erwecken die 80% des lokalisierbaren Mod-Contents hier den Eindruck.

  • Hi,
    mods/1957714315_1/res/models/model/tyne_and_wear_metro/metro.mdl
    and
    mods/1957714315_1/res/models/model/tyne_and_wear_metro/modern_metro.mdl
    cause a crash:
    error: error: mods/1935982800_1/mod.lua:111: bad argument #2 to 'sub' (number expected, got nil)
    since in line 111
    i = string.find(fileName, "vehicle/") -- only the portion of the folder path starting 'vehicle' is used in the groupFileName
    i will be nil, because there's no "vehicle/" in fileName

  • Now you need to find a way to inject the yearFrom and yearTo into the unlocked vehicles, derived from the multiple units they came from.


    Then now all the stuff is available from 1850.

    • Unfortunately, that would take a great deal of horsing around. The availability of the multiple units is driven by the availability of the units that make them up. So, for instance, with the TGV duplex, the only unit with the correct availability dates is the lead locomotive. The rest all have a yearFrom date of 1850 as you have noticed. Because the one unit has a yearFrom date of 1990, the whole MU is not available until then, even though the rest of the units are available in 1850.

    • I put the option to include the model's file path in the description field into the mod to make it a little easier to fix this sort of stuff manually. With that option enabled, you can at least locate the offending model files and amend them with more appropriate data.

  • good work :)

Unlock Multiple Units
1 / 1