Skip to content

DEV branch

ValiZockt edited this page Jul 15, 2020 · 2 revisions

The DEV-branch is a place where i dump stuff, im not confident enough to put into a release/master. All stuff uploaded there is very WIP and is something i don't recommend downloading, just if you want to test stuff out im experimenting with. Everything that's in this branch may never see daylight, everything is subject to change.

Config Generation System

The biggest change that was recently pushed to the DEV-branch is a auto-generating config system through keywords. Instead of having to write hundreds of lines of configs for just one simple engine, this can cut down these configs to low as 6 lines.

I only integrated two Fuel Mixtures, yet (Kerolox + Hydrolox). More to come soon. A simple RealFuels-Config can now look like this:

@PART[<partname>]:FOR[RealFuels_Stock_00]
{
  %simulateUllage = true
  %isPressureFed = false

  %engineBaseMode = Hydrolox
  %engineBaseIgnition = 4
}

This will creates a Hydrolox configuration (ModuleEnginesRF and ModuleEnginesConfigs) for a specified engine () with 4 ignitions.


To add a second configuration for said engine, you may use the engineAddition keys:

@PART[<partname>]:FOR[RealFuels_Stock_00]
{
  %simulateUllage = true
  %isPressureFed = false

  %engineBaseMode = Hydrolox
  %engineBaseIgnition = 4

  %engineAdditionMode = Kerolox
  %engineAdditionIgnition = 1
}

This creates a fuel config with Hydrolox as its default fuel with 4 ignitions and a optional second Kerolox fuel mixture with one ignition.


All keys with all valid values are listed here. As said only Kerolox and Hydrolox are yet implemented:

Key Valid Values
simulateUllage true OR false
isPressureFed true OR false
engineBaseMode Kerolox OR Hydrolox
engineAdditionMode Kerolox OR Hydrolox
engineBaseIgnition -1 to Infinity
engineAdditionIgnition -1 to Infinity
Clone this wiki locally