-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cec440c
commit 282164d
Showing
4 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"NAME":"Animated Decouplers", | ||
"URL":"http://raw.githubusercontent.com/Starwaster/AnimatedDecouplers/master/GameData/AnimatedDecouplers/AnimatedDecouplers.version", | ||
"DOWNLOAD":"http://github.com/Starwaster/AnimatedDecouplers/releases", | ||
"GITHUB": | ||
{ | ||
"USERNAME":"Starwaster", | ||
"REPOSITORY":"AnimatedDecouplers", | ||
"ALLOW_PRE_RELEASE":false, | ||
}, | ||
"VERSION": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":3, | ||
"PATCH":2, | ||
"BUILD":0 | ||
}, | ||
"KSP_VERSION": | ||
{ | ||
"MAJOR":1, | ||
"MINOR":1, | ||
"PATCH":3 | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Released under Creative Commons Share-alike attribution license: | ||
|
||
http://creativecommons.org/licenses/by-sa/4.0/ | ||
|
||
Full convoluted text here: | ||
http://creativecommons.org/licenses/by-sa/4.0/legalcode |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
AnimatedDecouplers | ||
================== | ||
|
||
Extensions of KSP's decouplers that play animations | ||
|
||
|
||
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 | ||
} | ||
|
||
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.3.0 | ||
* Additional checks for null references | ||
* Reworking of code; extraneous code removed. (deploy checks for occlusion purposes that were later determined to be unnecessary) | ||
|
||
Version 1.2.0 | ||
|
||
* Added waitForAnimation. (if true, decoupling will be delayed until animation has completed) | ||
* Added layer field, requiring an integer. If set, part's animation layer will be set to this. (unique layers per animation help prevent animations from canceling one another) | ||
* Added check for null animator. (if no animation was set and found then don't delay decoupling) | ||
* General reworking of code. | ||
|
||
Version 1.2.1 | ||
|
||
* Added extra checks for null references. (fixes certain issues in staging. i.e. only one of multiple symmetrical decouplers firing or one part of any staging group firing) |