Railway Motor Car

by S3bulon

Adds a railway motor car as an equipment to ride the railway without placing a locomotive manually.

Content
21 days ago
1.0 - 2.0
12.3K
Trains

Changelog

Version: 0.5.1
Date: 30.11.2024
  Fixes:
    - Fix Exception when mounting the motorcar in remote view
    - Removed other issues when in remote view
Version: 0.5.0
Date: 22.10.2024
  Features:
    - Update to Factorio 2.0
      - Rework to use updated modding API
      - entering & exiting on elevated rails
      - motorcar uses the quality of the equipment
Version: 0.4.5
Date: 07.09.2023
  Optimization:
    - Optimized vehicle-checks from 0.4.4, thanks to Kocou
Version: 0.4.4
Date: 05.09.2023
  Fixes:
    - Fixed spawning unneeded motorcars due to 0.4.1
Version: 0.4.3
Date: 02.09.2023
  Fixes:
    - Fixed undriveable vehicles blocking the creation of a motorcar
Version: 0.4.2
Date: 22.08.2023
  Fixes:
    - Fixed possible bug due to 0.4.1 (loading schedule / mod-setting "keep schedule")
Version: 0.4.1
Date: 14.07.2023
  Fixes:
    - Fixed exceptions due to changes with Factorio 1.1.87
  Compatibility:
    - Optimized loading of mod locomotives
Version: 0.4.0
Date: 04.11.2022
  Features:
    - Added option to remove temporary stops when keeping the train schedule.
    - Added Home station. Each player can set their Home station in the player mod settings, when pressing 'H' the motorcar will automatically travel to your Home station.
    - Pressing 'SHIFT + H' will send the player to where they last traveled Home from.
      - Important: the last two features overwrite the current schedule, but they will not be stored (0.3.5)
    - Added an Overlay to motor cars from other mods (0.3.0) - needs the Factorio Library mod.
  Fixes:
    - Scale graphic for automatically generated motorcar locomotives that don't use layers.
    - Fixed name of automatically generated motorcars.
  Compatibility:
    - Removed automatically generated motorcars for unusable/hidden items, e.g. from the Cargo Ships mod.
  Contribution:
    - Thanks to Flydiverny for the implementation of this version
Version: 0.3.9
Date: 29.09.2022
  Fixes:
    - Show hint instead of crash if the motor car cannot be spawned
  Compatibility:
    - Do not remove the motor car if the Nav / Remote View from Space Exploration is in use
Version: 0.3.8
Date: 16.08.2022
  Changed:
    - Reworked handling of the driver-state to prevent crashes from other mods (e.g. Space Exploration)
  Compatibility:
    - Updated Jetpack-Check (0.1.5) to only "flying", not "hovering in space"
Version: 0.3.7
Date: 25.07.2022
  Fixes:
    - Fixed a crash when the surface is switched and the stored schedule contains a temporary stop
Version: 0.3.6
Date: 15.07.2022
  Fixes:
    - Fixed a crash when a rail below a temporary stop is removed, and the schedule is kept
Version: 0.3.5
Date: 11.07.2022
  Changes:
    - Enable keeping the motorcars' schedule as a mod setting per user
Version: 0.3.4
Date: 20.06.2022
  Changes:
    - Added compatibility for RenaiTransportation
    - Ignored "Super locomotive" from Editor Extension for dynamic motor cars (created by 0.3.0)
  Fixes:
    - Fixed game crash when pressing <rotate> immediately after the motor car was destroyed
Version: 0.3.3
Date: 29.05.2022
  Changes:
    - Decreased braking force to prevent gate crashes on full speed
    - When a spidertron stands on top of the rails, entering is preferred over the motor car.
Version: 0.3.2
Date: 30.04.2022
  Fixes:
    - Fixed wrong icons
    - Fixed exceptions from missing data
Version: 0.3.1
Date: 30.04.2022
  Fixes:
    - Fixed missing icon definition
Version: 0.3.0
Date: 30.04.2022
  Features:
    - Added support for mods which add their own locomotives. The motor car copies their visuals and speed.
  Changes:
    - Changed internal names of all prototypes to simplify the mod-support
Version: 0.2.2
Date: 19.02.2022
  Changes:
    - Disabled deconstruction by bots
    - Decreased collision mask to prevent collisions with SE-walls
    - Entering an unused motor car (placed by the editor) binds it to the player
Version: 0.2.1
Date: 08.11.2021
  Changes:
    - Added support for mod "traintunnels"
  Fixes:
    - Fixed teleport by destroying & creating the train, as used in traintunnels
Version: 0.2.0
Date: 13.09.2021
  Changes:
    - Replaced internal base equipment: no constant power drain, no belt immunity anymore
    - Use tips and tricks if no informatron is available
Version: 0.1.6
Date: 13.09.2021
  Fixes:
    - Fixed global function causing crashes
Version: 0.1.5
Date: 13.01.2021
  Changes:
    - Added support for the Jetpack and Informatron mod
  Fixes:
    - Fixed creating the motorcar if it could not be entered automatically
Version: 0.1.4
Date: 06.01.2021
  Changes:
    - Added a new technology "Nuclear Railway Motor Car" to enable a new equipment which uses the acceleration- and speed-boost of nuclear fuel.
    - Slightly increased speed of the regular motorcar
Version: 0.1.3
Date: 25.12.2020
  Changes:
    - Updated mod to work with Factorio 1.1 (fixed graphics)
    - Increased speed of the motorcar
    - Added DE-translation for the mod-name & -description.
  Fixes:
    - Prevented creation of the motorcar while entering a Spidertron which is standing on the rails.