Skip to content

SimpleAdjustableFairings v1.8.0 for KSP 1.8.1

Compare
Choose a tag to compare
@blowfishpro blowfishpro released this 25 Mar 06:53
  • Add enabled attribute to model data (default true)
    • Used for part switching to disable a particular piece of the fairing (since eliminating the node wouldn't do anything)
  • Send OnPartModelChanged event so other modules can respond to changes in the model
  • Listen for ModuleDataChanged to rebuild fairing
    • Use requestNotifyFARToRevoxelize and requestRecalculateDragCubes attributes of event details if present rather than recalculating aero properties ourself, that ensures it's only done once per cycle
  • Use better method of recalculating drag cubes
  • Send/listen for DragCubesWereRecalculated and FarWasNotifiedToRevoxelize to make sure actions are only done once per cycle