Page 1 of 1

API request: runtime data on LuaPlanet's clouds

Posted: Fri Jan 24, 2025 11:15 pm
by Kugamo
It'd be great to have runtime data on LuaPlanet's clouds.

Currently all the clouds and their data seems to be assembled in the data stage and is inaccessible at runtime. I want to access it to determine which part of a surface's xy coordinate plane is currently under the clouds' shadows, but without any data other than wind speed its practically impossible.

I initially thought If I had the constructed sprite of the clouds I could manage it, but excluding that maybe I could accomplish this using all the data generated for the planets' CloudsEffectProperties but thats also a stretch. I had a brief convo in the discord's mod help channel but it was concluded that without an API change it'd be impossible.

Image

Re: API request: runtime data on LuaPlanet's clouds

Posted: Sun Jan 26, 2025 12:55 pm
by Rseding91
This information is not available for mods because it's a simple sprite file which is not deterministic and so not available for mods to read.