Releases: blowfishpro/B9PartSwitch
Releases · blowfishpro/B9PartSwitch
B9PartSwitch v2.20.0 for KSP 1.12.3
v2.20.0
- Recompile against KSP 1.12.3
- Add new
allowSwitchFromInFlight
option to subtypes, if a subtype
with this set totrue
is selected it can't be switched off of in
flight - Add Italian localization
B9PartSwitch v2.19.0 for KSP 1.12.2
v2.19.0
- Recompile against KSP 1.12.2
B9PartSwitch v2.18.0 for KSP 1.11.2
- Recompile against KSP 1.11.2
- Fix modules getting force-enabled when new data is loaded
- Change remote AVC reference so that it notifies even if you change KSP
versions - Prevent exceptions caused by zombie parts
B9PartSwitch v2.17.0 for KSP 1.10.1
- Recompile against KSP 1.10.1
- Update Spanish localization, add German and Chinese localization
B9PartSwitch v2.16.0 for KSP 1.9.1
- Fix description of attach node mover (
SUBTYPE
->NODE
->positionOffset
) for error messages - Allow node size to be modified
SUBTYPE
->NODE
->size
- Takes an integer
- Will scale with TweakScale (and round to the nearest integer)
- Allow more flexible name matching in many places
- If it starts and ends with
/
, treat it as a regular expression - If it contains
*
or?
, treat those as wildcards (anything or one character respectively) - Otherwise treat it as a normal string
- If it starts with
\
, the next character is/
, and it ends with/
, eliminate the leading\
- If it starts with
- Implemented in the following places:
- attach node modifier node name (
SUBTYPE
->NODE
->name
) - transform toggle name (
SUBTYPE
->transform
) - node toggler name (
SUBTYPE
->node
) - material modifier transform names (
SUBTYPE
->MATERIAL
->transform
/baseTransform
) - texture modifier transform names (
SUBTYPE
->TEXTURE
->transform
/baseTransform
) - module modifier name (
SUBTYPE
->MODULE
->IDENTIFIER
->name
) - transform modifier transform names (
SUBTYPE
->TRANSFORM
->name
)
- attach node modifier node name (
- If it starts and ends with
- Implement custom handling for
ModuleRCSFX
- Disable unused effects when switching based on
runningEffectName
- Disable unused effects when switching based on
- Fix transforms not getting shown/hidden properly after another module updates the model
- Allow
ModuleB9PartSwitch
to have its fields and events placed in a group:uiGroupName
- unique identifier of the groupuiGroupDisplayName
- human readable name of the group to show in the UI
- New module for assigning PAW groups on other modules:
ModuleB9AssignUiGroups
- takes one or more
MODULE
nodes that each identify a module to have its UI group assigned- each one must have an
IDENTIFIER
node to identify the module- it must have a
name
which is the name of the module (wildcards and regex are allowed) - it can have any other fields that uniquely identify the module
- This is the same as the
IDENTIFIER
in a module switcher
- it must have a
- each one must have an
uiGroupName
- unique identifier of the groupuiGroupDisplayName
- human readable name of the group to show in the UI- only applies to fields/events that don't already have a group
- Cannot apply to
ModuleB9PartSwitch
,ModuleB9PartInfo
,ModuleB9AssignUiGroups
(itself), orModuleSimpleAdjustableFairing
- takes one or more
B9PartSwitch v2.15.2 for KSP 1.9.1
- Fix
ModuleJettison
shrouds disappearing in flight (again)
B9PartSwitch v2.15.1 for KSP 1.9.1
- Preserve drag cube weights when recalculating drag cubes
- Don't call drag cube update methods that will be called by the flight integrator anyway
- Ensure drag cubes aren't recalculated in flight regardless of configuration (it breaks things)
B9PartSwitch v2.15.0 for KSP 1.9.1
Recompile against KSP 1.9.1
B9PartSwitch v2.14.0 for KSP 1.8.1
- Fix non-unique aspects complaining when present on more than one module
- Generic material modifiers
-
MATERIAL
nodes on subtypestransform
defines GameObjects on which to use renderersbaseTransform
defines GameObjects and children on which to use renderersFLOAT
- modifies a float propertyshaderProperty
- name of the shader property to modifyvalue
- float to set the value to
COLOR
- modifies a color propertyshaderProperty
- name of the shader property to modify (default_Color
)color
- color to set the property to, can be specified in any of the regular formats (name, hex, RGB(A) list)
TEXTURE
modifies a texture property (same functionality asTEXTURE
nodes directly on the subtype)currentTexture
- name of current texture to match when building (not full path) (optional)texture
- path to new texture to switch toisNormalMap
- whether to access the texture as a normal map or not (default false)shaderProperty
- shader property to modify the color on- Default
_MainTex
ifisNormalMap = false
- Default
_BumpMap
isisNormalMap = true
- Default
-
- Listen for
OnPartModelChanged
event to reinitialize model - Send
ModuleDataChanged
to modules that have had their data changed- Include two attributes in the event details,
requestNotifyFARToRevoxelize
andrequestRecalculateDragCubes
, which can be used to request FAR/drag cubes updates at the end of the cycle
- Include two attributes in the event details,
- Transform move/rotation/scale now affect drag cubes/FAR
- Send/listen for
DragCubesWereRecalculated
andFarWasNotifiedToRevoxelize
to make sure actions are only done once per cycle - Fix drag cube updates possibly not actually being used
B9PartSwitch v2.13.0 for KSP 1.8.1
- Support changing
ModuleDeployableSolarPanel
chargeRate
- Get rid of some useless debug messages related to UI prefabs
- Fix UI breaking on switchers with tech restrictions if subtypes are unlocked out of order
- Fix texture switches breaking on inactive subtypes when a part is duplicated