FortressCraft Evolved

FortressCraft Evolved

33 ratings
Power Management
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
21.127 MB
19 Feb, 2017 @ 11:47am
8 Nov, 2020 @ 4:18pm
60 Change Notes ( view )

Subscribe to download
Power Management

Description
Power Management allows for monitoring and control and power transmission using a network or managed power transmission machines and power storage monitors. Managed power transmission machines are set to groups for which the power transmission can be stopped or throttled through manual action, or automatic through trigger conditions based on the power level from monitored power storage batteries.

This gives the ability to manually or automatically, limit or shut off, power to whole groups of machines based on needs, for example, shutting off resin harvesting if power is too low during an attack. Power group and trigger configuration, as well as global monitoring, is made possible through a popup display accessible from the power management hub or with the remote tool.

Component Overview

Managed Laser Power Transmitter (LPT) Units – Same as standard LPT units but can be set to join a particular named power group or functions standalone.

Managed Conduit – Improved version of the T4 conduit that can be set to join a particular named power group or function standalone. See the Managed Conduit section below for details.

Power Storage Monitor – Placed adjacent to power storage units to monitor capacity and allow for custom naming of the power storage.

Power Management Hub – Management and alert device that allows access to the configuration popup display and provides audio and visual alerts.

Power Management Remote Display – Suit upgrade that allows remote access to the power management popup display with using the hub.

Power Management Display Unit – Coming soon.

Managed Conduit

The managed conduit adds additional features on the standard conduit.

  • Has four lenses slots allowing the four corner beam concentrators to be upgraded with for a maximum possible transmission rate of 50,000 PPS.
  • Can be configured to transmit in one direction only.
  • Can be directly attached to the MK5 battery, Jet Turbines, Geothermal Generators, and the MagmaBore.
  • Laser pointer beam to aid with alignment.

Operation

All managed LPTs/conduits and power storage machines with a monitor attached are displayed in the top half of the popup showing information about type, rates, power stored, etc. The button at the top flips the view between managed LPTs/conduits and monitored power storage devices.

The list of Power group is shown in the lower half of the popup. Each power group can have the percent power transmission allowed regulated manually or through triggers. All LPTs and conduits in that group will have their transmission rate limited to the set percent. Manual power regulation is done by setting the override toggle and a set percent or setting the stop toggle to shut off power transmission completely.

Power group names can be edited by clicking on the name in the managed LPT/conduit window or on the power management popup window. The text will change to red when editing allowing for typing in the name. Press Enter to accept the name change or ESC to cancel the change. Power storage names may be also be edited in the same manner on the power management popup window.

Triggers are accessible by clicking the detail arrow which will switch to the trigger list for the power group. Any number of triggers can be added. Each trigger watches a monitor power storage device for going above or below a percent capacity and then taking an action to either sound an alert and/or reduce or limit the percent transmission for the group. The use of triggers or managed LPTs/conduits is optional. This mod can be used solely to power storage monitoring if desired. When viewing the triggers of a power group the units shown on the top half of window will be filtered to just those within the power group.

Research Requirements / Manufacturing Details

Research Requirements: Suit Upgrading and 1 research point to unlock.

Required Research: Power Management Lab Research. Recipes for managed LPT unit tiers and the conduit unlock in sync with the standard versions. Remote requires Suit Upgrading and 1 research point to unlock.

Manufacturer Category: Power Transmission for Managed LPT Units and Hub. Power Storage for Power Storage Monitor and Hub, Progression for the Remote suit upgrade.

Key Binding Configuration

The remote suit upgrade key binding can be changed by editing the PowerManagementModKeyBindings.xml which if not present is generated on first time run. The default binding is single click mouse button 4.

To avoid conflict issues with Steam workshop updates, configuration files are now kept in a separate folder listed below by platform.

Windows: Users\<UserName>\AppData\Local\ProjectorGames\FortressCraft\Mods\ModSettings\MadVandal.PowerManagement

Linux: /home/<UserName>/.config/unity3d/ProjectorGames/FortressCraft/Mods/ModSettings/MadVandal.PowerManagement

Mac: /Users/<UserName>/Library/Application Support/ProjectorGames/FortressCraft/Mods/ModSettings/MadVandal.PowerManagement

Information on how configure key bindings is available in the Key Binding Configuration.txt file located in the parent folder.

Updates

Update 11/8/2020:
- Fix network client transmission issues with power groups and triggers.
- Fix typo in Arthur trigger notification message.

Update 2/20/2020:
- Changes to prevent problems with machine tracking when a manufacturing plant set to automate a Power Management machine creates it at 0,0,0 to spawn the visuals.

