noodle run Posted March 11 Share Posted March 11 I found a parameter called "bgTemp" in the function SimDataInitializeFromCells of the SimMessages class. Is there any way to dynamically modify it? It seems to be related to the base temperature of an asteroid. Link to comment https://forums.kleientertainment.com/forums/topic/170023-how-do-i-change-the-background-temperature/ Share on other sites More sharing options...
Charletrom Posted March 11 Share Posted March 11 Im pretty sure starting temperature is controlled by the subworld .yaml files, which in turn derive specific temp values from temperatures.yaml. Link to comment https://forums.kleientertainment.com/forums/topic/170023-how-do-i-change-the-background-temperature/#findComment-1853719 Share on other sites More sharing options...
noodle run Posted March 12 Author Share Posted March 12 16 hours ago, Charletrom said: Im pretty sure starting temperature is controlled by the subworld .yaml files, which in turn derive specific temp values from temperatures.yaml. Thank you very much for your reply. I am currently developing a mod that refreshes or regenerates asteroids inside an existing cluster. My basic workflow is: remove the original world data -> invoke the game's original WorldGen -> export the data from the newly generated asteroid -> then transfer that data back into the old save using functions like ModifyCell. During debugging, however, I found a serious issue: newly generated asteroids automatically become very cold. I suspect this may be related to bgTemp. Because of this, I do not think your solution will work for my situation. Below is the source code. After loading the mod and save file, press Ctrl+PageDown to test it. Patches.cs Link to comment https://forums.kleientertainment.com/forums/topic/170023-how-do-i-change-the-background-temperature/#findComment-1853766 Share on other sites More sharing options...
Charletrom Posted March 12 Share Posted March 12 Sorry to say I have zero coding experience and wont be any help here 1 Link to comment https://forums.kleientertainment.com/forums/topic/170023-how-do-i-change-the-background-temperature/#findComment-1853767 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now