Skip to content

linuxgurugamer/ODFCr

 
 

Repository files navigation

On Demand Fuel Cells Refueled (ODFCr)

Mod v0.0.1.9 KSP 1.7.x CKAN listed

Formerly known as On Demand Fuel Cells (ODFC)

zer0Kerbal adopts for curation a continuation of On Demand Fuel Cells (ODFC) by `Orum', now continued by the cooperative efforts of 4x4cheesecake, LinuxGuruGamer, and zer0Kerbal.

ODFC PAW

On Demand Fuel Cells (ODFC) is a plugin to simulate fuel cells in Kerbal Space Program (KSP), and do a better job of it than stock's use of a resource converter. The main difference is it only generates electricity when it's really needed (batteries almost empty), and otherwise lets electricity of a craft float up and down, as it might in a solar powered vehicle when the sun is eclipsed by another celestial body. It also allows fuel cells to generate byproducts, aimed at supporting life support mods like TACLS.

The plugin requires a set of Module Manager patches to function, as it does not do anything unless integrated into a part. There are two different sets of patches available on CKAN or SpaceDock. One set that copies the fuel cells from Stock, Universal Storage 2, Jatwaa Demolitions Co, and Solid Fuel Cells (soon more) and replaces the stock modules with ODFC with three modes (four if Community Resource Pack is installed correctly) of operation. Also adds a 0.5 EC/s multimode fuel cell to all stock command pods (easily disabled since in separate patch) Another set that modifies the same set of parts instead of copying them.

Features:

  • adjustable fuel cell use - much more than just On/Off operation
  • multiple fuel modes (serial usage - one mode at a time)
  • variable activation threshold
  • configurable to produce byproducts (so O+H2 = EC + H2O)
  • very small memory footprint
  • Brown and Black out protection assistance
  • PAW (Part Action Window / Right Click Menu) grouping with autocollapse, click the down arrow to drop the ODFC control panel down (KSP 1.7.1).
  • more features coming soon

Installation Directions (assumes basic KSP mod installation knowledge):

  • Extract to your KSP folder.
  • Install related ModuleManager patches.

Summary Changelog

See ChangeLog for full details of mod changes


#### STATUS: * ***Initial-Release***

0.0.1.9 (this is actually 1.1.1.9 and next release will switch to 1.1.2.0)

  • added item grouping in PAW.
  • [NEW][BUG 0.0.1.9a] - B9 module swapping - needs onLoad etc update to make work
  • [NEW][BUG 0.0.1.9b] next fuel mode should not be visible when only one mode
  • [D][BUG 0.0.1.9c] mangled config caused this. added error checking in cfg.cs - thank you LGG for this code.
  • [NEW][BUG 0.0.1.9c] ERROR!'s out when there is only one fuel mode. Stock pod patch only adds one mode (monoprop - because pods usually have monoprop if they have any fuel). This bug was temporarily fixed by added a second mode(it can be the same as the first so it appears like there only one fuel mode) in the patch (LFO).
  • Split patches into two categories, copy (green text) and modify (blue text)
  • Copy Patches now automatically rename the part with an ODFC prefix
  • Copy/Modify patches all add 50 cost, 0.001 mass, 5 EC battery, and 5 MP tank to all parts, even if part already has a battery / monoPropellant tank.
  • Added support for the following: JatwaaDemolitionsCo, SolidFuelCell, StockPods, UniversalStorage2,
  • Patches coming for the following: Bluedog Design Bureau, RLA, MiningExpansion, UniversalStorage
  • ad hoc, ergo promptus hoc: dropping the 'v' on all future version numbering.

Known Issue Tracker

  • [BUG 0.0.1.6a] Does not seeming work with BackgroundProcessing or Background Resources mods (being looked at) (so ODFC doesn't work when doesn't have focus). Should not have both BackgroundProcessing and BackgroundResources installed.

#### Requires: - ****Parts designed to use, or patches to modify existing parts**** *This mod (addon) does nothing by itself.*

Dependencies

  • Kerbal Space Program v1.7.3, may work on earlier versions
  • Module Manager
  • ODFC Modify Patches and/or - ODFC Copy Patches

Supports

  • AllYAll - supports by removing
  • Community Resource Pack
  • BackgroundProcessing (exclusive to BackgroundResources) (see known issues list)
  • Background Resources (exclusive to BackgroundProcessing) (see known issues list)
  • Kerbal Change Log

Suggests (These mods have Fuel Cells that can benefit from ODFC):

  • Hot Beverages Irradiated
  • Bluedog Design Bureau
  • Mining Expansion
  • Univeral Storage II
  • Universl Storage
  • RLA Reborn
  • Solid Fuel Cells
  • Jatwaa Demolitions Co (coming soon)
  • KGEx (coming soon)

Does not work with parts from (because they use own generation MODULES)

  • Kethane
  • USI
  • @Angel-125's mods (Buffalo, Pathfinder, et al)

Conflicts:

  • ODFC - On Demand Fuel Cells by Orum >-- ORIGINAL (outdated)--<

#### Known issues: - ![Background Processing]() - ![Background Resources]() - ![B9Partswitch]() - any mod that requires to use onLoad() instead of onStart() to update a part
## links to original: On Demand Fuel Cells (ODFC) by `Orum' Licensed under CC BY-NC-SA-4.0 * ![KSP Forums](https://forum.kerbalspaceprogram.com/index.php?/topic/138431-112-*) * ![Spacedock](https://spacedock.info/mod/618/ODFC%20-%20On%20Demand%20Fuel%20Cells) * ![Dropbox](https://www.dropbox.com/s/0rpp4138jumvaxq/ODFC_v1.1.zip?dl=0)
## License

CC 4.0 BY-NC-SA content licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

You may modify for personal use. You may redistribute content with attribution to original author nli2work, plus any other attribution where required. You must redistribute under identical license, (CC BY-NC-SA 4.0)(https://creativecommons.org/licenses/by-nc-sa/4.0).

@Orum (the mod's original author) has given permission to release this under CC-BY-NC-SA-4.0.

Be Kind: Lithobrake, not jakebrake! Keep your Module Manager up to date

All bundled mods are distributed under their own licenses
All art assets (textures, models, animations) are distributed under an All Rights Reserved License.
v0.0.1.9 original: 11 Aug 2018 zed'K | updated: 30 Aug 2019 zed'K & 4x4cheesecake & LinuxGuruGamer
  • Stack/Stock fuel cells balance survey

  • Have a patch to add?

  • Bug report?

  • feature request?