Mass Vehicle Replace
Beschreibung
Version 1.2.0 (21.10.2026)
Neu (mehr im Changelog unten)
- Nachbestellen: Wenn das Geld nicht für alle Fahrzeuge reicht, kann die Mod den Rest später automatisch ersetzen.
- Neuer Reiter „Nachbestellungen“: Hier siehst du alle offenen Bestellungen und deren Kosten.
- Reserve: Die Mod ersetzt nur so viele Fahrzeuge, dass dieser Betrag auf dem Konto übrig bleibt. Das gilt für Nachbestellungen und für das Ersetzen von Hand.
- Zahlen werden mit Tausenderpunkt formatiert.
Was die Mod macht
Ein neues, besseres Fahrzeug ist erschienen und du willst alle alten Busse, Lkw, Straßenbahnen, Loks, Wagen, Schiffe oder Flugzeuge austauschen? Im Spiel geht das nur Linie für Linie. Mit dieser Mod ersetzt du alle Fahrzeuge eines Modells durch ein anderes.
Den Button „Fahrzeuge ersetzen“ findest du im Depotfenster, rechts neben „Fahrzeuge verwalten“.
Details
- Links stehen nur Modelle, die du besitzt, mit ihrer Anzahl. Rechts nur passende Modelle, die gerade kaufbar sind und mindestens alles laden können, was das alte konnte. Der Schalter „Gleiche Fracht“ schaltet diesen Filter ab.
- Ersetzt werden alle Fahrzeuge des Modells im ganzen Spiel, nicht nur die des geöffneten Depots.
- Die Fahrzeugart des Depots ist vorgewählt. Über die Symbole oben lässt sich auf eine andere Art wechseln.
- Loks werden nur durch Loks ersetzt, Wagen nur durch Wagen.
- Triebzüge werden als Ganzes getauscht.
- Umgedrehte Loks, Wagen und Triebzüge bleiben umgedreht.
- In gemischten Zügen wird nur das gewählte Modell getauscht, der Rest bleibt, auch gekuppelte Triebzüge eines anderen Modells.
- Die Farbe der alten Fahrzeuge wird, wenn möglich, übernommen.
- Jede Liste lässt sich nach Name oder Jahr sortieren. Ein zweiter Klick auf den aktiven Schalter dreht die Reihenfolge um. Nach Jahr stehen links die ältesten, rechts die neuesten Modelle oben.
- Sortierung, „Gleiche Fracht“ und ob der Bereich „Details“ offen ist, merkt sich die Mod im Spielstand.
- Wechselt die Antriebsart (z. B. Diesel → Elektrisch), weist das Fenster darauf hin, damit du die Strecken prüfst, etwa auf Oberleitung.
- Die Mod nutzt den Ersetzen-Befehl des Spiels. Wie im Kauffenster des Spiels zählt der Kaufpreis abzüglich des Restwerts der alten Fahrzeuge, ersetzt wird nur, wenn das Geld dafür reicht. Bei Zügen, in denen nur ein Teil ersetzt wird (z. B. neue Lok vor alten Wagen), rechnet die Mod wie das Spiel: Angerechnet wird der Restwert der ersetzten Fahrzeuge.
- Reicht das Geld nicht für alle, ersetzt der gelbe Button „x von y ersetzen“ nur die ältesten Fahrzeuge, die das Geld gerade deckt. Ein Fahrzeug (ein ganzer Zug) wird immer ganz oder gar nicht ersetzt.
- Mit dem Haken „n nachbestellen“ ersetzt die Mod die übrigen Fahrzeuge, sobald das Geld über der Reserve reicht. Das läuft auch bei pausiertem Spiel. Nachbestellungen bleiben im Spielstand gespeichert. Fahrzeuge in einer Nachbestellung verschwinden aus der linken Liste, bis die Bestellung erledigt oder abgebrochen ist.
- Hast du ein nachbestelltes Fahrzeug inzwischen verkauft oder selbst ersetzt, überspringt die Mod es. Ist das neue Modell nicht mehr erhältlich, wartet nur diese Nachbestellung.
- Die Mod fügt ihren Button ins Depotfenster ein, ohne das Fenster selbst zu ersetzen. Mods, die die Buttonleiste des Depotfensters umbauen, könnten trotzdem kollidieren.
- Sprachen: Deutsch und Englisch.
Hinweis: Ich empfehle, das Spiel zu speichern, bevor die Mod das erste Mal eingesetzt wird. Die Mod ändert nur die Oberfläche. Sie lässt sich jederzeit wieder entfernen.
Feedback gern hier auf mod.io oder als Issue auf GitHub: https://github.com/ramsterhad/tf3-mass-vehicle-replace
Mit KI-Unterstützung (Claude) entwickelt, von mir getestet.
Version 1.2.0 (2026-10-21)
What's new (more in the changelog below)
- Orders: When the money does not cover all vehicles, the mod can replace the rest automatically later.
- New "Orders" tab: It shows all open orders and their costs.
- Reserve: The mod only replaces as many vehicles as leave this amount on the account. This applies to orders and to replacing by hand.
- Numbers are formatted with thousands separators.
What it does
A new, better vehicle is out and you want to swap all your old buses, trucks, trams, locomotives, wagons, ships or aircraft? In the base game you do that line by line. This mod replaces all vehicles of one model with another.
You find the "Replace Vehicles" button in the depot window, right next to "Manage Vehicles".
Details
- On the left only models you own are listed, with how many you have. On the right only matching models that are currently available and can carry at least everything the old one could. The "Same cargo" switch turns this filter off.
- All vehicles of the model anywhere on the map are replaced, not just those of the depot you opened.
- The depot's vehicle type is preselected. Use the icons at the top to switch to another type.
- Locomotives are only replaced by locomotives, wagons only by wagons.
- Multiple units are replaced as complete sets.
- Reversed locomotives, wagons and multiple units stay reversed.
- In mixed trains only the chosen model is replaced, everything else stays, including coupled multiple units of another model.
- The color of the old vehicles is kept where possible.
- Each list can be sorted by name or by year. A second click on the active button reverses the order. By year the oldest models come first on the left, the newest on the right.
- The mod keeps the sorting, "Same cargo" and whether the "Details" section is open in the savegame.
- When the engine type changes (e.g. diesel to electric), the window says so, so you can check your lines, for example for catenary.
- The mod uses the game's own replace command. Like the game's purchase window, the cost is the purchase price minus the residual value of the old vehicles, and replacing is only possible when the balance covers it. For trains where only some vehicles are replaced (e.g. a new locomotive in front of old wagons) the mod counts like the game: the residual value of the replaced vehicles is credited.
- When the money does not cover all vehicles, the yellow "Replace x of y" button replaces only the oldest vehicles the balance covers right now. A vehicle (a whole train) is always replaced completely or not at all.
- With "Order n" ticked, the mod replaces the remaining vehicles as soon as the money above the reserve covers them. This also runs while the game is paused. Orders are kept in the savegame. Vehicles on order leave the list on the left until the order is done or cancelled.
- If you sold or replaced a vehicle on order yourself in the meantime, the mod skips it. If the new model is no longer available, only that order waits.
- The mod adds its button to the depot window without replacing the window itself. Mods that rebuild the depot window's button bar might still conflict with it.
- Languages: English and German.
Note: I recommend saving your game before using the mod for the first time. The mod only changes the user interface. It can be removed at any time.
Feedback welcome here on mod.io or as an issue on GitHub: https://github.com/ramsterhad/tf3-mass-vehicle-replace
Developed with AI assistance (Claude), tested by me.
Changelog
1.2.0 (2026-10-21)
- Orders: When the money does not cover all vehicles, tick "Order n". The mod replaces the rest automatically as soon as there is enough money. Oldest first.
- New "Orders" tab: It shows every order with its open and skipped vehicles and what they cost.
- Reserve: The mod only replaces as many vehicles as leave this amount on the account. This applies to orders and to replacing by hand.
- Orders keep running while the game is paused and are kept in the savegame.
- Vehicles on order leave the list of old models until the order is done or cancelled.
- Sold vehicles and vehicles you already replaced by hand are skipped. If the new model is no longer available, only that order waits.
- The button always shows the number of vehicles ("Replace 5").
- Numbers are formatted with thousands separators.
- Both lists start sorted by year. Old models come oldest first and new models newest first.
- Fixed: The window keeps its height when you choose other models. Before, the "Details" table grew or shrank.
- Fixed: The "Details" section has the same gap above and below the table.
1.1.0 (2026-10-19)
- When the money does not cover all vehicles, the button turns yellow and replaces only the oldest vehicles the balance covers ("Replace 7 of 8").
- New "Details" section comparing the old and the new model: capacity, speed, power, tractive effort, weight, running costs, noise, pollution, comfort and more.
- Warning when the new model has a different engine type, e.g. diesel to electric.
- Each list has its own name/year sorting; a second click reverses it. By year the old list starts oldest first, the new list newest first. The new list preselects its top model.
- Sorting, "Same cargo" and the "Details" section are kept in the savegame.
- The result line appears once the game has answered for every vehicle and names vehicles the game rejected.
- "Proceeds after residual value" instead of a negative cost.
- With infinite money the cost line is hidden, like the game hides the balance.
- The cost line updates twice a second instead of every frame (smoother with large fleets).
- The window notices vehicles bought, sold, handed over or rebuilt while it is open.
- The open lists no longer show an extra first line when a model is selected.
1.0.3 (2026-10-17)
- Replacing was blocked although the balance covered the cost after the residual value of the old vehicles. The window now counts the residual value like the game's own windows, also for trains where only some vehicles are replaced (e.g. a new locomotive in front of old wagons), and keeps the cost up to date while the game runs.
- Vehicles owned by someone else (campaign missions hand some vehicles to AI players) were listed and replaced at your cost. Only your own vehicles are listed and replaced now.
- A model that expired while the window was open (turn of the year) could still be bought.
- Multiple units where one part has no end year expired too early.
- A fast double click on Replace could replace the same vehicles twice. The button now shows "Replacing ..." until the game has carried out every replacement.
- Reversed vehicles came back facing forward after replacing them.
- With several depot windows open, the button could open the wrong depot.
- Trains with inconsistent group data were skipped.
- The depot window is no longer replaced, so mods that change it no longer conflict. If another mod changes the button bar in an incompatible way, only the Replace button is switched off instead of the game crashing.
- No more development lines in stdout.txt.
1.0.2 (2026-10-16)
- Replacing is only possible when the balance covers the cost, like in the game.
- Fixed a Lua error with extremely large balances or vehicle names with very long digit runs.
1.0.1 (2026-10-16)
- Fixed a crash when opening a depot together with mods that replace the window button bar (e.g. "Manage Line from Vehicle").
1.0.0 (2026-10-15)
- First release.
Full changelog: https://github.com/ramsterhad/tf3-mass-vehicle-replace/blob/main/CHANGELOG.md
Bilder
Mod melden
Die Meldung gilt ausschließlich für Version 1.0. Bitte nur melden, wenn du diese Version selbst getestet hast.
Melde dich an, um eine Meldung abzugeben. Pro Konto, Mod-Version und Kategorie zählt eine Meldung.
Kommentare
Auf mod.io öffnen ↗