Oxygen Not Included

Oxygen Not Included

50 ratings
Highlight Overlay
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
537.787 KB
29 Feb, 2024 @ 10:41am
21 Feb @ 10:40am
8 Change Notes ( view )

Subscribe to download
Highlight Overlay

In 1 collection by Glampi
Glampi's Mods
4 items
Description
Latest version: v1.0.6.0
Translations: en, uk, ru, zh

A QoL mod for visualizing things that in some way relate to the selected object.


How To Use

1. Select an object(any object on the map)
2. Turn on the Highlight Overlay
(2.5.) You can close the selected object's details screen so that it doesn't overlap with the overlay menu
3. Configure the things that should be highlighted (and how to highlight them) in the overlay menu

As said above, this mod lets you find and visualize things that relate to the selected object. The relation types include (but are not limited to):

• copies of this object (all its occurences on the map)
• consumers of this object (if it can be consumed)
• producers of this object
• consumable materials of this object (if this object can consume things)
• produce of this object

You may also apply filters to only highlight things of some specific kind. For example, if you want to highlight all coal debris that is laying on the floor, you can select coal (either debris or the natural tile) and highlight its copies. Then you can configure the Highlight Filters to only highlight items that lay on the floor - and voila!

To prevent the game from lagging, this mod only scans the whole map once and then highlights all the appropriate things. This means that the highlighting doesn't update if gas moves around the room, steam condenses to water, a new building gets built etc. That's why per default the overlay is only functionable while the game is paused - so that nothing on the map changes. You can disable this function in mod's config, but be aware that the information this mod shows will get incorrect over time as you let the simulation run for some time.


Examples

To give a grasp of how versatile this tool is, here is a couple of concrete examples of what can be highlighted:

• all coal debris laying on the floor
• all lockers/storage buildings that contain coal
• all possible sources of polluted oxygen (polluted water, sublimation station etc.)
• all logic wires made of gold
• all plants with the same mutation (Spaced Out! DLC)
• all food that a specific duplicant may eat (as specified in the consumables menu)
• all buildings that a specific duplicant may work on (based on the dupe's skills)
• all elements that a specific building produces (f.e. electrolyzer -> oxygen & hydrogen)
• all things a specific critter may eat
...and much more!


Tips

Here is some more specific information for people that really want to squeeze all the functionality out of this mod.

All the highlight options starting with "consider" (consider aggregate state etc.) apply also if the selected object is of a kind that doesn't have this consider-option. For example, if you select any element and check the "consider aggregate state" option and then select a building (let's say a glass forge) and highlight its produce, then the elements it produces will only be highlighted if they are in the same aggregate state as the ones that exit this building (in case with glass forge - only liquid glass will be highlighted).

The "Keep Highlighting" option also preserves the highlighting objects if you close the overlay. If you unpause the game however, it will still erase all the information (unless you enabled the overlay usage while the game is not paused in mod config).

You can select objects that are located in a storage/building and highlight things that relate to them. To do this, select the storage bin (or whatever other building) and scroll down its details menu until you see the "Contents" tab. There you can click on any entry and select that stored item!

If you want to highlight some very specific set of items, you can use a storage bin to do so. Select an empty storage bin and set its storage filters to whatever things you want to highlight. Then simply highlight its "consumables".


Special Thanks

...to Peter Han for his PLib that made the creation of the overlay menu easier!

...to all modders at the ONI's discord community for answering all my questions!


Source Code, Feedback etc.

You can find the source code on my GitHub[github.com].

If you encounter any issues/bugs, please start an issue[github.com] with the error message(if present), the Player.log file and a description of how to reproduce the bug.

If you would like to provide a translation to this mod, feel free to send me the translation .po file via an issue or a pull request (on GitHub).

Do you like my mods and want to thank me? I would not mind if you would buy me a coffee[buymeacoffee.com] ;D
14 Comments
Glampi  [author] 8 Aug @ 11:14pm 
You're welcome! :)
hottt3 6 Aug @ 11:03am 
I've installed it. It works! This mod is absolutely incredible. Thanks!
Glampi  [author] 6 Aug @ 5:52am 
Yes, it should. If you encounter any bugs, please do report them.
hottt3 5 Aug @ 5:47pm 
Thanks for the mod!! Does it still work for the current version of the game?
白鬼 22 Feb @ 3:14am 
如何使用
1.选择一个对象(地图上的任何对象)
2.打开高光叠加
(2.5。)您可以关闭所选对象的详细信息屏幕,使其不会与覆盖菜单重叠
3.配置覆盖菜单中应该突出显示的东西(以及如何突出显示)

如上所述,此mod可让您查找和可视化与所选对象相关的事物。关系类型包括(但不限于):

•该对象的副本(它在地图上的所有出现)
•此对象的消费者(如果可以消费)
•该对象的生产者
•该对象的消耗品(如果该对象可以消耗东西)
这个物体的产生
irgend son OpfA 3 Jan @ 4:46am 
Love your mod!!!! But Crash at Gamestart:

Error in GameAssets(Clone).Assets.OnPrefabInit at (0.00, 0.00, 0.00)

System.Exception: [HighlightOverlay] > The prefabID was not given a value in ObjectType BUILDING's case
at HighlightOverlay.Structs.ObjectProperties..ctor (KPrefabID obj, HighlightOverlay.Enums.ObjectType objType) [0x0013c] in <2673cec0ea124e8bb3ec3758961a50cc>:0
at HighlightOverlay.Main.CacheObjectIDs () [0x00036] in <2673cec0ea124e8bb3ec3758961a50cc>:0
at HighlightOverlay.Patches.Main_Patches+Assets_OnPrefabInit_Patch.Postfix () [0x00038] in <2673cec0ea124e8bb3ec3758961a50cc>:0
at (wrapper dynamic-method) Assets.Assets.OnPrefabInit_Patch5(Assets)
at KMonoBehaviour.InitializeComponent () [0x00068] in <82d98ed04cc642f199bc654910617431>:0
Build: U54-647408-SCR
Monte-Cristo 24 Nov, 2024 @ 6:13am 
Not working with Build: U53-642695-SC
Soil 8 Oct, 2024 @ 5:45am 
Why are there only 1100 people using this mod? This mod is amazing! I have grown so wary of searching for where my steel has vanished off to and the in-game overlay frankly just isn't a huge help. Having the ability to only select a single material reduced the task from taking 20 or 30 minutes while still not finding it all to simply taking two clicks. I have added this to my favorites. I hope Klei does steal this and make it a part of the base game as it should be.
Glampi  [author] 14 Jul, 2024 @ 2:18am 
Should be fixed now.
MxCode 5 Jul, 2024 @ 11:49am 
update pls, not work here