Releases: blowfishpro/B9PartSwitch
Releases · blowfishpro/B9PartSwitch
B9PartSwitch v2.12.1 for KSP 1.8.1
Recompile against KSP 1.8.1
B9PartSwitch v2.12.0 for KSP 1.8.0
- Recompile against KSP 1.8.0
- Stop moving the switcher to the end of the part action window
- Remove
bottomOfWindow
paramter
B9PartSwitch v2.11.1 for KSP 1.7.3
- Fix default subtype not activating on the icon
B9PartSwitch v2.11.0 for KSP 1.7.3
- Allow switching UI to not be moved to the end of the part action window
- ModuleB9PartSwitch now accepts
bottomOfWindow = false
which will leave it in place - Modules without this new parameter are unaffected
- ModuleB9PartSwitch now accepts
- Allow transforms to be scaled
TRANSFORM {}
nodes now accept ascaleOffset
which multiplies the transform's local scalescaleOffset
either accepts a single number for all 3 axes or 3 numbers for x, y, z which can be separated by spaces, tabs, or commas
- Fix plume switching for ModuleEnginesFX
- Still doesn't support switching in flight
- Fix Texture switches getting stuck on copied parts
- Fix node offsets not respecting part rotation when attempting to move the part with the switch
B9PartSwitch v2.10.1 for KSP 1.7.3
- Add missing Russian localization keys
- Fix surface attach node modifiers not actually doing anything
- Fix surface attach node modifiers checking whether the part allows surface attach to it rather than to parent part
B9PartSwitch v2.10.0 for KSP 1.7.3
- Use funds symbol for cost in tooltips
- Fix vessel size including disabled objects
- add new
upgradeRequired
field toSUBTYPE
s- References the name of a
PARTUPGRADE
require do unlock the subtype - At least one subtype on every switcher must have no tech restriction (i.e. unlocks with the part), otherwise it will complain and remove the restriction from the first subtype
- All subtypes are unlocked in sandbox regardless of whether upgrades are applied
- Warning if the upgrade doesn't exist
- If you attempt to load a craft with a locked subtype you get a warning that it was replaced with the highest priority unlocked subtype
- References the name of a
- Add
defaultSubtypePriority
toSUBTYPE
s- Number (float) that determines a subtype's priority as the "default" subtype (i.e. the one that is chosen when you freshly add the part).
- The subtype with the highest priority that is also unlocked will be chosen
- If two subtypes have the same priority and both are unlocked, it will choose the first
- The default value is zero.
- Add basic implementation of module switching
- HIGHLY EXPERIMENTAL
- Subtypes now accept a
MODULE
node- inside is an
IDENTIFIER
node which is used to identify the module - it must have a
name
which is the same as the module- it can have any other fields that are used to identify the module
- e.g.
engineID
onModuleEngines
- e.g.
- Identifying the module by nodes is not currently supported
- it can have any other fields that are used to identify the module
- It accepts a
DATA
node which provides new data to be loaded into the module - It accepts a
moduleActive = false
value which causes the module to be disabled
- inside is an
- Not everything will work initially, custom handling will have to be added for some modules
- Some modules are blacklisted for loading new data and disabling. This list is subject to change.
ModulePartVariants
ModuleB9PartSwitch
ModuleB9PartInfo
ModuleB9DisableTransform
FSfuelSwitch
FSmeshSwitch
FStextureSwitch
FStextureSwitch2
InterstellarFuelSwitch
IntersteallarMeshSwitch
InterstellarTextureSwitch
B9PartSwitch v2.9.0 for KSP 1.7.3
- Implement new switching UI based on the stock variant switcher
- Have subtype switching buttons show some info about the subtype being switched to in a tooltip
- By default shows resources (including parent), mass, cost, max temperature, max skin temperature, crash tolerance
- Also shows
descriptionSummary
anddescriptionDetail
from subtype, before and after auto-generated info respectively, if present
- 4 new fieds on
SUBTYPE
descriptionSummary
- any info here will be put in the subtype switching tooltip before the auto-generated info - make it briefdescriptionDetail
- any info here will be put in the subtype switching tooltip after the auto-generated info - go nutsprimaryColor
- color to use in the left part of the switching button- if not specified, use the tank type's primaryColor
- if that's not specified, use white
secondaryColor
- color to use in the right part of the switching button- if not specified, use the tank's secondaryColor
- if that's not specified, use the subtype's primaryColor
- if that's not specified, use the tank's primaryColor
- if that's not specified, use gray
- 2 new fields on
B9_TANK_TYPE
primaryColor
- color to use in the left part of the switching button i they subtype does not specify one. If not specified, common resource combinations will be used.secondaryColor
- color to use in the right part of the switching button i they subtype does not specify one. If not specified, common resource combinations will be used.
- add default colors for common resources
ResourceColorLiquidFuel
ResourceColorLqdHydrogen
ResourceColorLqdMethane
ResourceColorOxidizer
ResourceColorMonoPropellant
ResourceColorXenonGas
ResourceColorElectricChargePrimary
ResourceColorElectricChareSecondary
ResourceColorOre
- Automatically apply resource colors to common resource combinations in tanks (if colors are not specified by the tank or subtype):
- LiquidFuel
- LiquidFuel/Oxidizer
- LqdHydrogen
- LqdHydrogen/Oxidizer
- LqdMethane
- LqdMethane/Oxidizer
- Oxidizer
- MonoPropellant
- XenonGas
- Ore
- ElectricCharge
B9PartSwitch v2.8.1 for KSP 1.7.3
Recompile against KSP 1.7.3
B9PartSwitch v2.8.0 for KSP 1.7.1
- Recompile against KSP 1.7.1
- Fix part action window showing removed resources in KSP 1.7.1
- Add Russian localization
B9PartSwitch v2.7.1 for KSP 1.7.0
- Fix part into button being shown when there's no info to display
- Provide more context for subtype initialization errors in the warning dialog