AntiBlueQuirk Posted February 21, 2019 Share Posted February 21, 2019 Have you ever wondered how much water is in your storage tank? What the average temperature in your base is? Just how many germs did I get in my water supply? Well, this is the tool for you! Pictured above (left to right, top to bottom): 21 t of Water in a tank. My base has an average temperature of 24 degrees. The coldest part is in the bottom left. My PWater tank has 4 million Food Poisoning germs in it. In my base, the average gas pressure is ~1600 g, 90% of that is Oxygen. The biome I'm probing has ~95 t of Coal available for me to mine, among other things. The settings screen for the Material Probe (Outdated) What Does It Do? The Material Probe looks at an area of cells (tiles) and analyzes them to determine certain properties about them as a group. In Mass mode, the probe tells you what the total mass of the area is, and a break down of the materials in the area. In Temperature mode, the probe calculates temperature over the entire area. In Germs mode, the probe analyzes the populations of germs in the probed area. In Biome mode, the probe just tells you what the biome for the area is. This is most useful for detecting the space biome. In each mode (except Biome), the probe will give you information about the range of properties in the area: minimum, maximum and average. The area will also be colored according to that range. For instance in Temperature mode, the blue area represents the lowest temperature in the area, and the red area represents the hottest area. Download/Installation Install ModLoader first! Forum Download: Releases Copy into your Mods folder! You'll get a new overlay icon in game! (It looks like an eyedropper.) Learn More GitHub Repository + Extended Readme: https://github.com/AntiBlueQuirk/ONI-MaterialProbeMod Link to comment Share on other sites More sharing options...
lunazone Posted February 21, 2019 Share Posted February 21, 2019 Woah this looks amazing, good job! Link to comment Share on other sites More sharing options...
AntiBlueQuirk Posted February 21, 2019 Author Share Posted February 21, 2019 I actually started it back around Cosmic/Expressive, but ended up taking a break from ONI, so it got put on hold. I was also having trouble putting a UI together until I just cheated and used Unity's IMGUI. Link to comment Share on other sites More sharing options...
trevice Posted February 21, 2019 Share Posted February 21, 2019 So you actually have achieve a way to add UIs to ONI. Very very nice. Time ago I found this usinga similar approach, but I preferred to wait until klei provides at the end, I hope, an easier way to do it. Link to comment Share on other sites More sharing options...
AntiBlueQuirk Posted February 21, 2019 Author Share Posted February 21, 2019 To be fair, my way is very much a hack. I added an empty group to the UI, and then use its size as an area to draw in with Unity's IMGUI. My UI isn't actually integrated with ONI's UI, it just pretends very hard to be. You can see how it works in the MaterialProbeDiagram class. Fair warning, this is not my cleanest code, and some of the more hacky things, like the UI, are not well commented. I'll try to clean things up soon, but I've been planning to release for QoL2 for a while. The UI is a recent addition, since I struggled to build one the "right" way back in Expressive, and I really needed a UI before I released. Link to comment Share on other sites More sharing options...
f4rtux Posted February 21, 2019 Share Posted February 21, 2019 Wow very nice work and certainly very useful! Link to comment Share on other sites More sharing options...
AntiBlueQuirk Posted February 25, 2019 Author Share Posted February 25, 2019 Updated to v1.0.1: Cleaned up the settings, fixed a few bugs, added new shading range controls. Link to comment Share on other sites More sharing options...
AntiBlueQuirk Posted February 28, 2019 Author Share Posted February 28, 2019 Updated to v1.0.2: For Quality of Life Mk. II (Q2-311694) "Range Display" is now just called "Shading" There is now a configuration file, generated by the mod on first load Probe settings are now retained after the game closes There is now an option to hide Neutronium, to make geysers harder to find. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.