From The Depths

From The Depths

From the Depths workshop
Share your vehicle designs, planets and mods
The Golden Knight 2020 年 5 月 6 日 上午 3:34
RTG Variables
Specifically, what's the variable called that creates the constant generation of 25 energy per tick/second/whatever? No guide I find online tells me how to change that one number, and it doesn't jump out on the in-game modding screen.
< >
正在显示第 1 - 3 条,共 3 条留言
KellyR 1 2020 年 5 月 21 日 下午 5:57 
I can't figure that one out either. Might be hard coded, can't even see any obvious entry for it when going through the files in a text editor.
KellyR 1 2020 年 5 月 22 日 上午 12:47 
Looked in to it further. It's definitely hard coded. You can see the values in the csharp code, if you use ILSpy or some other decompiler. Oddly enough, it multiplies the array space (Number of voxel cube spaces it occupies) by 3, and then 5, instead of just multiplying it by 15 once...

But anyway, the point is, you'd have to use a c# compiler to make a mod that changes that (And then you'd probably be adding new alternative RTG blocks, not changing the values of the old blocks).

I couldn't be bothered to install visual studio for that (yet), but that's unfortunately what you'd have to do.

I did try manually setting the array space value in the saved mod file (After copying and pasting the RTG into a new "RTG+" block in a mod) but while that value is in the mod file, the game seems to ignore it and just calculate the array space itself, so that didn't help.
The Golden Knight 2020 年 5 月 22 日 上午 2:43 
Wow, that's well beyond my education level, so thanks for doing the deep digging for me. That was amazing.
< >
正在显示第 1 - 3 条,共 3 条留言
每页显示数: 1530 50