Skip to content

Releases: blowfishpro/B9PartSwitch

B9PartSwitch v2.20.0 for KSP 1.12.3

21 Mar 01:54
3590e19
Compare
Choose a tag to compare

v2.20.0

  • Recompile against KSP 1.12.3
  • Add new allowSwitchFromInFlight option to subtypes, if a subtype
    with this set to true is selected it can't be switched off of in
    flight
  • Add Italian localization

B9PartSwitch v2.19.0 for KSP 1.12.2

04 Dec 21:36
1149556
Compare
Choose a tag to compare

v2.19.0

  • Recompile against KSP 1.12.2

B9PartSwitch v2.18.0 for KSP 1.11.2

18 Mar 06:31
Compare
Choose a tag to compare
  • 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

29 Jul 06:09
Compare
Choose a tag to compare
  • Recompile against KSP 1.10.1
  • Update Spanish localization, add German and Chinese localization

B9PartSwitch v2.16.0 for KSP 1.9.1

31 Mar 07:52
Compare
Choose a tag to compare
  • 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 \
    • 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)
  • Implement custom handling for ModuleRCSFX
    • Disable unused effects when switching based on runningEffectName
  • 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 group
    • uiGroupDisplayName - 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
    • uiGroupName - unique identifier of the group
    • uiGroupDisplayName - 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), or ModuleSimpleAdjustableFairing

B9PartSwitch v2.15.2 for KSP 1.9.1

28 Mar 22:25
Compare
Choose a tag to compare
  • Fix ModuleJettison shrouds disappearing in flight (again)

B9PartSwitch v2.15.1 for KSP 1.9.1

28 Mar 02:58
Compare
Choose a tag to compare
  • 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

26 Mar 02:49
Compare
Choose a tag to compare

Recompile against KSP 1.9.1

B9PartSwitch v2.14.0 for KSP 1.8.1

25 Mar 06:45
Compare
Choose a tag to compare
  • Fix non-unique aspects complaining when present on more than one module
  • Generic material modifiers
      • MATERIAL nodes on subtypes
      • transform defines GameObjects on which to use renderers
      • baseTransform defines GameObjects and children on which to use renderers
      • FLOAT - modifies a float property
        • shaderProperty - name of the shader property to modify
        • value - float to set the value to
      • COLOR - modifies a color property
        • shaderProperty - 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 as TEXTURE 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 to
        • isNormalMap - whether to access the texture as a normal map or not (default false)
        • shaderProperty - shader property to modify the color on
          • Default _MainTex if isNormalMap = false
          • Default _BumpMap is isNormalMap = true
  • 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 and requestRecalculateDragCubes, which can be used to request FAR/drag cubes updates at the end of the cycle
  • Transform move/rotation/scale now affect drag cubes/FAR
  • Send/listen for DragCubesWereRecalculated and FarWasNotifiedToRevoxelize 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

23 Jan 05:29
Compare
Choose a tag to compare
  • 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