-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
** WARNING ** - This update contains potentially breaking changes for…
… fuel tank parts due to their prior lack of persistent data handling * FIX - RBDC nullref and crash in flight scene (thanks KSP for your inconsistent loading sequence and calling methods on PartModules before OnStart) * FIX - Procedural decoupler hollow collider to actually be hollow in flight scene (useful for LC setups) * FIX - SSTUVolumeContainer will now properly update persistent data at all points where it is needed. * CHANGE - VolumeContainer - now persist 'fuelType' selection for containers * CHANGE - VolumeContainer - ability to specify base container index; this is the container that the 'next fuel type' interaction has influence over. * CHANGE - VolumeContainer - ability to completely disable the 'fuel type' selection * CHANGE - VolumeContainer - ability to completely disable the 'configure containers' button (e.g. for a single-resource part that still needs volume handling -- MSRBs) * CHANGE - VolumeContainer - now use a UI_ChooseOption (string slider) for fuel type selection; might be a bit wonky with 'custom' fuel types * CHANGE - VolumeContainer Configuration GUI - remove slider, replace with % text, as the slider might have led to someone believing they could adjust the ratio through it; will look into some sort of graphical display-only ratio bar, but my options might be limited with the unity IMGUI (still pretty new at it, have not investigated yet) * CHANGE - VolumeContainer Configuration GUI - hold CTRL while clicking a fuel type to Set to that fuel type; hold SHIFT to subtract that fuel types ratio * NEW MODULE - Add basic implementation of ModelSwitch module; used for LanderCore pod ascent fuel tanks currently, and will be used for other 'generic' modular parts in the future (probes, station parts... other things...). * Will enable various 'groups' of mutually-exclusive models that are controlled independently; a model may be used in more than one group, in more than one orientation. Currently only a single orientation per-group is supported but that may change in the near future * GUI interaction is mostly non-functional at the moment and merely enables/disables -all- models regardless of grouping/etc; this will be changing soon (likely by the weekend). * CHANGE - Add integration between ModelSwitch and VolumeContainer; volume container has had its persistent data format updated, but I've added in some temp code to enable loading data from the last version * OLD PART - LC2-POD is back in-game as a test case for the model switching and VolumeContainer integration. * The aptly named 'EnableStuff' and 'DisableStuff' buttons enable and disable the ascent fuel tanks * The buttons -will- be changed in the near future and will likely end up with a more complex GUI system for parts that need it * This part will likely break a few times before I get all the model-switching stuff... finished. * Add built in docking port; untested * Using default 'placeholder' IVA until I can re-add the old WIP IVA
- Loading branch information
1 parent
cdb028a
commit d633350
Showing
11 changed files
with
405 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.