Bug: Storage tank slider levels don't persist in craft file.

Issue #11 new
Paul Kingtiger created an issue

Bug: Storage tank slider levels don't persist in craft file.

To re-create:

1 - Attach a Radial Storage tank to the vessel in the VAB, on any resource type. The example pictured here uses Oxygen.

2 - Use the slider to reduce the storage to less than 100%. (See first image linked to below).

3 - Save vessel design.

4 - Launch Vessel. Notice the slider seems correct HERE - the reduced resource is rememebered (see second image linked to below).

5 - Recover Vessel. Go back to VAB.

6 - Click "new" vessel button. Click "Load" Vessel button. reload the same vessel design.

7 - The slider is back to 100% again. The .craft file seems to have no memory (or it does but it doesn't load properly) of the the slider's position, so it resets to default.

The slider positions should probably persist in the craft file, just like the stock game does for reduced fuel levels.

Screenshot In VAB originally:

https://steamcommunity.com/sharedfiles/filedetails/?id=1593401713

Screenshot launched from VAB:

https://steamcommunity.com/sharedfiles/filedetails/?id=1593401744

Screenshot back in VAB again, reloaded from craft file:

https://steamcommunity.com/sharedfiles/filedetails/?id=1593401763

Comments (2)

  1. David Grandy

    I think I have this one fixed. US was basically ignoring any saved resources amounts when it loads a vessel in the editor, so it just set all resource levels to whatever “initial” amount is specified in the config (generally full). I fixed it by checking for existing part resources in the craft file to override the value in the config.

  2. Log in to comment