Multiple Unit Train Control


Replaces bidirectional trains with ones twice as powerful, to simulate real locomotives driving backwards.

Tweaks
3 months ago
0.17 - 1.1
3.56K
Trains

Changelog

Version: 0.4.19
Date: 2024-01-04
  Changes:
    - Added compatibility with Degraine's Electric Trains.
Version: 0.4.18
Date: 2023-11-10
  Bugfixes:
    - Hide inventory balancing messages when debug setting is "none" or "info".
Version: 0.4.17
Date: 2023-10-04
  Changes:
    - Verify equipment grid of MU loco matches base loco in data-final-fixes (to catch some incompatibilities).
  Bugfixes:
    - Fixed compatibility with SE Space Trains via dependency.
Version: 0.4.16
Date: 2022-12-18
  Changes:
    - Updated description text to use new fallback groups. This should automatically fix any missing descriptions on MU locomotives.\]
  Bugfixes:
    - Update MU loco fuel categories to match base loco in data-final-fixes.
Version: 0.4.15
Date: 2022-05-08
  Bugfixes:
    - Compatibility patch for Realistic_Electric_Trains_fix_balance_K2
Version: 0.4.14
Date: 2021-11-11
  Features:
    - Added Railway Motor Cars to blacklist.
Version: 0.4.13
Date: 2021-11-05
  Features:
    - Added Degraine's Electric Train to blacklist.
    - Added Railway Motor Car to blacklist.
    - Added compatibility with future Space Elevators from Space Exploration.
    - Added beta compatibility with Train Tunnels mod.
  Bugfixes:
    - Actually added Real Shuttle Trains to the blacklist this time.
Version: 0.4.12
Date: 2021-10-27
  Bugfixes:
    - Added Real Shuttle Trains mod to the blacklist for compatibility.
Version: 0.4.11
Date: 2021-09-20
  Bugfixes:
    - Fixed failure to load when Electronic Locomotives is installed without any additional Electronic Locomotive mods.
Version: 0.4.10
Date: 2021-02-28
  Features:
    - Fixed compatibility with Realistic_Electric_Trains_Fork and Realistic_Electric_Trains_fix.
Version: 0.4.9
Date: 2020-12-07
  Bugfixes:
    - Fix crash when balancing fuel in a large number of locomotives.
Version: 0.4.8
Date: 2020-12-06
  Bugfixes:
    - Fixed compatibility with Electronic Locomotives mods.
  Changes:
    - Added ship and boat engines to MU blacklist.
    - Added Editor Extensions "super locomotive" to MU blacklist (it's too fast already!).
    - Added BatteryLocomotive by KoharaKazuya to the blacklist (until they implement a remote interface to register new types of locomotives).
Version: 0.4.7
Date: 2020-12-03
  Bugfixes:
    - Fixed crash when picking up MU items from the ground.
Version: 0.4.6
Date: 2020-11-27
  Bugfixes:
    - Fixed crash when fuel balancing is disabled.
Version: 0.4.5
Date: 2020-11-25
  Features:
    - Updated for Factorio 1.1.1.
Version: 0.3.5
Date: 2020-11-14
  Changes:
    - First release dedicated to Factorio 1.0.
    - Added event filtering where possible.
  Bugfixes:
    - Fixed possible save file bloat when trains are created/destroyed while in motion. Fixes compatibility with Renai Transportation mod. (https://github.com/robot256/MultipleUnitTrainControl/issues/13)
    - Fixed that MU tech still visible in tech tree even though it was disabled in settings. (https://github.com/robot256/MultipleUnitTrainControl/issues/11)
    - Fixed deprecated path to flib.data-util.
Version: 0.2.4
Date: 2020-05-29
  Features:
    - Fixed compatibility with Train Construction Site.
    - Changed dependency from deprecated OpteraLib to new Factorio Library.
Version: 0.2.3
Date: 2020-05-24
  Features:
    - Change MU assignment to use procedural algorithm to do every locomotive not on the blacklist.
    - Added startup setting to manually add entities to the blacklist (in case of incompatibility).
    - Added startup setting to add Yuoki's Steam Era locomotives to blacklist (or allow them to have MUs).
    - Added compatibility with Steam Train and Diesel Train.
    - Added compatibility with Luzifer's Electronic Locomotives of all types.
    - Added debug message option to display entity names instead of localised names.
Version: 0.2.2
Date: 2020-03-23
  Features:
    - Added support for Krastorio 2.
Version: 0.2.1
Date: 2020-01-25
  Changes:
    - Revert fuel balancing ping-pong because it breaks "Inactivity" schedule conditions, especially at LTN Depots.
Version: 0.2.0
Date: 2020-01-24
  Changes:
    - Initial support for Factorio 0.18.
Version: 0.1.26
Date: 2020-01-23
  Features:
    - Fuel balancing now moves odd-numbered items between front and back locomotives, so your last nuclear fuel doesn't get stuck in one spot anymore.
    - If for any reason a locomotive is deleted and its replacement cannot be built, or its grid contents cannot be restored, items will be spilled on the ground instead of lost.
  Changes:
    - Updated for compatibility with Robot256Lib version 0.1.1.
    - MU locomotive items now have the "hidden" flag set so they will not show up as circuit network signals or intermediate products.
Version: 0.1.25
Date: 2019-12-29
  Features:
    - Added support for X-12 Nuclear Locomotives mod (up and coming).
  Changes:
    - Moved locomotive replacement code to Robot256Lib.
Version: 0.1.24
Date: 2019-12-19
  Features:
    - Added support for Nuclear Locomotives mod.
Version: 0.1.23
Date: 2019-11-30
  Features:
    - Added compatibility with Bob's Vehicle Equipment via hidden dependency.
Version: 0.1.22
Date: 2019-10-17
  Bugfixes:
    - Fixed for 0.17.71.  Apparently in the create_entity API they fixed the "orientation=" parameter and broke "direction=" for locomotives.
  Features:
    - Added compatibility with Bigger Slower Trains via hidden dependency.
Version: 0.1.21
Date: 2019-09-13
  Changes:
    - Hid optional dependencies that only provide standard MU compatibility features.
    - Added support for Industrial Revolution battery-powered locomotive.
Version: 0.1.20
Date: 2019-08-31
  Changes:
    - Removed version dependency on "Electric Train".  Latest versions of both mods play nice together, please update ET to 0.17.28.
Version: 0.1.19
Date: 2019-08-16
  Bugfixes:
    - Changed Electric Trains required version numbers.  Presently MUTC only works with ET 0.17.12 and 0.17.13.
  Features:
    - Added support for "Yuoki Industries - Railways".
    - Added support for "YIR - Yuoki-Industries-Railroads".
    - Added support for "YIR - Americans".
    - Added support for "YIR - Uranium Power Trains".
Version: 0.1.18
Date: 2019-07-30
  Bugfixes:
    - Fixed crash in 0.17.60 when replacing locomotives since devs fixed the bug that was introduced in 0.17.59.
Version: 0.1.17
Date: 2019-07-28
  Bugfixes:
    - Fixed crash in 0.17.59 when replacing locomotives in trains with empty schedules.
    - Added "snap_to_train_stop=false" flag to reduce movement during replacement.
Version: 0.1.16
Date: 2019-04-21
  Changes:
    - Added setting to adjust console message frequency.
  Bugfixes:
    - Fixed crash when unable to create replacement locomotive.
Version: 0.1.15
Date: 2019-04-17
  Features:
    - Added support for Fusion Train.
    - Added icon overlay for MU Locomotives so they can be easily distinguished in the signal list.
  Changes:
    - Reworked to use functions from OpteraLib.
    - Changed MU Locomotive item signals to sort directly after their normal counterpart.
  Bugfixes:
    - Fixed some missing dependencies.
    - Fixed compatibility with Automatic Train Fuel Stop.
Version: 0.1.14
Date: 2019-04-14
  Features:
    - Added support for Realistic Electric Trains (requires version 0.4.2), including Modular Locomotive.
  Bugfixes:
    - Fixed that last_user was not preserved on replacement.
Version: 0.1.13
Date: 2019-04-10
  Features:
    - Added support for Angel's Industries (Crawler Train).
    - Added support for Armored Train (Wagon Turrets).
  Bugfixes:
    - Changed locomotive replacement to happen only when trains are stopped.
    - Fixed that automatic mode was not preserved on replacement.
    - Fixed that trains were not upgraded after technology research.
Version: 0.1.12
Date: 2019-04-06
  Features:
    - Added support for Electric Vehicles: Reborn (requires version 0.1.2).
    - Added support for 5dim's mod - Trains.
  Bugfixes:
    - Fixed changelog formatting.
Version: 0.1.11
Date: 2019-04-05
  Bugfixes:
    - Fixed crash on replacement (missed a file that changed in 0.1.9).
Version: 0.1.10
Date: 2019-04-05
  Bugfixes:
    - Fixed typo in dependencies by removing unnecessary dependencies.
Version: 0.1.9
Date: 2019-04-04
  Features:
    - Added support for Schall's Armoured Train locomotives.
  Bugfixes:
    - Fixed string in French locale (thanks kryshnar!)
    - Fixed that equipment state (energy,shield,burner contents) was lost on replacement.
    - Disabled build smoke effect when replacing locomotives.
Version: 0.1.8
Date: 2019-04-01
  Features:
    - Added support for Batteries Not Included electric locomotives.
  Bugfixes:
    - Fixed crash when saving an existing blueprint while holding an item.
Version: 0.1.7
Date: 2019-03-31
  Features:
    - Added support for Fully Automated Rail Layer (requires FARL >= 3.1.3).
  Bugfixes:
    - Overhaul of fuel balancing code to fix lots of potentially wierd behavior, including not starting until you change the Nth Tick setting at least once.
    - Fixed player being kicked from locomotive on replacement.
Version: 0.1.6
Date: 2019-03-30
  Features:
    - Added support for Bob's Logistics trains.
  Changes:
    - Reworked cloning code for easier mod support.
    - Moved cloning to data-updates for compatibility with Bob's and other mods, so that updated properties are included in the clone correctly.
  Bugfixes:
    - Changed MU Item sort order to work a little better in the signal selection dialog. Still kind of mess with many mods installed.
    - Added MU versions of Electric Train locomotives to the exclude list of the Fuel Train Stop mod.
Version: 0.1.5
Date: 2019-03-30
  Features:
    - Added support for magu5026's Electric Train mod.
  Changes:
    - Changed default mode setting to "tech-unlock".
    - Added "script_raised_built" and "script_raised_destroy" flags when replacing locomotives, for inter-mod compatibility.
    - Removed nerf to reversing_power_modifier because it only applies to single-directional trains, which can never have MU version in them.
  Bugfixes:
    - Fixed that blueprint item requests were not preserved on replacement (thanks for the tip, DaveMcW!).
    - Fixed that fuel balancing would be disabled after upgrading from an older version of the mod until you change the NthTick setting.
    - Fixed crash when selecting just rolling stock with the copy tool.
    - Fixed concatenation of localised_description that broke in 0.1.4 by explicitly listing which mods have descriptions and which don't.
    - Fixed pipette tool trying to give MU versions.
Version: 0.1.4
Date: 2019-03-27
  Features:
    - Added support for Angel's Addons - Petrochem Train and Smelting Train. (Smelting Locomotive and Smelting Tender cannot pair with each other.)
  Bugfixes:
    - Fixed that MU versions were created inside blueprints (thanks for the tip, GotLag!).
    - Fixed that deconstruction orders were not preserved on replacement (only works if being deconstructed by the owning force).
    - Fixed that equipment grids were not preserved on replacement (only tested with FARL module).
Version: 0.1.3
Date: 2019-03-25
  Features:
    - Added French locale courtesy of @kryshnar.
  Changes:
    - Code cleanup.
    - Moved important debug messages to localized strings.
    - Chagned colors in icon for Wireless MU Control to make it more obviously wireless.
  Bugfixes:
    - Fixed some issues relating to multiplayer-safe save/load event handling.
    - Fixed formatting in changelog.txt for automatic parsing.
Version: 0.1.2
Date: 2019-03-24
  Features:
    - "Basic MU Control" now can pair locomotives which are separated only by other locomotives.
    - Added "Wireless MU Control" mode, which can pair locomotives anywhere in the train.  L-W-W-L works now!
    - Added support for two technology tiers.  Researching tech will not automatically upgrade existing trains because that would potentially destroy moving trains.
    - Added icon graphics for the technology courtesy of Train30.
  Changes:
    - Rewrite of the locomotive pairing algorithms.
    - Moved the mapping of standard and buffed locomotive versions to a dummy technology per Optera's suggestion. Makes adding support for other mods much easier.
    - More work towards compatibility with Realistic Electric Trains.
Version: 0.1.1
Date: 2019-03-20
  Changes:
    - Made normal/MU entity name mapping autogenerated instead of hard-coded.
    - Added proper changelog.
  Bugfixes:
    - Fixed that train schedules were not preserved during replacement of a single MU locomotive to a normal locomotive.
    - Fixed that locomotive health was not preserved on replacement.
Version: 0.1.0
Date: 2019-03-17
  Features:
    - Initial release. Only supports locomotive pairs placed back-to-back.
    - Supports Vanilla and Train & Fuel Overhaul locomotives.