SSTU - Shadow Space Technologies Unlimited

SSTU - Shadow Space Technologies Unlimited

98.5k Downloads

General Enhancement - Add SSTUGlobalConfig settings

shadowmage45 opened this issue ยท 0 comments

commented

Add a global config settings file for SSTU to control things... globally.
Will have config settings for the following

  • useRF -- global config to control tank setups? might add this setting, might not, as the tanks still need per-tank patches to enable true RF compatibility (need ModuleFuelTanks added with various settings).
  • offsetVesselOnNodePositionChange -- global config to determine the functionality of the NodeOffset method -- should it offset just the parts into place, or should it also offset the entire vessel to keep GUIs in the same place?

Todo:

  • Add a global config file with all settings listed in it at their default values
  • Add a class to manage loading and storing those config values
    • Will need to find a way to re-trigger the loading of the configs on database reload (how can you tell if DB is being reloaded, and only trigger the reload of data once?)
  • Adapt all effected modules to use the global config setting
    • This will be different on a per config / per module basis