From ddb3b7fc767fa1a71926fb60524a1c1180bb040e Mon Sep 17 00:00:00 2001 From: Christian Bronk Date: Sat, 5 Nov 2016 11:57:21 +0100 Subject: [PATCH] Update the animantions --- GameData/kOS-EVA/Plugins/kOS-EVA.dll | Bin 31232 -> 31232 bytes GameData/kOS-EVA/kOS-EVA.version | 2 +- kOS-EVA/Addon.cs | 6 +++--- kOS-EVA/EvaController.cs | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/GameData/kOS-EVA/Plugins/kOS-EVA.dll b/GameData/kOS-EVA/Plugins/kOS-EVA.dll index fb0024775b0cbde46db474857fc3322ea5a6cae0..374e02c10b057db977f98f931b12a15be0e330f5 100644 GIT binary patch delta 7366 zcmZ`;30##``hL&(w!3o|K|oZH?W!oExaE?#=%1 z2NpiT6n;q z8Fz5n{FOJK6Au;-zJnoi5`@@vPO7w2!P4d~t^_xmwF#-AccB*M+Gs}6zaRy-0C?eA z==?u=29aL$o*+~TLUkiSvr9q;L3m#fl3^(NppkH&MaXO*O#dBWr9}w!5{w!VqCzk} zYz%SEV)Xu>gxeP3ZbA4z5y9<1gsqJcMnK0jdJ4ivf{-f++ZqXT9U;kRCm0_K#!A81 z-pJTug=jAba-!P>;f{&kwg{aCVTXv|bAqt5F+w}&C?cz&h#WzP6cIwVi!4S*!Pq52 zEEJ4S8befDgf0z)y5AApE}5fiLyp!kG~_^vXDz~A4TN=J!hpz7N03@#nz&Jp!HrWDE;i_6p}yL2SsNM%1== zpJ03eDEtWlf`1m=#3qsPg6${COw$W*gE2=8Xw#x;aKHGZW*s=0hgy1Bt$Ds>3-+aH zOU#Ks0GG3gD}J#L&s1tmVQUY~crCT5k$=#fl9<}D4(|LV0`PD;f`0?J{YvmFd`^oE zevOakr(@u2!9&758(r7QnvdjX!?Kj z;i5^$%omf={3pd|Jh6^oF2JYepECC+#W)-KQY-_;9ES6btcB5DwBfYbvQ?}u=8^x6 z*{juVcE&W4v)Ng*XL3iqUYNf%XD0W)zad!uI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Tte<4ah$~dG!?(>aj=Kj$E<<1;m`3J zo}dg?jw=6AZq-(38?;zGMbFW@=_B;X`g9%F8~lSx!&??N6}m%fg}cHAZyVt4?sQ=D zeV$BwEz^WDC6ELBQy|A0RWLbQQv+(QTBuG^XR5Q+h3fO_>+0KTt-4YDMEyejR=ut| zwYk~{+Cl9LZHRTTAm#Si`XJnj#5Dx>kH}}XeoQJXYLMSw;u7=QPn9*aFoWG`l@;bB zq-r0r$FwhLv9^gV)~?cd(e609GxgdXg)X(W{*D&@+6%)M1pGO#e!J`C@q-KBNEr7- zrwvQy*DjcJNih*JP+p@aF%~S}tr@`W?&iUYg*;fkA3qMr^I+WXP2x=2Lude>0nHbz zs0_fgTn(1j1y%$-)w_=PXw-hl#&(Ua+Fd7Y*^F87%)X8so>P^`~I@Pf_Df zQ6u~xjv5a~jfhegHP%Iw5ls6>&_psq6>>G?6ZjERR$)~qyg7D?)m$zs>h^T7{B+dq zX^%}ABo}PG|Ih^X7pwWh9kg{USh2_&_;9(ref _kerbalanimation); _kerbalanimation.Stop(name); - _kerbalanimation.CrossFade("idle"); + _kerbalanimation.CrossFade("idle",0.3f,PlayMode.StopSameLayer); } private void StopAllAnimations() { Animation _kerbalanimation = null; shared.Vessel.GetComponentCached(ref _kerbalanimation); - _kerbalanimation.Stop(); - _kerbalanimation.CrossFade("idle"); + // _kerbalanimation.Stop(); + _kerbalanimation.CrossFade("idle", 0.3f, PlayMode.StopAll); } private void LoadAnimation (StringValue path) diff --git a/kOS-EVA/EvaController.cs b/kOS-EVA/EvaController.cs index 3662b67..a7cd8b9 100644 --- a/kOS-EVA/EvaController.cs +++ b/kOS-EVA/EvaController.cs @@ -383,7 +383,7 @@ private void PlayAnimation(string name) { Animation _kerbalanimation = null; eva.vessel.GetComponentCached(ref _kerbalanimation); - _kerbalanimation.CrossFade(name); + _kerbalanimation.CrossFade(name, 0.3f, PlayMode.StopAll); currentanimation = name; } @@ -391,8 +391,8 @@ private void StopAllAnimations() { Animation _kerbalanimation = null; eva.vessel.GetComponentCached(ref _kerbalanimation); - _kerbalanimation.Stop(); - _kerbalanimation.CrossFade("idle"); + // _kerbalanimation.Stop(); + _kerbalanimation.CrossFade("idle", 0.3f, PlayMode.StopAll); } #endregion