Circuit HUD V2

by Xiomax

Allows you to track any circuit signals in the player HUD / UI. Awesome for storage monitoring, robotics network, production flow, alerts, debugging circuit networks or power monitoring! This is a continuation of the Circuit HUD mod with many new features and can be safely installed in existing save files!

Content
3 years ago
1.1
6.17K
Circuit network

Changelog

Version: 1.3.0
Date: 2021-03-21
  Changes:
    - HUGE UPDATE BUT FULLY COMPATIBLE! See mod page for more info!
    - HUD Combinators now have signal filtering functionality, this avoids long chains of arithmetic combinators to get the right signal display!
    - HUD Combinators now have a preview of all the signals that are coming in, this greatly helps when picking which filters to set!
    - The HUD now has buttons for each HUD Combinator, which means you can now edit from anywhere, zoom to the combinator and hide each individual HUD Combinator!
    - You can now search and filter for HUD Combinators straight from the HUD itself (Thanks @Taurondir for the idea!)
    - Greatly improved the size and position control of the HUD!
    - Added more helpful messages in the HUD based on the HUD Combinator state!
    - Player specific settings are no longer set in the Mod settings but are now configurable from the Circuit HUD directly (Thanks @AngrySlipper for the idea!)
    - The combinators in the HUD can now be sorted by name, build order and priority in both ascending and descending mode.
    - Added hotkeys for Toggeling the HUD (default: "CONTROL + SHIFT + S") and opening the settings window (default: "CONTROL + ALT + S")
    - Mining the HUD Combinator now takes 3 seconds, up from 0.1 to prevent accidental mining.
    - Each player can now change their individual HUD update time in real time from the settings menu. 
  Bugfixes:
    - Fixed the collapsed button going off-screen when UI Scale is above 100% 
    - The HUD now automatically expands when changing the HUD position in the settings
    - Fixed many HUD glitches, should be much more fluid and stable now with better alignment, especially in the bottom-right corner.
    - Fixed the HUD Combinator GUI and Settings GUI not closing on pressing Escape and E.
    - The HUD Combinator GUI now has the correct name as the title, and updates on confirm. 
  Optimisations:
    - Major refactor, mainly ensuring less methods are stored on the lua global level and that most methods are now in a wrapping object. Also deleted unused methods and empty files.
    - Now uses Factorio Library for better migration management
    - Simplyfied the HUD size calculation greatly with better alignment results, improving performance greatly!
Version: 1.2.1
Date: 2021-03-09
  Bugfixes:
    - Fixed the bottom-right hud not displaying correctly when less than 6 columns were shown
    - Fixed the HUD having a double border frame when "hide HUD" was turned on
Version: 1.2.0
Date: 2021-03-09
  Changes:
    - Corrected the bottom-right layout and tweaked the padding a bit.
  Bugfixes:
    - Fixed (most likely) a crash when a setting was changed programmatically by a different mod, this did not include player_index and would cause a crash: https://mods.factorio.com/mod/CircuitHUD-V2/discussion/604748330bd4c069e8a7cb71
    - Fixed (most likely) a save/load issue when working in editor that prevented the scenario from being saved due to a "LuaCustomTable cannot be serialized."
  Optimisations:
    - Minor performance improvements on updating the HUD.
    - Replaced all ipairs with pairs and replaced custom array_length function with the factorio native table_size
Version: 1.1.5
Date: 2021-03-09
  Changes:
    - Added "HUD update tick" to map settings
Version: 1.1.4
Date: 2021-03-08
  Changes:
    - Tweaked the HUD to be correctly visible when set to the bottom-right corner
    - Added several debug messages and safety checks when creating and updating the HUD
    - Added migration from 1.1.0 to 1.1.4 when the HUD refs were placed in player_global.elements
  Bugfixes:
    - Fixed the HUD being shown before any HUD Combinator is placed
    - Fixed the HUD not being hidden when the last HUD Combinator is removed/destroyed
    - Fixed the "HUD open on HUD Combinator placement setting" not always being used for all players
Version: 1.1.3
Date: 2021-03-08
  Bugfixes:
    - Fixed a crash on starting a new world with CircuitHUD V2 enabled
Version: 1.1.2
Date: 2021-03-07
  Bugfixes:
    - Possible fix for HUD Combinator names reverting to their default when migrating/updating CircuitHUD
Version: 1.1.1
Date: 2021-03-07
  Bugfixes:
    - Minor height adjustment of the HUD placed in bottom-right corner when in full screen.
    - The HUD will now immediately correct itself on resolution or scale change of the Factorio window.
Version: 1.1.0
Date: 2021-03-07
  Changes:
    - Near complete rewrite of the code resulting in a literally 100 times performance increase!
    - Added many settings to customize Circuit HUD behavior and appearance!
    - CHECK https://mods.factorio.com/mod/CircuitHUD-V2 FOR MORE INFO ON THIS HUGE UPDATE!
Version: 1.0.1
Date: 2021-03-05
  Changes:
    - Updated info.json description, now also marks the orginal mod as incompatiable
  Bugfixes:
    - Fixed "Desync when joining a multiplayer game." thanks to https://mods.factorio.com/user/Emslandfalke in https://mods.factorio.com/mod/CircuitHUD/discussion/5f5d4ffb5411f6a5920966f3
    - Imported the missing icon folder from original CircuitHUD mod
Version: 1.0.0
Date: 2021-03-05
  Changes:
    - Branched from https://github.com/feupeu/factorio-mod--circuit-hud
    - Reset Circuit-HUD mod version to 1.0
  Bugfixes:
    - Updated Factorio version dependency to 1.1
Version: 0.7.0
Date: 2020-09-04
  Changes:
    - Add collapse/expand button for the HUD
Version: 0.6.0
Date: 2020-09-04
  Changes:
    - Add feature to show HUD combinator on map (by clicking the label in the HUD) (https://mods.factorio.com/mod/CircuitHUD/discussion/5f5131a288a3fdf9e2d952a9)
Version: 0.5.1
Date: 2020-09-04
  Bugfixes:
    - Fix a bug that caused renaming a HUD combinator to be impossible
Version: 0.5.0
Date: 2020-09-04
  Changes:
    - Add tooltips to signals
Version: 0.4.1
Date: 2020-09-02
  Bugfixes:
    - Bugfix: Client no longer crashes when mining the HUD combinator
Version: 0.4.0
Date: 2020-09-02
  Changes:
    - Major performance overhaul for saves with many of entities
Version: 0.3.2
Date: 2020-09-02
  Changes:
    - Removed unused code and files
Version: 0.3.1
Date: 2020-09-02
  Changes:
    - Removed unused code and files
Version: 0.3.0
  Features:
    - Add a signal that, when passed to the HUD combinator, will hide it in the overlay
    - Add a scroll-panel for those with many signals
  Bugfixes:
    - Fix a bug that caused the mod to crash on load (https://mods.factorio.com/mod/CircuitHUD/discussion/5f4fcb189d757ff648181e96)
Version: 0.2.1
  Bugfixes:
    - Fix a bug that caused the mod to crash when other text fields were used (https://mods.factorio.com/mod/CircuitHUD/discussion/5f4f1f152b466357a9aed521)
    - Fix a bug that caused mining the HUD Combinator to yield a constant combinator (https://mods.factorio.com/mod/CircuitHUD/discussion/5f4f46d1709ceaccd0aee1f3)
Version: 0.1.0
  Info:
    - Initial release