Starwaster / AnimatedDecouplers

Extensions of KSP's decouplers that play animations
Other
13 stars 8 forks source link

AnimatedDecouplers

Extensions of KSP's decouplers that play animations

Forum Thread

https://forum.kerbalspaceprogram.com/index.php?showtopic=170880

Configure the same way as you would standard decoupler modules but it now accepts animationName, which is the name of an animation on the model.

If the model has no animation or no animation name is configured then these function exactly as stock decouplers.

For example:

MODULE
{
    name = ModuleAnimatedDecoupler
    ejectionForce = 200
    explosiveNodeID = top
    staged = false
    animationName = SDHI_Umbilical
    waitForAnimation = false // (If true, then delay decoupling until animation has finished playing)
    layer = 1 // Animation's layer will be set to this. Helps prevent multiple animations on one part interfering with each other if each animation (or groups of animations) gets its own layer.
}

Additionally, if ModuleCargoBay is configured on the part and DeployModuleIndex has the module index for the decoupler provided (0 = first) then the part will shield enclosed parts in KSP 1.0 and beyond. (against aerothermodynamic forces)

Changelog Version 1.4.1

Version 1.4.0

Version 1.3.6

Version 1.3.5

Version 1.3.4

Version 1.3.3

Version 1.3.2

Version 1.3.1

Version 1.3.0

Version 1.2.0

Version 1.2.1