Skip to content

B9PartSwitch v2.14.0 for KSP 1.8.1

Compare
Choose a tag to compare
@blowfishpro blowfishpro released this 25 Mar 06:45
  • 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