Update 1/22/2020:
- Add Managed LPT Mk1 to Mk2 self-craft upgrade recipe.

Update 1/5/2020:
- Refresh build.
- Fix case where network client update thread may be stopped.
- Reduce display unit low power/no states message font size to increased scaling to avoid issue where a font texture buffer overload may occur that causes all custom UI text to be distorted.

Update 7/5/2019:
- Add support to attach Managed Conduit to Enhanced Flow Mod Mk 4/Mk 5 batteries.

Update 2/17/2019:
- Using shift-click on a lens icon in the manager power entity window will now upgrade the lens without dragging it.

Update 2/11/2019:
- Fix for remeoved managed power entities not being removed from the managed entities list.

Update 1/20/2019:
- Fix exception getting popup text on power monitor from a network client when the power state hasn't been sent to the client yet.
- Fixes for sending network updates to clients.
- Fix to for player to be in fully connected state before queuing data from server to client.

Update 1/9/2019:
- Fix sending of display unit Scale setting float point value between clients and servers with different globlization settings.
- Fix display units allowing interaction by clients without permissions.

Popular Discussions View All (2)
1
20 Aug, 2018 @ 6:06pm
Stuck at "Registering ModHandlers" in combination with Shadow's Enhanced Automation
voydus
1
20 Aug, 2018 @ 6:05pm
Request for support for Enhanced Power Flow
Maddo
68 Comments
ferumu 31 Dec, 2023 @ 10:49am 
It seems that the first client that joins gets all the updates properly, the Logic tab average PPS updates often. The moment a second client joins the first client stops getting updates, Logic tab freezes. The second client gets updates instead. If the second client then leaves the first client gets updates again.
ferumu 31 Dec, 2023 @ 7:05am 
Discovered that when other clients leave, in which case I'm the last one remaining, all Power Management stuff suddenly syncs (no more "waiting for server to send groups") and it all works. It seems to work server-side and with a single client the client is kept up-to-date but when multiple clients are playing it seems that the clients will not sync properly?
ferumu 30 Dec, 2023 @ 7:05am 
Hi hi, with a Linux headless dedicated server it seems that if clients disconnect and then very quickly reconnect (before proper cleanup/disconnect handling happens maybe?) it somehow bugs the power management. The management UI shows no groups and opening a LPT shows "waiting for server to send groups". On existing client the UI didn't show the lenses in LPTs for me, and the "managed PPS" was as-if no lens was inserted in the LPT in question. Restarting the server seems to make it work again, perhaps some thread is getting stuck or crashing?

When things are bugged the logic also seems to get unreliable or perhaps not update. A green LPT with a ruby lens should have been sending 70 pps but it was sending as-if there was no lens inside. The Transmission tab in Power Managed UI matched this behaviour with only 10pps for this LPT, so that seems to be the canon calculation of LPT logic.

I realise it's been a while but perhaps it's still something with a relatively easy fix?

Thanks!
Mad Vandal  [author] 16 Apr, 2022 @ 9:31am 
Been a long time so I can't remember everything but I think you have at least unlock the vanilla MK2 LET first.
Phooenix 16 Apr, 2022 @ 9:23am 
Sorry it was completely my fault, I thought MK2 came much earlier.
Mad Vandal  [author] 16 Apr, 2022 @ 8:41am 
You're need to unlock the unknown material.
Phooenix 13 Mar, 2022 @ 10:21am 
I can't unlock the Laser energy transmitter MK2, I have unlocked the research for it but it doesn't show up, for things that need it as an ingridient it only says unknown material
Mad Vandal  [author] 15 Feb, 2020 @ 4:07pm 
The catch with that is a monitor can have multiple adjacent batteries and so avoided having to do up another special UI just for that. The coordinates monitor should be on the popup window of the monitor. To avoid confusion I just name them after I place each monitor so I can easily see the new unnamed one on the list.
isochronous 7 Feb, 2020 @ 1:20pm 
It's a little weird that I have to place the power storage monitor, make a note of the coords (if I'm going to be placing more than one at a time), then assign it a name back at the monitoring station by referencing its position. I'd think that I'd just place the monitor and hit "e" to enter a name right there. Especially considering your mods have far and away the best UI design out of the ones I've used.
Transendence 17 Jul, 2019 @ 2:25am 
i havent tested this yet but based on the current fix, the power mgt mod should now work properly with flex's nuke mod. (mk1 2 3 4 conduits) and the miny mk5 bat. ill post results after testing.