Smart Artillery Wagons


Toggles auto-firing of artillery wagons when a circuit signal is received at a train stop.

Content
20 days ago
0.17 - 2.0
1.07K
Trains Combat Circuit network

Changelog

Version: 1.0.2
Date: 2024-10-31
  Changes:
    - Updated translations from Crowdin.
  Bugfixes:
    - Fixed crash when selecting a blueprint with only tiles.
Version: 1.0.1
Date: 2024-10-14
  Features:
    - Artillery wagon circuit-controlled state is saved in blueprints.
    - Newly placed artillery wagons will have circuit control disabled unless specified in blueprint.
Version: 1.0.0
Date: 2024-10-11
  Features:
    - Updated for Factorio 2.0.
    - Overhauled to use the new "Artillery Auto Targeting" option built into the artillery wagon.
    - Mod GUI lets you control all wagons in a train together and set which wagons obey circuit signals.
    - Circuit signal controls sets auto targeting option for wagons on the train when it arrives.
  Changes:
    - No more sneakily replacing entities to get different behavior!
    - Able to set each wagon's circuit response separately.
    - Improved performance by only checking circuit signals at stops with wires attached.
    - Improved performance by using object registration events to detect when trains and wagons are deleted.
    - Improved performance by not updating GUI statistics when wagons are added/removed to the train. Re-open the GUI to update.
Version: 0.4.7
Date: 2021-09-22
  Features:
    - Added support for Artillery Wagon Mk2 mod.
Version: 0.4.6
Date: 2020-12-13
  Bugfixes:
    - Fixed crash from copy-paste error.
Version: 0.4.5
Date: 2020-12-12
  Features:
    - Added support for Senpais Dora artillery wagon mod.
    - Added setting to control how often messages are printed in chat.
  Bugfixes:
    - Fixed some potential localised string issues.
Version: 0.4.4
Date: 2020-12-05
  Changes:
    - "Enable" and "Disable" buttons now control the entire train at once.  Click on any artillery wagon to control the whole train.
    - "Use Circuit Signal" setting is still unique per wagon, but changes are synchronized across the whole train. You can have trains with a mix of checked and unchecked wagons by uncoupling them, changing the setting, and coupling them again.
    - Added code to ensure the global.wagon_manual[] table is cleared of invalid (destroyed, mined) entity id numbers.
Version: 0.4.3
Date: 2020-12-05
  Features:
    - Artillery trains now respond to changes in signal while waiting a station.
    - Circuit must be constant for one second before the mode will change, to avoid rapid cycling.
    - Added checkbox to GUI for individual wagons to ignore the circuit signals, so manual control buttons can be used while at stations.
Version: 0.4.2
Date: 2020-12-03
  Bugfixes:
    - Fixed locale file.
Version: 0.4.1
Date: 2020-12-03
  Features:
    - Added GUI button to manually switch wagons between manual and auto targeting.
Version: 0.4.0
Date: 2020-11-28
  Features:
    - Support for Factorio 1.1.
  Changes:
    - Updated FLib path.
Version: 0.3.0
Date: 2020-08-20
  Changes:
    - Initial support for Factorio 1.0.
    - Removed dependency on OpteraLib.
Version: 0.2.0
Date: 2019-12-29
  Changes:
    - Initial support for Factorio 0.18.
Version: 0.1.2
Date: 2019-12-29
  Changes:
    - Moved wagon replacement code to Robot256Lib.
    - Moved util folder to data folder to avoid conflicts with Factorio base.
Version: 0.1.1
Date: 2019-11-30
  Features:
    - Added compatibility with Bob's Warfare artillery wagons.
    - Added compatibility with Bob's Vehicle Grids via hidden dependency.
  Changes:
    - Switched to copy_prototype function in OpteraLib.
  Bugfixes:
    - Fix that might help placement orientation after 0.17.71 update.
    - Fixed artillery wagon description text.
Version: 0.1.0
Date: 2019-04-06
  Features:
    - Initial release.