Zarquan Posted February 27, 2025 Share Posted February 27, 2025 I like using debug to make and test builds, but one gripe I have is that when I use the "Sample" tool, it is always incorrect on the mass. If I sample a 1000 kg pocket of steam, it sets itself for 1013 kg, which is annoying. It seems to add 1.3% to any mass sampled. Does anyone know why? Seems like a bug to me, but I always like to post asking about bugs before filing a bug report. Link to comment https://forums.kleientertainment.com/forums/topic/164477-debug-question-slightly-incorrect-sample-values/ Share on other sites More sharing options...
SGT_Imalas Posted February 28, 2025 Share Posted February 28, 2025 8 hours ago, Zarquan said: Does anyone know why? Yes, the tool is buggy. The debug blueprint tool steps the sim once when it takes a capture for example; This is also the reason why the superconductive asteroid poi is always filled with sour gas; the template was supposed to be a vacuum, but it was created in an oxygen environment, so that sim step added a tiny amount of oxygen into the room which then causes the plastic ladders to melt Link to comment https://forums.kleientertainment.com/forums/topic/164477-debug-question-slightly-incorrect-sample-values/#findComment-1802796 Share on other sites More sharing options...
6Havok9 Posted February 28, 2025 Share Posted February 28, 2025 It's been this way for so long that it's now a feature™. Damn 1013. I'm surprised you wrote this post, I thought everyone had surrendered to the 1013 for good. Happy to be proven wrong, sad about not writing about this years ago. 1013 won and made me a slave. But no more! Link to comment https://forums.kleientertainment.com/forums/topic/164477-debug-question-slightly-incorrect-sample-values/#findComment-1802833 Share on other sites More sharing options...
SGT_Imalas Posted February 28, 2025 Share Posted February 28, 2025 after digging in the code for a bit, I assume its because the UI reads this value directly: as for the why - that remains shrouded in mystery Link to comment https://forums.kleientertainment.com/forums/topic/164477-debug-question-slightly-incorrect-sample-values/#findComment-1802855 Share on other sites More sharing options...
Zarquan Posted February 28, 2025 Author Share Posted February 28, 2025 8 hours ago, SGT_Imalas said: after digging in the code for a bit, I assume its because the UI reads this value directly: as for the why - that remains shrouded in mystery Well, then if they were to replace Grid.Pressure with Grid.mass, everything would be fine. Or Grid.Pressure[i ] / 101.3f; Seems like an easy fix, maybe a bug report will get them to do it. And here is the bug report! Your info was helpful, which is why I always ask here before making bug reports. 13 hours ago, SGT_Imalas said: The debug blueprint tool steps the sim once when it takes a capture for example; This is also the reason why the superconductive asteroid poi is always filled with sour gas; the template was supposed to be a vacuum, but it was created in an oxygen environment, so that sim step added a tiny amount of oxygen into the room which then causes the plastic ladders to melt Part of me wonders if this was a thing that they saw and were like "Huh, that wasn't supposed to happen. But great!" I have noticed that aspect of that tool, so I basically never use it except to get things I can't use sandbox to spawn. 10 hours ago, 6Havok9 said: It's been this way for so long that it's now a feature™. Damn 1013. I'm surprised you wrote this post, I thought everyone had surrendered to the 1013 for good. Happy to be proven wrong, sad about not writing about this years ago. 1013 won and made me a slave. But no more! Viva la Revolution! We will not be slaves to the 1.3%!! Link to comment https://forums.kleientertainment.com/forums/topic/164477-debug-question-slightly-incorrect-sample-values/#findComment-1802933 Share on other sites More sharing options...
hydrotoast Posted March 1, 2025 Share Posted March 1, 2025 Yes, this is an old bug. Some notes when discussed among modders previously: 1 atm = 1.013 bar = 101.3 kPA, which explains the constants (PeterHan) The pressure grid is used in rendering the pressure overlay, i.e. F1 hotkey (Romen) I believe that the sample tool should be sampling from the mass grid directly for the field labeled "mass". IIRC, the label on the text box used to be "pressure". Perhaps the pressure grid was mistakenly sampled under the assumption that pressure = mass for most other places in the code. Link to comment https://forums.kleientertainment.com/forums/topic/164477-debug-question-slightly-incorrect-sample-values/#findComment-1803096 Share on other sites More sharing options...
Zarquan Posted March 2, 2025 Author Share Posted March 2, 2025 On 2/28/2025 at 11:47 PM, hydrotoast said: Yes, this is an old bug. Some notes when discussed among modders previously: 1 atm = 1.013 bar = 101.3 kPA, which explains the constants (PeterHan) The pressure grid is used in rendering the pressure overlay, i.e. F1 hotkey (Romen) I believe that the sample tool should be sampling from the mass grid directly for the field labeled "mass". IIRC, the label on the text box used to be "pressure". Perhaps the pressure grid was mistakenly sampled under the assumption that pressure = mass for most other places in the code. Makes sense. In ONI, there isn't really a difference between pressure and mass. My hope is that the fact that they just pulled from the wrong value means it will be an easy fix. Link to comment https://forums.kleientertainment.com/forums/topic/164477-debug-question-slightly-incorrect-sample-values/#findComment-1803364 Share on other sites More sharing options...
Zarquan Posted March 3, 2025 Author Share Posted March 3, 2025 They say they fixed the bug! We are free! Huzzah! (Assuming they did it right, of course.) I'm glad Klei will fix bugs quickly, especially when you tell them exactly what the problem is at the coding level. Link to comment https://forums.kleientertainment.com/forums/topic/164477-debug-question-slightly-incorrect-sample-values/#findComment-1803774 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.