-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Negative tank mass with Realism Overhaul #811
Comments
If it works with 'stock' RealFuels, it should work with RO. All that is needed is a simple patch to the SSTU fuel tanks configs ( https://github.com/shadowmage45/SSTULabs/blob/master/GameData/SSTU/ModIntegration/RealFuels/RF.cfg ) Either way, I am not part of the RO team, and cannot directly provide fixes for their issues. I have provided the functionality for them to use, and the responsibility to make use of it is theirs. To confirm -- you say that the tanks work fine with just 'stock' RealFuels installed, but then revert to having issues when the full RO pack is installed? In order to investigate further to confirm where the problem is, I would need to see an excerpt of the SSTU MFT fuel tanks' config out of your ModuleManager.ConfigCache (please not the whole file, I just need the config for one of the SSTU fuel tanks), to see what the final config for those parts looks like. 95% likely that the RO patches are not setting up the interop flags properly for those, which then manifests in the issue you are seeing. (also possible there is some other bug or conflict, but this seems to be a simple patch omission) |
Heres what (I think this is the right one) says about one of the tanks in the ModuleManager.Config.Cache UrlConfig |
Thanks... close, but not quite the config I was looking for :) (I should have given precise names... sorry) What you posted was the config for the model definition for one of the tanks, rather than for the actual Part that uses the models. Looking for the config for the SSTU-MFT-A part. Try searching for 'SSTU-TANK-MFT-A' in that same file, and it should locate the specific config in question. |
First result for SSTU-Tank-MFT-A UrlConfig |
Was there anything below the MODEL node? There should be a MODULE with 'name = SSTUModularPart'. And inside that there should be a value 'subtractMass = false'. Edit: Pretty much that is what I'm looking for -- to confirm the presence or absence of that line. |
under the config for SSTU-TANK-MFT-A 'subtractmass' is not listed at all |
Thanks. That points to whatever patches RO is using being incomplete / incorrect. The solution will have to come from RO, by implementing the patches properly. Notably here: https://github.com/KSP-RO/RealismOverhaul/blob/master/GameData/RealismOverhaul/RO_SuggestedMods/SSTU/SSTU_Tanks.cfg#L32-L39 They need to add the following line: I'm personally not sure why SSTU's RF patches aren't working in such a setup (as I'm already patching that line when RF is found), unless RO-RF has a different modname than stand-alone RF. |
Thank you so much for the help, i just tried this and now there are no more negative mass tanks! Also turns out that RO has problems with displaying mass correctly for any fuel tank - not just sstu tanks. Luckily none of them have negative mass |
The modular tanks (except for the modular lander tank) appear to have negative masses in the VAB and thus float in midair when I launch them. I am aware that this issue was solved when RealFuels is installed, however with the rest of RO installed the bug appears again. I am guessing it has something to do with RO rescaling and re-weighing parts?
Running KSP ver 1.7.3 and the latest RO and SSTU, no other mods
The text was updated successfully, but these errors were encountered: