FreeThinker Posted April 30, 2015 Share Posted April 30, 2015 (edited) Interstellar Fuel Switch (IFS) is meant for players and makers which want to add resource/mesh/texture switching to their tanks but it also applies a script to all stock Fuel tanks allowing you to switch between a few common resources Interstellar Fuel Switch offers improved versions of FSFuelSwitch, FSMeshSwitch and FSTextureSwitch, FSTextureSwitch2 and FSinfoPopup made by Snjo. Features: - Improved persistence in VAB and in Flight - Improved Multiple texture switching - Improved Initialization - Improved scaling with Tweakscale - Improved in flight switching behavior - Improved tank cost calculation which compensates for resource cost - Improved integration with tech tree - Improved GUI (switching between resouces) - Improved Display (showing remaining resource in mass) - Improved In flight switching (only allows switching after the tanks are empty and tech requirement are met) - Improved Real Solar System support - Improved stock LFO IFS tanks If you want to chat about IFS you can do it at our KSP Interstellar Discord Server Latest Version 3.29.4 for Kerbal Space Program 1.8.1 - 1.11.2 Download older versions from here source: GitHub Dependancies Tweakscale ( 999_Scale_Redist.dll only) Module Manager Help For clarification, this is what a typical Interstellar Fuel Switch looks like Spoiler MODULE { name = InterstellarFuelSwitch massExponent = 3 volumeExponent = 3 resourcesFormat = 0.0000 tankSwitchNames = Ar; CO2; H; Kr; Ne; N; O; X; Life; Not resourceGui = Argon;CarbonDioxide;Hydrogen;Krypton;Neon;Nitrogen;Oxygen;Xenon;LifeSupport;Nothing resourceNames = ArgonGas;CarbonDioxide;Hydrogen;KryptonGas;NeonGas;Nitrogen;Oxygen;XenonGas;Oxygen,CarbonDioxide;Structural resourceAmounts = 224000;224000;224000;224000;224000;224000;224000;44800;112000,112000;0 basePartMass = 0.1 tankMass = 0;0;0;0;0;0;0.1;0;0;0.5 baseResourceMassDivider = 9.1 displayCurrentTankCost = false hasGUI = true availableInFlight = true availableInEditor = true inEditorSwitchingTechReq = fuelSystems inFlightSwitchingTechReq = specializedFuelStorage showInfo = true } Explanation of fields: Spoiler resourceNames: (required):specifies the names resources tankSwitchNames the names of a tank that are visible in the switcher orderBySwitchName (optional default false) will order the tankSwitchNames in alphabetical order resourceAmount: (required) specifies the amount of resource for a tank. (when multiple resource, separate them by a comma) initialResourceAmounts (optional) overides standard initialisation of the amount of resource a tank starts with tanksMass: (optional) specifies the mass for each tank massExponent (optional, default 3) overrides default mass scaling factor of exponent 3 when resizing with tweakscale volumeExponent (optional default 3) overrides default volume scaling factor of exponent 3 when resizing with tweakscale resourceGui (optional) allows your to give a name to the switch mode which will be visible in the part info screen baseResourceMassDivider (optional) allows you add dry mass based on mass of full tank, effectively allowing you an easy way to maintain a fixed DryMass/WetMass ratio overrideMassWithTankDividers when true will use baseResourceMassDivider (when available) to determine mass of a tank showTankName (optional, default = true) allows you to hide tank name nextTankSetupText (optional, default = "Next tank setup") allows you to override the Next tank button text previousTankSetupText (optional, default = "Previous tank setup") allows you to override the Previous tank text inEditorSwitchingTechReq specifies the tech at which switching becomes possible in the editor inFlightSwitchingTechReq specifies the tech at which switching becomes possible in flight showInfo (default = true) allows you to hide information about fuel switching in Info screen in VAB hasGui(optional, default true ) displayTankCost (optional, default false) will make 3 fields visible that shows Tank cost, Resource Cost and Total Cost resourcesFormat (optional, default 0.0000) allows you override the display precision of stored resource amounts showSwitchButtons (optional, default false) will specify if a next and previous button will be visible (and active) when you are allowed to switch between tanks canSwitchWithFullTanks (optional, default false) allows you to switch tanks even when they are not empty (<0.0001) 8 The latest release introduced a new Module named "AnimatedContainerContent": MODULE { name = AnimatedContainerContent animationName = exampleAnim // Name of the animation resourceName = Ore // Name of the Resource to link with the animation animationExponent = 1 // Exponent. How is the animation related to the resource (normal 1; quadratic 2; qubic 3; ...) maximumRatio = 1 // How far does the animation play with the resource. (0.5: at 50% resource the animation is at the last frame.) } What does it? This Module allows you to link an animation with the amount of stored resources on a part. Now we can visualize the tank-status directly on the model. Details on how the resources are linked Without the "resourceName" node defined all resources stored in the part will be taken into account, except resources without mass (EC, Megajoule). This is very usefull for tanks that hold 2 fuels at the same time or use FuelSwitch setups with lots of different setups. Examples One example is the IFS Inflatable Storage Tank that uses this module. As shown in the picture below, the spherical tank grows with the amount of stored Air. This is an example that uses "maximumRatio = 0.5". When the tank is half full, the sphere has reached its max volume (end of the animation) and filling the tank further is not animated anymore. To animate pressurized gas tanks for example. An example with bars indicating the amount of fuel can be found on most of the new tanks. You'll notice some blue (or red) little bars that show how much content the tank currently holds (blue=full, red=empty). I hope this explanation is somewhat useful and you guys have as much fun with it as I did. Happy modding! Credits Original Source: Snjo Programming: FreeThinker Storage containers & Scripting: @Eleusis La Arwall Retexturing: @silversliver Inline Inflatable Liquid Cryo Tank: @SpaceMouse Wrapper tank: @Enceos License: Sourcecode: GitHub Known Mods that make use of InterstellarFuelSwitch NectroBones Fuel Tanks Plus Mark IV Spaceplane System If you which to use this in you mod, please include the InterstellarFuelSwitch Folder in your mod, and notify me. Please leave a comment if you like it. Support & Recommendations: CKAN PatchManager Changelog: Spoiler Version 3.23 for Kerbal Space Program 1.11.1 Released on 2021-01-31 Fixed missing Tweakscale config on Solid Storage Container Version 3.22 for Kerbal Space Program 1.11.1 Released on 2021-01-29 Compatible with KSP 1.8.1 - 1.11.1 Added ModuleCargoPart Configuration to Super Capacitators allowing them to be stored in a storage container Added ModuleCargo Configuration to Inflatable Tanks allowing them to be stored in a storage container Configured Inflatable Fuel Tanks start empty amount of storage Moved Tweakscale to top of Context Menu Moved resource Conversion bottom of Context Menu CryoTank tanks Fixed LqdDeuterium configuration in CryoTank Version 3.21 for Kerbal Space Program 1.11.1 Released on 2021-01-20 Added Support for Kerbalsim with CT2500 Cryo Tanks, allowing function at high timewarp and in background Added Radial Inventory Cargo Container with Tweakscale support (requires KSP 1.11) Added improved Tweakscale support for Cryo Storage Boiloff Improved Display stored fuel amount and hides invisible resources Fixed issue with partially loaded fuel tank configurations Version 3.20 for Kerbal Space Program 1.11.0 Released on 2021-01-14 Compatible with KSP 1.8.1 - 1.11 Adde searching tags to make them easier to find a tank that can hold a specific resource Added FissionParticle and FissionPellets to Nuclear Storage tanks Balance Increased cost Nuclear Storage tanks and slightly increased storage capacity Version 3.19 for Kerbal Space Program 1.11.0 Released on 2020-12-29 Fixed Tech node unlocked Tank configurations not showing in KSP 1.11 Version 3.18 for Kerbal Space Program 1.10.1 Released on 2020-09-04 Added multiple variants of Rectilinear Rover Adaptor Tank Added additional resource definition when CRP is not installed Version 3.17.0.5 for Kerbal Space Program 1.10.1 Released on 2020-08-22 Fixed Module Manager errors at startup when Community Resource Pack is not installed Changed Tech requirement of wet work tank to Specialized Fuel Storage Version 3.16.0.5 for Kerbal Space Program 1.9.1 Released on 2020-05-22 Added LiteFuels Fixed issue where tweakscale config could disappear Balance: lowered mass ratios Cryogenic Storage Tanks Balance: Improved mass ratios inline sphere tanks Balance: lowered cost inline sphere tanks Balance: lowered effect scaling on mass ratios Version 3.16.0.1 for Kerbal Space Program 1.4.2 Released on 2020-05-22 Added LiteFuels Fixed issue where tweakscale config could disappear Balance: lowered mass ratios Cryogenic Storage Tanks Balance: Improved mass ratios inline sphere tanks Balance: lowered cost inline sphere tanks Balance: lowered effect scaling on mass ratios Version 3.14.2.5 for Kerbal Space Program 1.9.1 Released on 2020-03-02 Fixed some localization issues (credit by Tinygrox) Version 3.14.2 for Kerbal Space Program 1.4.2 Released on 2020-03-02 FIxed some localization issues (credit by Tinygrox) Version 3.14.1.5 for Kerbal Space Program 1.9.0 Released on 2020-02-16 Compatible with KSP 1.8.1 - 1.9 Added Chinese localization for Global resource script (by tinygrox) Version 3.14.1 for Kerbal Space Program 1.4.2 Released on 2020-02-16 Compatible with KSP 1.4.2 - 1.7.3 Added Chinese localization for Global resource script (by tinygrox) Version 3.14.0.5 for Kerbal Space Program 1.8.1 Released on 2020-02-11 Added Chinese localization for Global resource switching script (by tinygrox) Version 3.14.0.1 for Kerbal Space Program 1.4.2 Released on 2020-02-11 Added Chinese localization for Global resource switching script (by tinygrox) Version 3.13.3.5 for Kerbal Space Program 1.8.1 Released on 2020-01-12 Added fix for compatibility with Configurable Tanks Version 3.13.3 for Kerbal Space Program 1.7.3 Released on 2020-01-12 Compiled against KSP 1.4.3 Added fix for compatibility with Configurable Tanks Version 3.13.2.5 for Kerbal Space Program 1.8.1 Released on 2019-12-15 introduces AluLOx, a monopropellant of Aluminium Nanoparticles suspended in Liquid Oxygen Added AluLOx to Cryo tank, Duel Cry Tank, Inflatabl tank and WetWorks crew tank Fixed Issue with HTP fuel switching Version 3.13.2.1 for Kerbal Space Program 1.7.3 Released on 2019-12-15 introduces AluLOx, a monopropellant of Aluminium Nanoparticles suspended in Liquid Oxygen Added AluLOx to Cryo tank, Duel Cry Tank, Inflatabl tank and WetWorks crew tank Fixed Issue with HTP fuel switching Version 3.13.0.5 for Kerbal Space Program 1.8.1 Released on 2019-12-01 Fixed bug in VAB where resource amount would not be loaded properly Version 3.13.0.1 for Kerbal Space Program 1.7.3 Released on 2019-12-01 Compiled against KSP 1.4.2, compatible to KSP 1.7.3 Fixed bug in VAB where resource amount would not be loaded properly Version 3.12.2 for Kerbal Space Program 1.8.1 Released on 2019-11-01 Added depleted uranium to cylindrical drop tanks Lowered drag on wrapper nose tanks Version 3.12.1.5 for Kerbal Space Program 1.8.0 Released on 2019-10-19 Balanced Super Lithium and Lithium-Air Battery mass and capacity Fixed missing textures on power storage Version 3.12.0.5 for Kerbal Space Program 1.8.0 Released on 2019-10-19 Balanced Super Lithium and Lithium-Air Battery mass and capacity Version 3.12.0.4 for Kerbal Space Program 1.7.3 Released on 2019-10-19 Balanced Super Lithium and Lithium-Air Battery mass and capacity Version 3.12.0.3 for Kerbal Space Program 1.6.1 Released on 2019-10-19 Balanced Super Lithium and Lithium-Air Battery mass and capacity Version 3.12.0.2 for Kerbal Space Program 1.5.1 Released on 2019-10-19 Balanced Super Lithium and Lithium-Air Battery mass and capacity Version 3.12.0.1 for Kerbal Space Program 1.4.5 Released on 2019-10-19 Balanced Super Lithium and Lithium-Air Battery mass and capacity Version 3.12.0.0 for Kerbal Space Program 1.3.1 Released on 2019-10-19 Balanced Super Lithium and Lithium-Air Battery mass and capacity Version 3.11.0.4 for Kerbal Space Program 1.7.3 Released on 2019-09-17 Added 2 Radial and 1 additional inline supercapacitor Fixed GUI stability auto converter Version 3.11.0.3 for Kerbal Space Program 1.6.1 Released on 2019-09-17 Added 2 Radial and 1 additional inline supercapacitor Fixed GUI stability auto converter Version 3.11.0.2 for Kerbal Space Program 1.5.1 Released on 2019-09-17 Added 2 Radial and 1 additional inline supercapacitor Fixed GUI stability auto converter Version 3.11.0.1 for Kerbal Space Program 1.4.5 Released on 2019-09-17 Added 2 Radial and 1 additional inline supercapacitor Fixed GUI stability auto converter Version 3.11.0.0 for Kerbal Space Program 1.3.1 Released on 2019-09-17 Added 2 Radial and 1 additional inline supercapacitor Fixed GUI stability auto converter Version 3.10.0.4 for Kerbal Space Program 1.7.3 Released on 2019-09-14 Added Fuel Switchable Wetworks Crewtank (by Lunaran) Added configurable CrewCapacity Added Kerbalsim Habitat support Version 3.10.0.3 for Kerbal Space Program 1.6.1 Released on 2019-09-14 Added Fuel Switchable Wetworks Crewtank (by Lunaran) Version 1.20.0.2 for Kerbal Space Program 1.5.1 Released on 2019-09-14 Added Fuel Switchable Wetworks Crewtank (by Lunaran) Version 3.10.0.1 for Kerbal Space Program 1.4.5 Released on 2019-09-14 Added Fuel Switchable Wetworks Crewtank (by Lunaran) Version 3.10.0.0 for Kerbal Space Program 1.3.1 Released on 2019-09-14 Added Fuel Switchable Wetworks Crewtank (by Lunaran) Version 3.8.8.4 for Kerbal Space Program 1.7.3 Released on 2019-07-14 Compiled against KSP 1.7.3 Added Methalox for non KSPIE Global LiquidFuel/Oxidizer tank replacement Script Fixed Module Manager Errors for KSP 1.7.3 Version 3.8.6.4 for Kerbal Space Program 1.7.2 Released on 2019-06-14 Balance: reduced Power consumption IFS Cryo Tanks Fixed issue which caused context menu not to update after tank switching Version 3.8.5.4 for Kerbal Space Program 1.7.1 Released on 2019-05-31 Fixed crash tolerance of Duel Fuel Tanks Fixed minimum drag of nose tanks Version 3.8.5.3 for Kerbal Space Program 1.6.1 Released on 2019-05-31 Fixed crash tolerance of Duel Fuel Tanks Fixed minimum drag of nose tanks Version 3.8.5.2 for Kerbal Space Program 1.5.1 Released on 2019-05-31 Fixed crash tolerance of Duel Fuel Tanks Fixed minimum drag of nose tanks Version 3.8.5.1 for Kerbal Space Program 1.4.5 Released on 2019-05-31 Fixed crash tolerance of Duel Fuel Tanks Fixed minimum drag of nose tanks Version 3.8.5.0 for Kerbal Space Program 1.3.1 Released on 2019-05-31 Fixed crash tolerance of Duel Fuel Tanks Fixed minimum drag of nose tanks Version 3.8.4.4 for Kerbal Space Program 1.7.0 Released on 2019-05-26 Added Tank Switch button which show switch window that closes after selecting a tank configuration. Balance: Improved mass ratios for non stock tank configurations for stock LFO tanks Balance: Increased volume pure Liquid Hydrogen tanks by 50% (similar to Cryo tanks mod) Fixed LHOX fuel mode which now contains proper Hydrogen+Oxidizer mix Version 3.8.4.3 for Kerbal Space Program 1.6.1 Released on 2019-05-26 Added Tank Switch button which show switch window that closes after selecting a tank configuration. Balance: Improved mass ratios for non stock tank configurations for stock LFO tanks Balance: Increased volume pure Liquid Hydrogen tanks by 50% (similar to Cryo tanks mod) Fixed LHOX fuel mode which now contain proper Hydrogen+Oxidizer mix Version 3.8.4 for Kerbal Space Program 1.5.1 Released on 2019-05-26 Added Tank Switch button which show switch window that closes after selecting a tank configuration. Balance: Improved mass ratios for non stock tank configurations for stock LFO tanks Balance: Increased volume pure Liquid Hydrogen tanks by 50% (similar to Cryo tanks mod) Fixed LHOX fuel mode which now contain proper Hydrogen+Oxidizer mix Version 3.8.4.1 for Kerbal Space Program 1.4.5 Released on 2019-05-26 Added Tank Switch button which show switch window that closes after selecting a tank configuration. Balance: Improved mass ratios for non stock tank configurations for stock LFO tanks Balance: Increased volume pure Liquid Hydrogen tanks by 50% (similar to Cryo tanks mod) Fixed LHOX fuel mode which now contain proper Hydrogen+Oxidizer mix Version 3.8.4.0 for Kerbal Space Program 1.3.1 Released on 2019-05-26 Added Tank Switch button which show switch window that closes after selecting a tank configuration. Balance: Improved mass ratios for non stock tank configurations for stock LFO tanks Balance: Increased volume pure Liquid Hydrogen tanks by 50% (similar to Cryo tanks mod) Fixed LHOX fuel mode which now contain proper Hydrogen+Oxidizer mix Version 3.8.3.4 for Kerbal Space Program 1.7.0 Released on 2019-05-17 Added MonoPropellant to global LFO tanks script Balance: All advanced propellant get unlocked after Large Fuel Storage tech is unlocked Fixed ElectricCharge NaN issue hat could develop during timewarp with power storage parts when DynamicBatteryStorage was installed Fixed issue with LH2O ratio for global LFO tanks script not having correct mix ratio Version 3.8.3.3 for Kerbal Space Program 1.6.1 Released on 2019-05-17 Added MonoPropellant to global LFO tanks script Balance: All advanced propellant get unlocked after Large Fuel Storage tech is unlocked Fixed ElectricCharge NaN issue hat could develop during timewarp with power storage parts when DynamicBatteryStorage was installed Fixed issue with LH2O ratio for global LFO tanks script not having correct mix ratio Version 3.8.3.2 for Kerbal Space Program 1.5.1 Released on 2019-05-17 Added MonoPropellant to global LFO tanks script Balance: All advanced propellant get unlocked after Large Fuel Storage tech is unlocked Fixed ElectricCharge NaN issue hat could develop during timewarp with power storage parts when DynamicBatteryStorage was installed Fixed issue with LH2O ratio for global LFO tanks script not having correct mix ratio Version 3.8.3.1 for Kerbal Space Program 1.4.5 Released on 2019-05-17 Added MonoPropellant to global LFO tanks script Balance: All advanced propellant get unlocked after Large Fuel Storage tech is unlocked Fixed ElectricCharge NaN issue hat could develop during timewarp with power storage parts when DynamicBatteryStorage was installed Fixed issue with LH2O ratio for global LFO tanks script not having correct mix ratio Version 3.8.3.0 for Kerbal Space Program 1.3.1 Released on 2019-05-17 Added MonoPropellant to global LFO tanks script Balance: All advanced propellant get unlocked after Large Fuel Storage tech is unlocked Fixed ElectricCharge NaN issue hat could develop during timewarp with power storage parts when DynamicBatteryStorage was installed Fixed issue with LH2O ratio for global LFO tanks script not having correct mix ratio Version 3.8.2.4 for Kerbal Space Program 1.7.0 Released on 2019-05-06 Added additional localization and translations Added LH2O fuel configuration to LFO tanks Added HTP to LFO tanks Fixed: Switcher script will remain active when Cryotanks is installed Version 3.8.2.3 for Kerbal Space Program 1.6.1 Released on 2019-05-06 Added additional localization and translations Added LH2O fuel configuration to LFO tanks Added HTP to LFO tanks Fixed: Switcher script will remain active when Cryotanks is installed Version 3.8.2.2 for Kerbal Space Program 1.5.1 Released on 2019-05-06 Added additional localization and translations Added LH2O fuel configuration to LFO tanks Added HTP to LFO tanks Fixed: Switcher script will remain active when Cryotanks is installed Version 3.8.2.1 for Kerbal Space Program 1.4.5 Released on 2019-05-06 Added additional localization and translations Added LH2O fuel configuration to LFO tanks Added HTP to LFO tanks Fixed: Switcher script will remain active when Cryotanks is installed Version 3.8.2.0 for Kerbal Space Program 1.3.1 Released on 2019-05-06 Added additional localization and translations Added LH2O fuel configuration to LFO tanks Added HTP to LFO tanks Fixed: Switcher script will remain active when Cryotanks is installed Version 3.8.1.4 for Kerbal Space Program 1.7.0 Released on 2019-04-12 Changed tank switch window name to part title Version 3.8.0.3 for Kerbal Space Program 1.6.1 Released on 2019-04-07 Added Switch Tank Window to IFS Fuel Switch Added Fuel description to Cryogenic Storage Tanks Version 3.8.0.2 for Kerbal Space Program 1.5.1 Released on 2019-04-07 Added Switch Tank Window to IFS Fuel Switch Added Fuel names to Cryogenic Storage Tanks Version 3.8.0.1 for Kerbal Space Program 1.4.5 Released on 2019-04-07 Added Switch Tank Window to IFS Fuel Switch Added Fuel names to Cryogenic Storage Tanks Version 3.8.0.0 for Kerbal Space Program 1.3.1 Released on 2019-04-07 Added Switch Tank Window to IFS Fuel Switch Added Fuel names to Cryogenic Storage Tanks Version 3.7.1.3 for Kerbal Space Program 1.6.1 Released on 2019-04-05 Renamed Hexcan Droptanks to Cylindrical Droptanks Added NuclearSaltWater to Radioactive Cylindrical Droptank Balance: Reduced Mass Radioactive Cylindrical Droptank Balance: restored mass exponent Radioactive Storage container to cube Version 3.7.1.2 for Kerbal Space Program 1.5.1 Released on 2019-04-05 Renamed Hexcan Droptanks to Cylindrical Droptanks Added NuclearSaltWater to Radioactive Cylindrical Droptank Balance: Reduced Mass Radioactive Cylindrical Droptank Balance: restored mass exponent Radioactive Storage container to cube Version 3.7.1.1 for Kerbal Space Program 1.4.5 Released on 2019-04-05 Renamed Hexcan Droptanks to Cylindrical Droptanks Added NuclearSaltWater to Radioactive Cylindrical Droptank Balance: Reduced Mass Radioactive Cylindrical Droptank Balance: restored mass exponent Radioactive Storage container to cube Version 3.7.1.0 for Kerbal Space Program 1.3.1 Released on 2019-04-05 Renamed Hexcan Droptanks to Cylindrical Droptanks Added NuclearSaltWater to Radioactive Cylindrical Droptank Balance: Reduced Mass Radioactive Cylindrical Droptank Balance: restored mass exponent Radioactive Storage container to cube Version 3.7.0.3 for Kerbal Space Program 1.6.1 Released on 2019-03-24 Compiled against KSP 1.6.1 Added Hexcan droptank for solids and radioactive resources Version 3.7.0.2 for Kerbal Space Program 1.5.1 Released on 2019-03-24 Compiled against KSP 1.5.1 Added Hexcan droptank for solids and radioactive resources Version 3.7.0.1 for Kerbal Space Program 1.4.5 Released on 2019-03-24 Compiled against KSP 1.4.5 Added Hexcan droptank for solids and radioactive resources Version 3.7.0.0 for Kerbal Space Program 1.3.1 Released on 2019-03-24 Compiled against KSP 1.3.1 Added Hexcan droptank for solids and radioactive resources Version 3.6.18.3 for Kerbal Space Program 1.6.1 Released on 2019-01-29 Added Switchable Solid and Radioactive Drop Canister Improved TextureSwitch persistence Version 3.6.18.2 for Kerbal Space Program 1.5.1 Released on 2019-01-29 Added Switchable Solid and Radioactive Drop Canister Improved TextureSwitch persistence Version 3.6.18.1 for Kerbal Space Program 1.4.5 Released on 2019-01-29 Added Switchable Solid and Radioactive Drop Canister Improved TextureSwitch persistence Version 3.6.18.0 for Kerbal Space Program 1.3.1 Released on 2019-01-29 Added Switchable Solid and Radioactive Drop Canister Improved TextureSwitch persistence Version 3.6.17.3 for Kerbal Space Program 1.6.0 Released on 2018-12-21 Added IFSinfoPopup PartModule with support for multiple instances Added Uranium-233 as config to Radio active storage container Fixed Radio active storage container mass ratios Version 3.6.17.2 for Kerbal Space Program 1.5.1 Released on 2018-12-20 Added IFSinfoPopup PartModule with support for multiple instances Added Uranium-233 as config to Radio active storage container Fixed Radio active storage container mass ratios Version 3.6.17.1 for Kerbal Space Program 1.4.5 Released on 2018-12-20 Added IFSinfoPopup Partmodule with support for multiple instances Added Uranium-233 as config to Radio active storage container Fixed Radio active storage container mass ratios Version 3.6.17.0 for Kerbal Space Program 1.3.1 Released on 2018-12-20 Added IFSinfoPopup Partmodule with support for multiple instances Added Uranium-233 as config to Radio active storage container Fixed Radio active storage container mass ratios Version 3.6.16.2 for Kerbal Space Program 1.5.1 Released on 2018-12-01 Added Kerosene + Liquid Oxygen configuration to IFS Duel Fuel tanks Added NuclearSaltWater configuration to Nuclear Storage Tank Fixed display configuration for IFS Duel Tanks Version 3.6.16.1 for Kerbal Space Program 1.4.5 Released on 2018-12-01 Added Kerosene + Liquid Oxygen configuration to IFS Duel Fuel tanks Added NuclearSaltWater configuration to Nuclear Storage Tank Fixed display configuration for IFS Duel Tanks Version 3.6.16.0 for Kerbal Space Program 1.3.1 Released on 2018-12-01 Added Kerosene + Liquid Oxygen configuration to IFS Duel Fuel tanks Added NuclearSaltWater configuration to Nuclear Storage Tank Fixed display configuration for IFS Duel Tanks Version 3.6.15.2 for Kerbal Space Program 1.5.1 Released on 2018-11-04 Added Liquid Helium and Liquid Argon to Duel Fuel Tank Added debugMode property Sorted tanks in Duel Fuel Tank Alphabetically Fixed issue where switching tank in flight would affect symmetric siblings Version 3.6.15.1 for Kerbal Space Program 1.4.5 Released on 2018-11-04 Added Liquid Helium and Liquid Argon to Duel Fuel Tank Added debugMode property Sorted tanks in Duel Fuel Tank Alphabetically Fixed issue where switching tank in flight would affect symmetric siblings Version 3.6.15.0 for Kerbal Space Program 1.3.1 Released on 2018-11-04 Added Liquid Helium and Liquid Argon to Duel Fuel Tank Added debugMode property Sorted tanks in Duel Fuel Tank Alphabetically Fixed issue where switching tank in flight would affect symmetric siblings Version 3.6.14.2 for Kerbal Space Program 1.5.1 Released on 2018-10-23 Added Dynamic Electric Charge Buffer to High Electric Power Storage Containers which allow them to operate at high timewarp Fixed some minor floating point inaccuracies Version 3.6.14.1 for Kerbal Space Program 1.4.5 Released on 2018-10-23 Added Dynamic Electric Charge Buffer to High Electric Power Storage Containers which allow them to operate at high timewarp Fixed some minor floating point inaccuracies Version 3.6.14.0 for Kerbal Space Program 1.3.1 Released on 2018-10-23 Added Dynamic Electric Charge Buffer to High Electric Power Storage Containers which allow them to operate at high timewarp Fixed some minor floating point inaccuracies Version 3.6.13 for Kerbal Space Program 1.4.5 Released on 2018-10-14 Fixed amount of LiquidFuel and Oxidizer in Wrapper Tanks Version 3.6.12 for Kerbal Space Program 1.4.5 Released on 2018-10-06 Fixes involuntary Resource switching in symmetric IFS Tanks with Mesh Switch Fixes display issue with fluent resource converter Version 3.6.11 for Kerbal Space Program 1.4.5 Released on 2018-10-03 Compiled against KSP 1.4.5 Added Fields which display current resource conversion rate Fixed instability Resource conversions removed some empty files Version 3.6.10 for Kerbal Space Program 1.4.5 Released on 2018-09-29 Added Liquid Hydrogen LqdFuorine mix to Dual Tank configurations Added missing Cryostats Removed empty files Fixed loss of LqdArgon on Big Sphere Tank Fixed issue of exploding tanks during first 20 seconds after using engines Version 3.6.9 for Kerbal Space Program 1.4.5 Released on 2018-09-26 Fixed issue with hidden parts filter Version 3.6.8 for Kerbal Space Program 1.4.5 Released on 2018-09-23 Compiled against KSP 1.4.5 Added Buckyballs (Buckminsterfullerene) to Cargo container Added insulators to Cryogenic Space Tanks Version 3.6.7 for Kerbal Space Program 1.4.5 Released on 2018-09-03 Compiled against KSP 1.4.5 Added Shorted display module info Cryostat Balanced entry cost Dual Cryo tanks Balance lowered tech requirement advanced fuel configurations Fixed Liquidfuel amount in Cryogenic Dual Tanks Version 3.6.5 for Kerbal Space Program 1.4.5 Released on 2018-08-30 Compiled against KSP 1.4.5 Lowered tech requirement Cryogenic Duel Tanks Lowered tech requirement Hydrogen storage Fixed Cryogenic Storage error message in log when KSPIE is not installed Version 3.6.4 for Kerbal Space Program 1.4.4 Released on 2018-08-12 Compiled against 1.4.5 Added several Inline and radial spherical cryogenic fuel tanks Re-balanced cost of storage tanks Version 3.6.3 for Kerbal Space Program 1.4.4 Released on 2018-08-04 Compiled against KSP 1.4.5 Added Lithium Air battery Changed Lithium Battery power storage resource to KilowattHour Fixed hiding disabled parts in VAB Version 3.6.2.1 for Kerbal Space Program 1.4.4 Released on 2018-07-30 Compiled against KSP 1.4.5 Fixed compatibility issue with Routine Mission Manager (credits WhiteSpaceKilla) Fixed compatibility issue with Configurable Containers Version 3.6.1.2 for Kerbal Space Program 1.4.4 Released on 2018-07-28 Compiled IFS 3.6.1 against KSP 1.4.5 Version 3.6.1 for Kerbal Space Program 1.4.4 Released on 2018-07-14 Compiled against KSP 1.4.4 Changed AVC reference file to GitHub Version 3.6 for Kerbal Space Program 1.4.3 Released on 2018-05-25 Fixed initialization error in InterstellarMeshSwitch after cloning part in VAB Version 3.5 for Kerbal Space Program 1.4.3 Released on 2018-05-22 Added support for 4 managed resources Fixed negative tank cost for tanks with more than 2 resources Version 3.4 for Kerbal Space Program 1.4.3 Released on 2018-05-15 Updated MiniAVC to 1.0.3.2 Removed content from old MM and PM configs by EleusisLaArwall Fixed excessive error log spamming of IFS partmodules Version 3.3 for Kerbal Space Program 1.4.3 Released on 2018-05-13 Added property orderByIndexNames which sort all tanks alphabetically on indexName Added property indexNames to InterstellarMeshSwitch which can be used for sorting Added property defaultTank to InterstellarFuelSwitch which defines the initial tank configuration Balance: improved mass ratio s of larger IFS Cryo Tanks compared to smaller tanks Balance: reduce power cost of larger IFS Cryo Tanks compared to smaller tanks Balance: slightly improved mass ratios for scaled up tanks Fixed alphabetic sorting of tank configuration for IFS Cryo tanks Fixed interface switcher issue for IFS Cryo and Gas Tanks Version 3.2.0 for Kerbal Space Program 1.4.3 Released on 2018-05-10 Added property baseMassExponent, which replaces massExponent and allows scaling of base and tank mass Added property tweakscaleMassExponent *default 3) which defines tweakscale mass exponent Added improved mass scaling to IFS CC, CT, IST, SPG and RFC tanks Fixed issue where VAB engineer report vessel mass was not updated properly after changing scale Version 3.1.0 for Kerbal Space Program 1.4.3 Released on 2018-05-05 Compiled against 1.4.3 Added Patchmanager IFS Tank Modularization for CC,CDT, CT, ISTG, RFC and WRapper tanks (credits by EleusisLaArwal) Added improved switch name texts that match mesh Added localization keys for description in PM-window. (credits by EleusisLaArwal) Added improved auto generated ModuleInfo for fuel tanks Added config field moduleInfoTemplate, moduleInfoParams allowing customization of ModuleInfo Added more support for localization Added support for alphanumeric keys in fuelTankSetups Add automated adaptation when config is missing Balanced Inline Inflatable Cryogenic Liquid Fuel Tank Fixed ModuleManager bug during startup (credits by EleusisLaArwal) Version 2.13.3 for Kerbal Space Program 1.4.2 Released on 2018-04-17 Added Super Lithium Battery Added internal insulated to all tanks fitted with cryostats Balance": Reduce power cost cryostats Fixed ability to switch on Wrapper tanks Fixed connection node on elongated cap wrapper tank Version 2.13.1 for Kerbal Space Program 1.4.2 Released on 2018-04-07 Compiled against KSP 1.4.2 Added Hydrazine option Switchable Duel Fuel tanks Balance: Significantly improved Heat Resistance Balance: Improved Mass Ratios of dense non stock resources in Duel Fuel tanks Fixed: Display of switch tanks for Duel Fuel Tanks Version 2.12.1 for Kerbal Space Program 1.4.1 Released on 2018-03-28 Added property canSwitchWithFullTanks (default false) allowing you switch fuel tanks while not empty Fixed default switching behavior in flight to be active only when switching tanks are empty reduced MM script removed some empty config files Version 2.12 for Kerbal Space Program 1.4.1 Released on 2018-03-25 Added PartModule IFSCryostat for simulating cryogenic storage Added IFSRadioactiveDecay for simulating radioactive decay Added property displayWetDryMass which will suppress showing wet/dry ratio info Fixed missing Cryostat functionality when KSPIE was not installed Version 2.11.1 for Kerbal Space Program 1.4.1 Released on 2018-03-19 Compiles against KSP 1.4.1 Reduced MM log spamming Version 2.10.6 for Kerbal Space Program 1.3.1 Released on 2018-03-10 Fixed compatibility with B9 part switch module Version 2.10.5 for Kerbal Space Program 1.3.1 Released on 2018-03-03 Fixed Russian field localisation Version 2.10.4 for Kerbal Space Program 1.3.1 Released on 2018-03-02 Added Core localization for Russian language Version 2.10.3 for Kerbal Space Program 1.3.1 Released on 2017-12-11 Added Improved Chinese Localization Fixed incompatibility with Module Manager 3.0.x Fixed conversion ratio between mass-less resources Version 2.10.1 for Kerbal Space Program 1.3.1 Released on 2017-10-15 Fixed issue where switcherDescription field would not function Fixed ability of inline inflatable liquid tank to switch between resources Version 2.10.0 for Kerbal Space Program 1.3.1 Released on 2017-10-07 Compiled against KSP 1.3.1 Fixed performance cost during flight Fixed change of dry mass when switching in flight Version 2.9.5 for Kerbal Space Program 1.3.0 Released on 2017-10-02 Removed cost modification to ElectricCharge and Megajoule Fixed issue with some tanks not able to switch Version 2.9.3 for Kerbal Space Program 1.3.0 Released on 2017-09-15 Added additional localization Fixed Inline Inflatable tank crew capacity and temperature Fixed Gamedata folder name Version 2.9.2 for Kerbal Space Program 1.3.0 Released on 2017-09-13 Added english Localisation (by Eleusis La Arwall) Fixed issue with missing IST2501 Version 2.9.1 for Kerbal Space Program 1.3.0 Released on 2017-09-10 Included Patchmanager 0.0.8 in download package Added support for PatchManager (by @Eleusis La Arwall) Added radial inflatable liquid tank (by @Eleusis La Arwall) Added inline inflatable liquid tank (by @SpaceMouse) Fixed integrated decoupler cluttering (by Eleusis La Arwall) Fixed missing HTP resource Fixed missing resource definition for Spodumene Version 2.8.2 for Kerbal Space Program 1.3.0 Released on 2017-09-09 Added empty PatchManager folder 8 Added missing Spodumene resource Version 2.8.1 for Kerbal Space Program 1.3.0 Released on 2017-08-27 Fixed Issue with switch buttons cluttering up VAB menu Renamed InflatableStorageTank to AnimatedContainerContent Disabled several obsolete parts Fixed cluttering of context menu by auto converter Version 2.8 for Kerbal Space Program 1.3.0 Released on 2017-08-27 Added a huge array of new tanks made by Eleusis La Arwall +4 Cargo Container (CC) [No mass or cost cost balance done] +5 Cryogenic Tank (CT) +1 Electric Capacitator +1 Pressurized Gas Tank (PGT) +3 Radioactive Fuel Container (RFC) +11 Cryogenic Dual Tank (CDT) +1 Inflatable Gas Tank Fixed Switching fuel tank in Flight Fixed Conversion between LqdXenon and XenonGas Version 2.7.1 for Kerbal Space Program 1.3.0 Released on 2017-08-16 Updated CRP to 0.7.2 Fixed issue texture switch with applying the same texture to multiple objects Version 2.7 for Kerbal Space Program 1.3.0 Released on 2017-08-15 Updated ModuleManager to 2.8.1 Added Ability of Texture Switcher to switch multiple texture at the same time Version 2.6.3 for Kerbal Space Program 1.3.0 Released on 2017-06-05 reverted last commit Version 2.6.2 for Kerbal Space Program 1.3.0 Released on 2017-06-05 Fixed: SImplefied folder structure, which should solve a problem with CKAN Version 2.6.1 for Kerbal Space Program 1.3.0 Released on 2017-06-04 Compiled against KSP 1.3 Updated CRP to 0.7.1 Updated Tweakscale to 2.3.6 Version 2.6.0 for Kerbal Space Program 1.3.0 Released on 2017-05-27 compiled against KSP 1.3 updated Tweakscale to KSP 1.3 compatible version updated CRP to 0.7 moved resource fixes to plugin folder Version 2.5.1 for Kerbal Space Program 1.2.2 Released on 2017-05-19 Fixed ability to switch propellant of wrapper tanks in editor Version 2.5.0 for Kerbal Space Program 1.2.2 Released on 2017-04-30 Added in flight ChooseOption, allowing instant in flight tank switching when enabled in the config Version 2.4.8 for Kerbal Space Program 1.2.2 Released on 2017-04-22 Added Switch interface will only show if there are more than 1 tanks available Added Hydrolox and Methalox to Wrapper drop tanks Version 2.4.7 for Kerbal Space Program 1.2.2 Released on 2017-04-15 Added missing resources to solid and cry storage tank Fixed resource duplicating bug when copying a part Fixed ability to switch resource when tank is empty while other nonswitchable resources are present Fixed behavior auto converter for primary resource Version 2.4.6 for Kerbal Space Program 1.2.2 Released on 2017-03-22 Added LqdCO2 to Generic IFS script Added Fluorite to solid tank Version 2.4.5 for Kerbal Space Program 1.2.2 Released on 2017-03-12 Added Decaborane, Thorium and Salt to Solid Container Added more descriptive warning log message Fixed Warning in the log Version 2.4.4 for Kerbal Space Program 1.2.2 Released on 2017-03-07 Added Additional resources to Storage tanks Added Super Capacitator which can convert automatically between ElectricCharge and MegaJoules Version 2.4.3 for Kerbal Space Program 1.2.2 Released on 2017-02-23 Added Global script which applies tank switching between popular glasses to all xenon tanks Added Global script which applies tank switching between popular liquid fuels to all liquid fuel tanks Fixed: Global script will not Fuel Switch if ModuleTankManager is already present Fixed If tank mass is undefined it will fall back on part prefab mass Version 2.4.2 for Kerbal Space Program 1.2.2 Released on 2017-02-22 Added Maximum power and Transfer power cost to Interstellar Resource Conversion Added equilibrium maintenance to Interstellar Resource Conversion, allow you to set a percentage which is actively maintained Rebalanced power usage IFS Cryo tank Version 2.4.1 for Kerbal Space Program 1.2.2 Released on 2017-02-19 Added Interstellar Resource Converters (a.k.a. Equilibrium) for all resource to IFS Cryogenic tanks Added Switchable IF Pressurised Gas Tank Added Fuel Tank Dry/Wet mass is now shown on a single line Rebalanced mass ratios Cryogenic tanks Removed lighting control (not functional) Fixed default behavior Interstellar Resource Converters to configure target storage utilization instead of local resource utilization Version 2.4.0 for Kerbal Space Program 1.2.2 Released on 2017-02-18 Added Interstellar Equilibrium module which allows automated conversion between 2 resources Added Equilibrium to Cryotank for LqdXenon to XenonGas and LqdWater to Water Added LqdXenon to Cryotank Added LqdWater to Cryotank Sorted resources in Cryotank alphabetically Version 2.3.3 for Kerbal Space Program 1.2.2 Released on 2017-02-06 Updated CRP to 0.6.6 Added resource Caesium, Sodium, PVC and Regolith to switchable Solid Storage Tank Version 2.3.2 for Kerbal Space Program 1.2.2 Released on 2016-12-29 Added wrapper tanks (un-powered) Fixed mass scaling Revamped IFS Tanks (Fixing floating issue when scaled up) Version 2.3.1 for Kerbal Space Program 1.2.2 Released on 2016-12-18 Fixed Tank Cost when resized Updated CRP to 6.4 Included Tweakscale 2.3.3 Version 2.3 for Kerbal Space Program 1.2.2 Released on 2016-12-09 Updated to KSP 1.2.2 Updated Module Manager to 2.7.4 Fixed Negative Credits cost for empty tanks with expansive resource Fixed Credits cost when resized Version 2.2.9 for Kerbal Space Program 1.2.1 Released on 2016-11-20 Added ability to jettison all fuel in a container to all Fuel switches Increased resource amount IFS storage container Added PolyvinylChloride to IFS storage container Version 2.2.8 for Kerbal Space Program 1.2.1 Released on 2016-11-09 Fix: disabled adaptiveTankSelection by default which was causing problems when an existing resource is present on the rank Fix: disabled verbose Log messaging Included Module Manager to 2.7.3 Version 2.2.7 for Kerbal Space Program 1.2.1 Released on 2016-11-03 Compiled against KSP 1.2.1 Added property adaptiveTankSelection (default true) which will ensure that similar tank selection is found when configuration tank name changes Added missing descriptions for Cryogenic tanks Version 2.2.6 for Kerbal Space Program 1.2 Released on 2016-10-23 Updated CRP to 0.6.2 Added: Initial tank will always have it original cost preserved Balance: Given new IFS tanks more appropriate CTT Technode requirement Version 2.2.5 for Kerbal Space Program 1.2 Released on 2016-10-20 Fixed Symmetric Part Switching Updated MiniAVC to KSP 1.2 compatible version (which fixes exception in log)) Updated CRP to 0.6.1 Version 2.2.4 for Kerbal Space Program 1.2 Released on 2016-10-15 Fixed Double dry mass cost Added Cryotank with double mesh tank switchers one for reducing agent and one for oxidizing agents Addy switchable Cryotank with four times the volume of regular tank Added LqdFluoride and LqdArgon to Cryo tanks Added ability to connect a mesh switcher to a specific tank switcher Added ability for a fuel switch to return dry mass only when requested for module mass Script that add IFS to all LiquidFuel+Oxidizer tanks which now also display drat tank cost, resource cost and total cost. Version 2.2.3 for Kerbal Space Program 1.2 Released on 2016-10-13 Compiled against KSP 1.2 When displayCurrentTankCost is true shows Dry Tank Cost, Resource Cost and Total Cost Fixed Bug of Cost giving negative numbers Added Oxygen-18, Nitrogen-15 and Fluorine to Cryogenic container Fixed an issue where Mass ratio was not properly updated in the VAB the first time after switching Fixed resource volume and mass ratio of new Cryogenic container Includes Module Manager compatible with KSP 1.2 Version 2.1.4 for Kerbal Space Program 1.1.3 Released on 2016-07-29 Updated to KSP 1.1.3 Updated CRP to 0.5.4 Added new property orderBySwitchName which if set true will order the TankSwitchName list in alphabetical order Added Flow mode is now preserved Added Initial tank selection now depends on initial resources on tank Added IFS to Xenon tank which preserves stock balance Added When HasGui is true, it will stabilize the switch control when switching between tanks , making switching less cumbersome Added boolean property overrideMassWithTankDividers which if set to true, will make the tankResourceMassDivider override all other mass modifiers. Added Real Solar System support for IFS LFO tanks. which will increase mass ratios to SMURFF level Added property tankResourceMassDividerAddition, which will add itself to ResourceMassDividerAddition to determine the tank mass fraction Added LqdHydrogen to IFS LFO tanks Balance: For all parts affected by IFS Stock Script, replaced Structural by Oxidizer, sort tank in Alphabetical order, enabled HasGui, stabilizing switching in Balance: Re-balanced IFS demo tanks to preserve stock balance Balance: Hydrogen & Hydrolox will now only be included on stock tanks when KSPI-E is installed Fixed mass changing when switching in flight with empty tank Fixed setting KSP version MiniAVC config file Fixed misspelling of Structural in script Fixed issues where sorted tank list would receive wrong custom mass and custom cost Version 2.0.7 for Kerbal Space Program 1.1.2 Released on 2016-05-23 Updated to KSP 1.1.2 Added new field tankTechReq which specifies required tech Added new field tankResourceMassDivider which specifies WetMass / DryMass ratio Added a Module Manager script which adds IFS to all LFO tanks that didn't contain any fuel switch already Added 2 new properties: inEditorSwitchingTechReq and inFlightSwitchingTechReq which allows specifying the technology at which the ability to switch tanks becomes available Added field hasSwitchChooseOption (for all part modules) which allows you to hide the UI Switch Option Added field useTextureSwitchModule which allows your TextureSwitch to follow FUelSwitch part module Added Resource and Mesh Switch buttons by UIChooseOption , which requires less space and gives some indication how many switch options there are. Added new field tankSwitchNames, which specifies the names displayed in the switcher (notice it length is limited) Added Button TextureSwitch by UI Switch Option Added Improved Part Info screen, added resource amount Added MM scripts adds Cryogenic maintenance and boil-off for LqdHydrogen when KSPI-E is installed Balance: floating point numbers are represented with 4 digits instead of 6 Balance Removed RF Hydrolox from MM script Fixed Tweakscale erros when switching size Fixed potential problem with phantom forces when IFS mass is not configured explicitly Fixed floating problem when downsizing some tanks Fixed exceptions while switching to Liquid Fuel in radially attached tanks Fixed black screen when scaling down tanks Fixed MM patch will not remove initial LFO tank resources and will leave tri state fuel tanks alone Fixed compatibility with Tri fuel tanks Fixed dependancy on KSPI-E Fixed Issue with too high tank mass with non resized tanks and Tweakscale v2.2.12 installed Fixed issue with tank Index showing in Flight Version 1.26 for Kerbal Space Program 1.1.1 Released on 2016-04-30 Updated to KSP 1.1.1 Updated CRP to 0.5.1 Added new Feature: new property baseResourceMassDivider which allows easy configuration of DryMass/Wet Mass ratio. Drymass = basePartMass + tankMass + ((resource.MaxAmount * resource.density) / baseResourceMassDivider ) Added new field visible in VAB : Mass Ratio which will display the effective DryMass to WetMass ratio. Version 1.24 for Kerbal Space Program 1.1 Released on 2016-04-24 Update to 1.1. Updated CRP to 0.5 Fixed Issue where IFS was generating negative mass, which could result in Anti-gravity/Floating effect and infinite Inertia Fixed Compatibility with KER and MechJeb Fixed mass of rescaled tanks while in the VAB , allowing tools like KER and Mechjeb to calculate Delata V more accurately Will now correctly display Dry-mass, Wet-Mass and Total Mass in the VAB and in flight Edited January 22 by FreeThinker Quote Link to comment Share on other sites More sharing options...
LitaAlto Posted April 30, 2015 Share Posted April 30, 2015 Is this compatible with Firespitter? More to the point, if you're only using Firespitter for fuel switching, can you replace it with this mod and expect it to work? Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted April 30, 2015 Author Share Posted April 30, 2015 (edited) Is this compatible with Firespitter? More to the point, if you're only using Firespitter for fuel switching, can you replace it with this mod and expect it to work?Yes, you can. It uses the same parameters, and introduces 3 additional parameters (see clarification in OP). So you only need to rename FSTweakScale to InterstellarTweakScale and optionally added the extra configuration values Edited May 5, 2015 by FreeThinker Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted April 30, 2015 Author Share Posted April 30, 2015 [h=2]Version 0.3 for Kerbal Space Program 1.0[/h] Released on 2015-04-30Added InterstellarTextureSwitch which allows a part to switch its TextureAdded InterstellarMeshSwitch which allows a part to switch its Mesh Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 1, 2015 Author Share Posted May 1, 2015 (edited) Version 0.4 for Kerbal Space Program 1.0 Released on 2015-05-01Fixed dll .net version to 3.5 Fixed spelling in name Module : InterstellarFuelSwitch instead of InsterstellarFuelSwitch (with extra s) Edited May 1, 2015 by FreeThinker Quote Link to comment Share on other sites More sharing options...
Nertea Posted May 3, 2015 Share Posted May 3, 2015 Hey FreeThinker, think I have found a bug.Using a part with the following FuelSwitch code, which has many tanks and one non-tank partMODULE { name = InterstellarFuelSwitch resourceNames = Structural;LiquidFuel,Oxidizer;MonoPropellant,ElectricCharge;XenonGas;ArgonGas;LqdHydrogen;LqdHydrogen,Oxidizer resourceAmounts = 0;1260,1540;1400,9600;112000;2320000;14000;12750,1275 basePartMass = 0.40 tankMass = 0.05;1.8;0.53;7.67;3.15;0.65;0.80 tankCost = 50;1964.4;16710;469850;30160;2367;3367 displayCurrentTankCost = true hasGUI = False }When cycling through tank types, going to the Structural type from the LF/O or LH2/O type does not remove the resources correctly. Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 3, 2015 Author Share Posted May 3, 2015 (edited) Hey FreeThinker, think I have found a bug.Using a part with the following FuelSwitch code, which has many tanks and one non-tank partWhen cycling through tank types, going to the Structural type from the LF/O or LH2/O type does not remove the resources correctly.I'm not sure, but I believe the structural part has come obsolete. In the past it might have been useful to create empty tanks which could be filled at a later time. With the interstellar Fuel switch, you can simply empty a tank by removing the resources the regular way, so there would be no need to have a structural type.But it might be useful if you want to force no storage at all and switch to when you want to fill it- - - Updated - - -[h=2]Version 0.5 for Kerbal Space Program 1.0[/h] Released on 2015-05-03Fixed Switching to Structural configurationFixed mass scaling with Tweakscale Edited May 3, 2015 by FreeThinker Quote Link to comment Share on other sites More sharing options...
ManuxKerb Posted May 3, 2015 Share Posted May 3, 2015 HiI think Fuel switch causes this bug in teakscale: http://forum.kerbalspaceprogram.com/threads/112693-1-0-2-TweakScale-v2-1%28May-2%29-recompile-new-Stock-part/page17 Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 4, 2015 Author Share Posted May 4, 2015 The Fuel Switch does not affect size Scaling except for Mass and Resource amount. Quote Link to comment Share on other sites More sharing options...
pellinor Posted May 4, 2015 Share Posted May 4, 2015 The Fuel Switch does not affect size Scaling except for Mass and Resource amount.Exactly. In the reported case the size is right and the resource amounts are wrong. This once worked with the old FSFuelSwitch, though I do not know exactly how. Can you tell what you changed to improve the interaction with TweakScale? On the TweakScale side I don't find anything special treatment for resources. They are just configured to use relative scaling. So whenever a part is rescaled I look into the part (not the prefab) and scale whatever resources are there. In the reported case of a scaled stock tank, I probably scale the original contents, and you overwrite them with the (unscaled) fuelSwitch values. So maybe something goes wrong with the scaling of these values, or they are read from the prefab instead of the part? (Just throwing some guesses into the room here)I also see possible coflicts with mass and cost (if you manipulate it too). I guess it's best to test these once the resources work together. Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 4, 2015 Author Share Posted May 4, 2015 (edited) I thought about this, but people seem to forget to add the following 2 properties to the InterstelarFuelSwitch PartModule volumeMultiplier = 1massMultiplier = 1and a Tweakscale exponent for InsterstellarFuelSwitch TWEAKSCALEEXPONENTS{ name = InterstellarFuelSwitch volumeMultiplier = 3 massMultiplier = 2.5}Together they allow tweakscale to properly adjust the volume and mass of the tank when resizing.I think I have a solution, we could add A little script (to Tweakscale) which will add these lines to every InterstellarFuelSwitch if it's missing, the TWEAKSCALEEXPONENTS should be added to Tweakscale exisitng list of exponents Edited May 4, 2015 by FreeThinker Quote Link to comment Share on other sites More sharing options...
pellinor Posted May 4, 2015 Share Posted May 4, 2015 (edited) I thought about this, but people seem to forget to add the following 2 properties to the InterstelarFuelSwitch PartModulevolumeMultiplier = 1massMultiplier = 1Is this needed? My understanding is that you can initialize those values with 1 in the declaration of the kspField in the c# source. When the module is loaded from a config node, each line in the config overrides the respective kspField. So you only need a config line if you want something different from the default. TweakScale does not know about config nodes, it only knows kspFields inside partModules. For example it can scale maxFuelFlow which seems to be a kspField in the new engine modules, even if it does not appear in the part configs. PS: now that I see the mass multiplier, you probably just overwrite my changes like with the resource nodes. So everything should work well.- - - Updated - - -FreeThinker has exceeded their stored private messages quota and cannot accept further messages until they clear some space.I'll gladly add the exponent in the next TweakScale version. To avoid conflicting versions, I'll write up some MM patch so it doesn't show up twice if yours is present. It would be best if you keep it in your download for a while until the current version of TweakScale has become extinct. Looking into your download I can see why people tend to throw away stuff they shouldn't. The fuelswitch download bundles a generic functionality for broad use (the fuelswitch module) with content that looks interstellar-specific (the resources and parts). If this is meant to be included in other mods, it would be cleaner to package only the minimum that everyone would need to include. Edited May 4, 2015 by pellinor Quote Link to comment Share on other sites More sharing options...
pellinor Posted May 4, 2015 Share Posted May 4, 2015 Did a quick test with the tanks from your download, and I think there is a bit more happening. The TWEAKSCALEEXPONENTS is there, also the multiplier config values are set, but I see all sorts of reverting (e.g. when changing fuel type of a scaled tank). So the problem is not people forgetting config lines. Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 4, 2015 Author Share Posted May 4, 2015 (edited) Did a quick test with the tanks from your download, and I think there is a bit more happening. The TWEAKSCALEEXPONENTS is there, also the multiplier config values are set, but I see all sorts of reverting (e.g. when changing fuel type of a scaled tank). So the problem is not people forgetting config lines.note, there is a small speller error in the name of the TWEAKSCALEEXPONENTS, it's easy to overlook (an additional s)- - - Updated - - -[h=2]Version 0.7 for Kerbal Space Program 1.0.2[/h] Released on 2015-05-04Dll Updated to KSP 1.0.2.Fixed Tweakscale exponent having the wrong nameAttempt to add missing properties to all Parts containing InterstellarFuelSwitch Edited May 4, 2015 by FreeThinker Quote Link to comment Share on other sites More sharing options...
pellinor Posted May 4, 2015 Share Posted May 4, 2015 note, there is a small speller error in the name of the TWEAKSCALEEXPONENTS, it's easy to overlook (an additional s)Wow, this one was hard to find. Now everything works as expected. I also tested removing the "mass/volumeMultiplier = 1" lines on the stack gas tank from the download, and it still works. So you don't need these lines because the fields are already initialized to 1.0 when the module is constructed. Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 4, 2015 Author Share Posted May 4, 2015 Wow, this one was hard to find. Now everything works as expected. I also tested removing the "mass/volumeMultiplier = 1" lines on the stack gas tank from the download, and it still works. So you don't need these lines because the fields are already initialized to 1.0 when the module is constructed.Great to know Tweakscale changes public fields which get a default value. Still the TWEAKSCALEEXPONENT is needed to make it function. Will you add it Tweakscale exponents list, that way I can remove it from mine mods and always be sure it get's properly scaled when Tweakscale is used. Quote Link to comment Share on other sites More sharing options...
Honeybadga Posted May 4, 2015 Share Posted May 4, 2015 Is it just me or are LF tanks not showing up in the editor when you filter for resources with IFS installed? Would it be possible to have all the tanks show their default contents in the parts list? Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 4, 2015 Author Share Posted May 4, 2015 Part Filter extension based on part resources, will not work, unless you put all possible resources in the part file. Quote Link to comment Share on other sites More sharing options...
pellinor Posted May 4, 2015 Share Posted May 4, 2015 Great to know Tweakscale changes public fields which get a default value. Still the TWEAKSCALEEXPONENT is needed to make it function. Will you add it Tweakscale exponents list, that way I can remove it from mine mods and always be sure it get's properly scaled when Tweakscale is used.I'll gladly add the exponent in the next TweakScale version. To avoid conflicting versions, I'll write up some MM patch so it doesn't show up twice if yours is present. It would be best if you keep it in your download for a while until the current version of TweakScale has become extinct. (I didn't respond to your pm because your inbox is/was full) Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 5, 2015 Author Share Posted May 5, 2015 Version 0.8 for Kerbal Space Program 1.0.2 Released on 2015-05-05NEW: Will now display the mass of every stored resourceNotice it displays the Mass of LqdHydrogen in ton while LqdOxygen is displayed in kg Quote Link to comment Share on other sites More sharing options...
Eleven Posted May 6, 2015 Share Posted May 6, 2015 Thanks for pointing this out to me FreeThinker...Can someone take a look at this cfg I put together for switching Stock Tanks between LFO/L/O?I checked it and it works, I just want to make sure that I have numbers correct and I haven't forgotten anything that could be game changing or game breaking://Stock Fuel Switch Between LF,O;L;O//@PART[Size3LargeTank]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 6480,7920;12960;15840 basePartMass = 9 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[Size3MediumTank]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 3240,3960;6480;7920 basePartMass = 4.5 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[Size3SmallTank]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 1620,1980;3240;3960 basePartMass = 2.25 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[fuelTank3-2]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 2880,3520;5760;7040 basePartMass = 4 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[fuelTank1-2]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 1440,1760;2880;3520 basePartMass = 2 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[fuelTank2-2]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 720,880;1440;1760 basePartMass = 1 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[fuelTank4-2]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 360,440;720;880 basePartMass = 0.5 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[fuelTankSmallFlat]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 45,55;90;110 basePartMass = 0.0625 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[fuelTankSmall]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 90,110;180;220 basePartMass = 0.125 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[fuelTank]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 180,220;360;440 basePartMass = 0.25 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[fuelTank_long]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 360,440;720;880 basePartMass = 0.5 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[toroidalFuelTank]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 27,33;54;66 basePartMass = 0.0375 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[miniFuelTank]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 18,22;36;44 basePartMass = 0.025 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[mk2_1m_Bicoupler]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 180,220;360;440 basePartMass = 0.29 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[mk2_1m_AdapterLong]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 360,440;720;880 basePartMass = 0.57 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[mk2SpacePlaneAdapter]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 180,220;360;440 basePartMass = 0.29 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[adapterMk3-Mk2]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 900,1100;1800;2200 basePartMass = 1.43 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[adapterMk3-Size2]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 1125,1375;2250;2750 basePartMass = 1.79 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[adapterMk3-Size2Slant]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 1125,1375;2250;2750 basePartMass = 1.79 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[adapterSize2-Mk2]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 360,440;720;880 basePartMass = 0.57 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[adapterSize2-Size1]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 360,440;720;880 basePartMass = 0.57 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[adapterSize2-Size1Slant]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 360,440;720;880 basePartMass = 0.57 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}@PART[adapterSize3-Mk3]{ MODULE { name = InterstellarFuelSwitch resourceGui = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer resourceAmounts = 1125,1375;2250;2750 basePartMass = 1.79 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }} Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 7, 2015 Author Share Posted May 7, 2015 (edited) A bit boring, but everything looks fine.I would personally remove the "," in the GuiNames , instead replace is with a space or "/" or think of a better name like LFOEDIT: by the way, notice is will by default Display its full name with Fuel mass in ton/kg/g Edited May 7, 2015 by FreeThinker Quote Link to comment Share on other sites More sharing options...
Enceos Posted May 7, 2015 Share Posted May 7, 2015 @FreeThinker Can InterstellarMeshSwitch be used to mirror wings? Is there an example config for that?P.S. Have you taken a peek into the texture switching of stock fairings? Quote Link to comment Share on other sites More sharing options...
FreeThinker Posted May 7, 2015 Author Share Posted May 7, 2015 @FreeThinker Can InterstellarMeshSwitch be used to mirror wings? Is there an example config for that?P.S. Have you taken a peek into the texture switching of stock fairings?Sorry, I don't now what you talking about. This is a Fuel Tank Mod, not a wings mod. Perhaps it could switch the mesh to something that resembles a a wing or something. Quote Link to comment Share on other sites More sharing options...
Eleven Posted May 7, 2015 Share Posted May 7, 2015 A bit boring, but everything looks fine.I would personally remove the "," in the GuiNames , instead replace is with a space or "/" or think of a better name like LFOEDIT: by the way, notice is will by default Display its full name with Fuel mass in ton/kg/gOK it's still boring, but I did 'spice it up' a little, I like the idea of being able to have empty tanks, wonder if I can set them to accept ore as well? (Trying to keep it as Stock as possible)@PART[Size3LargeTank]{ MODULE { name = InterstellarFuelSwitch resourceGui = LFO;Liquid Fuel;Oxidizer;Empty resourceNames = LiquidFuel,Oxidizer;LiquidFuel;Oxidizer;Structural resourceAmounts = 6480,7920;12960;15840;0 basePartMass = 9 volumeMultiplier = 1 massMultiplier = 1 displayCurrentTankCost = true hasGUI = true availableInFlight = true availableInEditor = true showInfo = true }}One thing I did notice, the cost of the tank in Career mode does not change, no matter which resource is in it, even if it's empty. Can I add something here to account for that? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.