Skip to content

DennyTX/AnimatedDecoupler

Repository files navigation

AnimatedDecouplers

This just adds possibility to play animation BEFORE decoupling. Also, it can catch following: event (Right mouse click and select item from context menu), from action (predefined action group), and while staging. It should be used instead of stock moduleDecoupler, with same cfg config, just add animation name. If animation name will be missed - will work like regular moduleDecouple.

For example:

MODULE
{
    name = ModuleAnimatedDecoupler
    ejectionForce = 200
    explosiveNodeID = top
    staged = false
    animationName = YourAnimationName
}

MODULE
{
    name = ModuleAnimatedAnchoredDecoupler
    ejectionForce = 200
    explosiveNodeID = top
    staged = false
    animationName = YourAnimationName
}


ModuleManager string:

@PART[*]:HAS[@MODULE[ModuleDecouple]]
{
	@MODULE[ModuleDecouple]
	{
		@name = ModuleAnimatedDecoupler
		animationName = YourAnimationName
	}
}

About

Animated Decoupler

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages