SimpleFuelSwitch CKAN

License: CC-BY-NC-SA 4.0

Game Version: 1.7.3

Downloads: 5,795

Author: Snark

Mod Website: Forum Thread

Followers: 37

Information Changelog Stats

What it does

  • Adds the ability to toggle between LFO and liquid-fuel-only for stock fuel tanks.
  • Configurable via ModuleManager; you can customize its behavior or support other mods.
  • Very lightweight. No new parts. No dependencies other than ModuleManager.
  • Third-party mod support includes the ability to switch resources based on part variants.
  • Ability to customize the format of resource display in the editor, via config.

How to install

Unzip the contents of "GameData" to your GameData folder, same as with most mods. (Note, includes ModuleManager.)


How to use? What changes?

When you place a fuel tank in the VAB, there's a new "Fuel Type" button, which you can click to toggle among the fuel options.

LF LF

Click the button to pick the one you want. Then launch and fly your ship.

That's it. That's all there is to do.

Changes to the part info panel

Take a look at an LFO fuel tank's info panel in stock KSP. It looks like this:

stock info

With SimpleFuelSwitch installed, it changes to look like this:

SFS info

Notable changes:

  • Instead of showing the "wet" mass, it shows the "dry" mass. (Not by design... I just couldn't figure out how to make it not do this.)
  • Main info pane: Instead of showing units of each individual resource type, it shows total mass of each fuel option.
  • Detail panes at right: Instead of showing one pane per resource (with amount/mass/cost for each), it instead shows one pane per fuel option, listing each resource therein (by mass).

NOTE: If you'd prefer some other format for the resources display in these panels, you can customize it via config. See "Custom resource formatting" section below.

Other part changes

A few fuel tanks have been removed, now that this mod has made them redundant.

Rationale: With this mod, pretty much every stock LFO tank can be LF if you want, and vice versa. This means that there are some stock KSP tanks that are now completely superfluous-- i.e. there are a few cases where there are two stock tanks that are completely identical except for having one be LFO and the other be LF. With this mod in place, there's no longer any point to having such duplicates, so in the interest of removing part-tab clutter, these redundant parts have been removed.

(If you don't like that, you can just delete the Hide_redundant_parts.cfg file to restore them.)


Why would anyone want this?

Stock KSP has a glaring "hole" in its parts lineup: there aren't any good liquid-fuel tanks for rockets! Plenty of 'em for airplanes in the Mk2 and Mk3 sizes... but rockets get one itty-bitty 2-ton 1.25m tank, and that's it. mad

This mod aims to fix that hole by making it possible to just pick whichever fuel you want, simply and easily in the editor.

"But why would anyone want this mod, when there's already Interstellar Fuel Switch, which is so much fancier?"

Because Interstellar Fuel Switch is so much fancier, that's why. wink

Look, IFS is a great mod, been around for years, has had two-thirds of a million downloads just on SpaceDock alone. It's big, it's fancy, and clearly lots of people love it.

However... it's got a lot of stuff in there, such that I don't want to use it for my own gameplay. I like keeping KSP as simple as possible; I don't want to change gameplay mechanics in flight, I don't want to add new parts. Interstellar Fuel Switch does all kinds of stuff that I don't need or want (in-flight switching; very complex config options; many new tank models), and it also brings some dependencies along for the ride.

I want to keep my dependencies to a minimum; I don't need or want any new parts; I don't need fancy config options. All I want is a thing that lets me toggle stock tanks between LFO and LF in the editor, with no added dependencies, and this lets me do that.

So if you like Interstellar Fuel Switch and are using it already... then you don't need this mod. And that's fine. smile But if you've been looking for a lightweight alternative to IFS, hopefully this mod may be more your speed.


Third-party mod support

SimpleFuelSwitch behavior is entirely driven by config files, so it's easy to add support to other parts, either directly in part config or via ModuleManager.

Instructions here for how to work with the config, or just look at the config installed with the mod. If you have any questions, please ask me! smile

Note: In addition to having the ability to add a "choose resource type" button to a part (such as what I've done to the stock fuel tanks in my config), the mod also supports a feature that allows you to use part variants to select resource types. Thus, for example, if you're producing a life support mod that has "Chips", "Soda", and "Pizza" as three new resource types... you could create a "Snacks Container" with different variants for those, and tie them together in config so that when you switch variants in the editor it would automatically configure it to the correct resource type. See the examples folder on the github repo for how to do this.


Custom resource formatting

By default, SimpleFuelSwitch displays the resource amounts in the editor using mass only (unless it's a massless resource, then it shows units). However, if you prefer it to look different, the mod allows customizing the display via config (e.g. with a ModuleManager patch).

For details on the format specifiers, see comments in the SimpleFuelSwitch.cfg file that gets installed with the mod. There's also a sample config file in the github repo that shows how it's done.

Version 1.3.1 for Kerbal Space Program 1.7.3

Released on 2019-06-03

  • Fix a cosmetic bug resulting from a change in how KSP 1.7.1 handles right-click windows. (Thanks to Tonka Crash for pointing out.)

Download

Version 1.3 for Kerbal Space Program 1.7.1

Released on 2019-02-12

  • Add new feature to allow customizing the format of resource display in the editor, via config. (Thanks to Tonka Crash for suggesting.)
  • Update MM patches to appropriately use :FOR directives. (Thanks to Tonka Crash for catching.)
  • Update to latest ModuleManager, 4.0.2. (Thanks to RealKerbal3x for pointing out.)

Download

Version 1.2 for Kerbal Space Program 1.6.1

Released on 2019-02-01

  • Patch for TAC Life Support that reduces part count by using variants for switching resources.
  • The textures of "removed" LFO tanks are now available as variants on their LF equivalents. (Thanks to theonegalen for suggesting!)
  • Bugfix for issue with LF amount when switching fuel tanks, introduced in version 1.1.2. (Thanks to ExtremeSquared for reporting!)

Download

Version 1.1.2 for Kerbal Space Program 1.6.1

Released on 2019-01-28

DEPRECATED, DO NOT USE. This version introduces a bug; fixed in v1.2.

  • Bugfix: don't remove additional (i.e. unswitched) resources from parts
  • Bugfix: wasn't properly handling resources on ship load in certain edge cases
  • Some slight rearrangement of how some "redundant" parts are removed. (Thanks to Behemot for pointing out.)

Download

Version 1.1.1 for Kerbal Space Program 1.6.1

Released on 2019-01-21

  • Minor tweak that allows "no resources" as a switchable option. (Thanks to RealKerbal3x for suggesting.)

Download

Version 1.1 for Kerbal Space Program 1.6.1

Released on 2019-01-15

Download

Version 1.0.2 for Kerbal Space Program 1.6.1

Released on 2019-01-14

Fix some bugs involving NREs getting spammed in certain part-copying situations.

Download

Version 1.0.1 for Kerbal Space Program 1.6.1

Released on 2019-01-11

  • Fix a bug that caused hang on startup if a part is configured with resource amount = 0. (Thanks to TheKurgan for reporting.)
  • Fix a bug that caused engineer's report in editor not to be updated properly when switching resources. (Thanks to 4x4cheesecake for reporting, and to DMagic for explaining how to fix.)
  • Update the README.md file in the configs folder with additional explanation. (Thanks to Tyko for requesting clarification.)
  • Added Big-S Delta Wing to the list of LF-only parts that can now be switched to LFO. (Thanks to 4x4cheesecake for suggesting.)

Download

Version 1.0 for Kerbal Space Program 1.6.1

Released on 2019-01-10

No changelog provided

Download

Stats for SimpleFuelSwitch

Downloads over time

    New followers per day

    Top Referrers

    1. spacedock.info
    2. forum.kerbalspaceprogram.com
    3. www.spacedock.info
    4. www.google.com
    5. yandex.ru
    6. duckduckgo.com
    7. translate.googleusercontent.com
    8. www.bing.com
    9. www.google.fr
    10. translate.google.com

    Export Raw Stats

    Export Downloads

    Export Followers

    Export Referrals

    Raw stats are from the beginning of time until now. Each follower and download entry represents one hour of data. Uneventful hours are omitted.