-
-
Notifications
You must be signed in to change notification settings - Fork 20
This HUD is using two different programs :
- Master Program : the one that is displaying the HUD on the user screen
- Machine Control Program : Not required for monitoring, it's the program that is used to control machines from the HUD
It can permit to monitor a maximum of 1368 Industry machines.
For the both programs, you do not have to rename any slot, the script will detect all the linked elements automatically.
This program is not required if you only want to monitor machine status, it's only used in machine control
Simply copy the content of the config.json file from the Machine Control Program directory and paste it on a programming board in the game. (Right click > advanced > copy Lua configuration from clipboard)
This programming board must be connected to a databank.
A receiver is used to switch on the board for data update. This is not requiring a slot, but the link must be set from the receiver to the board. (You can add a relay if you need to enable several board at a time).
Set a default channel on the receiver. (you will have to set it on the Master program after)
Connect the board to the machines you want to monitor. No changes needed on that script.
Simply copy the content of the config.json file from the Master Program directory and paste it on a programming board in the game.
If you want to integrate schematic tracking, you must link the container containing all the schematics in your industry to this programming panel before any other links.
This programming board must be linked to the core.
If you want to use the machine control function, you must also link it to an emitter and to all the databanks used for Data Collection part. You will also need to set the channels name in LUA Parameters (right-click on the board, advanced, edit Lua parameters). You can use the same channel on several types if you do not have one receiver for each type (take care of the amount of board, if too many boards, you can have errors, depending on your PC resources).
If you see a machine type you do not have on your construct, just skip it, it will not be used.
You can also set the same channel on several machine types if you are using on receiver for several machines types.
For monitoring Only:
Full Mounting With Control:
To add a container to the system, you must rename it following that pattern: <prefix>_<itemId>
For a Hub, you must use that pattern: <prefix>_<itemId>_<containserSize>_<amountOfContainers>
-
<prefix>
: must be replaced by a prefix, you can set several prefixes to monitor your containers or hubs, by default, the prefixes from the script https://github.com/Jericho1060/du-storage-monitoring are available (s1, s2, s3, s4, s5, s6, s7, s8, s9) but others can be added in lua parameters, there is no limit -
<itemId>
: The ID of the item in the game database, you can search the ID of item here: https://du-lua.dev/#/items -
<containerSize>
: if a hub, the size of the containers linked (default to XS), valid options arexs
,s
,m
,l
,xl
,xxl
-
<amountOfContainers>
: if a hub, the amount of containers linked
By editing lua parameters on the Master Program, you can customize some options
- fontSize: change the size of the text in the HUD
- displayType : default displayTypeav, ailable options: 0=ALL, 1=Table, 2=Augmented Reality
- displayMode : default displayMode, ailable options: 0=ALL, 1=Industry Only, 2=Storage Only, 3=None
- sortingType : default sorting of elements in table: 1=Element Name, 2=Item in containers or product of industries, 3=Element ID
- showRecipeData : Display or not recipe ingredients on the machine detail
- enableRefinerMonitoring: enable or disable the Refiners monitoring
- enableAssemblyMonitoring: enable or disable the Assembly lines monitoring
- enableSmelterMonitoring: enable or disable the Smelters monitoring
- enableChemicalMonitoring: enable or disable the Chemical industries monitoring
- enableElectronicsMonitoring: enable or disable the Electronics Industries monitoring
- enableGlassMonitoring: enable or disable the Glass Furnace monitoring
- enableHoneycombMonitoring: enable or disable the Honeycomb Refineries monitoring
- enableRecyclerMonitoring: enable or disable the Recyclers monitoring
- enableMetalworkMonitoring: enable or disable the Metalworks monitoring
- enable3DPrinterMonitoring: enable or disable the 3D Printers monitoring
- enableTransferMonitoring: enable or disable the transfer units monitoring
- enableStorageMonitoring: enable or disable the storage monitoring
- elementsByPage : How many elements are displayed on each page on the HUD (set to 20 by default)
- maxAmountOfElementsLoadedByFrame: By default 500, the number of element loaded by frame when starting the script, if you have CPU Load Error on start, lower that value
- machinesRefreshedByFrame: By default 100, the amount of machines and storage elements updated by frame if you are playing at 30 FPS, you will refresh 3000 industries and 3000 each second
- machineDetailDisplayDistance: the distance in meters to display the machine details (default 0 for all)
- ARMaxDistance: the maximum distance from you in meters to display AR info on machine (default to 225 for a full construct)
- displayType: the default display type: 0=ALL, 1=Table, 2=Augmented Reality
- displayMode: the default display type: 0=ALL, 1=Industry Only, 2=Storage Only, 3=None
- sortingType: the default sorting of elements in table: 1=Element Name, 2=Item in containers or product of industries, 3=Element ID
- channel_for_refiner: By default "receiver_refiner" receiver channel to send orders to refiners
- channel_for_assembly: By default "receiver_assembly" receiver channel to send orders to assembly lines
- channel_for_smelter: By default "receiver_smelters" receiver channel to send orders to smelters
- channel_for_chemical: By default "receiver_chemical" receiver channel to send orders to chemical indutries
- channel_for_electronics: By default "receiver_electronics" receiver channel to send orders to electronic industries
- channel_for_glass: By default "receiver_glass" receiver channel to send orders to glass furnace
- channel_for_honeycomb: By default "receiver_honeycomb_recycler" receiver channel to send orders to honeycomb refiniries
- channel_for_recycler: By default "receiver_honeycomb_recycler" receiver channel to send orders to recylers
- channel_for_metalwork: By default "receiver_metalworks" receiver channel to send orders to metalworks
- channel_for_3d_printer: By default "receiver_3dprinters" receiver channel to send orders to 3d printers
- channel_for_transfer: By default "receiver_transfert" receiver channel to send orders to tranfer units
- containerProficiencyLvl : The level of Container Proficiency you deployed your containers with
- containerOptimizationLvl : The level of Container Optimization you deployed your containers with
- storages_prefix_list : By default 's1,s2,s3,s4,s5,s6,s7,s8,s9' the list of prefixes supported for storage monitoring in the container names, comma separated, without spaces and _