diff --git a/BGM & Gameplay video.txt b/BGM & Gameplay video.txt new file mode 100644 index 0000000..bc27d8a --- /dev/null +++ b/BGM & Gameplay video.txt @@ -0,0 +1,13 @@ +Title Screen: https://www.youtube.com/watch?v=58x-X-44gcM&t=0s&list=PLl7dXRHbZCdiW4GFNq8n8KLEDvMpXInTZ&index=2 + +Menu Screen: https://www.youtube.com/watch?v=M4eohhDcIPs&t=0s&list=PLl7dXRHbZCdiW4GFNq8n8KLEDvMpXInTZ&index=3 + +Stage 1-1: https://www.youtube.com/watch?v=ZlRkbOhv8Dk&t=0s&list=PLl7dXRHbZCdiW4GFNq8n8KLEDvMpXInTZ&index=4 + +Stage 1-2: https://www.youtube.com/watch?v=dwAkA7ii5KI&t=0s&list=PLl7dXRHbZCdiW4GFNq8n8KLEDvMpXInTZ&index=5 + +Stage 1-3: https://www.youtube.com/watch?v=7mt4AfWsAfA&t=0s&list=PLl7dXRHbZCdiW4GFNq8n8KLEDvMpXInTZ&index=6 + +Chrysalis: https://www.youtube.com/watch?v=HI4e0S6pR3U&t=0s&list=PLl7dXRHbZCdiW4GFNq8n8KLEDvMpXInTZ&index=7 + +BONUS - Sombra (not IG): https://www.youtube.com/watch?v=Nb4GYo1ufCs&t=0s&list=PLl7dXRHbZCdiW4GFNq8n8KLEDvMpXInTZ&index=8 \ No newline at end of file diff --git a/assets/ScreenSelector.bmp b/assets/ScreenSelector.bmp new file mode 100644 index 0000000..e73bf82 Binary files /dev/null and b/assets/ScreenSelector.bmp differ diff --git a/assets/streaming/PKconfig.cfg b/assets/streaming/PKconfig.cfg new file mode 100644 index 0000000..58851fb --- /dev/null +++ b/assets/streaming/PKconfig.cfg @@ -0,0 +1,8 @@ + + + false + true + false + false + BeforeImageEffectsOpaque + \ No newline at end of file diff --git a/assets/streaming/PackFx/Meshes/AnimCircle.pkan b/assets/streaming/PackFx/Meshes/AnimCircle.pkan new file mode 100644 index 0000000..693541b --- /dev/null +++ b/assets/streaming/PackFx/Meshes/AnimCircle.pkan @@ -0,0 +1,1265 @@ +Version = 1.8.4.27161; +CAnimationClip $LOCAL$/Resource +{ + EntityStreams = + { + "$LOCAL$/CAnimationTrack_61E83745", + }; + LengthInSeconds = 3.3333333e+000; +} +CSamplerCurve $LOCAL$/CSamplerCurve_A16CD478 +{ + BindingSemantic = "Translation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + }; + FloatValues = + { + 2.5000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.4950893e+000, + 0.0000000e+000, + 1.5697670e-001, + 2.4804320e+000, + 0.0000000e+000, + 3.1334209e-001, + 2.4559910e+000, + 0.0000000e+000, + 4.6847796e-001, + 2.4218073e+000, + 0.0000000e+000, + 6.2176156e-001, + 2.3779910e+000, + 0.0000000e+000, + 7.7257395e-001, + 2.3247154e+000, + 0.0000000e+000, + 9.2031097e-001, + 2.2622080e+000, + 0.0000000e+000, + 1.0643849e+000, + 2.1907418e+000, + 0.0000000e+000, + 1.2042317e+000, + 2.1106279e+000, + 0.0000000e+000, + 1.3393111e+000, + 2.0222089e+000, + 0.0000000e+000, + 1.4691072e+000, + 1.9258534e+000, + 0.0000000e+000, + 1.5931268e+000, + 1.8219522e+000, + 0.0000000e+000, + 1.7108984e+000, + 1.7108985e+000, + 0.0000000e+000, + 1.8219519e+000, + 1.5931267e+000, + 0.0000000e+000, + 1.9258533e+000, + 1.4691067e+000, + 0.0000000e+000, + 2.0222087e+000, + 1.3393108e+000, + 0.0000000e+000, + 2.1106277e+000, + 1.2042313e+000, + 0.0000000e+000, + 2.1907420e+000, + 1.0643839e+000, + 0.0000000e+000, + 2.2622080e+000, + 9.2031074e-001, + 0.0000000e+000, + 2.3247151e+000, + 7.7257442e-001, + 0.0000000e+000, + 2.3779907e+000, + 6.2176180e-001, + 0.0000000e+000, + 2.4218068e+000, + 4.6847820e-001, + 0.0000000e+000, + 2.4559913e+000, + 3.1334209e-001, + 0.0000000e+000, + 2.4804320e+000, + 1.5697718e-001, + 0.0000000e+000, + 2.4950895e+000, + 2.3841858e-007, + 0.0000000e+000, + 2.5000000e+000, + -1.5697622e-001, + 0.0000000e+000, + 2.4950891e+000, + -3.1334159e-001, + 0.0000000e+000, + 2.4804320e+000, + -4.6847773e-001, + 0.0000000e+000, + 2.4559913e+000, + -6.2176073e-001, + 0.0000000e+000, + 2.4218078e+000, + -7.7257359e-001, + 0.0000000e+000, + 2.3779912e+000, + -9.2031014e-001, + 0.0000000e+000, + 2.3247156e+000, + -1.0643845e+000, + 0.0000000e+000, + 2.2622085e+000, + -1.2042317e+000, + 0.0000000e+000, + 2.1907420e+000, + -1.3393111e+000, + 0.0000000e+000, + 2.1106277e+000, + -1.4691072e+000, + 0.0000000e+000, + 2.0222092e+000, + -1.5931271e+000, + 0.0000000e+000, + 1.9258529e+000, + -1.7108984e+000, + 0.0000000e+000, + 1.8219519e+000, + -1.8219519e+000, + 0.0000000e+000, + 1.7108984e+000, + -1.9258524e+000, + 0.0000000e+000, + 1.5931271e+000, + -2.0222092e+000, + 0.0000000e+000, + 1.4691072e+000, + -2.1106281e+000, + 0.0000000e+000, + 1.3393111e+000, + -2.1907415e+000, + 0.0000000e+000, + 1.2042313e+000, + -2.2622080e+000, + 0.0000000e+000, + 1.0643845e+000, + -2.3247156e+000, + 0.0000000e+000, + 9.2031050e-001, + -2.3779907e+000, + 0.0000000e+000, + 7.7257442e-001, + -2.4218073e+000, + 0.0000000e+000, + 6.2176132e-001, + -2.4559913e+000, + 0.0000000e+000, + 4.6847844e-001, + -2.4804320e+000, + 0.0000000e+000, + 3.1334257e-001, + -2.4950895e+000, + 0.0000000e+000, + 1.5697718e-001, + -2.5000000e+000, + 0.0000000e+000, + 2.3841858e-007, + -2.4950895e+000, + 0.0000000e+000, + -1.5697598e-001, + -2.4804320e+000, + 0.0000000e+000, + -3.1334090e-001, + -2.4559913e+000, + 0.0000000e+000, + -4.6847677e-001, + -2.4218073e+000, + 0.0000000e+000, + -6.2176055e-001, + -2.3779912e+000, + 0.0000000e+000, + -7.7257347e-001, + -2.3247156e+000, + 0.0000000e+000, + -9.2031002e-001, + -2.2622085e+000, + 0.0000000e+000, + -1.0643830e+000, + -2.1907425e+000, + 0.0000000e+000, + -1.2042302e+000, + -2.1106291e+000, + 0.0000000e+000, + -1.3393103e+000, + -2.0222092e+000, + 0.0000000e+000, + -1.4691062e+000, + -1.9258541e+000, + 0.0000000e+000, + -1.5931253e+000, + -1.8219532e+000, + 0.0000000e+000, + -1.7108971e+000, + -1.7108994e+000, + 0.0000000e+000, + -1.8219509e+000, + -1.5931277e+000, + 0.0000000e+000, + -1.9258523e+000, + -1.4691070e+000, + 0.0000000e+000, + -2.0222085e+000, + -1.3393116e+000, + 0.0000000e+000, + -2.1106274e+000, + -1.2042322e+000, + 0.0000000e+000, + -2.1907413e+000, + -1.0643854e+000, + 0.0000000e+000, + -2.2622075e+000, + -9.2031145e-001, + 0.0000000e+000, + -2.3247149e+000, + -7.7257538e-001, + 0.0000000e+000, + -2.3779902e+000, + -6.2176383e-001, + 0.0000000e+000, + -2.4218068e+000, + -4.6847728e-001, + 0.0000000e+000, + -2.4559910e+000, + -3.1334257e-001, + 0.0000000e+000, + -2.4804320e+000, + -1.5697742e-001, + 0.0000000e+000, + -2.4950895e+000, + -7.1525574e-007, + 0.0000000e+000, + -2.5000000e+000, + 1.5697575e-001, + 0.0000000e+000, + -2.4950893e+000, + 3.1333974e-001, + 0.0000000e+000, + -2.4804320e+000, + 4.6847561e-001, + 0.0000000e+000, + -2.4559913e+000, + 6.2176108e-001, + 0.0000000e+000, + -2.4218075e+000, + 7.7257347e-001, + 0.0000000e+000, + -2.3779912e+000, + 9.2031002e-001, + 0.0000000e+000, + -2.3247156e+000, + 1.0643840e+000, + 0.0000000e+000, + -2.2622085e+000, + 1.2042308e+000, + 0.0000000e+000, + -2.1907423e+000, + 1.3393102e+000, + 0.0000000e+000, + -2.1106286e+000, + 1.4691067e+000, + 0.0000000e+000, + -2.0222092e+000, + 1.5931262e+000, + 0.0000000e+000, + -1.9258537e+000, + 1.7108979e+000, + 0.0000000e+000, + -1.8219525e+000, + 1.8219513e+000, + 0.0000000e+000, + -1.7108991e+000, + 1.9258523e+000, + 0.0000000e+000, + -1.5931277e+000, + 2.0222080e+000, + 0.0000000e+000, + -1.4691081e+000, + 2.1106277e+000, + 0.0000000e+000, + -1.3393110e+000, + 2.1907415e+000, + 0.0000000e+000, + -1.2042317e+000, + 2.2622077e+000, + 0.0000000e+000, + -1.0643849e+000, + 2.3247149e+000, + 0.0000000e+000, + -9.2031121e-001, + 2.3779907e+000, + 0.0000000e+000, + -7.7257514e-001, + 2.4218068e+000, + 0.0000000e+000, + -6.2176251e-001, + 2.4559910e+000, + 0.0000000e+000, + -4.6847796e-001, + 2.4804320e+000, + 0.0000000e+000, + -3.1334209e-001, + 2.4950895e+000, + 0.0000000e+000, + -1.5697718e-001, + 2.5000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_1F09509B +{ + BindingSemantic = "Rotation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + -9.0000000e+001, + 0.0000000e+000, + 0.0000000e+000, + -9.3505676e+001, + 0.0000000e+000, + 0.0000000e+000, + -9.7063889e+001, + 0.0000000e+000, + 0.0000000e+000, + -1.0066073e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.0433220e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.0797981e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.1159644e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.1518716e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.1879997e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.2241280e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.2601759e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.2961385e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.3320528e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.3679457e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.4038599e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.4398254e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.4758733e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.5120099e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.5481235e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.5840312e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.6202167e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.6566696e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.6933929e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.7293570e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.7649521e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.8000000e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.8350572e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.8706400e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.9066043e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.9433235e+002, + 0.0000000e+000, + 0.0000000e+000, + -1.9797952e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.0159663e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.0518715e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.0880002e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.1241315e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.1601714e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.1961394e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.2320508e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.2679460e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.3038623e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.3398238e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.3758710e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.4120058e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.4481256e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.4840317e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.5202185e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.5566714e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.5933914e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.6293600e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.6649518e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.7000000e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.7350574e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.7706354e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.8066046e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.8433237e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.8797952e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.9159628e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.9518695e+002, + 0.0000000e+000, + 0.0000000e+000, + -2.9879944e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.0241278e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.0601727e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.0961377e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.1320508e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.1679462e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.2038623e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.2398224e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.2758685e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.3120081e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.3481247e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.3840329e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.4202139e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.4566711e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.4933914e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.5293604e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.5649515e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.6000000e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.6350571e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.6706354e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.7066043e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.7433234e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.7797958e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.8159628e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.8518704e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.8879953e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.9241315e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.9601740e+002, + 0.0000000e+000, + 0.0000000e+000, + -3.9961380e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.0320508e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.0679462e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.1038611e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.1398273e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.1758734e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.2120068e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.2481238e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.2840329e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.3202139e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.3566711e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.3933914e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.4293600e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.4649515e+002, + 0.0000000e+000, + 0.0000000e+000, + -4.5000000e+002, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_B42A9DFA +{ + BindingSemantic = "Scale"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 9.9999994e-001, + 9.9999994e-001, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000001e+000, + 1.0000001e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + }; +} +CAnimationTrack $LOCAL$/CAnimationTrack_61E83745 +{ + TrackName = "Sphere001"; + Channels = + { + "$LOCAL$/CSamplerCurve_A16CD478", + "$LOCAL$/CSamplerCurve_1F09509B", + "$LOCAL$/CSamplerCurve_B42A9DFA", + }; + CoordinateFrame = 2; +} diff --git a/assets/streaming/PackFx/Meshes/AnimCircle.pkmm b/assets/streaming/PackFx/Meshes/AnimCircle.pkmm new file mode 100644 index 0000000..977b658 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/AnimCircle.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/AnimPingPong.pkan b/assets/streaming/PackFx/Meshes/AnimPingPong.pkan new file mode 100644 index 0000000..04eae8f --- /dev/null +++ b/assets/streaming/PackFx/Meshes/AnimPingPong.pkan @@ -0,0 +1,1265 @@ +Version = 1.8.4.27161; +CAnimationClip $LOCAL$/Resource +{ + EntityStreams = + { + "$LOCAL$/CAnimationTrack_4AE01D0B", + }; + LengthInSeconds = 3.3333333e+000; +} +CSamplerCurve $LOCAL$/CSamplerCurve_8F384816 +{ + BindingSemantic = "Translation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + }; + FloatValues = + { + -1.0000000e+001, + 0.0000000e+000, + 0.0000000e+000, + -9.6153049e+000, + 1.4288682e-001, + -7.4505806e-009, + -9.2306118e+000, + 2.8577331e-001, + -1.4901161e-008, + -8.8459148e+000, + 4.2865986e-001, + -2.2351742e-008, + -8.4592724e+000, + 5.6586117e-001, + -2.2351742e-008, + -8.0677795e+000, + 6.8890232e-001, + -2.9802322e-008, + -7.6762848e+000, + 8.1194317e-001, + -3.7252903e-008, + -7.2847919e+000, + 9.3498439e-001, + -3.7252903e-008, + -6.8895035e+000, + 1.0447401e+000, + -4.4703484e-008, + -6.4920597e+000, + 1.1469401e+000, + -5.2154064e-008, + -6.0946159e+000, + 1.2491395e+000, + -5.2154064e-008, + -5.6969585e+000, + 1.3504041e+000, + -5.9604645e-008, + -5.2945538e+000, + 1.4308851e+000, + -5.9604645e-008, + -4.8921490e+000, + 1.5113659e+000, + -6.7055225e-008, + -4.4897442e+000, + 1.5918471e+000, + -6.7055225e-008, + -4.0854435e+000, + 1.6612631e+000, + -7.4505806e-008, + -3.6791954e+000, + 1.7192987e+000, + -7.4505806e-008, + -3.2729454e+000, + 1.7773342e+000, + -7.4505806e-008, + -2.8666966e+000, + 1.8353698e+000, + -8.1956387e-008, + -2.4578848e+000, + 1.8709567e+000, + -8.1956387e-008, + -2.0490103e+000, + 1.9060032e+000, + -8.1956387e-008, + -1.6401358e+000, + 1.9410496e+000, + -8.1956387e-008, + -1.2306175e+000, + 1.9648396e+000, + -8.9406967e-008, + -8.2041073e-001, + 1.9765599e+000, + -8.9406967e-008, + -4.1020584e-001, + 1.9882798e+000, + -8.9406967e-008, + 9.5367432e-007, + 2.0000000e+000, + -8.9406967e-008, + 4.1020679e-001, + 1.9882798e+000, + -8.9406967e-008, + 8.2041287e-001, + 1.9765595e+000, + -8.9406967e-008, + 1.2306194e+000, + 1.9648396e+000, + -8.9406967e-008, + 1.6401350e+000, + 1.9410498e+000, + -8.1956387e-008, + 2.0490105e+000, + 1.9060034e+000, + -8.1956387e-008, + 2.4578841e+000, + 1.8709568e+000, + -8.1956387e-008, + 2.8666983e+000, + 1.8353698e+000, + -8.1956387e-008, + 3.2729483e+000, + 1.7773341e+000, + -7.4505806e-008, + 3.6791973e+000, + 1.7192984e+000, + -7.4505806e-008, + 4.0854459e+000, + 1.6612628e+000, + -7.4505806e-008, + 4.4897470e+000, + 1.5918463e+000, + -6.7055204e-008, + 4.8921494e+000, + 1.5113659e+000, + -6.7055225e-008, + 5.2945538e+000, + 1.4308851e+000, + -5.9604645e-008, + 5.6969571e+000, + 1.3504045e+000, + -5.9604666e-008, + 6.0946164e+000, + 1.2491395e+000, + -5.2154064e-008, + 6.4920597e+000, + 1.1469396e+000, + -5.2154064e-008, + 6.8895030e+000, + 1.0447396e+000, + -4.4703484e-008, + 7.2847910e+000, + 9.3498391e-001, + -3.7252903e-008, + 7.6762848e+000, + 8.1194329e-001, + -3.7252903e-008, + 8.0677786e+000, + 6.8890244e-001, + -2.9802322e-008, + 8.4592733e+000, + 5.6586134e-001, + -2.2351742e-008, + 8.8459158e+000, + 4.2866030e-001, + -2.2351742e-008, + 9.2306108e+000, + 2.8577375e-001, + -1.4901161e-008, + 9.6153059e+000, + 1.4288627e-001, + -7.4505806e-009, + 1.0000000e+001, + 0.0000000e+000, + 0.0000000e+000, + 9.6153059e+000, + 1.4288627e-001, + -7.4505806e-009, + 9.2306108e+000, + 2.8577375e-001, + -1.4901161e-008, + 8.8459158e+000, + 4.2866030e-001, + -2.2351742e-008, + 8.4592762e+000, + 5.6586081e-001, + -2.2351726e-008, + 8.0677786e+000, + 6.8890244e-001, + -2.9802322e-008, + 7.6762848e+000, + 8.1194329e-001, + -3.7252903e-008, + 7.2847924e+000, + 9.3498349e-001, + -3.7252892e-008, + 6.8895063e+000, + 1.0447391e+000, + -4.4703452e-008, + 6.4920583e+000, + 1.1469400e+000, + -5.2154075e-008, + 6.0946178e+000, + 1.2491392e+000, + -5.2154054e-008, + 5.6969600e+000, + 1.3504038e+000, + -5.9604634e-008, + 5.2945552e+000, + 1.4308847e+000, + -5.9604634e-008, + 4.8921494e+000, + 1.5113659e+000, + -6.7055225e-008, + 4.4897456e+000, + 1.5918467e+000, + -6.7055225e-008, + 4.0854430e+000, + 1.6612631e+000, + -7.4505827e-008, + 3.6791973e+000, + 1.7192984e+000, + -7.4505806e-008, + 3.2729464e+000, + 1.7773342e+000, + -7.4505806e-008, + 2.8666983e+000, + 1.8353698e+000, + -8.1956387e-008, + 2.4578848e+000, + 1.8709568e+000, + -8.1956387e-008, + 2.0490112e+000, + 1.9060034e+000, + -8.1956387e-008, + 1.6401399e+000, + 1.9410492e+000, + -8.1956365e-008, + 1.2306162e+000, + 1.9648396e+000, + -8.9406988e-008, + 8.2041264e-001, + 1.9765595e+000, + -8.9406967e-008, + 4.1020679e-001, + 1.9882798e+000, + -8.9406967e-008, + 9.5367432e-007, + 2.0000000e+000, + -8.9406967e-008, + -4.1020489e-001, + 1.9882798e+000, + -8.9406967e-008, + -8.2040846e-001, + 1.9765599e+000, + -8.9406967e-008, + -1.2306143e+000, + 1.9648396e+000, + -8.9406988e-008, + -1.6401348e+000, + 1.9410496e+000, + -8.1956387e-008, + -2.0490112e+000, + 1.9060031e+000, + -8.1956387e-008, + -2.4578848e+000, + 1.8709567e+000, + -8.1956387e-008, + -2.8666973e+000, + 1.8353698e+000, + -8.1956387e-008, + -3.2729464e+000, + 1.7773342e+000, + -7.4505806e-008, + -3.6791954e+000, + 1.7192987e+000, + -7.4505806e-008, + -4.0854435e+000, + 1.6612631e+000, + -7.4505806e-008, + -4.4897451e+000, + 1.5918469e+000, + -6.7055225e-008, + -4.8921490e+000, + 1.5113659e+000, + -6.7055225e-008, + -5.2945538e+000, + 1.4308851e+000, + -5.9604645e-008, + -5.6969585e+000, + 1.3504044e+000, + -5.9604645e-008, + -6.0946159e+000, + 1.2491395e+000, + -5.2154064e-008, + -6.4920597e+000, + 1.1469401e+000, + -5.2154064e-008, + -6.8895035e+000, + 1.0447402e+000, + -4.4703484e-008, + -7.2847919e+000, + 9.3498433e-001, + -3.7252903e-008, + -7.6762848e+000, + 8.1194329e-001, + -3.7252903e-008, + -8.0677776e+000, + 6.8890250e-001, + -2.9802322e-008, + -8.4592724e+000, + 5.6586111e-001, + -2.2351742e-008, + -8.8459148e+000, + 4.2865989e-001, + -2.2351742e-008, + -9.2306099e+000, + 2.8577349e-001, + -1.4901161e-008, + -9.6153049e+000, + 1.4288668e-001, + -7.4505806e-009, + -1.0000000e+001, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_513FDD91 +{ + BindingSemantic = "Rotation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_48AB1328 +{ + BindingSemantic = "Scale"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + }; +} +CAnimationTrack $LOCAL$/CAnimationTrack_4AE01D0B +{ + TrackName = "Sphere001"; + Channels = + { + "$LOCAL$/CSamplerCurve_8F384816", + "$LOCAL$/CSamplerCurve_513FDD91", + "$LOCAL$/CSamplerCurve_48AB1328", + }; + CoordinateFrame = 2; +} diff --git a/assets/streaming/PackFx/Meshes/AnimPingPong.pkmm b/assets/streaming/PackFx/Meshes/AnimPingPong.pkmm new file mode 100644 index 0000000..5423433 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/AnimPingPong.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/Cylinder_01.pkmm b/assets/streaming/PackFx/Meshes/Cylinder_01.pkmm new file mode 100644 index 0000000..20314b1 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/Cylinder_01.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/Geosphere.pkmm b/assets/streaming/PackFx/Meshes/Geosphere.pkmm new file mode 100644 index 0000000..de41898 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/Geosphere.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/Path.pkan b/assets/streaming/PackFx/Meshes/Path.pkan new file mode 100644 index 0000000..7ddba42 --- /dev/null +++ b/assets/streaming/PackFx/Meshes/Path.pkan @@ -0,0 +1,4499 @@ +Version = 1.8.4.27161; +CAnimationClip $LOCAL$/Resource +{ + EntityStreams = + { + "$LOCAL$/CAnimationTrack_C9667032", + "$LOCAL$/CAnimationTrack_E7BA1286", + "$LOCAL$/CAnimationTrack_83B1D29A", + }; + LengthInSeconds = 4.0000000e+000; +} +CSamplerCurve $LOCAL$/CSamplerCurve_9C577FB9 +{ + BindingSemantic = "Translation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + 3.3666666e+000, + 3.4000001e+000, + 3.4333334e+000, + 3.4666667e+000, + 3.5000000e+000, + 3.5333333e+000, + 3.5666666e+000, + 3.5999999e+000, + 3.6333334e+000, + 3.6666667e+000, + 3.7000000e+000, + 3.7333333e+000, + 3.7666667e+000, + 3.8000000e+000, + 3.8333333e+000, + 3.8666666e+000, + 3.9000001e+000, + 3.9333334e+000, + 3.9666667e+000, + 4.0000000e+000, + }; + FloatValues = + { + -4.3364856e-002, + 5.9518524e-002, + -9.1734096e-002, + -4.5431133e-002, + 1.4065665e-001, + -1.4801973e-001, + -3.1609964e-002, + 2.2116163e-001, + -2.0357355e-001, + -3.0844687e-003, + 3.0071512e-001, + -2.5473127e-001, + 3.8321208e-002, + 3.7896895e-001, + -2.9858074e-001, + 9.0222113e-002, + 4.5578152e-001, + -3.3276093e-001, + 1.5002488e-001, + 5.3101671e-001, + -3.5570982e-001, + 2.1506232e-001, + 6.0462147e-001, + -3.6652061e-001, + 2.8271312e-001, + 6.7663515e-001, + -3.6483228e-001, + 3.5060850e-001, + 7.4706227e-001, + -3.5081547e-001, + 4.1659763e-001, + 8.1595683e-001, + -3.2500950e-001, + 4.7877634e-001, + 8.8340700e-001, + -2.8823993e-001, + 5.3552985e-001, + 9.4949943e-001, + -2.4155906e-001, + 5.8554864e-001, + 1.0142988e+000, + -1.8617053e-001, + 6.2777734e-001, + 1.0778797e+000, + -1.2337434e-001, + 6.6139311e-001, + 1.1403265e+000, + -5.4527327e-002, + 6.8580681e-001, + 1.2017187e+000, + 1.8991373e-002, + 7.0064169e-001, + 1.2621297e+000, + 9.5807880e-002, + 7.0571208e-001, + 1.3216277e+000, + 1.7457923e-001, + 7.0100361e-001, + 1.3802756e+000, + 2.5400919e-001, + 6.8665665e-001, + 1.4381340e+000, + 3.3286139e-001, + 6.6294611e-001, + 1.4952589e+000, + 4.0997034e-001, + 6.3026780e-001, + 1.5517035e+000, + 4.8425129e-001, + 5.8912176e-001, + 1.6075161e+000, + 5.5470407e-001, + 5.4009843e-001, + 1.6627429e+000, + 6.2041926e-001, + 4.8386666e-001, + 1.7174275e+000, + 6.8058127e-001, + 4.2116106e-001, + 1.7716132e+000, + 7.3446977e-001, + 3.5276806e-001, + 1.8253369e+000, + 7.8146285e-001, + 2.7952030e-001, + 1.8786378e+000, + 8.2103580e-001, + 2.0228022e-001, + 1.9315503e+000, + 8.5276312e-001, + 1.2193493e-001, + 1.9841086e+000, + 8.7631500e-001, + 3.9383855e-002, + 2.0363438e+000, + 8.9145875e-001, + -4.4467445e-002, + 2.0882866e+000, + 8.9805591e-001, + -1.2871560e-001, + 2.1399677e+000, + 8.9605939e-001, + -2.1247074e-001, + 2.1914129e+000, + 8.8551176e-001, + -2.9485592e-001, + 2.2426524e+000, + 8.6654210e-001, + -3.7502438e-001, + 2.2937119e+000, + 8.3936250e-001, + -4.5215920e-001, + 2.3446150e+000, + 8.0426383e-001, + -5.2547944e-001, + 2.3953869e+000, + 7.6161325e-001, + -5.9424847e-001, + 2.4460542e+000, + 7.1184891e-001, + -6.5777856e-001, + 2.4966390e+000, + 6.5547502e-001, + -7.1543515e-001, + 2.5471630e+000, + 5.9305853e-001, + -7.6664186e-001, + 2.5976527e+000, + 5.2522391e-001, + -8.1088567e-001, + 2.6481302e+000, + 4.5264700e-001, + -8.4771979e-001, + 2.6986184e+000, + 3.7605050e-001, + -8.7676883e-001, + 2.7491419e+000, + 2.9619834e-001, + -8.9773190e-001, + 2.7997236e+000, + 2.1388873e-001, + -9.1038537e-001, + 2.8503916e+000, + 1.2995204e-001, + -9.1458708e-001, + 2.9011695e+000, + 4.5236297e-002, + -9.1027647e-001, + 2.9520805e+000, + -3.9393160e-002, + -8.9747882e-001, + 3.0031526e+000, + -1.2306263e-001, + -8.7630486e-001, + 3.0544086e+000, + -2.0489791e-001, + -8.4695345e-001, + 3.1058767e+000, + -2.8403103e-001, + -8.0971062e-001, + 3.1575849e+000, + -3.5960802e-001, + -7.6495230e-001, + 3.2095594e+000, + -4.3079531e-001, + -7.1314216e-001, + 3.2618322e+000, + -4.9679247e-001, + -6.5483224e-001, + 3.3144338e+000, + -5.5683577e-001, + -5.9066099e-001, + 3.3673975e+000, + -6.1021101e-001, + -5.2134931e-001, + 3.4207587e+000, + -6.5626127e-001, + -4.4770175e-001, + 3.4745517e+000, + -6.9439691e-001, + -3.7060064e-001, + 3.5288146e+000, + -7.2410440e-001, + -2.9100013e-001, + 3.5835910e+000, + -7.4496007e-001, + -2.0992234e-001, + 3.6389210e+000, + -7.5663692e-001, + -1.2845010e-001, + 3.6948538e+000, + -7.5891817e-001, + -4.7719952e-002, + 3.7514372e+000, + -7.5170892e-001, + 3.1092279e-002, + 3.8087256e+000, + -7.3504674e-001, + 1.0677800e-001, + 3.8667748e+000, + -7.0911562e-001, + 1.7811535e-001, + 3.9256489e+000, + -6.7425764e-001, + 2.4388626e-001, + 3.9854124e+000, + -6.3098162e-001, + 3.0289266e-001, + 4.0461230e+000, + -5.7996982e-001, + 3.5398081e-001, + 4.1078563e+000, + -5.2210504e-001, + 3.9607322e-001, + 4.1706929e+000, + -4.5847660e-001, + 4.2820457e-001, + 4.2347221e+000, + -3.9038569e-001, + 4.4956356e-001, + 4.3000417e+000, + -3.1935570e-001, + 4.5952317e-001, + 4.3667197e+000, + -2.4709037e-001, + 4.5771423e-001, + 4.4348359e+000, + -1.7551254e-001, + 4.4411200e-001, + 4.5045023e+000, + -1.0675568e-001, + 4.1906688e-001, + 4.5757980e+000, + -4.3079853e-002, + 3.8336056e-001, + 4.6487474e+000, + 1.3200128e-002, + 3.3841580e-001, + 4.7234340e+000, + 5.9727475e-002, + 2.8614748e-001, + 4.7998004e+000, + 9.4331354e-002, + 2.5364816e-001, + 4.8446746e+000, + 1.0813636e-001, + 2.2017783e-001, + 4.8900700e+000, + 1.1705060e-001, + 1.8639968e-001, + 4.9359479e+000, + 1.2086686e-001, + 1.5303211e-001, + 4.9822612e+000, + 1.1947031e-001, + 1.2083663e-001, + 5.0289493e+000, + 1.1285657e-001, + 9.0598576e-002, + 5.0759439e+000, + 1.0114631e-001, + 6.3093513e-002, + 5.1231608e+000, + 8.4593289e-002, + 3.9424609e-002, + 5.1705260e+000, + 6.3246958e-002, + 3.7684582e-002, + 5.1742034e+000, + 6.1475798e-002, + 3.5935923e-002, + 5.1778827e+000, + 5.9714455e-002, + 3.4173962e-002, + 5.1815610e+000, + 5.7968516e-002, + 3.2864615e-002, + 5.1848779e+000, + 5.6734797e-002, + 3.5856627e-002, + 5.1848788e+000, + 6.0012050e-002, + 3.8848635e-002, + 5.1848793e+000, + 6.3289352e-002, + 4.1840266e-002, + 5.1848793e+000, + 6.6566177e-002, + 4.4831894e-002, + 5.1848807e+000, + 6.9843002e-002, + 4.7823902e-002, + 5.1848807e+000, + 7.3120303e-002, + 5.0815962e-002, + 5.1848812e+000, + 7.6397561e-002, + 5.3807542e-002, + 5.1848822e+000, + 7.9674385e-002, + 5.6799598e-002, + 5.1848826e+000, + 8.2951687e-002, + 5.9791181e-002, + 5.1848826e+000, + 8.6228512e-002, + 6.2783234e-002, + 5.1848831e+000, + 8.9505807e-002, + 6.5774821e-002, + 5.1848841e+000, + 9.2782587e-002, + 6.8766445e-002, + 5.1848845e+000, + 9.6059456e-002, + 7.1758457e-002, + 5.1848845e+000, + 9.9336714e-002, + 7.4750513e-002, + 5.1848855e+000, + 1.0261402e-001, + 7.7742092e-002, + 5.1848860e+000, + 1.0589084e-001, + 8.0734134e-002, + 5.1848865e+000, + 1.0916810e-001, + 8.3726160e-002, + 5.1848865e+000, + 1.1244540e-001, + 8.6717412e-002, + 5.1848874e+000, + 1.1572179e-001, + 8.9709416e-002, + 5.1848884e+000, + 1.1899904e-001, + 9.8323750e-001, + 5.1850276e+000, + 1.0915610e+000, + 1.8808891e+000, + 5.1851540e+000, + 2.0603352e+000, + 2.7811842e+000, + 5.1852698e+000, + 3.0266089e+000, + 3.6833341e+000, + 5.1853805e+000, + 3.9911840e+000, + 4.5867858e+000, + 5.1854854e+000, + 4.9545374e+000, + 5.4911761e+000, + 5.1855879e+000, + 5.9170361e+000, + 6.3961873e+000, + 5.1856890e+000, + 6.8789244e+000, + 7.3015981e+000, + 5.1857882e+000, + 7.8404360e+000, + 8.2071867e+000, + 5.1858864e+000, + 8.8017511e+000, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_9BF4CC70 +{ + BindingSemantic = "Rotation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + 3.3666666e+000, + 3.4000001e+000, + 3.4333334e+000, + 3.4666667e+000, + 3.5000000e+000, + 3.5333333e+000, + 3.5666666e+000, + 3.5999999e+000, + 3.6333334e+000, + 3.6666667e+000, + 3.7000000e+000, + 3.7333333e+000, + 3.7666667e+000, + 3.8000000e+000, + 3.8333333e+000, + 3.8666666e+000, + 3.9000001e+000, + 3.9333334e+000, + 3.9666667e+000, + 4.0000000e+000, + }; + FloatValues = + { + -4.0117126e+001, + -1.2463942e+002, + -7.8667831e+001, + -4.0117142e+001, + -1.2511120e+002, + -9.6084488e+001, + -4.0117126e+001, + -1.2590030e+002, + -1.1167142e+002, + -4.0117142e+001, + -1.2700901e+002, + -1.2638774e+002, + -4.0117126e+001, + -1.2835632e+002, + -1.4010260e+002, + -4.0117142e+001, + -1.2970654e+002, + -1.5294597e+002, + -4.0117142e+001, + -1.3119862e+002, + -1.6487062e+002, + -4.0117126e+001, + -1.3258136e+002, + -1.7607692e+002, + -4.0117142e+001, + -1.3390390e+002, + -1.8663889e+002, + -4.0117126e+001, + -1.3523132e+002, + -1.9657069e+002, + -4.0117142e+001, + -1.3644347e+002, + -2.0601926e+002, + -4.0117126e+001, + -1.3752237e+002, + -2.1507185e+002, + -4.0187927e+001, + -1.3854376e+002, + -2.2373608e+002, + -4.0278442e+001, + -1.3952110e+002, + -2.3204585e+002, + -4.0288208e+001, + -1.4043581e+002, + -2.4005449e+002, + -4.0135773e+001, + -1.4126111e+002, + -2.4781900e+002, + -3.9843704e+001, + -1.4200833e+002, + -2.5536449e+002, + -3.9414612e+001, + -1.4268932e+002, + -2.6271109e+002, + -3.8872696e+001, + -1.4331314e+002, + -2.6987839e+002, + -3.8251541e+001, + -1.4389291e+002, + -2.7687961e+002, + -3.7558075e+001, + -1.4443236e+002, + -2.8373071e+002, + -3.6823639e+001, + -1.4493207e+002, + -2.9044720e+002, + -3.6072800e+001, + -1.4539508e+002, + -2.9704291e+002, + -3.5308548e+001, + -1.4582140e+002, + -3.0352985e+002, + -3.4546753e+001, + -1.4621509e+002, + -3.0991830e+002, + -3.3801529e+001, + -1.4657678e+002, + -3.1621765e+002, + -3.3083145e+001, + -1.4690918e+002, + -3.2243640e+002, + -3.2397049e+001, + -1.4721350e+002, + -3.2858212e+002, + -3.1745407e+001, + -1.4749196e+002, + -3.3466107e+002, + -3.1132904e+001, + -1.4774689e+002, + -3.4068018e+002, + -3.0563034e+001, + -1.4798151e+002, + -3.4664548e+002, + -3.0039108e+001, + -1.4819484e+002, + -3.5256171e+002, + -2.9563461e+001, + -1.4839082e+002, + -3.5843530e+002, + -2.9137619e+001, + -1.4856953e+002, + -3.6427026e+002, + -2.8763077e+001, + -1.4872943e+002, + -3.7007242e+002, + -2.8440308e+001, + -1.4886650e+002, + -3.7584659e+002, + -2.8170471e+001, + -1.4898653e+002, + -3.8159650e+002, + -2.7953888e+001, + -1.4908716e+002, + -3.8732611e+002, + -2.7790634e+001, + -1.4916803e+002, + -3.9303925e+002, + -2.7681320e+001, + -1.4922749e+002, + -3.9873895e+002, + -2.7625504e+001, + -1.4927156e+002, + -4.0442984e+002, + -2.7624023e+001, + -1.4929462e+002, + -4.1011395e+002, + -2.7676193e+001, + -1.4929897e+002, + -4.1579486e+002, + -2.7782410e+001, + -1.4928653e+002, + -4.2147623e+002, + -2.7942657e+001, + -1.4926360e+002, + -4.2716193e+002, + -2.8156555e+001, + -1.4922920e+002, + -4.3285657e+002, + -2.8424454e+001, + -1.4918057e+002, + -4.3856296e+002, + -2.8746170e+001, + -1.4912079e+002, + -4.4428586e+002, + -2.9121780e+001, + -1.4904716e+002, + -4.5003012e+002, + -2.9550507e+001, + -1.4895956e+002, + -4.5579904e+002, + -3.0031845e+001, + -1.4884970e+002, + -4.6159555e+002, + -3.0565399e+001, + -1.4872311e+002, + -4.6742395e+002, + -3.1151505e+001, + -1.4857339e+002, + -4.7328864e+002, + -3.1789505e+001, + -1.4840402e+002, + -4.7919403e+002, + -3.2478287e+001, + -1.4821423e+002, + -4.8514517e+002, + -3.3215805e+001, + -1.4799989e+002, + -4.9114621e+002, + -3.3999802e+001, + -1.4776523e+002, + -4.9720380e+002, + -3.4825592e+001, + -1.4750476e+002, + -5.0332300e+002, + -3.5687286e+001, + -1.4721925e+002, + -5.0951086e+002, + -3.6577240e+001, + -1.4690828e+002, + -5.1577423e+002, + -3.7494064e+001, + -1.4656706e+002, + -5.2212054e+002, + -3.8430145e+001, + -1.4619493e+002, + -5.2855750e+002, + -3.9368988e+001, + -1.4578966e+002, + -5.3509412e+002, + -4.0289734e+001, + -1.4534624e+002, + -5.4173981e+002, + -4.1186661e+001, + -1.4486119e+002, + -5.4850494e+002, + -4.2033031e+001, + -1.4432906e+002, + -5.5540051e+002, + -4.2793564e+001, + -1.4374753e+002, + -5.6244330e+002, + -4.3456528e+001, + -1.4312482e+002, + -5.6965442e+002, + -4.3968765e+001, + -1.4245758e+002, + -5.7705585e+002, + -4.4319077e+001, + -1.4175143e+002, + -5.8467230e+002, + -4.4456680e+001, + -1.4098389e+002, + -5.9251630e+002, + -4.4388199e+001, + -1.4012367e+002, + -6.0059882e+002, + -4.4106510e+001, + -1.3915366e+002, + -6.0894849e+002, + -2.9035873e+001, + -1.3811743e+002, + -6.1764453e+002, + 1.5689468e+001, + -1.3704890e+002, + -6.2675275e+002, + 5.9907860e+001, + -1.3586311e+002, + -6.3626642e+002, + 5.4157280e+001, + -1.3452495e+002, + -6.4623822e+002, + 6.1276093e+001, + -1.3317560e+002, + -6.5685352e+002, + 1.1408241e+002, + -1.3171835e+002, + -6.6810370e+002, + 1.3009450e+002, + -1.3016660e+002, + -6.8012476e+002, + 1.0316013e+002, + -1.2868475e+002, + -6.9308466e+002, + 9.1591438e+001, + -1.2781538e+002, + -7.0101379e+002, + 1.0799299e+002, + -1.2695929e+002, + -7.0928735e+002, + 1.3703578e+002, + -1.2615311e+002, + -7.1792969e+002, + 1.6921225e+002, + -1.2543471e+002, + -7.2694958e+002, + 1.8038831e+002, + -1.2483130e+002, + -7.3633551e+002, + 1.6635046e+002, + -1.2437030e+002, + -7.4605762e+002, + 1.5107425e+002, + -1.2406177e+002, + -7.5619202e+002, + 1.3927834e+002, + -1.1992651e+002, + -7.6470313e+002, + 1.3840883e+002, + -1.1189701e+002, + -7.6353961e+002, + 1.3753845e+002, + -9.9962860e+001, + -7.5826526e+002, + 1.3666685e+002, + -9.7973587e+001, + -5.9962915e+002, + 1.3602350e+002, + -1.2036556e+002, + -5.9059009e+002, + 1.3748369e+002, + -1.4220700e+002, + -5.8904926e+002, + 1.3898404e+002, + -1.5863129e+002, + -5.8839294e+002, + 1.4052591e+002, + -1.6970734e+002, + -5.8800500e+002, + 1.4211028e+002, + -1.7716470e+002, + -5.8772516e+002, + 1.4373882e+002, + -1.7999358e+002, + -5.8760516e+002, + 1.4541316e+002, + -1.7999358e+002, + -5.8760516e+002, + 1.4713457e+002, + -1.7999304e+002, + -5.8760516e+002, + 1.4890331e+002, + -1.7999358e+002, + -5.8760516e+002, + 1.5072018e+002, + -1.7999358e+002, + -5.8760516e+002, + 1.5258600e+002, + -1.7999304e+002, + -5.8760516e+002, + 1.5450029e+002, + -1.7999358e+002, + -5.8760516e+002, + 1.5646590e+002, + -1.7999304e+002, + -5.8760516e+002, + 1.5848274e+002, + -1.7999304e+002, + -5.8760516e+002, + 1.6055193e+002, + -1.7999358e+002, + -5.8760516e+002, + 1.6267325e+002, + -1.7999304e+002, + -5.8760516e+002, + 1.6484753e+002, + -1.7999358e+002, + -5.8760315e+002, + 1.6707442e+002, + -1.7999358e+002, + -5.8760016e+002, + 1.6935286e+002, + -1.7999304e+002, + -5.8759723e+002, + 1.7168291e+002, + -1.7999358e+002, + -5.8759430e+002, + 1.8092430e+002, + -1.7999411e+002, + -5.8729022e+002, + 1.8059930e+002, + -1.7999464e+002, + -5.8709027e+002, + 1.8041325e+002, + -1.7999518e+002, + -5.8696674e+002, + 1.8029431e+002, + -1.7999571e+002, + -5.8687433e+002, + 1.8020886e+002, + -1.7999518e+002, + -5.8680542e+002, + 1.8014354e+002, + -1.7999518e+002, + -5.8676184e+002, + 1.8009009e+002, + -1.7999571e+002, + -5.8672961e+002, + 1.8005417e+002, + -1.7999571e+002, + -5.8671301e+002, + 1.8005417e+002, + -1.7999571e+002, + -5.8670563e+002, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_7F4C2BF3 +{ + BindingSemantic = "Scale"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + 3.3666666e+000, + 3.4000001e+000, + 3.4333334e+000, + 3.4666667e+000, + 3.5000000e+000, + 3.5333333e+000, + 3.5666666e+000, + 3.5999999e+000, + 3.6333334e+000, + 3.6666667e+000, + 3.7000000e+000, + 3.7333333e+000, + 3.7666667e+000, + 3.8000000e+000, + 3.8333333e+000, + 3.8666666e+000, + 3.9000001e+000, + 3.9333334e+000, + 3.9666667e+000, + 4.0000000e+000, + }; + FloatValues = + { + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 1.0000002e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999979e-002, + 9.9999987e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000002e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000002e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999979e-002, + 9.9999994e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999979e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000002e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000002e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999979e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999987e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000002e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999987e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + }; +} +CAnimationTrack $LOCAL$/CAnimationTrack_C9667032 +{ + TrackName = "Track01"; + Channels = + { + "$LOCAL$/CSamplerCurve_9C577FB9", + "$LOCAL$/CSamplerCurve_9BF4CC70", + "$LOCAL$/CSamplerCurve_7F4C2BF3", + }; + CoordinateFrame = 2; +} +CSamplerCurve $LOCAL$/CSamplerCurve_EBE2D9DD +{ + BindingSemantic = "Translation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + 3.3666666e+000, + 3.4000001e+000, + 3.4333334e+000, + 3.4666667e+000, + 3.5000000e+000, + 3.5333333e+000, + 3.5666666e+000, + 3.5999999e+000, + 3.6333334e+000, + 3.6666667e+000, + 3.7000000e+000, + 3.7333333e+000, + 3.7666667e+000, + 3.8000000e+000, + 3.8333333e+000, + 3.8666666e+000, + 3.9000001e+000, + 3.9333334e+000, + 3.9666667e+000, + 4.0000000e+000, + }; + FloatValues = + { + -5.7761665e-002, + 5.9518524e-002, + 8.3422087e-002, + -1.0547332e-001, + 1.4065665e-001, + 1.1335439e-001, + -1.6049489e-001, + 2.2116163e-001, + 1.2916178e-001, + -2.1906152e-001, + 3.0071512e-001, + 1.3003682e-001, + -2.7773908e-001, + 3.7896895e-001, + 1.1610316e-001, + -3.3329052e-001, + 4.5578152e-001, + 8.8245764e-002, + -3.8306615e-001, + 5.3101671e-001, + 4.7929522e-002, + -4.2494738e-001, + 6.0462147e-001, + -2.9891967e-003, + -4.5731059e-001, + 6.7663515e-001, + -6.2420700e-002, + -4.7911933e-001, + 7.4706227e-001, + -1.2822813e-001, + -4.8976532e-001, + 8.1595683e-001, + -1.9827941e-001, + -4.8901126e-001, + 8.8340700e-001, + -2.7051252e-001, + -4.7696120e-001, + 9.4949943e-001, + -3.4300306e-001, + -4.5400268e-001, + 1.0142988e+000, + -4.1401485e-001, + -4.2073390e-001, + 1.0778797e+000, + -4.8198402e-001, + -3.7791854e-001, + 1.1403265e+000, + -5.4551965e-001, + -3.2645634e-001, + 1.2017187e+000, + -6.0342187e-001, + -2.6734868e-001, + 1.2621297e+000, + -6.5467745e-001, + -2.0166586e-001, + 1.3216277e+000, + -6.9845426e-001, + -1.3052334e-001, + 1.3802756e+000, + -7.3409158e-001, + -5.5061765e-002, + 1.4381340e+000, + -7.6109278e-001, + 2.3571776e-002, + 1.4952589e+000, + -7.7911335e-001, + 1.0424013e-001, + 1.5517035e+000, + -7.8795350e-001, + 1.8582696e-001, + 1.6075161e+000, + -7.8754646e-001, + 2.6724967e-001, + 1.6627429e+000, + -7.7794862e-001, + 3.4746739e-001, + 1.7174275e+000, + -7.5933146e-001, + 4.2548901e-001, + 1.7716132e+000, + -7.3197103e-001, + 5.0038272e-001, + 1.8253369e+000, + -6.9623750e-001, + 5.7127780e-001, + 1.8786378e+000, + -6.5258950e-001, + 6.3737434e-001, + 1.9315503e+000, + -6.0156131e-001, + 6.9794351e-001, + 1.9841086e+000, + -5.4375607e-001, + 7.5233400e-001, + 2.0363438e+000, + -4.7983676e-001, + 7.9997295e-001, + 2.0882866e+000, + -4.1051796e-001, + 8.4036803e-001, + 2.1399677e+000, + -3.3655855e-001, + 8.7311113e-001, + 2.1914129e+000, + -2.5875068e-001, + 8.9787543e-001, + 2.2426524e+000, + -1.7791820e-001, + 9.1442132e-001, + 2.2937119e+000, + -9.4900377e-002, + 9.2259240e-001, + 2.3446150e+000, + -1.0550451e-002, + 9.2231613e-001, + 2.3953869e+000, + 7.4272007e-002, + 9.1360343e-001, + 2.4460542e+000, + 1.5870987e-001, + 8.9654738e-001, + 2.4966390e+000, + 2.4191554e-001, + 8.7132144e-001, + 2.5471630e+000, + 3.2305583e-001, + 8.3817810e-001, + 2.5976527e+000, + 4.0131947e-001, + 7.9744661e-001, + 2.6481302e+000, + 4.7592416e-001, + 7.4952912e-001, + 2.6986184e+000, + 5.4612178e-001, + 6.9489962e-001, + 2.7491419e+000, + 6.1120498e-001, + 6.3409895e-001, + 2.7997236e+000, + 6.7051435e-001, + 5.6773430e-001, + 2.8503916e+000, + 7.2344089e-001, + 4.9646929e-001, + 2.9011695e+000, + 7.6943755e-001, + 4.2102268e-001, + 2.9520805e+000, + 8.0801922e-001, + 3.4216392e-001, + 3.0031526e+000, + 8.3877081e-001, + 2.6070556e-001, + 3.0544086e+000, + 8.6135137e-001, + 1.7749847e-001, + 3.1058767e+000, + 8.7549871e-001, + 9.3425505e-002, + 3.1575849e+000, + 8.8103396e-001, + 9.3963025e-003, + 3.2095594e+000, + 8.7786573e-001, + -7.3663898e-002, + 3.2618322e+000, + 8.6599547e-001, + -1.5481795e-001, + 3.3144338e+000, + 8.4551919e-001, + -2.3312777e-001, + 3.3673975e+000, + 8.1663269e-001, + -3.0766436e-001, + 3.4207587e+000, + 7.7963227e-001, + -3.7751454e-001, + 3.4745517e+000, + 7.3491955e-001, + -4.4179255e-001, + 3.5288146e+000, + 6.8300164e-001, + -4.9965441e-001, + 3.5835910e+000, + 6.2449348e-001, + -5.5030566e-001, + 3.6389210e+000, + 5.6011647e-001, + -5.9301740e-001, + 3.6948538e+000, + 4.9070013e-001, + -6.2713903e-001, + 3.7514372e+000, + 4.1718107e-001, + -6.5211529e-001, + 3.8087256e+000, + 3.4059662e-001, + -6.6750115e-001, + 3.8667748e+000, + 2.6208529e-001, + -6.7298198e-001, + 3.9256489e+000, + 1.8287633e-001, + -6.6838920e-001, + 3.9854124e+000, + 1.0427903e-001, + -6.5371490e-001, + 4.0461230e+000, + 2.7672170e-002, + -6.2914670e-001, + 4.1078563e+000, + -4.5503922e-002, + -5.9508896e-001, + 4.1706929e+000, + -1.1377127e-001, + -5.5218625e-001, + 4.2347221e+000, + -1.7564330e-001, + -5.0135189e-001, + 4.3000417e+000, + -2.2965565e-001, + -4.4374806e-001, + 4.3667197e+000, + -2.7441356e-001, + -3.8085541e-001, + 4.4348359e+000, + -3.0863592e-001, + -3.1450906e-001, + 4.5045023e+000, + -3.3123443e-001, + -2.4684162e-001, + 4.5757980e+000, + -3.4138262e-001, + -1.8024860e-001, + 4.6487474e+000, + -3.3860013e-001, + -1.1748237e-001, + 4.7234340e+000, + -3.2294044e-001, + -6.1380383e-002, + 4.7998004e+000, + -2.9497668e-001, + -3.3175182e-002, + 4.8446746e+000, + -2.7373394e-001, + -8.7201111e-003, + 4.8900700e+000, + -2.4920490e-001, + 1.1473941e-002, + 4.9359479e+000, + -2.2186032e-001, + 2.6948355e-002, + 4.9822612e+000, + -1.9226483e-001, + 3.7318371e-002, + 5.0289493e+000, + -1.6107588e-001, + 4.2295977e-002, + 5.0759439e+000, + -1.2903379e-001, + 4.1713234e-002, + 5.1231608e+000, + -9.6937224e-002, + 3.5061166e-002, + 5.1705260e+000, + -6.5766186e-002, + 3.4397315e-002, + 5.1742034e+000, + -6.3373707e-002, + 3.3746287e-002, + 5.1778827e+000, + -6.0978670e-002, + 3.3115242e-002, + 5.1815610e+000, + -5.8579750e-002, + 3.2701489e-002, + 5.1848779e+000, + -5.6828972e-002, + 3.4043692e-002, + 5.1848788e+000, + -6.1058778e-002, + 3.5385843e-002, + 5.1848793e+000, + -6.5288588e-002, + 3.6727902e-002, + 5.1848793e+000, + -6.9517821e-002, + 3.8069915e-002, + 5.1848807e+000, + -7.3747061e-002, + 3.9412066e-002, + 5.1848807e+000, + -7.7976868e-002, + 4.0754270e-002, + 5.1848812e+000, + -8.2206674e-002, + 4.2096280e-002, + 5.1848822e+000, + -8.6435884e-002, + 4.3438479e-002, + 5.1848826e+000, + -9.0665713e-002, + 4.4780489e-002, + 5.1848826e+000, + -9.4894953e-002, + 4.6122693e-002, + 5.1848831e+000, + -9.9124759e-002, + 4.7464702e-002, + 5.1848841e+000, + -1.0335397e-001, + 4.8806712e-002, + 5.1848845e+000, + -1.0758323e-001, + 5.0148912e-002, + 5.1848845e+000, + -1.1181302e-001, + 5.1491115e-002, + 5.1848855e+000, + -1.1604284e-001, + 5.2833125e-002, + 5.1848860e+000, + -1.2027208e-001, + 5.4175261e-002, + 5.1848865e+000, + -1.2450185e-001, + 5.5517480e-002, + 5.1848865e+000, + -1.2873170e-001, + 5.6859300e-002, + 5.1848874e+000, + -1.3296036e-001, + 5.8201499e-002, + 5.1848884e+000, + -1.3719015e-001, + 4.5370099e-001, + 5.1850276e+000, + -1.3972892e+000, + 8.4385848e-001, + 5.1851540e+000, + -2.6590650e+000, + 1.2305287e+000, + 5.1852698e+000, + -3.9218805e+000, + 1.6148000e+000, + 5.1853805e+000, + -5.1854529e+000, + 1.9973626e+000, + 5.1854854e+000, + -6.4495420e+000, + 2.3787172e+000, + 5.1855879e+000, + -7.7140155e+000, + 2.7592304e+000, + 5.1856890e+000, + -8.9787207e+000, + 3.1392193e+000, + 5.1857882e+000, + -1.0243586e+001, + 3.5189474e+000, + 5.1858864e+000, + -1.1508509e+001, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_A62C5F64 +{ + BindingSemantic = "Rotation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + 3.3666666e+000, + 3.4000001e+000, + 3.4333334e+000, + 3.4666667e+000, + 3.5000000e+000, + 3.5333333e+000, + 3.5666666e+000, + 3.5999999e+000, + 3.6333334e+000, + 3.6666667e+000, + 3.7000000e+000, + 3.7333333e+000, + 3.7666667e+000, + 3.8000000e+000, + 3.8333333e+000, + 3.8666666e+000, + 3.9000001e+000, + 3.9333334e+000, + 3.9666667e+000, + 4.0000000e+000, + }; + FloatValues = + { + -4.0117142e+001, + -1.2463942e+002, + 4.1332138e+001, + -4.0117126e+001, + -1.2511121e+002, + 2.3915482e+001, + -4.0117142e+001, + -1.2590030e+002, + 8.3285675e+000, + -4.0117142e+001, + -1.2700903e+002, + -6.3877258e+000, + -4.0117126e+001, + -1.2835634e+002, + -2.0102570e+001, + -4.0117126e+001, + -1.2970656e+002, + -3.2945923e+001, + -4.0117142e+001, + -1.3119862e+002, + -4.4870682e+001, + -4.0117126e+001, + -1.3258136e+002, + -5.6076958e+001, + -4.0117142e+001, + -1.3390390e+002, + -6.6638855e+001, + -4.0117142e+001, + -1.3523129e+002, + -7.6570648e+001, + -4.0117126e+001, + -1.3644347e+002, + -8.6019318e+001, + -4.0117142e+001, + -1.3752238e+002, + -9.5071754e+001, + -4.0187897e+001, + -1.3854373e+002, + -1.0373611e+002, + -4.0278473e+001, + -1.3952115e+002, + -1.1204582e+002, + -4.0288177e+001, + -1.4043582e+002, + -1.2005457e+002, + -4.0135773e+001, + -1.4126106e+002, + -1.2781906e+002, + -3.9843674e+001, + -1.4200836e+002, + -1.3536438e+002, + -3.9414612e+001, + -1.4268930e+002, + -1.4271111e+002, + -3.8872711e+001, + -1.4331311e+002, + -1.4987840e+002, + -3.8251511e+001, + -1.4389293e+002, + -1.5687967e+002, + -3.7558075e+001, + -1.4443237e+002, + -1.6373059e+002, + -3.6823639e+001, + -1.4493207e+002, + -1.7044731e+002, + -3.6072754e+001, + -1.4539510e+002, + -1.7704292e+002, + -3.5308533e+001, + -1.4582140e+002, + -1.8352985e+002, + -3.4546799e+001, + -1.4621507e+002, + -1.8991827e+002, + -3.3801559e+001, + -1.4657680e+002, + -1.9621767e+002, + -3.3083145e+001, + -1.4690918e+002, + -2.0243649e+002, + -3.2397064e+001, + -1.4721347e+002, + -2.0858223e+002, + -3.1745407e+001, + -1.4749194e+002, + -2.1466100e+002, + -3.1132904e+001, + -1.4774689e+002, + -2.2068016e+002, + -3.0563065e+001, + -1.4798152e+002, + -2.2664557e+002, + -3.0039139e+001, + -1.4819484e+002, + -2.3256168e+002, + -2.9563400e+001, + -1.4839082e+002, + -2.3843515e+002, + -2.9137589e+001, + -1.4856955e+002, + -2.4427026e+002, + -2.8763062e+001, + -1.4872943e+002, + -2.5007248e+002, + -2.8440323e+001, + -1.4886650e+002, + -2.5584659e+002, + -2.8170532e+001, + -1.4898653e+002, + -2.6159650e+002, + -2.7953934e+001, + -1.4908714e+002, + -2.6732629e+002, + -2.7790619e+001, + -1.4916800e+002, + -2.7303937e+002, + -2.7681305e+001, + -1.4922749e+002, + -2.7873889e+002, + -2.7625534e+001, + -1.4927158e+002, + -2.8442993e+002, + -2.7623978e+001, + -1.4929462e+002, + -2.9011398e+002, + -2.7676178e+001, + -1.4929898e+002, + -2.9579498e+002, + -2.7782394e+001, + -1.4928653e+002, + -3.0147610e+002, + -2.7942566e+001, + -1.4926355e+002, + -3.0716199e+002, + -2.8156540e+001, + -1.4922917e+002, + -3.1285663e+002, + -2.8424408e+001, + -1.4918054e+002, + -3.1856305e+002, + -2.8746140e+001, + -1.4912077e+002, + -3.2428598e+002, + -2.9121780e+001, + -1.4904716e+002, + -3.3003009e+002, + -2.9550537e+001, + -1.4895959e+002, + -3.3579913e+002, + -3.0031784e+001, + -1.4884972e+002, + -3.4159558e+002, + -3.0565369e+001, + -1.4872313e+002, + -3.4742407e+002, + -3.1151550e+001, + -1.4857338e+002, + -3.5328888e+002, + -3.1789551e+001, + -1.4840405e+002, + -3.5919409e+002, + -3.2478302e+001, + -1.4821423e+002, + -3.6514536e+002, + -3.3215805e+001, + -1.4799988e+002, + -3.7114618e+002, + -3.3999741e+001, + -1.4776523e+002, + -3.7720398e+002, + -3.4825592e+001, + -1.4750473e+002, + -3.8332297e+002, + -3.5687271e+001, + -1.4721927e+002, + -3.8951086e+002, + -3.6577240e+001, + -1.4690826e+002, + -3.9577411e+002, + -3.7494095e+001, + -1.4656705e+002, + -4.0212051e+002, + -3.8430145e+001, + -1.4619493e+002, + -4.0855743e+002, + -3.9368988e+001, + -1.4578967e+002, + -4.1509412e+002, + -4.0289703e+001, + -1.4534619e+002, + -4.2173993e+002, + -4.1186615e+001, + -1.4486116e+002, + -4.2850491e+002, + -4.2033031e+001, + -1.4432907e+002, + -4.3540060e+002, + -4.2793564e+001, + -1.4374751e+002, + -4.4244327e+002, + -4.3456543e+001, + -1.4312483e+002, + -4.4965442e+002, + -4.3968781e+001, + -1.4245760e+002, + -4.5705585e+002, + -4.4319046e+001, + -1.4175146e+002, + -4.6467230e+002, + -4.4456665e+001, + -1.4098386e+002, + -4.7251627e+002, + -4.4388184e+001, + -1.4012364e+002, + -4.8059872e+002, + -4.4106541e+001, + -1.3915367e+002, + -4.8894858e+002, + -2.9035873e+001, + -1.3811746e+002, + -4.9764453e+002, + 1.5689499e+001, + -1.3704892e+002, + -5.0675269e+002, + 5.9907867e+001, + -1.3586310e+002, + -5.1626642e+002, + 5.4157288e+001, + -1.3452498e+002, + -5.2623822e+002, + 6.1276085e+001, + -1.3317561e+002, + -5.3685345e+002, + 1.1408241e+002, + -1.3171835e+002, + -5.4810370e+002, + 1.3009450e+002, + -1.3016658e+002, + -5.6012476e+002, + 1.0316013e+002, + -1.2868475e+002, + -5.7308466e+002, + 9.1591438e+001, + -1.2781538e+002, + -5.8101373e+002, + 1.0799295e+002, + -1.2695927e+002, + -5.8928735e+002, + 1.3703574e+002, + -1.2615309e+002, + -5.9792975e+002, + 1.6921225e+002, + -1.2543469e+002, + -6.0694952e+002, + 1.8038834e+002, + -1.2483130e+002, + -6.1633545e+002, + 1.6635049e+002, + -1.2437032e+002, + -6.2605762e+002, + 1.5107425e+002, + -1.2406178e+002, + -6.3619202e+002, + 1.3927832e+002, + -1.1992651e+002, + -6.4470313e+002, + 1.3840881e+002, + -1.1189700e+002, + -6.4353967e+002, + 1.3753839e+002, + -9.9962860e+001, + -6.3826526e+002, + 1.3666692e+002, + -9.7973572e+001, + -4.7962906e+002, + 1.3602350e+002, + -1.2036554e+002, + -4.7059006e+002, + 1.3748370e+002, + -1.4220700e+002, + -4.6904926e+002, + 1.3898401e+002, + -1.5863129e+002, + -4.6839294e+002, + 1.4052588e+002, + -1.6970734e+002, + -4.6800500e+002, + 1.4211026e+002, + -1.7716470e+002, + -4.6772516e+002, + 1.4373877e+002, + -1.7999358e+002, + -4.6760516e+002, + 1.4541318e+002, + -1.7999358e+002, + -4.6760516e+002, + 1.4713454e+002, + -1.7999304e+002, + -4.6760516e+002, + 1.4890332e+002, + -1.7999358e+002, + -4.6760516e+002, + 1.5072015e+002, + -1.7999358e+002, + -4.6760516e+002, + 1.5258597e+002, + -1.7999304e+002, + -4.6760516e+002, + 1.5450027e+002, + -1.7999358e+002, + -4.6760516e+002, + 1.5646585e+002, + -1.7999304e+002, + -4.6760516e+002, + 1.5848273e+002, + -1.7999304e+002, + -4.6760516e+002, + 1.6055193e+002, + -1.7999358e+002, + -4.6760516e+002, + 1.6267322e+002, + -1.7999304e+002, + -4.6760516e+002, + 1.6484752e+002, + -1.7999358e+002, + -4.6760315e+002, + 1.6707442e+002, + -1.7999358e+002, + -4.6760022e+002, + 1.6935283e+002, + -1.7999304e+002, + -4.6759726e+002, + 1.7168289e+002, + -1.7999358e+002, + -4.6759430e+002, + 1.8092430e+002, + -1.7999411e+002, + -4.6729025e+002, + 1.8059932e+002, + -1.7999464e+002, + -4.6709009e+002, + 1.8041344e+002, + -1.7999518e+002, + -4.6696677e+002, + 1.8029437e+002, + -1.7999571e+002, + -4.6687457e+002, + 1.8020888e+002, + -1.7999518e+002, + -4.6680560e+002, + 1.8014337e+002, + -1.7999518e+002, + -4.6676135e+002, + 1.8009010e+002, + -1.7999571e+002, + -4.6673068e+002, + 1.8005405e+002, + -1.7999571e+002, + -4.6671326e+002, + 1.8005405e+002, + -1.7999571e+002, + -4.6670724e+002, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_29A4FFF7 +{ + BindingSemantic = "Scale"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + 3.3666666e+000, + 3.4000001e+000, + 3.4333334e+000, + 3.4666667e+000, + 3.5000000e+000, + 3.5333333e+000, + 3.5666666e+000, + 3.5999999e+000, + 3.6333334e+000, + 3.6666667e+000, + 3.7000000e+000, + 3.7333333e+000, + 3.7666667e+000, + 3.8000000e+000, + 3.8333333e+000, + 3.8666666e+000, + 3.9000001e+000, + 3.9333334e+000, + 3.9666667e+000, + 4.0000000e+000, + }; + FloatValues = + { + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000002e-001, + 1.0000001e-001, + 1.0000001e-001, + 9.9999987e-002, + 9.9999994e-002, + 9.9999979e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999979e-002, + 9.9999987e-002, + 9.9999972e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000002e-001, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000002e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999979e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999979e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000002e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000002e-001, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000002e-001, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 1.0000001e-001, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000002e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000002e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 1.0000001e-001, + 1.0000001e-001, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + }; +} +CAnimationTrack $LOCAL$/CAnimationTrack_E7BA1286 +{ + TrackName = "Track02"; + Channels = + { + "$LOCAL$/CSamplerCurve_EBE2D9DD", + "$LOCAL$/CSamplerCurve_A62C5F64", + "$LOCAL$/CSamplerCurve_29A4FFF7", + }; + CoordinateFrame = 2; +} +CSamplerCurve $LOCAL$/CSamplerCurve_B75740C1 +{ + BindingSemantic = "Translation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + 3.3666666e+000, + 3.4000001e+000, + 3.4333334e+000, + 3.4666667e+000, + 3.5000000e+000, + 3.5333333e+000, + 3.5666666e+000, + 3.5999999e+000, + 3.6333334e+000, + 3.6666667e+000, + 3.7000000e+000, + 3.7333333e+000, + 3.7666667e+000, + 3.8000000e+000, + 3.8333333e+000, + 3.8666666e+000, + 3.9000001e+000, + 3.9333334e+000, + 3.9666667e+000, + 4.0000000e+000, + }; + FloatValues = + { + 1.0112648e-001, + 5.9518524e-002, + 8.3119860e-003, + 1.5090440e-001, + 1.4065665e-001, + 3.4665342e-002, + 1.9210485e-001, + 2.2116163e-001, + 7.4411720e-002, + 2.2214593e-001, + 3.0071512e-001, + 1.2469444e-001, + 2.3941782e-001, + 3.7896895e-001, + 1.8247750e-001, + 2.4306829e-001, + 4.5578152e-001, + 2.4451512e-001, + 2.3304127e-001, + 5.3101671e-001, + 3.0778024e-001, + 2.0988502e-001, + 6.0462147e-001, + 3.6950976e-001, + 1.7459740e-001, + 6.7663515e-001, + 4.2725295e-001, + 1.2851086e-001, + 7.4706227e-001, + 4.7904345e-001, + 7.3167652e-002, + 8.1595683e-001, + 5.2328891e-001, + 1.0234928e-002, + 8.8340700e-001, + 5.5875242e-001, + -5.8568712e-002, + 9.4949943e-001, + 5.8456206e-001, + -1.3154596e-001, + 1.0142988e+000, + 6.0018528e-001, + -2.0704339e-001, + 1.0778797e+000, + 6.0535830e-001, + -2.8347453e-001, + 1.1403265e+000, + 6.0004687e-001, + -3.5935044e-001, + 1.2017187e+000, + 5.8443046e-001, + -4.3329293e-001, + 1.2621297e+000, + 5.5886954e-001, + -5.0404614e-001, + 1.3216277e+000, + 5.2387488e-001, + -5.7048023e-001, + 1.3802756e+000, + 4.8008230e-001, + -6.3159472e-001, + 1.4381340e+000, + 4.2823130e-001, + -6.8651783e-001, + 1.4952589e+000, + 3.6914295e-001, + -7.3450780e-001, + 1.5517035e+000, + 3.0370221e-001, + -7.7494872e-001, + 1.6075161e+000, + 2.3284243e-001, + -8.0734813e-001, + 1.6627429e+000, + 1.5752929e-001, + -8.3133405e-001, + 1.7174275e+000, + 7.8750126e-002, + -8.4665000e-001, + 1.7716132e+000, + -2.4987219e-003, + -8.5315073e-001, + 1.8253369e+000, + -8.5225396e-002, + -8.5079801e-001, + 1.8786378e+000, + -1.6844626e-001, + -8.3965451e-001, + 1.9315503e+000, + -2.5120175e-001, + -8.1987834e-001, + 1.9841086e+000, + -3.3255875e-001, + -7.9171777e-001, + 2.0363438e+000, + -4.1162199e-001, + -7.5550544e-001, + 2.0882866e+000, + -4.8753792e-001, + -7.1165228e-001, + 2.1399677e+000, + -5.5950069e-001, + -6.6064018e-001, + 2.1914129e+000, + -6.2676090e-001, + -6.0301942e-001, + 2.2426524e+000, + -6.8862379e-001, + -5.3939682e-001, + 2.2937119e+000, + -7.4446183e-001, + -4.7043321e-001, + 2.3446150e+000, + -7.9371321e-001, + -3.9683664e-001, + 2.3953869e+000, + -8.3588517e-001, + -3.1935498e-001, + 2.4460542e+000, + -8.7055886e-001, + -2.3876871e-001, + 2.4966390e+000, + -8.9739048e-001, + -1.5588616e-001, + 2.5471630e+000, + -9.1611439e-001, + -7.1536250e-002, + 2.5976527e+000, + -9.2654330e-001, + 1.3439130e-002, + 2.6481302e+000, + -9.2857105e-001, + 9.8190635e-002, + 2.6986184e+000, + -9.2217213e-001, + 1.8186912e-001, + 2.7491419e+000, + -9.0740323e-001, + 2.6363295e-001, + 2.7997236e+000, + -8.8440299e-001, + 3.4265098e-001, + 2.8503916e+000, + -8.5339284e-001, + 4.1811779e-001, + 2.9011695e+000, + -8.1467378e-001, + 4.8925379e-001, + 2.9520805e+000, + -7.6862592e-001, + 5.5531478e-001, + 3.0031526e+000, + -7.1570808e-001, + 6.1559922e-001, + 3.0544086e+000, + -6.5645325e-001, + 6.6945481e-001, + 3.1058767e+000, + -5.9146756e-001, + 7.1628499e-001, + 3.1575849e+000, + -5.2142590e-001, + 7.5555581e-001, + 3.2095594e+000, + -4.4707039e-001, + 7.8680599e-001, + 3.2618322e+000, + -3.6920297e-001, + 8.0965006e-001, + 3.3144338e+000, + -2.8868335e-001, + 8.2378870e-001, + 3.3673975e+000, + -2.0642187e-001, + 8.2901359e-001, + 3.4207587e+000, + -1.2337103e-001, + 8.2521623e-001, + 3.4745517e+000, + -4.0522642e-002, + 8.1239313e-001, + 3.5288146e+000, + 4.1102700e-002, + 7.9065436e-001, + 3.5835910e+000, + 1.2046656e-001, + 7.6022786e-001, + 3.6389210e+000, + 1.9652031e-001, + 7.2146738e-001, + 3.6948538e+000, + 2.6821801e-001, + 6.7485899e-001, + 3.7514372e+000, + 3.3452776e-001, + 6.2102288e-001, + 3.8087256e+000, + 3.9445016e-001, + 5.6072307e-001, + 3.8667748e+000, + 4.4703025e-001, + 4.9486652e-001, + 3.9256489e+000, + 4.9138123e-001, + 4.2450291e-001, + 3.9854124e+000, + 5.2670246e-001, + 3.5082233e-001, + 4.0461230e+000, + 5.5229753e-001, + 2.7516583e-001, + 4.1078563e+000, + 5.6760889e-001, + 1.9901571e-001, + 4.1706929e+000, + 5.7224786e-001, + 1.2398151e-001, + 4.2347221e+000, + 5.6602877e-001, + 5.1788326e-002, + 4.3000417e+000, + 5.4901129e-001, + -1.5775060e-002, + 4.3667197e+000, + 5.2150381e-001, + -7.6858804e-002, + 4.4348359e+000, + 4.8414838e-001, + -1.2960289e-001, + 4.5045023e+000, + 4.3799007e-001, + -1.7222518e-001, + 4.5757980e+000, + 3.8446242e-001, + -2.0311195e-001, + 4.6487474e+000, + 3.2539991e-001, + -2.2093345e-001, + 4.7234340e+000, + 2.6321295e-001, + -2.2476710e-001, + 4.7998004e+000, + 2.0064530e-001, + -2.2047292e-001, + 4.8446746e+000, + 1.6559753e-001, + -2.1145771e-001, + 4.8900700e+000, + 1.3215432e-001, + -1.9787362e-001, + 4.9359479e+000, + 1.0099344e-001, + -1.7998037e-001, + 4.9822612e+000, + 7.2794482e-002, + -1.5815501e-001, + 5.0289493e+000, + 4.8219297e-002, + -1.3289450e-001, + 5.0759439e+000, + 2.7887510e-002, + -1.0480671e-001, + 5.1231608e+000, + 1.2343907e-002, + -7.4485771e-002, + 5.1705260e+000, + 2.5192259e-003, + -7.2081894e-002, + 5.1742034e+000, + 1.8978833e-003, + -6.9682211e-002, + 5.1778827e+000, + 1.2641907e-003, + -6.7289159e-002, + 5.1815610e+000, + 6.1125751e-004, + -6.5566055e-002, + 5.1848779e+000, + 9.4175331e-005, + -6.9900267e-002, + 5.1848788e+000, + 1.0467052e-003, + -7.4234478e-002, + 5.1848793e+000, + 1.9992350e-003, + -7.8568123e-002, + 5.1848793e+000, + 2.9516458e-003, + -8.2901761e-002, + 5.1848807e+000, + 3.9040325e-003, + -8.7235972e-002, + 5.1848807e+000, + 4.8565622e-003, + -9.1570184e-002, + 5.1848812e+000, + 5.8091162e-003, + -9.5903821e-002, + 5.1848822e+000, + 6.7615029e-003, + -1.0023803e-001, + 5.1848826e+000, + 7.7140327e-003, + -1.0457167e-001, + 5.1848826e+000, + 8.6664436e-003, + -1.0890588e-001, + 5.1848831e+000, + 9.6189734e-003, + -1.1323952e-001, + 5.1848841e+000, + 1.0571360e-002, + -1.1757316e-001, + 5.1848845e+000, + 1.1523770e-002, + -1.2190737e-001, + 5.1848845e+000, + 1.2476301e-002, + -1.2624158e-001, + 5.1848855e+000, + 1.3428831e-002, + -1.3057522e-001, + 5.1848860e+000, + 1.4381217e-002, + -1.3490939e-001, + 5.1848865e+000, + 1.5333761e-002, + -1.3924365e-001, + 5.1848865e+000, + 1.6286300e-002, + -1.4357671e-001, + 5.1848874e+000, + 1.7238569e-002, + -1.4791092e-001, + 5.1848884e+000, + 1.8191097e-002, + -1.4369382e+000, + 5.1850276e+000, + 3.0572805e-001, + -2.7247472e+000, + 5.1851540e+000, + 5.9872985e-001, + -4.0117121e+000, + 5.1852698e+000, + 8.9527136e-001, + -5.2981329e+000, + 5.1853805e+000, + 1.1942686e+000, + -6.5841479e+000, + 5.1854854e+000, + 1.4950042e+000, + -7.8698916e+000, + 5.1855879e+000, + 1.7969791e+000, + -9.1554165e+000, + 5.1856890e+000, + 2.0997977e+000, + -1.0440815e+001, + 5.1857882e+000, + 2.4031503e+000, + -1.1726134e+001, + 5.1858864e+000, + 2.7067564e+000, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_1C879E18 +{ + BindingSemantic = "Rotation"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + 3.3666666e+000, + 3.4000001e+000, + 3.4333334e+000, + 3.4666667e+000, + 3.5000000e+000, + 3.5333333e+000, + 3.5666666e+000, + 3.5999999e+000, + 3.6333334e+000, + 3.6666667e+000, + 3.7000000e+000, + 3.7333333e+000, + 3.7666667e+000, + 3.8000000e+000, + 3.8333333e+000, + 3.8666666e+000, + 3.9000001e+000, + 3.9333334e+000, + 3.9666667e+000, + 4.0000000e+000, + }; + FloatValues = + { + 1.3988287e+002, + -5.5360577e+001, + -1.8667852e+001, + 1.3988287e+002, + -5.4888798e+001, + -3.6084503e+001, + 1.3988287e+002, + -5.4099697e+001, + -5.1671436e+001, + 1.3988286e+002, + -5.2990993e+001, + -6.6387741e+001, + 1.3988287e+002, + -5.1643654e+001, + -8.0102562e+001, + 1.3988286e+002, + -5.0293453e+001, + -9.2945953e+001, + 1.3988287e+002, + -4.8801384e+001, + -1.0487069e+002, + 1.3988286e+002, + -4.7418636e+001, + -1.1607697e+002, + 1.3988286e+002, + -4.6096111e+001, + -1.2663889e+002, + 1.3988286e+002, + -4.4768711e+001, + -1.3657071e+002, + 1.3988286e+002, + -4.3556530e+001, + -1.4601923e+002, + 1.3988286e+002, + -4.2477604e+001, + -1.5507182e+002, + 1.3981207e+002, + -4.1456253e+001, + -1.6373615e+002, + 1.3972151e+002, + -4.0478851e+001, + -1.7204579e+002, + 1.3971182e+002, + -3.9564209e+001, + -1.8005452e+002, + 1.3986424e+002, + -3.8738930e+001, + -1.8781908e+002, + 1.4015630e+002, + -3.7991657e+001, + -1.9536438e+002, + 1.4058540e+002, + -3.7310673e+001, + -2.0271106e+002, + 1.4112733e+002, + -3.6686878e+001, + -2.0987845e+002, + 1.4174846e+002, + -3.6107052e+001, + -2.1687961e+002, + 1.4244193e+002, + -3.5567638e+001, + -2.2373064e+002, + 1.4317638e+002, + -3.5067940e+001, + -2.3044722e+002, + 1.4392725e+002, + -3.4604897e+001, + -2.3704288e+002, + 1.4469145e+002, + -3.4178608e+001, + -2.4352979e+002, + 1.4545320e+002, + -3.3784943e+001, + -2.4991830e+002, + 1.4619844e+002, + -3.3423203e+001, + -2.5621759e+002, + 1.4691687e+002, + -3.3090820e+001, + -2.6243643e+002, + 1.4760295e+002, + -3.2786537e+001, + -2.6858215e+002, + 1.4825456e+002, + -3.2508041e+001, + -2.7466107e+002, + 1.4886713e+002, + -3.2253117e+001, + -2.8068018e+002, + 1.4943697e+002, + -3.2018497e+001, + -2.8664554e+002, + 1.4996091e+002, + -3.1805164e+001, + -2.9256171e+002, + 1.5043657e+002, + -3.1609192e+001, + -2.9843518e+002, + 1.5086241e+002, + -3.1430449e+001, + -3.0427020e+002, + 1.5123694e+002, + -3.1270567e+001, + -3.1007236e+002, + 1.5155968e+002, + -3.1133507e+001, + -3.1584662e+002, + 1.5182950e+002, + -3.1013479e+001, + -3.2159650e+002, + 1.5204610e+002, + -3.0912851e+001, + -3.2732620e+002, + 1.5220937e+002, + -3.0831995e+001, + -3.3303931e+002, + 1.5231866e+002, + -3.0772503e+001, + -3.3873886e+002, + 1.5237450e+002, + -3.0728449e+001, + -3.4442978e+002, + 1.5237599e+002, + -3.0705378e+001, + -3.5011398e+002, + 1.5232382e+002, + -3.0701027e+001, + -3.5579489e+002, + 1.5221761e+002, + -3.0713474e+001, + -3.6147614e+002, + 1.5205742e+002, + -3.0736437e+001, + -3.6716205e+002, + 1.5184349e+002, + -3.0770811e+001, + -3.7285663e+002, + 1.5157556e+002, + -3.0819427e+001, + -3.7856299e+002, + 1.5125383e+002, + -3.0879206e+001, + -3.8428595e+002, + 1.5087823e+002, + -3.0952831e+001, + -3.9003018e+002, + 1.5044951e+002, + -3.1040424e+001, + -3.9579907e+002, + 1.4996815e+002, + -3.1150274e+001, + -4.0159555e+002, + 1.4943460e+002, + -3.1276859e+001, + -4.0742404e+002, + 1.4884845e+002, + -3.1426619e+001, + -4.1328879e+002, + 1.4821045e+002, + -3.1595964e+001, + -4.1919400e+002, + 1.4752170e+002, + -3.1785767e+001, + -4.2514526e+002, + 1.4678418e+002, + -3.2000099e+001, + -4.3114624e+002, + 1.4600023e+002, + -3.2234791e+001, + -4.3720386e+002, + 1.4517441e+002, + -3.2495251e+001, + -4.4332306e+002, + 1.4431271e+002, + -3.2780712e+001, + -4.4951089e+002, + 1.4342276e+002, + -3.3091728e+001, + -4.5577414e+002, + 1.4250592e+002, + -3.3432953e+001, + -4.6212054e+002, + 1.4156985e+002, + -3.3805077e+001, + -4.6855743e+002, + 1.4063103e+002, + -3.4210346e+001, + -4.7509412e+002, + 1.3971025e+002, + -3.4653751e+001, + -4.8173990e+002, + 1.3881339e+002, + -3.5138813e+001, + -4.8850488e+002, + 1.3796698e+002, + -3.5670944e+001, + -4.9540060e+002, + 1.3720647e+002, + -3.6252487e+001, + -5.0244330e+002, + 1.3654343e+002, + -3.6875183e+001, + -5.0965442e+002, + 1.3603123e+002, + -3.7542408e+001, + -5.1705585e+002, + 1.3568094e+002, + -3.8248543e+001, + -5.2467230e+002, + 1.3554333e+002, + -3.9016140e+001, + -5.3251624e+002, + 1.3561182e+002, + -3.9876347e+001, + -5.4059882e+002, + 1.3589348e+002, + -4.0846344e+001, + -5.4894849e+002, + 1.5096416e+002, + -4.1882584e+001, + -5.5764453e+002, + 1.9568950e+002, + -4.2951096e+001, + -5.6675269e+002, + 2.3990787e+002, + -4.4136890e+001, + -5.7626648e+002, + 2.3415729e+002, + -4.5475052e+001, + -5.8623822e+002, + 2.4127611e+002, + -4.6824402e+001, + -5.9685345e+002, + 2.9408243e+002, + -4.8281631e+001, + -6.0810370e+002, + 3.1009448e+002, + -4.9833397e+001, + -6.2012476e+002, + 2.8316013e+002, + -5.1315239e+001, + -6.3308466e+002, + 2.7159143e+002, + -5.2184620e+001, + -6.4101373e+002, + 2.8799295e+002, + -5.3040730e+001, + -6.4928735e+002, + 3.1703577e+002, + -5.3846916e+001, + -6.5792969e+002, + 3.4921225e+002, + -5.4565311e+001, + -6.6694952e+002, + 3.6038828e+002, + -5.5168705e+001, + -6.7633545e+002, + 3.4635049e+002, + -5.5629704e+001, + -6.8605762e+002, + 3.3107422e+002, + -5.5938229e+001, + -6.9619208e+002, + 3.1927832e+002, + -6.0073490e+001, + -7.0470313e+002, + 3.1840884e+002, + -6.8102989e+001, + -7.0353967e+002, + 3.1753839e+002, + -8.0037148e+001, + -6.9826526e+002, + 3.1666690e+002, + -8.2026421e+001, + -5.3962903e+002, + 3.1602350e+002, + -5.9634438e+001, + -5.3059009e+002, + 3.1748370e+002, + -3.7792999e+001, + -5.2904926e+002, + 3.1898401e+002, + -2.1368708e+001, + -5.2839294e+002, + 3.2052588e+002, + -1.0292664e+001, + -5.2800500e+002, + 3.2211029e+002, + -2.8352947e+000, + -5.2772516e+002, + 3.2373877e+002, + -6.4242212e-003, + -5.2760516e+002, + 3.2541318e+002, + -6.4248587e-003, + -5.2760516e+002, + 3.2713458e+002, + -6.9599636e-003, + -5.2760516e+002, + 3.2890332e+002, + -6.4250729e-003, + -5.2760516e+002, + 3.3072015e+002, + -6.4246468e-003, + -5.2760516e+002, + 3.3258600e+002, + -6.9601755e-003, + -5.2760516e+002, + 3.3450031e+002, + -6.4248601e-003, + -5.2760516e+002, + 3.3646585e+002, + -6.9601764e-003, + -5.2760516e+002, + 3.3848276e+002, + -6.9603887e-003, + -5.2760516e+002, + 3.4055194e+002, + -6.4248601e-003, + -5.2760516e+002, + 3.4267322e+002, + -6.9601755e-003, + -5.2760516e+002, + 3.4484756e+002, + -6.4247553e-003, + -5.2760315e+002, + 3.4707443e+002, + -6.4248601e-003, + -5.2760022e+002, + 3.4935284e+002, + -6.9602830e-003, + -5.2759723e+002, + 3.5168289e+002, + -6.4249658e-003, + -5.2759430e+002, + 3.6092432e+002, + -5.8894302e-003, + -5.2729016e+002, + 3.6059933e+002, + -5.3540100e-003, + -5.2709009e+002, + 3.6041336e+002, + -4.8186085e-003, + -5.2696680e+002, + 3.6029446e+002, + -4.2831991e-003, + -5.2687433e+002, + 3.6020880e+002, + -4.8186863e-003, + -5.2680566e+002, + 3.6014328e+002, + -4.8186420e-003, + -5.2676135e+002, + 3.6009015e+002, + -4.2831926e-003, + -5.2673071e+002, + 3.6005420e+002, + -4.2832145e-003, + -5.2671332e+002, + 3.6005420e+002, + -4.2835250e-003, + -5.2670764e+002, + }; +} +CSamplerCurve $LOCAL$/CSamplerCurve_94910ABB +{ + BindingSemantic = "Scale"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.3333335e-002, + 6.6666670e-002, + 1.0000000e-001, + 1.3333334e-001, + 1.6666667e-001, + 2.0000000e-001, + 2.3333333e-001, + 2.6666668e-001, + 3.0000001e-001, + 3.3333334e-001, + 3.6666667e-001, + 4.0000001e-001, + 4.3333334e-001, + 4.6666667e-001, + 5.0000000e-001, + 5.3333336e-001, + 5.6666666e-001, + 6.0000002e-001, + 6.3333333e-001, + 6.6666669e-001, + 6.9999999e-001, + 7.3333335e-001, + 7.6666665e-001, + 8.0000001e-001, + 8.3333331e-001, + 8.6666667e-001, + 8.9999998e-001, + 9.3333334e-001, + 9.6666664e-001, + 1.0000000e+000, + 1.0333333e+000, + 1.0666667e+000, + 1.1000000e+000, + 1.1333333e+000, + 1.1666666e+000, + 1.2000000e+000, + 1.2333333e+000, + 1.2666667e+000, + 1.3000000e+000, + 1.3333334e+000, + 1.3666667e+000, + 1.4000000e+000, + 1.4333333e+000, + 1.4666667e+000, + 1.5000000e+000, + 1.5333333e+000, + 1.5666667e+000, + 1.6000000e+000, + 1.6333333e+000, + 1.6666666e+000, + 1.7000000e+000, + 1.7333333e+000, + 1.7666667e+000, + 1.8000000e+000, + 1.8333334e+000, + 1.8666667e+000, + 1.9000000e+000, + 1.9333333e+000, + 1.9666667e+000, + 2.0000000e+000, + 2.0333333e+000, + 2.0666666e+000, + 2.0999999e+000, + 2.1333334e+000, + 2.1666667e+000, + 2.2000000e+000, + 2.2333333e+000, + 2.2666667e+000, + 2.3000000e+000, + 2.3333333e+000, + 2.3666666e+000, + 2.4000001e+000, + 2.4333334e+000, + 2.4666667e+000, + 2.5000000e+000, + 2.5333333e+000, + 2.5666666e+000, + 2.5999999e+000, + 2.6333334e+000, + 2.6666667e+000, + 2.7000000e+000, + 2.7333333e+000, + 2.7666667e+000, + 2.8000000e+000, + 2.8333333e+000, + 2.8666666e+000, + 2.9000001e+000, + 2.9333334e+000, + 2.9666667e+000, + 3.0000000e+000, + 3.0333333e+000, + 3.0666666e+000, + 3.0999999e+000, + 3.1333334e+000, + 3.1666667e+000, + 3.2000000e+000, + 3.2333333e+000, + 3.2666667e+000, + 3.3000000e+000, + 3.3333333e+000, + 3.3666666e+000, + 3.4000001e+000, + 3.4333334e+000, + 3.4666667e+000, + 3.5000000e+000, + 3.5333333e+000, + 3.5666666e+000, + 3.5999999e+000, + 3.6333334e+000, + 3.6666667e+000, + 3.7000000e+000, + 3.7333333e+000, + 3.7666667e+000, + 3.8000000e+000, + 3.8333333e+000, + 3.8666666e+000, + 3.9000001e+000, + 3.9333334e+000, + 3.9666667e+000, + 4.0000000e+000, + }; + FloatValues = + { + 9.9999987e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 1.0000002e-001, + 1.0000001e-001, + 1.0000002e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000002e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999987e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 1.0000001e-001, + 1.0000001e-001, + 1.0000002e-001, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999979e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 1.0000001e-001, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999979e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000003e-001, + 1.0000001e-001, + 1.0000002e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000002e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000002e-001, + 1.0000001e-001, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999972e-002, + 9.9999979e-002, + 9.9999987e-002, + 1.0000002e-001, + 1.0000002e-001, + 9.9999994e-002, + 9.9999979e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999987e-002, + 9.9999987e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999987e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 1.0000001e-001, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999979e-002, + 9.9999979e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 9.9999994e-002, + 1.0000001e-001, + 9.9999994e-002, + 9.9999994e-002, + }; +} +CAnimationTrack $LOCAL$/CAnimationTrack_83B1D29A +{ + TrackName = "Track03"; + Channels = + { + "$LOCAL$/CSamplerCurve_B75740C1", + "$LOCAL$/CSamplerCurve_1C879E18", + "$LOCAL$/CSamplerCurve_94910ABB", + }; + CoordinateFrame = 2; +} diff --git a/assets/streaming/PackFx/Meshes/Path.pkmm b/assets/streaming/PackFx/Meshes/Path.pkmm new file mode 100644 index 0000000..9cf961b Binary files /dev/null and b/assets/streaming/PackFx/Meshes/Path.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/Sphere_01.pkmm b/assets/streaming/PackFx/Meshes/Sphere_01.pkmm new file mode 100644 index 0000000..3689795 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/Sphere_01.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/Telepod.pkmm b/assets/streaming/PackFx/Meshes/Telepod.pkmm new file mode 100644 index 0000000..54e7706 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/Telepod.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/TestArea.pkmm b/assets/streaming/PackFx/Meshes/TestArea.pkmm new file mode 100644 index 0000000..e0565fd Binary files /dev/null and b/assets/streaming/PackFx/Meshes/TestArea.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/TestAreaPlane.pkmm b/assets/streaming/PackFx/Meshes/TestAreaPlane.pkmm new file mode 100644 index 0000000..11b63d1 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/TestAreaPlane.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/ThrusterScene.pkmm b/assets/streaming/PackFx/Meshes/ThrusterScene.pkmm new file mode 100644 index 0000000..319d591 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/ThrusterScene.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/UnityBlastScene.pkmm b/assets/streaming/PackFx/Meshes/UnityBlastScene.pkmm new file mode 100644 index 0000000..ee1578f Binary files /dev/null and b/assets/streaming/PackFx/Meshes/UnityBlastScene.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/UnityFTScene.pkmm b/assets/streaming/PackFx/Meshes/UnityFTScene.pkmm new file mode 100644 index 0000000..20fae4e Binary files /dev/null and b/assets/streaming/PackFx/Meshes/UnityFTScene.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/UnityScene.pkmm b/assets/streaming/PackFx/Meshes/UnityScene.pkmm new file mode 100644 index 0000000..54d0a74 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/UnityScene.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/UnityScene_Lightning.pkmm b/assets/streaming/PackFx/Meshes/UnityScene_Lightning.pkmm new file mode 100644 index 0000000..330f260 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/UnityScene_Lightning.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/VenusHigh.pkmm b/assets/streaming/PackFx/Meshes/VenusHigh.pkmm new file mode 100644 index 0000000..782e3c8 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/VenusHigh.pkmm differ diff --git a/assets/streaming/PackFx/Meshes/cuberoom_dark.pkmm b/assets/streaming/PackFx/Meshes/cuberoom_dark.pkmm new file mode 100644 index 0000000..7ed90f7 Binary files /dev/null and b/assets/streaming/PackFx/Meshes/cuberoom_dark.pkmm differ diff --git a/assets/streaming/PackFx/Particles/AnimBlend_CS_FX.pkfx b/assets/streaming/PackFx/Particles/AnimBlend_CS_FX.pkfx new file mode 100644 index 0000000..90a1d95 --- /dev/null +++ b/assets/streaming/PackFx/Particles/AnimBlend_CS_FX.pkfx @@ -0,0 +1,308 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(560, 108); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-10, -165); + ChildList = + { + "$LOCAL$/Flames", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-1667, 442); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_B01A74CC", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6678787D +{ + EditorInfosPosition = int2(-830, 511); + SamplerName = "FireEvolutionToIntensity"; + ValueType = Float2; + Times = + { + 0.0000000e+000, + 1.3047621e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0329541e-001, + 8.4111977e-001, + 5.4319727e-001, + 8.8907814e-001, + 9.9392861e-001, + 9.9975193e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.7925874e-001, + 0.0000000e+000, + 2.2303204e-001, + 4.2631540e-002, + 1.4863373e+000, + 2.8410649e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flames +{ + EditorInfosPosition = int2(-496, 452); + Descriptor = "$LOCAL$/CParticleDescriptor_F47379C0"; + Infinite = true; + SpawnCount = 1.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_F47379C0 +{ + EditorInfosPosition = int2(-666, 466); + InheritInitialVelocity = 1.0000000e+000; + Renderer = "$LOCAL$/CParticleRenderer_Billboard_3C633183"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F1B5DBCC", + "$LOCAL$/CParticleFieldDeclaration_7997D550", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_6678787D", + "$LOCAL$/CParticleSamplerProceduralTurbulence_8CDDBB37", + "$LOCAL$/CParticleSamplerShape_56314ABA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_38ACD63A"; + States = + { + "$LOCAL$/CParticleState_C1B58415", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_3C633183 +{ + EditorInfosPosition = int2(-819, 373); + UserData = "shaderGroup=animBlend"; + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.png"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + NormalsWrapFactor = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_38ACD63A +{ + EditorInfosPosition = int2(-826, 648); + Expression = "function void Eval() +{ + Position = PositionSampler.samplePosition(); + float2 fEv = FireEvolutionToIntensity.sample(FireEvolution); + Life = rand(0.9,1.2) * fEv.y * step(FireEvolution + rand(-0.2,0.0), 1.0e-3); + TextureID = 0; + float rSpeed = rand(-2,2); + ScalarRotationSpeed = (rSpeed + sign(rSpeed)) * 0.2; // ]-3,-1] [1,3[ + Rotation = rand(-1.0,2.0); + Velocity = float3(rand(-1,1), 2.5, rand(-1,1)) * 0.1 * sqrt(FireEvolution); + AlphaCoeff = pow(fEv.x, 2); +}"; +} +CParticleState $LOCAL$/CParticleState_C1B58415 +{ + EditorInfosPosition = int2(-899, 734); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7E5AA684", + "$LOCAL$/CParticleEvolver_Field_70ED091E", + "$LOCAL$/CParticleEvolver_Field_DCF78D2B", + "$LOCAL$/CParticleEvolver_Rotation_0CCB3B5F", + "$LOCAL$/CParticleEvolver_Script_67F85ED3", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7E5AA684 +{ + EditorInfosPosition = int2(-1066, 628); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 4.0000001e-001, 0.0000000e+000); + Drag = 1.0000000e-001; + VelocityFieldSampler = "VelocityField"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_8CDDBB37 +{ + EditorInfosPosition = int2(-828, 554); + EditorInfosIsBlockMinimized = 0; + SamplerName = "VelocityField"; + Strength = 2.1213204e-001; + Gain = 1.0000000e+000; + TimeScale = 2.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_70ED091E +{ + EditorInfosPosition = int2(-1055, 673); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_BF257B69"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_BF257B69 +{ + EditorInfosPosition = int2(-1178, 681); + Times = + { + 0.0000000e+000, + 2.7251947e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.4868100e-001, + 4.6102530e-001, + 4.7235289e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0045175e-002, + 9.4237840e-003, + 2.5156438e-002, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_DCF78D2B +{ + EditorInfosPosition = int2(-1049, 724); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_D2406342"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D2406342 +{ + EditorInfosPosition = int2(-1152, 735); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.9275585e-001, + 3.8901365e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.9952280e+001, + 6.1120281e+000, + 5.7484698e+000, + 9.4454652e-001, + 8.1519156e+000, + 1.7745140e+000, + 8.4593278e-001, + 7.6053113e-001, + 7.9247508e+000, + 1.7799740e+000, + 9.2682981e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 5.5607557e-003, + 4.8091492e+001, + 1.3972640e+001, + 1.4414766e+001, + 1.8145528e+000, + -6.3568032e-001, + -5.8969550e+000, + -8.5003681e+000, + -5.6470494e-004, + -1.0975051e-001, + -8.5251138e-002, + -1.8715945e-001, + -4.9848405e-001, + -3.4167334e-001, + -2.6540235e-001, + -5.8266151e-001, + -1.5518718e+000, + -1.1657565e-002, + 3.0774367e-001, + -2.1774846e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F1B5DBCC +{ + EditorInfosPosition = int2(-818, 427); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_0CCB3B5F +{ + EditorInfosPosition = int2(-1050, 770); + CustomName = "Rotation"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_56314ABA +{ + EditorInfosPosition = int2(-824, 593); + EditorInfosIsBlockMinimized = 2; + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_3267AEE5"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_3267AEE5 +{ + EditorInfosPosition = int2(-911, 592); + Position = float3(0.0000000e+000, 5.9999999e-002, 0.0000000e+000); + ShapeType = CYLINDER; + Radius = 2.9999999e-002; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B01A74CC +{ + EditorInfosPosition = int2(-1772, 475); + AttributeName = "FireEvolution"; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7997D550 +{ + EditorInfosPosition = int2(-815, 463); + EditorInfosIsBlockMinimized = 0; + FieldName = "AlphaCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_67F85ED3 +{ + EditorInfosPosition = int2(-1050, 819); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_DDE68E4A"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DDE68E4A +{ + EditorInfosPosition = int2(-1209, 802); + Expression = "function void Eval() +{ + Color *= AlphaCoeff; + Size *= 0.3; + TextureID = LifeRatio * 31; +}"; +} diff --git a/assets/streaming/PackFx/Particles/Basic_CS_FX.pkfx b/assets/streaming/PackFx/Particles/Basic_CS_FX.pkfx new file mode 100644 index 0000000..394df91 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Basic_CS_FX.pkfx @@ -0,0 +1,83 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_CF572753", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-508, -63); + UserData = "shaderGroup=test"; + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/BlastPack_Extended.png"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 1.0; + Size = 0.25; + ColorModifier = int3(1,0,1); + TextureID = rand(32, 36); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 2.0000000e+000, 0.0000000e+000); +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CF572753 +{ + FieldName = "ColorModifier"; + FieldType = float3; +} diff --git a/assets/streaming/PackFx/Particles/Blast.pkfx b/assets/streaming/PackFx/Particles/Blast.pkfx new file mode 100644 index 0000000..f0e25ba --- /dev/null +++ b/assets/streaming/PackFx/Particles/Blast.pkfx @@ -0,0 +1,2563 @@ +Version = 1.9.0.28323; +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_00004D06 +{ + EditorInfosPosition = int2(-1065, 1014); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 7.5847983e-002, + 1.4696448e-001, + 2.4258769e-001, + 4.9293286e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.1547210e+000, + 1.1769067e+000, + 8.8163102e-001, + 9.9287558e-001, + 1.0516804e+000, + 8.9510673e-001, + 7.9527420e-001, + 9.8166811e-001, + 6.1770290e-001, + 5.7166797e-001, + 5.2050209e-001, + 9.1699642e-001, + 2.6634568e-001, + 2.4344110e-001, + 2.1688884e-001, + 3.3958918e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.5726368e+001, + 1.2171265e+001, + 5.2625952e+000, + 3.1892614e+000, + -3.0210230e+000, + -6.5311247e-001, + -6.6727784e-004, + 7.8670140e-003, + -2.8325679e+000, + -6.1237049e-001, + -6.2565220e-004, + 7.3762601e-003, + -3.1570667e-001, + -1.9195643e-001, + -1.2611319e-001, + 1.4514180e-003, + -4.2449912e-001, + -2.5810453e-001, + -1.6957177e-001, + 2.4719578e-003, + -2.5469473e-001, + -2.5751734e-001, + -2.1533030e-001, + -1.7830107e-001, + -6.6680038e-001, + -6.7419004e-001, + -5.6374288e-001, + -4.6679890e-001, + -1.6560625e-001, + -1.4565593e-001, + -1.2684762e-001, + -3.2787880e-001, + -3.3543083e-001, + -2.9502201e-001, + -2.5692633e-001, + -6.6410935e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/SpawnScript_MainDebris +{ + EditorInfosPosition = int2(-161, 388); + EditorInfosIsBlockMinimized = 0; + Expression = "// rock debris spawn + +function void Eval() +{ + Rotation = rand(0,2*pi); + ScalarRotationSpeed = rand(1,4); + Position = float3(0,0.3,0); + Velocity = 1.2 * (VelocitySampler.samplePosition() * (10 + pow(rand(0,1), 4) * 40.0) + float3(0,4,0)); + Life = pow(rand(0.0, 1.0), 3) * 2.5 + 2.5; +}"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_4B4DCE9D +{ + EditorInfosPosition = int2(-29, 1272); + EditorInfosIsBlockMinimized = 0; + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_8246B418"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_A88839AF +{ + EditorInfosPosition = int2(-117, 426); + EditorInfosIsBlockMinimized = 0; + ShapeType = COMPLEX_ELLIPSOID; + InnerRadius = 1.0000000e+000; + CutPlane = 5.0000000e-001; + NonUniformScale = float3(1.0000000e+000, 8.6600012e-001, 1.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_0000491C +{ + EditorInfosPosition = int2(-1065, 979); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 6.1249979e-002, + 2.3505972e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.4093133e-001, + 4.0547147e-001, + 7.7701324e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 2.7059639e-001, + 1.1235366e-001, + 3.1882721e-001, + 5.7223652e-002, + 2.5184250e-001, + 8.6900634e-001, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0000440D +{ + EditorInfosPosition = int2(-963, 979); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_0000491C"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0000440E +{ + EditorInfosPosition = int2(-963, 1014); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_00004D06"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_000012DB +{ + EditorInfosPosition = int2(-186, 85); + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -9.8000002e+000, 0.0000000e+000); + Drag = 1.5000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_00002EA6 +{ + EditorInfosPosition = int2(-186, 118); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_00001547"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_00000BDB +{ + EditorInfosPosition = int2(-1065, 1340); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.5409229e-002, + 6.6828352e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.4218230e-001, + 7.7166390e-001, + 7.2090280e-001, + 1.3308045e-001, + 9.1225123e-001, + 7.1622598e-001, + 6.9967997e-001, + 1.3461301e-001, + 6.5319675e-001, + 5.6554526e-001, + 5.5536312e-001, + 7.8497395e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.8823966e-003, + -5.5794213e-002, + -4.6171907e-002, + -3.2166440e-002, + -1.6533483e-003, + -3.3501023e-001, + -2.7723423e-001, + -1.9313988e-001, + -9.9273492e-003, + -3.1937626e-001, + -1.0439903e-001, + -1.0439903e-001, + -2.3455712e-001, + -1.8493126e-001, + -6.0451090e-002, + -6.0451090e-002, + -1.3581768e-001, + -2.8796930e-002, + -2.8796930e-002, + -2.8796930e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleState $LOCAL$/CParticleState_0000440D +{ + EditorInfosPosition = int2(-32, 113); + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_000012DB", + "$LOCAL$/CParticleEvolver_Field_00002EA6", + "$LOCAL$/CParticleEvolver_Script_12345678", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_12345678 +{ + EditorInfosPosition = int2(-186, 152); + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_12345678"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_00004AE1 +{ + EditorInfosPosition = int2(-32, -85); + EditorInfosIsBlockMinimized = 0; + FieldName = "Brightness"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_00000BB3 +{ + EditorInfosPosition = int2(-32, -120); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack.png"; + AtlasDefinition = "Textures/BlastPack.pkat"; + AxisScale = 2.0000000e-002; + NormalsBendingFactor = 6.9999999e-001; + NormalsWrapFactor = 5.0000000e-001; + LightExponent = 2.2000000e+000; + AmbientLight = float3(1.5000001e-001, 1.8000001e-001, 2.3999999e-001); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Debris_OverbrightSparks +{ + EditorInfosPosition = int2(277, -100); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_000072AE"; + SpawnCountMode = TotalParticleCount; + SpawnCount = 1.0000000e+003; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_000072AE +{ + EditorInfosPosition = int2(116, -100); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_00000BB3"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_00004AE1", + "$LOCAL$/CParticleFieldDeclaration_D336AAA0", + "$LOCAL$/CParticleFieldDeclaration_65AD47EB", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_B8C69A23", + }; + SpawnEvaluator = "$LOCAL$/SpawnScript_Sparks"; + States = + { + "$LOCAL$/CParticleState_0000440D", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_0000305E +{ + EditorInfosPosition = int2(-963, 944); + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + Drag = 3.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/SpawnScript_LargeFlash +{ + EditorInfosPosition = int2(-164, -345); + EditorInfosIsBlockMinimized = 0; + Expression = "// Large Flash +function void Eval() +{ + Position = float3(0,0.5,0); + Life = 1.8; + TextureID = 8; +}"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_00006DF1 +{ + EditorInfosPosition = int2(-276, 526); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 6.4610940e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.6474280e+000, + 1.3029611e+000, + 1.0825980e+000, + 1.0000000e+000, + 1.2147138e+000, + 9.0657228e-001, + 7.0992672e-001, + 1.0000000e+000, + 6.4513654e-001, + 5.1066417e-001, + 4.4678089e-001, + 3.9004529e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -8.3998978e-001, + -5.6482357e-001, + -4.8817047e-001, + 0.0000000e+000, + -4.6008387e-001, + -3.0936828e-001, + -2.6738346e-001, + 0.0000000e+000, + -5.3980321e-001, + -4.8714033e-001, + -2.6670167e-001, + -8.8271570e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_00001649 +{ + EditorInfosPosition = int2(-276, 491); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 6.1779749e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.3281776e-002, + 8.3673820e-002, + 1.1407848e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 6.9598248e-003, + -7.8594424e-003, + -4.8622782e-003, + -7.2086640e-002, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_0000301C +{ + EditorInfosPosition = int2(-1065, 1305); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 9.6547842e-002, + 1.0000000e+000, + }; + FloatValues = + { + 3.1028554e-002, + 1.1552268e-001, + 4.8213594e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0316931e-001, + -4.2048843e-005, + -3.9347453e-004, + -1.2493525e-001, + 0.0000000e+000, + }; +} +CParticleState $LOCAL$/CParticleState_00000124 +{ + EditorInfosPosition = int2(-747, 997); + EditorInfosIsBlockMinimized = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_0000305E", + "$LOCAL$/CParticleEvolver_Field_0000440D", + "$LOCAL$/CParticleEvolver_Field_0000440E", + "$LOCAL$/CParticleEvolver_Script_12345688", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_12345688 +{ + EditorInfosPosition = int2(-963, 1049); + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_12345688"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C5A85E73 +{ + EditorInfosPosition = int2(-38, -704); + EditorInfosIsBlockMinimized = 0; + Expression = "// Large Flash +function void Eval() +{ + Position = float3(0,1.5,0); + Life = 1.5; +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B3482934 +{ + EditorInfosPosition = int2(-297, -661); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 3.3262603e+000, + 2.7243640e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 3.0645347e+000, + 5.8271712e-001, + 0.0000000e+000, + }; +} +CParticleRenderer_Billboard $LOCAL$/Debris_FlamingRocks +{ + EditorInfosPosition = int2(-296, 273); + EditorInfosIsBlockMinimized = 0; + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack.png"; + AtlasDefinition = "Textures/BlastPack.pkat"; + AxisScale = 4.9999990e-002; + NormalsBendingFactor = 6.9999999e-001; + NormalsWrapFactor = 5.0000000e-001; + LightExponent = 2.2000000e+000; + AmbientLight = float3(1.5000001e-001, 1.8000001e-001, 2.3999999e-001); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E70C019D +{ + EditorInfosPosition = int2(-276, 1429); + EditorInfosIsBlockMinimized = 0; + Expression = "// ground dust: evolve +function void Eval() +{ + Size = Size * SizeCoeff; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_378354CB +{ + EditorInfosPosition = int2(-30, 1203); + EditorInfosIsBlockMinimized = 0; + FieldName = "SizeCoeff"; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(764, -126); + ChildList = + { + "$LOCAL$/BlastLight", + "$LOCAL$/LargeFlash", + "$LOCAL$/Debris_OverbrightSparks", + "$LOCAL$/Debris_Smoking", + "$LOCAL$/GroundDust", + "$LOCAL$/Smoke_Ring", + "$LOCAL$/Mushroom_Cloud", + "$LOCAL$/Persistent_Smoke", + "$LOCAL$/Boom", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/SpawnScript_Sparks +{ + EditorInfosPosition = int2(-109, 24); + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + Position = float3(0); + Velocity = VelocitySampler.samplePosition() * (max(0, rand(-1, 0.3)) * 3.0 + 0.7); + Life = pow(rand(0,1), 2) + 0.5; + Brightness = pow(rand(0,1), 6) * 10 + 0.8; + //Size = pow(rand(0,1), 2) * 0.01 + 0.002; // tweaked with a spheroidal billboarder + Size = pow(rand(0,1), 2) * 0.07 + 0.02; // tweaked with a spheroidal billboarder + TextureID = 8; +}"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_00001547 +{ + EditorInfosPosition = int2(-291, 118); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.7238613e-001, + 6.5899777e-001, + 1.0000000e+000, + }; + FloatValues = + { + 3.8016009e+000, + 9.1974491e-001, + 1.2781036e-001, + 9.6966523e-001, + 3.3607991e+000, + 9.0872240e-001, + 4.9312058e-001, + 9.7275877e-001, + 1.6667547e+000, + 6.6331309e-001, + 5.1052970e-001, + 3.0701387e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.4951723e-001, + 0.0000000e+000, + 0.0000000e+000, + -3.7828930e-002, + -4.8751831e-001, + -2.4498517e-002, + 3.6048108e-001, + 7.0414636e-003, + -6.9195980e-001, + -3.4772005e-002, + 5.1164931e-001, + 9.9943001e-003, + -2.0600872e+000, + -6.0426229e-001, + -4.9242550e-001, + -6.8962520e-001, + -1.8170543e+000, + -5.3297615e-001, + -4.3433300e-001, + -6.0826868e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_6490F170 +{ + EditorInfosPosition = int2(-32, 1754); + EditorInfosIsBlockMinimized = 0; + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_E2ED6DB6"; + SampleDimensionality = Volume; +} +CParticleEffect $LOCAL$/Resource "Tag 0; Tag 1; Tag2 asdasd; Tag3 tagada ; Tag4 tsointsoin; SPINAAAAAACH... ; BLAAAAAST !!!!; plop... this is the last tag \\o/" +{ + EditorInfosPosition = int2(986, -126); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Debris_Smoking +{ + EditorInfosPosition = int2(326, 321); + Descriptor = "$LOCAL$/CParticleDescriptor_00002CD6"; + SpawnCountMode = TotalParticleCount; + SpawnCount = 1.5000000e+001; + SpawnCountRelativeRandomDeviation = 7.3891282e-001; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_B1A4ADA1 +{ + EditorInfosPosition = int2(-113, 2265); + EditorInfosIsBlockMinimized = 0; + Position = float3(0.0000000e+000, 2.0000000e-001, 0.0000000e+000); + ShapeType = CYLINDER; + InnerRadius = 4.9999990e-002; + Height = 1.0000000e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_00000099 +{ + EditorInfosPosition = int2(-595, 749); + Renderer = "$LOCAL$/Renderer_SmokePuff"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D336A0DE", + "$LOCAL$/CParticleFieldDeclaration_D336AAA1", + "$LOCAL$/CParticleFieldDeclaration_5A63B565", + "$LOCAL$/CParticleFieldDeclaration_0000139D", + "$LOCAL$/CParticleFieldDeclaration_00003D6C", + "$LOCAL$/CParticleFieldDeclaration_D336A0DD", + }; + SpawnEvaluator = "$LOCAL$/SpawnScript_TrailSmoke"; + States = + { + "$LOCAL$/CParticleState_00000124", + }; +} +CParticleEvolver_Spawner $LOCAL$/Trail_Smoke +{ + EditorInfosPosition = int2(-248, 631); + CustomName = "Spawner"; + SpawnInterval = 2.0000000e-001; + UseOrientedSpawnMatrix = true; + Descriptor = "$LOCAL$/CParticleDescriptor_00000099"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_12345678 +{ + EditorInfosPosition = int2(-291, 152); + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + Color = Color * Brightness.xxx1; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_00005F90 +{ + EditorInfosPosition = int2(-184, 456); + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -9.8000002e+000, 0.0000000e+000); + Drag = 1.2000000e+000; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 2; + BounceRestitution = 6.4999998e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_81DAC29D +{ + EditorInfosPosition = int2(111, -772); + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Light_0DA5A5B5"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D336AAA2", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C5A85E73"; + States = + { + "$LOCAL$/CParticleState_BB004A82", + }; +} +CParticleState $LOCAL$/CParticleState_BB004A82 +{ + EditorInfosPosition = int2(-38, -645); + EditorInfosIsBlockMinimized = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_271AA162", + "$LOCAL$/CParticleEvolver_Field_271AA163", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_00006952 +{ + EditorInfosPosition = int2(-184, 491); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_00001649"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_00006953 +{ + EditorInfosPosition = int2(-184, 526); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_00006DF1"; +} +CParticleState $LOCAL$/CParticleState_000072AE +{ + EditorInfosPosition = int2(-30, 538); + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_00005F90", + "$LOCAL$/CParticleEvolver_Field_00006952", + "$LOCAL$/CParticleEvolver_Field_00006953", + "$LOCAL$/CParticleEvolver_Rotation_00006B36", + "$LOCAL$/Trail_Sparkles", + "$LOCAL$/Trail_Smoke", + "$LOCAL$/Trail_Fire", + }; +} +CActionFactorySound $LOCAL$/Boom +{ + EditorInfosPosition = int2(357, 3128); + SoundPath = "Sounds/Explosion1.mp3"; + Volume = 1.0000000e+000; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_B23A59E0 +{ + EditorInfosPosition = int2(-113, 2800); + EditorInfosIsBlockMinimized = 0; + ShapeType = CYLINDER; + InnerRadius = 5.0000000e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_00002CD6 +{ + EditorInfosPosition = int2(119, 321); + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_List_4DA96466"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D336AAA3", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_4817F9CB", + }; + SpawnEvaluator = "$LOCAL$/SpawnScript_MainDebris"; + States = + { + "$LOCAL$/CParticleState_000072AE", + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_00006B36 +{ + EditorInfosPosition = int2(-184, 561); + EditorInfosIsBlockMinimized = 0; + CustomName = "Rotation"; + ScreenspaceRotationCoeff = 5.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0000139D +{ + EditorInfosPosition = int2(-739, 827); + EditorInfosIsBlockMinimized = 0; + FieldName = "Brightness"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_12345688 +{ + EditorInfosPosition = int2(-1065, 1049); + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + float lum = Brightness; + Color = Color * float4(lum, lum, lum, AlphaCoeff); + Size = Size * SizeCoeff; +} + +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_000018BE +{ + EditorInfosPosition = int2(111, -418); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_00006784"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D336AAA4", + "$LOCAL$/CParticleFieldDeclaration_AB0ED248", + }; + SpawnEvaluator = "$LOCAL$/SpawnScript_LargeFlash"; + States = + { + "$LOCAL$/CParticleState_AA004A82", + }; +} +CParticleState $LOCAL$/CParticleState_AA004A82 +{ + EditorInfosPosition = int2(-38, -281); + EditorInfosIsBlockMinimized = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_00000902", + "$LOCAL$/CParticleEvolver_Field_00000903", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_00006784 +{ + EditorInfosPosition = int2(-38, -415); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/ParticleDeformBlur_01.png"; + AxisScale = 1.0000001e-002; +} +CActionFactoryParticleSpawnerBase $LOCAL$/LargeFlash +{ + EditorInfosPosition = int2(347, -418); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_000018BE"; + SpawnCountMode = TotalParticleCount; +} +CParticleEvolver_Spawner $LOCAL$/Trail_Fire +{ + EditorInfosPosition = int2(-231, 666); + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 4.9999990e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_00000BB3"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_00000BB3 +{ + EditorInfosPosition = int2(-595, 1103); + Renderer = "$LOCAL$/Debris_FireTrail"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_00001AD5", + "$LOCAL$/CParticleFieldDeclaration_D336AAA5", + "$LOCAL$/CParticleFieldDeclaration_00001AD4", + "$LOCAL$/CParticleFieldDeclaration_EB03A954", + }; + SpawnEvaluator = "$LOCAL$/SpawnScript_TrailFire"; + States = + { + "$LOCAL$/CParticleState_000063CB", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/SpawnScript_TrailFire +{ + EditorInfosPosition = int2(-850, 1222); + EditorInfosIsBlockMinimized = 0; + Expression = "// TrailFire: Spawn +function void Eval() +{ + Velocity = float3(0,1,0) * (rand(0.0,1.0) * 1.0 + 0.2); + Position = float3(0); + Life = rand(0.1,0.2); + Rotation = rand(0,2*pi); + //Brightness = 1.0; + Brightness = rand(3.2,5.0) * (1.0 - spawner.LifeRatio * spawner.LifeRatio); + TextureID = rand(0,2) + 5; +}"; +} +CParticleRenderer_Billboard $LOCAL$/Debris_FireTrail +{ + EditorInfosPosition = int2(-819, 1082); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack.png"; + AtlasDefinition = "Textures/BlastPack.pkat"; +} +CParticleState $LOCAL$/CParticleState_000063CB +{ + EditorInfosPosition = int2(-750, 1300); + EditorInfosIsBlockMinimized = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_0000767D", + "$LOCAL$/CParticleEvolver_Field_00004509", + "$LOCAL$/CParticleEvolver_Field_0000450A", + "$LOCAL$/CParticleEvolver_Script_12345698", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_12345698 +{ + EditorInfosPosition = int2(-963, 1375); + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_12345698"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_0000767D +{ + EditorInfosPosition = int2(-963, 1270); + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + Drag = 1.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_00004509 +{ + EditorInfosPosition = int2(-963, 1305); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_0000301C"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0000450A +{ + EditorInfosPosition = int2(-963, 1340); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_00000BDB"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_00001AD4 +{ + EditorInfosPosition = int2(-739, 1187); + EditorInfosIsBlockMinimized = 0; + FieldName = "Brightness"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_00001AD5 +{ + EditorInfosPosition = int2(-739, 1117); + EditorInfosIsBlockMinimized = 0; + FieldName = "Rotation"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_12345698 +{ + EditorInfosPosition = int2(-1065, 1375); + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + Color = Color * Brightness.xxx1; +} +"; +} +CCompilerSyntaxNodeExpression $LOCAL$/SpawnScript_TrailSmoke +{ + EditorInfosPosition = int2(-867, 932); + EditorInfosIsBlockMinimized = 0; + Expression = "// TrailSmoke: Spawn +function void Eval() +{ + Position = float3(0); + Rotation = rand(0,2*pi); + Velocity = float3(0,0,2) + 0.3 * (float3(1,0,0) * sin(spawner.LifeRatio * 169.0) + float3(0,1,0) * sin(spawner.LifeRatio * 169.0 + pi*0.5)); + + float spawnerDecay = 1.0 - spawner.LifeRatio; + + Life = 0.01 + rand(4.3,4.5) * pow(spawnerDecay, 2.0); + Brightness = 1.0 - rand(0.4,0.6) * pow(spawnerDecay, 2.0); + + float trailStrength = pow(spawnerDecay, 8.0); + AlphaCoeff = trailStrength; + SizeCoeff = 0.6 + trailStrength * (1.5 + sin(spawner.LifeRatio * 350.0) * 0.2); + TextureID = rand(0,4); +}"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5BA59885 +{ + EditorInfosPosition = int2(-297, -626); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 4.4130877e-002, + 2.6175290e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.2908320e+000, + 1.9927772e+000, + 1.1006842e+000, + 2.3126408e-002, + 1.1066312e+000, + 4.9963737e-001, + 2.4241367e-001, + 1.4441073e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.2400489e+000, + 3.2400489e+000, + 1.9761249e+000, + 0.0000000e+000, + -6.4785653e-001, + -5.5085891e-001, + -3.1067607e-001, + 9.9370051e-003, + -3.1947668e+000, + -2.7164433e+000, + -1.5320327e+000, + 4.9002226e-002, + -1.0625256e+000, + -4.8239061e-001, + -2.8828678e-001, + 3.3406329e-001, + -3.6044445e+000, + -1.6364310e+000, + -9.7796553e-001, + 1.1332550e+000, + -4.8249927e-001, + -4.8249927e-001, + -4.8249927e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_00000902 +{ + EditorInfosPosition = int2(-192, -294); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_0000692C"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_00000903 +{ + EditorInfosPosition = int2(-192, -259); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_00007049"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_00007049 +{ + EditorInfosPosition = int2(-297, -259); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.1755489e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1047316e+000, + 1.1047316e+000, + 3.2228584e+000, + 1.9131407e-002, + 1.3016906e+000, + 1.3016906e+000, + 3.8263462e+000, + 2.8789634e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.2067287e+000, + 3.2067287e+000, + 2.3699458e-001, + 9.8171324e-002, + -1.2410274e+000, + -1.2410274e+000, + -2.3598878e-001, + 4.8746642e-001, + -2.6670446e+000, + -2.6670446e+000, + -5.0715446e-001, + 1.0475955e+000, + -4.4602853e-001, + -4.4602853e-001, + -7.8733888e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_0000692C +{ + EditorInfosPosition = int2(-297, -294); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.1398718e+001, + }; + FloatTangents = + { + 0.0000000e+000, + 1.2303577e+001, + 7.8485126e+000, + 0.0000000e+000, + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_00007153 +{ + EditorInfosPosition = int2(-30, 1238); + EditorInfosIsBlockMinimized = 0; + Expression = "// ground dust: spawn +function void Eval() +{ + Position = float3(0); + Life = rand(1.5,2.0); + Rotation = rand(0, 2*pi); + ScalarRotationSpeed = wavesq(rand(0,2)) * rand(1.0,2.0); + SizeCoeff = rand(0.8, 3.0); + TextureID = 4; + Velocity = VelocitySampler.samplePosition(); +}"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_67357CCD +{ + EditorInfosPosition = int2(-409, 15); + EditorInfosIsBlockMinimized = 0; + Position = float3(0.0000000e+000, 1.0000000e+001, 0.0000000e+000); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 2.0000000e+001; + InnerRadius = 1.0000000e+001; + CutPlane = 5.0000000e-001; + NonUniformScale = float3(1.0000000e+000, 4.0000001e-001, 1.0000000e+000); +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_000063CB +{ + EditorInfosPosition = int2(-184, 1300); + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -9.8000002e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_000052A1 +{ + EditorInfosPosition = int2(-184, 1333); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_00004531"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_000052A2 +{ + EditorInfosPosition = int2(-184, 1364); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_000078B4"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_00005410 +{ + EditorInfosPosition = int2(-184, 1397); + EditorInfosIsBlockMinimized = 0; + CustomName = "Rotation"; + ScreenspaceRotationCoeff = 0.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_000075EC +{ + EditorInfosPosition = int2(119, 1107); + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Billboard_3B75ED7D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8CE385CA", + "$LOCAL$/CParticleFieldDeclaration_D336AAA6", + "$LOCAL$/CParticleFieldDeclaration_378354CB", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_4B4DCE9D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_00007153"; + States = + { + "$LOCAL$/CParticleState_00005503", + }; +} +CParticleState $LOCAL$/CParticleState_00005503 +{ + EditorInfosPosition = int2(-30, 1308); + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_000063CB", + "$LOCAL$/CParticleEvolver_Field_000052A1", + "$LOCAL$/CParticleEvolver_Field_000052A2", + "$LOCAL$/CParticleEvolver_Rotation_00005410", + "$LOCAL$/CParticleEvolver_Script_E70C019D", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_E70C019D +{ + EditorInfosPosition = int2(-184, 1429); + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E70C019D"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_000078B4 +{ + EditorInfosPosition = int2(-276, 1364); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.1934516e-001, + 1.0000000e+000, + }; + FloatValues = + { + 8.5516924e-001, + 8.1191629e-001, + 7.7548194e-001, + 1.0000000e+000, + 6.4833784e-001, + 7.1142751e-001, + 6.9536018e-001, + 9.9046719e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.9752026e-001, + 0.0000000e+000, + 0.0000000e+000, + -7.2126545e-002, + -1.7641547e-001, + -1.8046433e-001, + -2.0197406e-001, + -7.0112683e-002, + -1.6327283e-001, + -1.6702005e-001, + -1.8692735e-001, + -6.4889409e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.7565746e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_00004531 +{ + EditorInfosPosition = int2(-276, 1333); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 5.4678625e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.3281776e-002, + 4.9457335e-001, + 5.7589746e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 4.4105721e-001, + 2.8928027e-001, + 2.3977530e-001, + 7.6704132e-003, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_EB03A954 +{ + EditorInfosPosition = int2(-738, 1255); + EditorInfosIsBlockMinimized = 0; + FieldName = "TextureID"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/GroundDust +{ + EditorInfosPosition = int2(347, 1107); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_000075EC"; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.5000000e+001; + SpawnCountRelativeRandomDeviation = 4.8254034e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5A63B565 +{ + EditorInfosPosition = int2(-739, 792); + EditorInfosIsBlockMinimized = 0; + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_50E7F0D0 +{ + EditorInfosPosition = int2(-30, 2625); + EditorInfosIsBlockMinimized = 0; + FieldName = "TextureID"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_271AA162 +{ + EditorInfosPosition = int2(-192, -661); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_B3482934"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_271AA163 +{ + EditorInfosPosition = int2(-192, -626); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_5BA59885"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8CE385CA +{ + EditorInfosPosition = int2(-30, 1098); + EditorInfosIsBlockMinimized = 0; + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CE1A65DF +{ + EditorInfosPosition = int2(-30, 1578); + EditorInfosIsBlockMinimized = 0; + FieldName = "TextureID"; +} +CCompilerSyntaxNodeExpression $LOCAL$/SpawnScript_SmokeRing +{ + EditorInfosPosition = int2(-160, 1718); + EditorInfosIsBlockMinimized = 0; + Expression = "// Blast ground smoke: Spawn + +function void Eval() +{ + Rotation = rand(0, 2*pi); + Position = float3(0,0.4,0); + Velocity = VelocitySampler.samplePosition() * 1.2 * ((1.0 - pow(rand(0, 1), 3)) * 8 + 4.0) * float3(1,0,1) + float3(0,1,0); + + float hugeness = pow(rand(0,1),8); + + // mushroom vortex rotation effet + RotationSpeed = cross(Velocity, float3(0,-1,0)) * (3 - 1.5 * hugeness); + + Life = rand(0.7, 1.5); + Brightness = rand(0.8, 1); + SizeCoeff = rand(0.8, 2.2) + hugeness * 2.0; + TextureID = rand(0,4); +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_67FD5D4E +{ + EditorInfosPosition = int2(-27, 2806); + EditorInfosIsBlockMinimized = 0; + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_B23A59E0"; + SampleDimensionality = Volume; +} +CParticleRenderer_Billboard $LOCAL$/Renderer_SmokePuff +{ + EditorInfosPosition = int2(-851, 683); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack.png"; + AtlasDefinition = "Textures/BlastPack.pkat"; + AxisScale = 2.0000000e+000; + NormalsBendingFactor = 6.9999999e-001; + NormalsWrapFactor = 5.0000000e-001; + LightExponent = 2.2000000e+000; + AmbientLight = float3(1.4999999e-001, 1.7999999e-001, 2.3999999e-001); +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_00005AF1 +{ + EditorInfosPosition = int2(-184, 1785); + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + Drag = 2.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_000041BB +{ + EditorInfosPosition = int2(-184, 1820); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_0000305E"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_000041BC +{ + EditorInfosPosition = int2(-184, 1855); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_00000124"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_000026E9 +{ + EditorInfosPosition = int2(-184, 1890); + EditorInfosIsBlockMinimized = 0; + CustomName = "Rotation"; + RotationMode = Axial; +} +CParticleState $LOCAL$/CParticleState_000012DB +{ + EditorInfosPosition = int2(-30, 1797); + EditorInfosIsBlockMinimized = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_00005AF1", + "$LOCAL$/CParticleEvolver_Field_000041BB", + "$LOCAL$/CParticleEvolver_Field_000041BC", + "$LOCAL$/CParticleEvolver_Rotation_000026E9", + "$LOCAL$/CParticleEvolver_Damper_000001EB", + "$LOCAL$/CParticleEvolver_Script_00002833", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_00002833 +{ + EditorInfosPosition = int2(-184, 1960); + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_00002833"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_0000153C +{ + EditorInfosPosition = int2(119, 1579); + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Billboard_69D3AFDF"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_CE1A65DF", + "$LOCAL$/CParticleFieldDeclaration_D336AAA7", + "$LOCAL$/CParticleFieldDeclaration_00005039", + "$LOCAL$/CParticleFieldDeclaration_0000542C", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_6490F170", + }; + SpawnEvaluator = "$LOCAL$/SpawnScript_SmokeRing"; + States = + { + "$LOCAL$/CParticleState_000012DB", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_00000124 +{ + EditorInfosPosition = int2(-276, 1855); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.2775671e-001, + 3.8997203e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0404963e+001, + 6.1280127e+000, + 4.4462399e+000, + 1.0000000e+000, + 5.6887980e+000, + 3.4359975e+000, + 2.2340469e+000, + 9.5177215e-001, + 3.5491487e-001, + 3.3017883e-001, + 3.1640109e-001, + 4.8552215e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.8164954e+000, + -2.5143199e+000, + -1.3835709e+000, + -1.7742824e-002, + -3.1202588e+000, + -1.7152724e+000, + -1.1599972e+000, + -5.5228177e-002, + -6.4042001e+000, + -3.5205250e+000, + -2.3808458e+000, + -1.1335353e-001, + -3.7209541e-001, + -3.6837193e-001, + -3.7750900e-001, + -4.9411643e-001, + -8.6565733e-001, + -8.5699487e-001, + -8.7825167e-001, + -1.1495317e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -4.0047702e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_0000305E +{ + EditorInfosPosition = int2(-276, 1820); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 6.1779749e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.3281776e-002, + 1.0884585e+000, + 5.5701512e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 5.1498157e-001, + 4.8001525e-001, + 2.9696307e-001, + -9.5641959e-001, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_65AD47EB +{ + EditorInfosPosition = int2(-34, -16); + EditorInfosIsBlockMinimized = 0; + FieldName = "TextureID"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Smoke_Ring +{ + EditorInfosPosition = int2(346, 1579); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_0000153C"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 2.0000000e+002; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_00005039 +{ + EditorInfosPosition = int2(-30, 1648); + EditorInfosIsBlockMinimized = 0; + FieldName = "Brightness"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0000542C +{ + EditorInfosPosition = int2(-30, 1683); + EditorInfosIsBlockMinimized = 0; + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_00002833 +{ + EditorInfosPosition = int2(-276, 1960); + EditorInfosIsBlockMinimized = 0; + Expression = "// Blast ground smoke: Evolve +function void Eval() +{ + Color = Color * (Brightness.xxx1 * float4(1.2,1.1,1.0,1.0) + 0.2); + Size = Size * SizeCoeff; +}"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_00003D6C +{ + EditorInfosPosition = int2(-739, 862); + EditorInfosIsBlockMinimized = 0; + FieldName = "AlphaCoeff"; +} +CParticleEvolver_Damper $LOCAL$/CParticleEvolver_Damper_000001EB +{ + EditorInfosPosition = int2(-184, 1925); + EditorInfosIsBlockMinimized = 0; + CustomName = "Damper"; + MinSpeed = 2.0000000e-001; + ExpDampingTime = 4.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AB0ED248 +{ + EditorInfosPosition = int2(-114, -88); + FieldName = "TextureID"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(0, 63); +} +CShapeDescriptorCollection $LOCAL$/CShapeDescriptorCollection_8B6DA352 +{ + EditorInfosPosition = int2(-298, 30); + EditorInfosIsBlockMinimized = 0; + SubShapes = + { + "$LOCAL$/CShapeDescriptor_67357CCD", + "$LOCAL$/CShapeDescriptor_76139C5C", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_00006AD6 +{ + EditorInfosPosition = int2(119, 2629); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_2C8F5551"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_50E7F0D0", + "$LOCAL$/CParticleFieldDeclaration_D336AAA8", + "$LOCAL$/CParticleFieldDeclaration_000075EF", + "$LOCAL$/CParticleFieldDeclaration_00004657", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_67FD5D4E", + }; + SpawnEvaluator = "$LOCAL$/SpawnScript_Mushroom"; + States = + { + "$LOCAL$/CParticleState_00007983", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Mushroom_Cloud +{ + EditorInfosPosition = int2(317, 2629); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_00006AD6"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.0000000e+001; +} +CParticleState $LOCAL$/CParticleState_00007983 +{ + EditorInfosPosition = int2(-30, 2861); + EditorInfosIsBlockMinimized = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_00000384", + "$LOCAL$/CParticleEvolver_Field_00007F4F", + "$LOCAL$/CParticleEvolver_Field_00007F50", + "$LOCAL$/CParticleEvolver_Rotation_00007A5A", + "$LOCAL$/CParticleEvolver_Damper_00004509", + "$LOCAL$/CParticleEvolver_Script_0000288F", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_0000288F +{ + EditorInfosPosition = int2(-184, 3004); + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_0000288F"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_000075EF +{ + EditorInfosPosition = int2(-30, 2695); + EditorInfosIsBlockMinimized = 0; + FieldName = "Brightness"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_00004657 +{ + EditorInfosPosition = int2(-30, 2730); + EditorInfosIsBlockMinimized = 0; + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/SpawnScript_Mushroom +{ + EditorInfosPosition = int2(-158, 2765); + EditorInfosIsBlockMinimized = 0; + Expression = "// Main mushroom: Spawn +function void Eval() +{ + Rotation = rand(0, 2*pi); + Position = PositionSampler.samplePosition(); + + // length(Position) should be between 0 and 0.5, if the cylinder shape hasn\'t been modified. + // 0.5 is for the inner particles, 0 is for the outer ones... + // for interesting effects inside the mushroom cloud, we want the inside of it to appear bright. + // -> give the inner particles more brightness than the outer ones. + Brightness = rand(30, 60) * pow((1.0 - length(Position)), 4); + //Brightness = rand(0.8, 1); + SizeCoeff = 2.0 + rand(0.0, 1.0) * length(Position); + + float3 pVec = Position * float3(1,0,1) * 0.5; + + Position = pVec + float3(0,0.2,0); + Velocity = pVec * 8.5 + float3(0,5,0) * rand(0,1); + + // mushroom vortex rotation effet + RotationSpeed = cross(Velocity, float3(0,1,0)) * -4.0; + + Life = 2.0 + 2.5 * pow(rand(0,1), 1.5); + TextureID = rand(0,4); +} + + +"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0000288F +{ + EditorInfosPosition = int2(-276, 3004); + EditorInfosIsBlockMinimized = 0; + Expression = "// Main mushroom: Evolve +function void Eval() +{ + Color = Color * (Brightness.xxx1 * float4(1.2,1.1,1.0,1.0) + 0.2); + Size = Size * SizeCoeff; +} + +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336A0DD +{ + EditorInfosPosition = int2(-739, 897); + EditorInfosIsBlockMinimized = 0; + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336A0DE +{ + EditorInfosPosition = int2(-739, 722); + EditorInfosIsBlockMinimized = 0; + FieldName = "Rotation"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA0 +{ + EditorInfosPosition = int2(-32, -50); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA1 +{ + EditorInfosPosition = int2(-739, 757); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA2 +{ + EditorInfosPosition = int2(-38, -739); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA3 +{ + EditorInfosPosition = int2(-30, 353); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA4 +{ + EditorInfosPosition = int2(-38, -380); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA5 +{ + EditorInfosPosition = int2(-739, 1152); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA6 +{ + EditorInfosPosition = int2(-30, 1133); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA7 +{ + EditorInfosPosition = int2(-30, 1613); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA8 +{ + EditorInfosPosition = int2(-30, 2660); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAA9 +{ + EditorInfosPosition = int2(-739, 494); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D336AAAA +{ + EditorInfosPosition = int2(-30, 2125); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_00000384 +{ + EditorInfosPosition = int2(-184, 2829); + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 4.0000000e+000, 0.0000000e+000); + Drag = 4.5000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_00007F4F +{ + EditorInfosPosition = int2(-184, 2864); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_00005039"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_00007F50 +{ + EditorInfosPosition = int2(-184, 2899); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_0000542C"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_00007A5A +{ + EditorInfosPosition = int2(-184, 2934); + EditorInfosIsBlockMinimized = 0; + CustomName = "Rotation"; + RotationMode = Axial; +} +CParticleEvolver_Damper $LOCAL$/CParticleEvolver_Damper_00004509 +{ + EditorInfosPosition = int2(-184, 2969); + EditorInfosIsBlockMinimized = 0; + CustomName = "Damper"; + MinSpeed = 6.9999999e-001; + ExpDampingTime = 1.7000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_00005039 +{ + EditorInfosPosition = int2(-276, 2864); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 4.6966124e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.3281776e-002, + 3.1634220e-001, + 5.2508569e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 3.9149866e-001, + 1.6285491e-001, + 1.8389483e-001, + 2.7668402e-001, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_0000542C +{ + EditorInfosPosition = int2(-276, 2899); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.2775671e-001, + 3.8997203e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.7005890e+001, + 3.4493237e+001, + 1.8433638e+001, + 1.0000000e+000, + 4.4941292e+000, + 2.4392078e+000, + 1.2340828e+000, + 1.0008497e+000, + 9.4926071e-001, + 6.2388176e-001, + 5.0142378e-001, + 7.9169029e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.8164954e+000, + -2.5143199e+000, + -1.3835711e+000, + -1.7742824e-002, + -4.7298217e+000, + -2.2319617e+000, + -7.5263953e-001, + -1.6902013e-002, + -9.7077608e+000, + -4.5810080e+000, + -1.5447612e+000, + -3.4690674e-002, + -2.6839435e-001, + -1.8804155e-001, + -1.2897705e-001, + -2.5228840e-001, + -6.2440318e-001, + -4.3746719e-001, + -3.0005723e-001, + -5.8693361e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -8.0533378e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_E2ED6DB6 +{ + EditorInfosPosition = int2(-113, 1753); + EditorInfosIsBlockMinimized = 0; + Position = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + ShapeType = CYLINDER; + InnerRadius = 1.0000000e+000; + Height = 5.0000000e-001; +} +CParticleEvolver_Spawner $LOCAL$/Trail_Sparkles +{ + EditorInfosPosition = int2(-256, 596); + CustomName = "Spawner"; + SpawnInterval = 1.2000000e-001; + UseOrientedSpawnMatrix = true; + Descriptor = "$LOCAL$/CParticleDescriptor_00006784"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_00006784 +{ + EditorInfosPosition = int2(-595, 458); + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Billboard_00004823"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A5820236", + "$LOCAL$/CParticleFieldDeclaration_D336AAA9", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_5236EC1B", + }; + SpawnEvaluator = "$LOCAL$/SpawnScript_TrailSparkles"; + States = + { + "$LOCAL$/CParticleState_000001EB", + }; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_C038D21F +{ + EditorInfosPosition = int2(-184, 308); + EditorInfosIsBlockMinimized = 0; + CustomName = "Light"; + LightRadiusMultiplier = 1.0000000e+002; + LightAttenuationSteepnessRange = float2(0.0000000e+000, 8.0000000e+000); + LightAttenuationSteepness = 6.6040397e-001; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_00004823 +{ + EditorInfosPosition = int2(-739, 424); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack.png"; + AtlasDefinition = "Textures/BlastPack.pkat"; + AxisScale = 2.0000000e-002; + NormalsWrapFactor = 5.0000000e-001; + LightExponent = 2.2000000e+000; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_00006DF1 +{ + EditorInfosPosition = int2(-963, 587); + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 5.0000000e-001; + BouncesBeforeDeath = 2; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_00005AF1 +{ + EditorInfosPosition = int2(-963, 622); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_2DDED881"; +} +CParticleState $LOCAL$/CParticleState_000001EB +{ + EditorInfosPosition = int2(-750, 632); + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_00006DF1", + "$LOCAL$/CParticleEvolver_Field_00005AF1", + "$LOCAL$/CParticleEvolver_Script_123456A8", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_123456A8 +{ + EditorInfosPosition = int2(-963, 657); + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_123456A8"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A5820236 +{ + EditorInfosPosition = int2(-739, 459); + EditorInfosIsBlockMinimized = 0; + FieldName = "Brightness"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_000039B3 +{ + EditorInfosPosition = int2(-826, 564); + EditorInfosIsBlockMinimized = 0; + ShapeType = SPHERE; + BoxDimensions = float3(1.5000000e+001, 7.0000000e+000, 1.5000000e+001); + Radius = 5.0000000e-001; + CutPlane = 0.0000000e+000; + NonUniformScale = float3(0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2DDED881 +{ + EditorInfosPosition = int2(-1065, 622); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.7238613e-001, + 6.5899777e-001, + 1.0000000e+000, + }; + FloatValues = + { + 3.8016009e+000, + 9.1974491e-001, + 1.2781036e-001, + 9.6966523e-001, + 3.3607991e+000, + 9.0872240e-001, + 4.9312058e-001, + 9.7275877e-001, + 1.6667547e+000, + 6.6331309e-001, + 5.1052970e-001, + 3.0701387e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.4951723e-001, + 0.0000000e+000, + 0.0000000e+000, + -3.7828930e-002, + -4.8751831e-001, + -2.4498517e-002, + 3.6048108e-001, + 7.0414636e-003, + -6.9195980e-001, + -3.4772005e-002, + 5.1164931e-001, + 9.9943001e-003, + -2.0600872e+000, + -6.0426229e-001, + -4.9242550e-001, + -6.8962520e-001, + -1.8170543e+000, + -5.3297615e-001, + -4.3433300e-001, + -6.0826868e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/SpawnScript_TrailSparkles +{ + EditorInfosPosition = int2(-875, 529); + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + //Position = float3(0); + Life = pow(rand(0,1), 2) * 0.6 + 0.2; + Brightness = pow(rand(0,1), 6) * 10 + 0.8; + Size = pow(rand(0,1), 2) * 0.02 + 0.01; +} + +"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_123456A8 +{ + EditorInfosPosition = int2(-1065, 657); + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + Color = Color * Brightness.xxx1; +} +"; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_0DA5A5B5 +{ + EditorInfosPosition = int2(-38, -774); + CustomName = "Light"; + LightRadiusMultiplier = 1.0000000e+001; + LightAttenuationSteepnessRange = float2(0.0000000e+000, 8.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/BlastLight +{ + EditorInfosPosition = int2(351, -772); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_81DAC29D"; + SpawnCountMode = TotalParticleCount; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3DAF7050 +{ + EditorInfosPosition = int2(-30, 2053); + EditorInfosIsBlockMinimized = 0; + FieldName = "RotationSpeed"; + FieldType = float3; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_0F8640D5 +{ + EditorInfosPosition = int2(119, 2110); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_0CFFCB26"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_CB52561F", + "$LOCAL$/CParticleFieldDeclaration_D336AAAA", + "$LOCAL$/CParticleFieldDeclaration_F48D2D91", + "$LOCAL$/CParticleFieldDeclaration_2B4C9A10", + "$LOCAL$/CParticleFieldDeclaration_3DAF7050", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_F0AC2485", + }; + SpawnEvaluator = "$LOCAL$/SpawnScript_Smoke"; + States = + { + "$LOCAL$/CParticleState_7F6CD866", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Persistent_Smoke +{ + EditorInfosPosition = int2(319, 2110); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_0F8640D5"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 5.0000000e+001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CB52561F +{ + EditorInfosPosition = int2(-30, 2090); + EditorInfosIsBlockMinimized = 0; + FieldName = "TextureID"; +} +CParticleState $LOCAL$/CParticleState_7F6CD866 +{ + EditorInfosPosition = int2(-30, 2313); + EditorInfosIsBlockMinimized = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_9762E41A", + "$LOCAL$/CParticleEvolver_Field_2AE2DA75", + "$LOCAL$/CParticleEvolver_Field_2AE2DA76", + "$LOCAL$/CParticleEvolver_Rotation_50E42364", + "$LOCAL$/CParticleEvolver_Damper_1B1BCFC9", + "$LOCAL$/CParticleEvolver_Script_F2D6DFD4", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_F2D6DFD4 +{ + EditorInfosPosition = int2(-184, 2469); + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_F2D6DFD4"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F48D2D91 +{ + EditorInfosPosition = int2(-30, 2160); + EditorInfosIsBlockMinimized = 0; + FieldName = "Brightness"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2B4C9A10 +{ + EditorInfosPosition = int2(-30, 2195); + EditorInfosIsBlockMinimized = 0; + FieldName = "SizeCoeff"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A55D1093 +{ + EditorInfosPosition = int2(-276, 2364); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 7.0256948e-002, + 2.8567228e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0404963e+001, + 6.1280127e+000, + 4.4462399e+000, + 0.0000000e+000, + 2.7212152e+000, + 1.5021068e+000, + 9.5629227e-001, + 1.7779565e-001, + 3.4672919e-001, + 3.2235211e-001, + 3.0893958e-001, + 4.6672001e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.1516056e+000, + -1.4174849e+000, + -7.8000849e-001, + 0.0000000e+000, + -1.8358133e+000, + -8.8093853e-001, + -4.2307049e-001, + 1.3255835e-001, + -5.6288004e+000, + -2.7010517e+000, + -1.2971795e+000, + 4.0643808e-001, + -1.2454033e-001, + -1.0817873e-001, + -1.0508778e-001, + -4.6106599e-002, + -4.1639906e-001, + -3.6169425e-001, + -3.5135970e-001, + -1.5415683e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -4.6894875e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_FA2F790A +{ + EditorInfosPosition = int2(-276, 2329); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 6.1779749e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.6362607e-001, + 1.0884585e+000, + 5.5701512e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 8.9822781e-001, + 4.8001525e-001, + 2.9696307e-001, + -9.5641959e-001, + 0.0000000e+000, + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_4DA96466 +{ + EditorInfosPosition = int2(-30, 283); + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Light_C038D21F", + "$LOCAL$/Debris_FlamingRocks", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F2D6DFD4 +{ + EditorInfosPosition = int2(-276, 2469); + EditorInfosIsBlockMinimized = 0; + Expression = "// Blast ground smoke (persistent): Evolve +function void Eval() +{ + Color *= Brightness.xxx1 * float4(1.2,1.1,1.0,1.0) + 0.2; + Size *= SizeCoeff; +} +"; +} +CCompilerSyntaxNodeExpression $LOCAL$/SpawnScript_Smoke +{ + EditorInfosPosition = int2(-136, 2230); + EditorInfosIsBlockMinimized = 0; + Expression = "// Blast ground smoke (persistent): Spawn +function void Eval() +{ + float hugeness = 1.0 - length(Position); + float3 p = PositionSampler.samplePosition(); + Velocity = 4.0 * p; + Position = 2.0 * p; + Rotation = rand(0, 2*pi); + RotationSpeed = cross(Velocity, float3(0,-1,0)) * 3; + Life = rand(2.7, 4.5); + Brightness = rand(0.8, 1); + SizeCoeff = rand(1.5, 2.0) + hugeness * 1.0; + TextureID = rand(0,4); +} + + +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9762E41A +{ + EditorInfosPosition = int2(-184, 2294); + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + Drag = 1.3000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_2AE2DA75 +{ + EditorInfosPosition = int2(-184, 2329); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_FA2F790A"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_2AE2DA76 +{ + EditorInfosPosition = int2(-184, 2364); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_A55D1093"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_50E42364 +{ + EditorInfosPosition = int2(-184, 2399); + EditorInfosIsBlockMinimized = 0; + CustomName = "Rotation"; + RotationMode = Axial; +} +CParticleEvolver_Damper $LOCAL$/CParticleEvolver_Damper_1B1BCFC9 +{ + EditorInfosPosition = int2(-184, 2434); + EditorInfosIsBlockMinimized = 0; + CustomName = "Damper"; + MinSpeed = 5.0000000e-001; + ExpDampingTime = 2.0000000e+000; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_8246B418 +{ + EditorInfosPosition = int2(-113, 1273); + EditorInfosIsBlockMinimized = 0; + Position = float3(0.0000000e+000, 7.5000000e+000, 0.0000000e+000); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 4.0000000e+000; + Height = 1.0000000e+000; + NonUniformScale = float3(1.0000000e+000, 6.9999999e-001, 1.0000000e+000); +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_76139C5C +{ + EditorInfosPosition = int2(-409, 50); + EditorInfosIsBlockMinimized = 0; + Weight = 7.9999998e-002; + Position = float3(0.0000000e+000, 2.5000000e+001, 0.0000000e+000); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 5.0000000e+000; + NonUniformScale = float3(1.0000000e+000, 2.0000000e+000, 1.0000000e+000); +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_5236EC1B +{ + EditorInfosPosition = int2(-742, 567); + EditorInfosIsBlockMinimized = 0; + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_000039B3"; + SampleDimensionality = Volume; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_3B75ED7D +{ + EditorInfosPosition = int2(-30, 1060); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack.png"; + AtlasDefinition = "Textures/BlastPack.pkat"; + NormalsBendingFactor = 6.9999999e-001; + NormalsWrapFactor = 5.0000000e-001; + LightExponent = 2.2000000e+000; + AmbientLight = float3(1.4999999e-001, 1.7999999e-001, 2.3999999e-001); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_69D3AFDF +{ + EditorInfosPosition = int2(-32, 1538); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack.png"; + AtlasDefinition = "Textures/BlastPack.pkat"; + AxisScale = 2.0000000e+000; + NormalsBendingFactor = 6.9999999e-001; + NormalsWrapFactor = 5.0000000e-001; + LightExponent = 2.2000000e+000; + AmbientLight = float3(1.4999999e-001, 1.7999999e-001, 2.3999999e-001); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_0CFFCB26 +{ + EditorInfosPosition = int2(-30, 2015); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack.png"; + AtlasDefinition = "Textures/BlastPack.pkat"; + AxisScale = 2.0000000e+000; + NormalsBendingFactor = 6.9999999e-001; + NormalsWrapFactor = 5.0000000e-001; + LightExponent = 2.2000000e+000; + AmbientLight = float3(1.4999999e-001, 1.7999999e-001, 2.3999999e-001); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_2C8F5551 +{ + EditorInfosPosition = int2(-31, 2586); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack.png"; + AtlasDefinition = "Textures/BlastPack.pkat"; + AxisScale = 2.0000000e+000; + NormalsBendingFactor = 6.9999999e-001; + NormalsWrapFactor = 5.0000000e-001; + LightExponent = 2.2000000e+000; + AmbientLight = float3(1.4999999e-001, 1.7999999e-001, 2.3999999e-001); +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_B8C69A23 +{ + EditorInfosPosition = int2(-190, 5); + EditorInfosIsBlockMinimized = 2; + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptorCollection_8B6DA352"; + SampleDimensionality = Volume; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_F0AC2485 +{ + EditorInfosPosition = int2(-29, 2268); + EditorInfosIsBlockMinimized = 0; + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_B1A4ADA1"; + SampleDimensionality = Volume; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_4817F9CB +{ + EditorInfosPosition = int2(-11, 425); + EditorInfosIsBlockMinimized = 0; + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_A88839AF"; + SampleDimensionality = Volume; +} diff --git a/assets/streaming/PackFx/Particles/BurnHit.pkfx b/assets/streaming/PackFx/Particles/BurnHit.pkfx new file mode 100644 index 0000000..f1f67c3 --- /dev/null +++ b/assets/streaming/PackFx/Particles/BurnHit.pkfx @@ -0,0 +1,488 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(282, -117); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CNEdEditorParticle_Data $LOCAL$/EDITOR +{ + Position = float3(2.0448372e+001, 1.6942070e+001, -2.1082035e+001); + EulerOrientation = float3(-1.4181623e+001, 4.4346287e+001, 1.6262726e-003); + Backdrops = "$LOCAL$/_BackdropList"; + LoopDelay = 8.0000000e+000; + IsLooping = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Smoke +{ + EditorInfosPosition = int2(-196, -378); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + DurationInSeconds = 8.0000000e+000; + SpawnCount = 8.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-352, -387); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2C215779", + "$LOCAL$/CParticleFieldDeclaration_FF8F7870", + "$LOCAL$/CParticleFieldDeclaration_E1604A6A", + "$LOCAL$/CParticleFieldDeclaration_D6D0E700", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5C87387A", + "$LOCAL$/CParticleSamplerProceduralTurbulence_E37410C3", + "$LOCAL$/CParticleSamplerShape_7188E290", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(48, -132); + ChildList = + { + "$LOCAL$/Smoke", + "$LOCAL$/Light", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-615, -553); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.png"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-615, -209); + Expression = "function void Eval() +{ + Life = rand(5.0, 8); + Size = 0.5; + Position = PositionSampler.samplePosition(); + Velocity = float3(0,2,0); + TextureID = rand(32,36); + Rotation = rand(-pi, pi); + ScalarRotationSpeed = (1 - pow(rand(0,1), 3)) * 0.8 * sign(Rotation); + AlphaCoeff = spawner.LifeRatio;//1 - pow(spawner.LifeRatio, 2); +}"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-615, -27); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_70B82B25", + "$LOCAL$/CParticleEvolver_Field_1AE2F154", + "$LOCAL$/CParticleEvolver_Field_5D69BC58", + "$LOCAL$/CParticleEvolver_Script_AE0FE9C3", + "$LOCAL$/CParticleEvolver_Rotation_CF07E785", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-565, 252); +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_70B82B25 +{ + EditorInfosPosition = int2(-770, -81); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 2.0000000e+000, 0.0000000e+000); + Drag = 2.0000000e-001; + VelocityFieldSampler = "VelocityField"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_1AE2F154 +{ + EditorInfosPosition = int2(-770, -38); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_CB941AC7"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_CB941AC7 +{ + EditorInfosPosition = int2(-855, -27); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.4695834e-002, + 2.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 5.4482728e-001, + 2.0332488e-001, + 7.6259047e-002, + 1.8235232e-001, + 6.2973976e-002, + 6.2973976e-002, + 6.2973976e-002, + 7.1012288e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.1636616e-001, + 8.5550584e-002, + 0.0000000e+000, + 1.8196657e-001, + -1.2425157e-001, + -8.5741006e-002, + -2.7909663e-002, + 2.2923948e-001, + -5.9198189e-001, + -4.0850282e-001, + -1.3297227e-001, + 1.0921842e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.3845204e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.7004746e-001, + -1.8101464e-001, + -1.8101464e-001, + -1.8101464e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C215779 +{ + EditorInfosPosition = int2(-615, -510); + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5D69BC58 +{ + EditorInfosPosition = int2(-770, 16); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_32F8C9BB"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_32F8C9BB +{ + EditorInfosPosition = int2(-852, 24); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 9.5752895e-001, + 6.6485538e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 5.5392590e+000, + 1.5304744e-001, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FF8F7870 +{ + EditorInfosPosition = int2(-615, -467); + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E1604A6A +{ + EditorInfosPosition = int2(-615, -424); + FieldName = "Rotation"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_CF07E785 +{ + EditorInfosPosition = int2(-770, 123); + CustomName = "Rotation"; + ScreenspaceRotationCoeff = 1.5000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D6D0E700 +{ + EditorInfosPosition = int2(-615, -381); + FieldName = "AlphaCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_AE0FE9C3 +{ + EditorInfosPosition = int2(-770, 69); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_ED57AD7A"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_ED57AD7A +{ + EditorInfosPosition = int2(-857, 80); + Expression = "function void Eval() +{ + float2 intensities = Intensity.sample(AlphaCoeff); + Color = Color * intensities.yyyx; +}"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_5B5B3F5D +{ + EditorInfosPosition = int2(-596, 407); + CustomName = "Physics"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6559827B +{ + EditorInfosPosition = int2(-671, 358); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.2816327e-001, + 8.0274594e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 5.9109602e+000, + 2.9268544e+000, + 1.8140471e+000, + 1.0000000e+000, + 2.7818718e+000, + 1.3037927e+000, + 5.2021861e-001, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 8.3469057e-001, + 8.3469057e-001, + 8.3469057e-001, + 0.0000000e+000, + 8.5369867e-001, + 8.9990139e-001, + 4.8885715e-001, + 0.0000000e+000, + 2.1498661e+000, + 2.2662182e+000, + 1.2310871e+000, + 0.0000000e+000, + -5.5585861e+000, + -3.1590493e+000, + -2.4679222e+000, + 0.0000000e+000, + -1.9082609e+000, + -1.0845006e+000, + -8.4723699e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_E37410C3 +{ + EditorInfosPosition = int2(-615, -252); + SamplerName = "VelocityField"; + Wavelength = 1.0000000e+001; + Strength = 7.0710683e-001; + Gain = 1.0000000e+000; + TimeScale = 2.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5C87387A +{ + EditorInfosPosition = int2(-615, -295); + SamplerName = "Intensity"; + ValueType = Float2; + Times = + { + 0.0000000e+000, + 4.9287799e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 9.9156022e-001, + 9.9461973e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 3.5747120e-001, + 2.4199028e+000, + 3.1132227e-002, + 0.0000000e+000, + 3.2031942e-002, + 0.0000000e+000, + -2.5004222e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_7188E290 +{ + EditorInfosPosition = int2(-598, -129); + EditorInfosIsBlockMinimized = 0; + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_91C350C8"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_91C350C8 +{ + EditorInfosPosition = int2(-700, -165); + ShapeType = CYLINDER; + Radius = 1.5000000e+000; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Light +{ + EditorInfosPosition = int2(-187, 183); + Descriptor = "$LOCAL$/CParticleDescriptor_583E61EB"; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_583E61EB +{ + EditorInfosPosition = int2(-290, 195); + Renderer = "$LOCAL$/CParticleRenderer_Light_7CF1F42E"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AAB6FA39", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_167477BD"; + States = + { + "$LOCAL$/CParticleState_13CE6B8C", + }; +} +CParticleState $LOCAL$/CParticleState_13CE6B8C +{ + EditorInfosPosition = int2(-474, 338); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_8923D418", + "$LOCAL$/CParticleEvolver_Physics_5B5B3F5D", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_167477BD +{ + EditorInfosPosition = int2(-474, 295); + Expression = "function void Eval() +{ + Life = 9.0; + Size = 12.0; + Position = float3(0,1,0); +}"; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_7CF1F42E +{ + EditorInfosPosition = int2(-474, 166); + CustomName = "Light"; + LightAttenuationSteepnessRange = float2(0.0000000e+000, 8.0000000e+000); + LightAttenuationSteepness = 6.0000002e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AAB6FA39 +{ + EditorInfosPosition = int2(-474, 209); + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_8923D418 +{ + EditorInfosPosition = int2(-596, 354); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6559827B"; +} +CNEdEditorBackdrop_Light $LOCAL$/_Backdrop_Light +{ + LayerName = "GlobalLight"; + Position = float3(1.1233553e+002, 2.8270447e+002, 2.2297581e+002); + EulerOrientation = float3(-4.8550171e+001, 2.6739031e+001, -9.5600376e-007); + LightFactory = "$LOCAL$/_Backdrop_Light_Factory"; + LightDistance = 3.7717276e+002; +} +CNEdEditorBackdrop_List $LOCAL$/_BackdropList +{ + EditorInfosPosition = int2(-100, -365); + EditorInfosIsBlockMinimized = 0; + BackgroundLayers2D = + { + "$LOCAL$/_Backdrop_Brush", + "$LOCAL$/_Backdrop_Audio2D", + }; + SceneLayers3D = + { + "$LOCAL$/_Backdrop_Model3D", + "$LOCAL$/_Backdrop_Light", + }; +} +CNEdEditorBackdrop_Brush $LOCAL$/_Backdrop_Brush +{ + EditorInfosPosition = int2(-253, -417); + LayerName = "Layer_Brush"; +} +CNEdEditorBackdrop_Model3D $LOCAL$/_Backdrop_Model3D +{ + EditorInfosPosition = int2(-252, -371); + EditorInfosIsBlockMinimized = 2; + LayerName = "Layer_Model"; + ResourceModel = "meshes/cuberoom_dark.fbx"; +} +CNEdEditorBackdrop_Audio2D $LOCAL$/_Backdrop_Audio2D +{ + EditorInfosPosition = int2(-252, -460); + LayerName = "Layer_Audio2D"; +} +CNEdEditorLightFactory $LOCAL$/_Backdrop_Light_Factory +{ + NearClipPlane = 1.0000000e+002; + SpotFalloff = 8.8541701e-002; + Magnitude = 1.0000000e+005; +} diff --git a/assets/streaming/PackFx/Particles/CastlePortal.pkfx b/assets/streaming/PackFx/Particles/CastlePortal.pkfx new file mode 100644 index 0000000..e3bfa18 --- /dev/null +++ b/assets/streaming/PackFx/Particles/CastlePortal.pkfx @@ -0,0 +1,509 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/blackhole +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 4.0000000e+000; + ContinuousSpawner = false; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_List_9C98FAB6"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_56EE89B5", + "$LOCAL$/CParticleFieldDeclaration_05E0F13E", + "$LOCAL$/CParticleFieldDeclaration_2F3A3C6D", + "$LOCAL$/CParticleFieldDeclaration_9FCBDD7C", + "$LOCAL$/CParticleFieldDeclaration_6C782B7A", + "$LOCAL$/CParticleFieldDeclaration_28B88455", + "$LOCAL$/CParticleFieldDeclaration_8E78CA92", + "$LOCAL$/CParticleFieldDeclaration_12409622", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/blackhole", + "$LOCAL$/Layer_1", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/BB_Flame_01_128.dds"; + AtlasDefinition = "Textures/FX/AtlasX2.pkat"; + SizeField = "Size2"; + ColorField = "Color2"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + Life = 1; + InitialSize = Scale; + + Position = float3(0,1,0); + Color = 0.5 * Scale; + Color2 = CustomColor * 3; + TextureID = rand(0,4); + ScalarRotationSpeed = rand(-3,3); + Rotation = rand(-pi,pi); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_5C31A5C1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_464DBE5B", + "$LOCAL$/CParticleAttributeDeclaration_34682ABB", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_BB7B0AAF +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/Fx/DistortionRing_01.dds"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_9C98FAB6 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_9136D2F4", + "$LOCAL$/CParticleRenderer_Billboard_BB7B0AAF", + "$LOCAL$/CParticleRenderer_Billboard_35F7BFC3", + "$LOCAL$/CParticleRenderer_Billboard_89A7025E", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05E0F13E +{ + FieldName = "Color2"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1FA7EDD7 +{ + Expression = "function void Eval() +{ + float decayedSize = InitialSize * SizeCoeff; + Size = decayedSize * 1; + Size2 = decayedSize * 1.5; + Size4 = decayedSize * 2; + Color4 *= CustomColor; +} +"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_861B3223 +{ + CustomName = "Field"; + Name = "SizeCoeff"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_3D8F545A"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3D8F545A +{ + Times = + { + 0.0000000e+000, + 4.9905631e-001, + 1.0000000e+000, + }; + FloatValues = + { + 6.3916349e-001, + 3.6995310e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -8.5174030e-001, + -8.5496157e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_56EE89B5 +{ + FieldName = "SizeCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_F50E15A4 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_1FA7EDD7"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2F3A3C6D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9FCBDD7C +{ + FieldName = "Size2"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_F8C0F500 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Rotation"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_35F7BFC3 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + SizeField = "Size4"; + ColorField = "Color4"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6C782B7A +{ + FieldName = "Color4"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28B88455 +{ + FieldName = "Size4"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_1622A5C4 +{ + CustomName = "Field"; + Name = "Color4"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_E312BD77"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E312BD77 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.9999999e-002, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+002, + 1.0000000e+002, + 1.0000000e+002, + 1.0000000e+002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_89A7025E +{ + DrawOrder = -1; + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/Fx/Distortion_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_12409622 +{ + FieldName = "InitialSize"; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_5C31A5C1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Rotation_F8C0F500", + "$LOCAL$/CParticleEvolver_Field_861B3223", + "$LOCAL$/CParticleEvolver_Field_1622A5C4", + "$LOCAL$/CParticleEvolver_Script_F50E15A4", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_464DBE5B +{ + AttributeName = "CustomColor"; + AttributeType = float4; + DefaultValueF4 = float4(5.0000000e-001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_34682ABB +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8E78CA92 +{ + FieldName = "SizeCoeff"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_C99FC8D6 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_E9C90D51"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_87101DE8", + "$LOCAL$/CParticleFieldDeclaration_13109ECB", + "$LOCAL$/CParticleFieldDeclaration_226FEFEA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C93DF7F5"; + States = + { + "$LOCAL$/CParticleState_5A304B5C", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_E9C90D51 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/flare.png"; + BillboardMode = VelocitySpheroidalAlign; + AxisField = "Axis"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_87101DE8 +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_13109ECB +{ + FieldName = "Strength"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_226FEFEA +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C93DF7F5 +{ + Expression = "function void Eval() +{ + Life = rand(0.80, 1.25); + Size = 0.00; + Position = float3(rand(0.5,1) - 0.5,rand(-0.35,0.35) +4,0); + Axis = float3(0,1,0) * Strength; +}"; +} +CParticleState $LOCAL$/CParticleState_5A304B5C +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/CParticleEvolver_Script_2658DF4F", + "$LOCAL$/CParticleEvolver_Field_AE2DC759", + "$LOCAL$/CParticleEvolver_Field_7CB96E93", + "$LOCAL$/CParticleEvolver_Field_156F7F7D", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_2658DF4F +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_DDF938BE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DDF938BE +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0) * Strength * 50; +}"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_AE2DC759 +{ + CustomName = "Field"; + Name = "Strength"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_2EFEDC90"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2EFEDC90 +{ + Times = + { + 0.0000000e+000, + 1.7875880e-001, + 6.4207673e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.2506415e-001, + 2.6848429e+001, + 2.3227062e+001, + 2.0530760e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.9337954e-001, + -4.0330389e-001, + -2.2301891e+000, + -1.7228700e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_7CB96E93 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_13059752"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_13059752 +{ + Times = + { + 0.0000000e+000, + 2.0247516e-001, + 3.2290432e-001, + 4.7881454e-001, + 6.4916664e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 6.4882517e-002, + 9.8659448e-002, + 4.8528183e-001, + 6.0317144e-003, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.2722742e-002, + -4.5073226e-002, + 1.7790599e-002, + 2.0852409e-002, + 1.6193686e-004, + 1.7938390e-003, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_156F7F7D +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_7BDD2584"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_7BDD2584 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.0183773e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 8.0130553e-001, + 6.2950172e+000, + 1.0406619e+000, + 8.6716664e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_C99FC8D6"; + Infinite = true; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 2.0000000e+001; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; +} diff --git a/assets/streaming/PackFx/Particles/CastlePortalGrow.pkfx b/assets/streaming/PackFx/Particles/CastlePortalGrow.pkfx new file mode 100644 index 0000000..fba14b3 --- /dev/null +++ b/assets/streaming/PackFx/Particles/CastlePortalGrow.pkfx @@ -0,0 +1,243 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 2.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B4FA3B8B", + "$LOCAL$/CParticleFieldDeclaration_71AB2386", + "$LOCAL$/CParticleFieldDeclaration_5111DDDB", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/flare.png"; + BillboardMode = VelocitySpheroidalAlign; + AxisField = "Axis"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + Life = rand(0.80, 1.25); + Size = 0.00; + Position = float3(rand(0.5,1) - 0.5,rand(-0.35,0.35) +4,0) * 2; + Axis = float3(0,1,0) * Strength; +}"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_8B26CC31", + "$LOCAL$/CParticleEvolver_Field_0BA9D822", + "$LOCAL$/CParticleEvolver_Field_E26A0C45", + "$LOCAL$/CParticleEvolver_Field_5ACAEC0E", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_53F9F139", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B4FA3B8B +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0BA9D822 +{ + CustomName = "Field"; + Name = "Strength"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_82F81E5D"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_82F81E5D +{ + Times = + { + 0.0000000e+000, + 1.7875880e-001, + 6.4207673e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.2506415e-001, + 2.6848429e+001, + 2.3227062e+001, + 2.0530760e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.9337954e-001, + -4.0330389e-001, + -2.2301891e+000, + -1.7228700e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_71AB2386 +{ + FieldName = "Strength"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_8B26CC31 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_11823E30"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_11823E30 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0) * Strength * 50; + Strength = Strength * GrobalSize; +}"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E26A0C45 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_A8F9CDF4"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A8F9CDF4 +{ + Times = + { + 0.0000000e+000, + 2.0247516e-001, + 3.2290432e-001, + 4.7881454e-001, + 6.4916664e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 6.4882517e-002, + 9.8659448e-002, + 4.8528183e-001, + 6.0317144e-003, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.2722742e-002, + -4.5073226e-002, + 1.7790599e-002, + 2.0852409e-002, + 1.6193686e-004, + 1.7938390e-003, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5111DDDB +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5ACAEC0E +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_9AA39299"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9AA39299 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.0183773e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 8.0130553e-001, + 6.2950172e+000, + 1.0406619e+000, + 8.6716664e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_53F9F139 +{ + AttributeName = "GrobalSize"; + HasMin = true; + HasMax = true; + MinValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/ChangelingAlpha/ChangelingAlphaBurst.pkfx b/assets/streaming/PackFx/Particles/ChangelingAlpha/ChangelingAlphaBurst.pkfx new file mode 100644 index 0000000..6df995c --- /dev/null +++ b/assets/streaming/PackFx/Particles/ChangelingAlpha/ChangelingAlphaBurst.pkfx @@ -0,0 +1,340 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(711, 177); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-521, 288); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_4CE336B0", + "$LOCAL$/CParticleAttributeDeclaration_F1D44C8A", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(334, 131); + ChildList = + { + "$LOCAL$/Main_Lot", + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_0BF9AEAA +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_75B28038 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257952e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Main_Lot +{ + EditorInfosPosition = int2(170, 355); + Descriptor = "$LOCAL$/CParticleDescriptor_11D3CC4E"; + DurationInSeconds = 5.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.4000000e+001; + SpawnCountRelativeRandomDeviation = 9.6650624e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_11D3CC4E +{ + EditorInfosPosition = int2(25, 339); + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9BC51382", + "$LOCAL$/CParticleSamplerShape_C08BEC3D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_64616D38"; + States = + { + "$LOCAL$/CParticleState_FBAD371B", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1CCBE1BA +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_64616D38 +{ + EditorInfosPosition = int2(-153, 300); + Expression = "function void Eval() +{ + Life = rand(0.1,0.1); + Position = PositionSampler.samplePosition(); + Velocity = VelocitySampler.samplePosition(); + float3 v = Velocity * (Throttle * rand(0.9,1.1)); + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_FBAD371B +{ + EditorInfosPosition = int2(-79, 590); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_6735766D", + "$LOCAL$/Flames", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_71334881 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6735766D +{ + EditorInfosPosition = int2(-249, 591); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -4.0000000e+000, 0.0000000e+000); + Drag = 5.0000000e-001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 10; + BounceRestitution = 3.0000001e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9BC51382 +{ + EditorInfosPosition = int2(-151, 367); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_7604A941"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_7604A941 +{ + EditorInfosPosition = int2(-247, 365); + Position = float3(0.0000000e+000, 5.0000000e-001, 0.0000000e+000); + ShapeType = CYLINDER; + Height = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_76658303 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_47935F34 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6C525127"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6C525127 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3849864e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888062e+000, + 7.7745247e+001, + 7.3503357e+001, + 6.4612997e-001, + 2.0553560e+000, + 3.8516720e+001, + 3.5025604e+001, + 6.2580526e-001, + 1.3330803e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386294e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6951137e+000, + -1.3702939e-004, + -1.1671032e+000, + -2.7337904e+000, + -1.7046227e+000, + -6.1781224e-002, + -1.0002245e+000, + -2.3428993e+000, + -1.4608870e+000, + -5.2947421e-002, + -4.2274657e-001, + -1.0370370e+000, + -3.2198474e+000, + 1.2638654e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_FF6840D9 +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_75B28038"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_4CE336B0 +{ + EditorInfosPosition = int2(-690, 285); + AttributeName = "Throttle"; + AttributeDescription = "Flamethrower power / flame velocity\\nLower values throw flames closer.\\nHigher values throw flames further"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_F1D44C8A +{ + EditorInfosPosition = int2(-691, 331); + AttributeName = "ShakeAmplitude"; + AttributeDescription = "Horizontal sinusoidal shake amplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BCFD71B2 +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_707791AD"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_707791AD +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 4; + Size *= SizeCoeff * 0.5; +}"; +} +CParticleEvolver_Spawner $LOCAL$/Flames +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_1BC47A3F"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1BC47A3F +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_D6BD72B1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_71334881", + "$LOCAL$/CParticleFieldDeclaration_76658303", + "$LOCAL$/CParticleFieldDeclaration_1CCBE1BA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4C0EEC06"; + States = + { + "$LOCAL$/CParticleState_26784AB0", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4C0EEC06 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.1 + (0.2 + couillunessFactor * 1.5) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0);//float3(0,0,-2); +}"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_D6BD72B1 +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleState $LOCAL$/CParticleState_26784AB0 +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_60A47EB3", + "$LOCAL$/CParticleEvolver_Field_FF6840D9", + "$LOCAL$/CParticleEvolver_Field_47935F34", + "$LOCAL$/CParticleEvolver_Rotation_0BF9AEAA", + "$LOCAL$/CParticleEvolver_Script_BCFD71B2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_60A47EB3 +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DC850E0B +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_C08BEC3D +{ + EditorInfosPosition = int2(-149, 416); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_FF71004F"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_FF71004F +{ + EditorInfosPosition = int2(-241, 420); + ShapeType = SPHERE; + Radius = 5.0000000e-001; +} diff --git a/assets/streaming/PackFx/Particles/ElectricOrb.pkfx b/assets/streaming/PackFx/Particles/ElectricOrb.pkfx new file mode 100644 index 0000000..8623226 --- /dev/null +++ b/assets/streaming/PackFx/Particles/ElectricOrb.pkfx @@ -0,0 +1,620 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Vortex +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_34A909E2", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Vortex", + "$LOCAL$/LightningRing", + "$LOCAL$/LightingBolts", + "$LOCAL$/BlueLight", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/LightRays_02.png"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + Life = 0.4; + Rotation = rand(-pi,pi); + ScalarRotationSpeed = 6*sin(spawner.LifeRatio*2*pi); + Position = float3(0,0.7,0); +}"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_F9FFD457", + "$LOCAL$/CParticleEvolver_Rotation_C471EA28", + "$LOCAL$/CParticleEvolver_Field_B37B804B", + "$LOCAL$/CParticleEvolver_Damper_7835E146", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6671891D +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.8654555e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 5.4421711e-001, + 1.0370605e+000, + 2.8659752e+001, + 1.0000000e+000, + 8.6442292e-001, + 1.5482540e+000, + 3.9300758e+001, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.2110351e-001, + 5.8544493e-001, + 4.3967576e+000, + 0.0000000e+000, + 9.6246995e-002, + 2.3152155e-001, + 4.0371575e+000, + 0.0000000e+000, + 4.1969666e-001, + 1.0095778e+000, + 1.7604517e+001, + 0.0000000e+000, + 3.4133241e-001, + 2.1894775e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_F9FFD457 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_83933DBE"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_83933DBE +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.3296311e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + -1.1266809e+000, + -2.8787637e-001, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_C471EA28 +{ + CustomName = "Rotation"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_B37B804B +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6671891D"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_34A909E2 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Damper $LOCAL$/CParticleEvolver_Damper_7835E146 +{ + CustomName = "Damper"; + ExpDampingTime = 1.0000000e+001; + FieldToDampen = "ScalarRotationSpeed"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/LightningRing +{ + Descriptor = "$LOCAL$/CParticleDescriptor_BBB147EA"; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_BBB147EA +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_BBEAEF05"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_99F8BF56", + "$LOCAL$/CParticleFieldDeclaration_B4493880", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_772C01CE"; + States = + { + "$LOCAL$/CParticleState_00F225B4", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_BBEAEF05 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/LightningOrb_01.png"; +} +CParticleState $LOCAL$/CParticleState_00F225B4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Rotation_50875159", + "$LOCAL$/CParticleEvolver_Field_F4374EB8", + "$LOCAL$/CParticleEvolver_Field_AA68ADED", + "$LOCAL$/CParticleEvolver_Script_FFCCF543", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_772C01CE +{ + Expression = "function void Eval() +{ + Life = 0.2; + Rotation = rand(-pi, pi); + SizeCoeff = rand(0.3,0.35); + Position = float3(0,0.7,0); +}"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_50875159 +{ + CustomName = "Rotation"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_F4374EB8 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_C091929B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C091929B +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 9.9328351e-001, + 2.5907451e-001, + }; + FloatTangents = + { + 0.0000000e+000, + -7.7249773e-002, + -1.6293277e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_AA68ADED +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_D8E688FC"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D8E688FC +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.9241667e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0982087e+000, + 2.2082088e+000, + 9.5799999e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.5280752e-001, + 1.5280752e-001, + 1.5280752e-001, + 0.0000000e+000, + 5.2551400e-002, + 5.2551400e-002, + 5.2551400e-002, + 0.0000000e+000, + 2.2056110e-001, + 2.2056110e-001, + 2.2056110e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_99F8BF56 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B4493880 +{ + FieldName = "SizeCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_FFCCF543 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_51AE8AFA"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_51AE8AFA +{ + Expression = "function void Eval() +{ + Size *= SizeCoeff; +}"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/LightingBolts +{ + Descriptor = "$LOCAL$/CParticleDescriptor_2AC0AAF7"; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 6.0000000e+001; + SpawnCountRelativeRandomDeviation = 1.5515569e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_2AC0AAF7 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_AE3339DE"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_CE7BC970", + "$LOCAL$/CParticleFieldDeclaration_E2075C85", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_59811144", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4CF168EB"; + States = + { + "$LOCAL$/CParticleState_3E85E929", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_AE3339DE +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Thunder_01.png"; + AtlasDefinition = "Textures/FX/Thunder_01.pkat"; + BillboardMode = VelocityAxisAligned; + AxisField = "Axis"; +} +CParticleState $LOCAL$/CParticleState_3E85E929 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_D2850273", + "$LOCAL$/CParticleEvolver_Physics_6432DD34", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4CF168EB +{ + Expression = "function void Eval() +{ + Life = 0.15; + Size = rand(0.25, 0.4); + float3 p = Sampler_0.samplePosition(); + Position = p + float3(0,0.7,0); + Velocity = float3(0,0.75,0); + Axis = -rand(5, 8) * normalize(p); + Color = float4(1.15,2.2,22,1); +}"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_95A4C9DE +{ + ShapeType = SPHERE; + Radius = 4.0000001e-001; +} +CShapeDescriptorCollection $LOCAL$/CShapeDescriptorCollection_70057AF7 +{ + SubShapes = + { + "$LOCAL$/CShapeDescriptor_95A4C9DE", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CE7BC970 +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_D2850273 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E497236A"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E497236A +{ + Expression = "function void Eval() +{ + TextureID = LifeRatio*4; + float axisLength = length(Axis); + Axis = normalize(Axis - float3(0,dt*20,0)) * axisLength; +}"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E2075C85 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6432DD34 +{ + CustomName = "Physics"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_59811144 +{ + SamplerName = "Sampler_0"; + Shape = "$LOCAL$/CShapeDescriptorCollection_70057AF7"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/BlueLight +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_E8B738EB"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E8B738EB +{ + Renderer = "$LOCAL$/CParticleRenderer_Light_FC517A71"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_1F0B3370", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7E5C931F"; + States = + { + "$LOCAL$/CParticleState_E60C06BD", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7E5C931F +{ + Expression = "function void Eval() +{ + Life = 2.2; + Size = 3.0; + Position = float3(0,0.7,0); +}"; +} +CParticleState $LOCAL$/CParticleState_E60C06BD +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_36FEC473", + }; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_FC517A71 +{ + CustomName = "Light"; + BillboardingMaterial = Lighting_SplatPass_Spec; + LightIntensityMultiplier = 2.0000000e+001; + LightAttenuationSteepnessRange = float2(0.0000000e+000, 3.2000000e+001); + LightAttenuationSteepness = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1F0B3370 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_36FEC473 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_54B1DD6A"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_54B1DD6A +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.0909094e-002, + 1.7688957e-001, + 2.5812733e-001, + 3.8366213e-001, + 4.8939523e-001, + 6.4819419e-001, + 7.9237509e-001, + 9.0909094e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.4384966e+000, + 3.9384966e+000, + 2.5773159e+001, + 0.0000000e+000, + 3.4384966e+000, + 3.9384966e+000, + 2.3622520e+001, + 0.0000000e+000, + 3.4384966e+000, + 3.9384966e+000, + 2.3725010e+001, + 0.0000000e+000, + 3.4384966e+000, + 4.0630932e+000, + 2.3725010e+001, + 0.0000000e+000, + 3.4384966e+000, + 3.9384966e+000, + 2.3351219e+001, + 0.0000000e+000, + 3.4384966e+000, + 3.9384966e+000, + 2.4846382e+001, + 0.0000000e+000, + 3.4384966e+000, + 3.9384966e+000, + 2.3725010e+001, + 0.0000000e+000, + 3.4384966e+000, + 3.9384966e+000, + 2.4493069e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.5398884e+000, + 3.4687040e+000, + 1.9555298e+001, + 0.0000000e+000, + 2.3997872e+000, + 3.2773690e+000, + 1.8476622e+001, + 0.0000000e+000, + 2.2611182e+000, + 2.8402545e+000, + 1.5264819e+001, + 0.0000000e+000, + 3.4940529e+000, + 4.3889785e+000, + 2.3588366e+001, + 0.0000000e+000, + 3.8060861e+000, + 4.4430280e+000, + 2.2273224e+001, + 0.0000000e+000, + 3.2057188e+000, + 3.7421904e+000, + 1.8759872e+001, + 0.0000000e+000, + 4.1820278e+000, + 4.2361121e+000, + 1.5517987e+001, + 0.0000000e+000, + 6.2809253e+000, + 6.3621535e+000, + 2.3306234e+001, + 0.0000000e+000, + 6.5480828e+000, + 6.7900567e+000, + 2.1946417e+001, + 0.0000000e+000, + 5.9453058e+000, + 6.1650052e+000, + 1.9926163e+001, + 0.0000000e+000, + 5.7592821e+000, + 5.3127451e+000, + 1.8905416e+001, + 0.0000000e+000, + 4.6621952e+000, + 4.3007193e+000, + 1.5304120e+001, + 0.0000000e+000, + 4.0492253e+000, + 3.9660637e+000, + 2.4607763e+001, + 0.0000000e+000, + 3.1539099e+000, + 3.0891361e+000, + 1.9166796e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/Fantasy/GroundClack.pkfx b/assets/streaming/PackFx/Particles/Fantasy/GroundClack.pkfx new file mode 100644 index 0000000..99599b7 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Fantasy/GroundClack.pkfx @@ -0,0 +1,654 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/CrackBranch", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/Crack", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9AEE5ABD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_168DE691 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_216E6F10"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_216E6F10 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 2); + Size = (0.05 * Scale) * GlobalSizeCurve.sample(LifeRatio); +} +"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C7BD0385", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Crack +{ + Descriptor = "$LOCAL$/CParticleDescriptor_7C46C5E9"; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.2000000e+001; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7C46C5E9 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AA0A7EFA", + "$LOCAL$/CParticleFieldDeclaration_2832E92E", + "$LOCAL$/CParticleFieldDeclaration_668C5BD9", + "$LOCAL$/CParticleFieldDeclaration_7EA25C67", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3F5A22F7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A99F3108"; + States = + { + "$LOCAL$/CParticleState_4C8B87C2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A99F3108 +{ + Expression = "function void Eval() +{ + Life = 0.3; + Position = DropSampler.samplePosition(); + Velocity = Scale*safe_normalize(Position - DropSampler.position())*30; + SizeCoeff = Scale; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)) * 0; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_668C5BD9 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_4C8B87C2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_081972C0", + "$LOCAL$/death", + "$LOCAL$/base", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C1D98F7D +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8FACC28C +{ + FieldName = "Timeb"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(2.0000000e+000, 5.1980197e-001, 2.0792080e-001, 1.7344180e-001); + MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_104D4D29 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_BF861E68"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9AEE5ABD", + "$LOCAL$/CParticleFieldDeclaration_BB297115", + "$LOCAL$/CParticleFieldDeclaration_42AA1C4F", + "$LOCAL$/CParticleFieldDeclaration_BD2FCDD3", + "$LOCAL$/CParticleFieldDeclaration_B334DEDB", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_37052329", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3F389B48"; + States = + { + "$LOCAL$/CParticleState_6B8B6DDE", + }; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_7A8041A7 +{ + EventName = "OnDeath"; + EventAction = "$LOCAL$/CrackBranch"; +} +CParticleState $LOCAL$/CParticleState_6B8B6DDE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B91A4402", + "$LOCAL$/CParticleEvolver_Script_168DE691", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BC1951CA +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7AF25165"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7AF25165 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.025; + float n = 60 * SizeCoeff; + Velocity = lerp(select(Velocity,float3(SizeCoeff*rand(-1,1)*100,0,SizeCoeff*rand(-1,1)*100),shouldSpawnBranch),Velocity,0.9); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E9BE2D1D +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B91A4402 +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F1A21305 +{ + CustomName = "Physics"; + Mass = 0.0000000e+000; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5E0F683 +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/NoisedLine.png"; + BillboardMode = SideAxisAligned; + AxisField = "Axis"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AA0A7EFA +{ + FieldName = "Timeb"; +} +CParticleEvolver_Spawner $LOCAL$/base +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 3.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_104D4D29"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3F389B48 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0); + Life = 2; + Size = 0.05 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = CustomColorRGBA * 1; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/death +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_CD6A0035"; +} +CParticleState $LOCAL$/CParticleState_91BC2CDA +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_D33971BE", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CD6A0035 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_59D07FA1", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_7A8041A7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C095B224"; + States = + { + "$LOCAL$/CParticleState_91BC2CDA", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C095B224 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = CustomColorRGBA; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D33971BE +{ + CustomName = "Physics"; + Mass = 0.0000000e+000; +} +CActionFactoryParticleSpawnerBase $LOCAL$/CrackBranch +{ + Descriptor = "$LOCAL$/CParticleDescriptor_1DEAC189"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1DEAC189 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8FACC28C", + "$LOCAL$/CParticleFieldDeclaration_C9081B39", + "$LOCAL$/CParticleFieldDeclaration_28722F38", + "$LOCAL$/CParticleFieldDeclaration_E4021DE6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4669BE28"; + States = + { + "$LOCAL$/CParticleState_247F7DE2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4669BE28 +{ + Expression = "function void Eval() +{ + Life = rand(0.05,0.05); + Velocity=float3(0,0,0)*Scale; + SizeCoeff=Scale; + FluxScale=pow(Flux,0.5)*1*Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28722F38 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_247F7DE2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9AAE6F84", + "$LOCAL$/ert", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_4E3ECB6C +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F +{ + Expression = "function void Eval() +{ + Timeb += dt*SizeCoeff; + + int shouldChangeDirection = Timeb>0.01*SizeCoeff; + + float n = 60*SizeCoeff; + Velocity = select(Velocity, float3(rand(-n,n),0,rand(-n,n)), shouldChangeDirection); + Timeb = select(Timeb,0,shouldChangeDirection); // reset the \'should.pkangeDirection\' condition +} +"; +} +CParticleEvolver_Spawner $LOCAL$/ert +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_47893DF0"; +} +CParticleState $LOCAL$/CParticleState_65AD76F1 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F1A21305", + "$LOCAL$/CParticleEvolver_Script_403022B8", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_47893DF0 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_021C4C6A"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0B9A51ED", + "$LOCAL$/CParticleFieldDeclaration_366F0A1E", + "$LOCAL$/CParticleFieldDeclaration_BC9A45D6", + "$LOCAL$/CParticleFieldDeclaration_C223EA14", + "$LOCAL$/CParticleFieldDeclaration_B81A293A", + "$LOCAL$/CParticleFieldDeclaration_05190660", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_09C487E3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3"; + States = + { + "$LOCAL$/CParticleState_65AD76F1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0); + Life = 2; + float iSpawnerLR = 1 - spawner.LifeRatio; + BaseSize = 0.4*Scale * pow(iSpawnerLR, 0.5) * 0.2; + ColorCoeff = pow(Flux,4)*100*pow(iSpawnerLR, 2); + TextureID = rand(0,16); + Position = float3(0,0,0)*Scale; + CC = CustomColorRGBA * 1; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_23F2DF84 +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/NoisedLine.png"; + BillboardMode = SideAxisAligned; + AxisField = "Axis"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_403022B8 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_70F7169B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_70F7169B +{ + Expression = "function void Eval() +{ + Color = CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); + Size = BaseSize * GlobalSizeCurve.sample(LifeRatio); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C223EA14 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0B9A51ED +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C9081B39 +{ + FieldName = "SizeCoeff"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2832E92E +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_366F0A1E +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BB297115 +{ + FieldName = "TextureID"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(8.3468831e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_081972C0 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_C1D98F7D", + "$LOCAL$/CParticleEvolver_Script_BC1951CA", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9AAE6F84 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E9BE2D1D", + "$LOCAL$/CParticleEvolver_Script_4E3ECB6C", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42AA1C4F +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BC9A45D6 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BD2FCDD3 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4021DE6 +{ + FieldName = "ParentColor"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_59D07FA1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3F5A22F7 +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_EE347186"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_EE347186 +{ + ShapeType = CYLINDER; + Radius = 2.0000000e-001; + InnerRadius = 2.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_37052329 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 3.9882757e-002, + 7.1488075e-002, + 7.9634374e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 6.6010171e-001, + 1.6563272e-001, + 2.7241680e-001, + 1.5209470e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_09C487E3 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 6.4110816e-002, + 8.6448866e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 5.9643149e-001, + 9.4637269e-001, + 8.5953772e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B334DEDB +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B81A293A +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7EA25C67 +{ + FieldName = "NextBranchTime"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C7BD0385 +{ + SamplerName = "GlobalSizeCurve"; + Times = + { + 0.0000000e+000, + 6.9348741e-001, + 7.7400190e-001, + 8.9076090e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1830896e+001, + 2.2051985e+001, + 1.4963507e+002, + 2.0001369e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 2.4684429e+001, + 2.8658836e+000, + 6.0698044e-001, + 8.8021964e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_821F762C +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_949EFA5F +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_882CE90E +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B9A815E9 +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05190660 +{ + FieldName = "BaseSize"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_BF861E68 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_E5E0F683", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_021C4C6A +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_23F2DF84", + }; +} diff --git a/assets/streaming/PackFx/Particles/Fire_CS_FX.pkfx b/assets/streaming/PackFx/Particles/Fire_CS_FX.pkfx new file mode 100644 index 0000000..f4efc4d --- /dev/null +++ b/assets/streaming/PackFx/Particles/Fire_CS_FX.pkfx @@ -0,0 +1,345 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(560, 108); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Smoke +{ + EditorInfosPosition = int2(-474, -675); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 8.0000000e+000; + SpawnCount = 8.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-632, -668); + InheritInitialVelocity = 1.0000000e+000; + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2C215779", + "$LOCAL$/CParticleFieldDeclaration_FF8F7870", + "$LOCAL$/CParticleFieldDeclaration_E1604A6A", + "$LOCAL$/CParticleFieldDeclaration_B35889A6", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5C87387A", + "$LOCAL$/CParticleSamplerProceduralTurbulence_E37410C3", + "$LOCAL$/CParticleSamplerShape_A5FC6A40", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-10, -165); + ChildList = + { + "$LOCAL$/Smoke", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-805, -786); + UserData = "shaderGroup=fire"; + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_SoftLighting; + Diffuse = "Textures/BlastPack_Extended.png"; + Normal = "Textures/BlastPack_Extended_Normal.png"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + NormalsWrapFactor = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-792, -419); + Expression = "function void Eval() +{ + Position = PositionSampler.samplePosition(); + float4 intensities = Intensity.sample(FireEvolution*0.5); + Life = rand(5.0, 8) * intensities.z * step(FireEvolution, 1.0e-3); + Size = 0.5; + Velocity = float3(0,intensities.w * 2,0) * 0.25; + TextureID = rand(32,36); + Rotation = rand(-pi, pi); + ScalarRotationSpeed = (1 - pow(rand(0,1), 30)) * 0.8 * sign(Rotation); + AlphaCoeff = intensities.xy;//spawner.LifeRatio;//1 - pow(spawner.LifeRatio, 2); +}"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-819, -292); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_70B82B25", + "$LOCAL$/CParticleEvolver_Field_1AE2F154", + "$LOCAL$/CParticleEvolver_Field_5D69BC58", + "$LOCAL$/CParticleEvolver_Script_AE0FE9C3", + "$LOCAL$/CParticleEvolver_Rotation_CF07E785", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-1667, 442); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_B01A74CC", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_70B82B25 +{ + EditorInfosPosition = int2(-954, -344); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 3.0000001e-001, 0.0000000e+000); + Drag = 2.0000000e-001; + VelocityFieldSampler = "VelocityField"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_1AE2F154 +{ + EditorInfosPosition = int2(-950, -297); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_CB941AC7"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_CB941AC7 +{ + EditorInfosPosition = int2(-1025, -280); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.5562143e-002, + 2.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 4.8874578e-001, + 1.8112177e-001, + 7.2856173e-002, + 1.2152736e-001, + 9.4275922e-002, + 5.3745031e-002, + 4.7776483e-002, + 1.9092050e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.3385828e-002, + -2.8115343e-002, + -9.6249115e-003, + 1.8651004e-001, + -7.6651849e-002, + -5.4445602e-002, + -1.7798074e-002, + 7.4724868e-002, + -3.5443494e-001, + -2.5175419e-001, + -8.2297549e-002, + 3.4552461e-001, + -4.2035766e-002, + -3.5166040e-002, + -3.2884832e-002, + -3.1330485e-002, + -2.0450652e-001, + -1.7108488e-001, + -1.5998666e-001, + -1.5242468e-001, + -2.9122775e-002, + -2.9122775e-002, + -2.9122775e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C215779 +{ + EditorInfosPosition = int2(-801, -740); + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5D69BC58 +{ + EditorInfosPosition = int2(-950, -241); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_32F8C9BB"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_32F8C9BB +{ + EditorInfosPosition = int2(-1025, -222); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.8533987e-001, + 1.3140669e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.4666183e+000, + 1.5304744e-001, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FF8F7870 +{ + EditorInfosPosition = int2(-802, -700); + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E1604A6A +{ + EditorInfosPosition = int2(-798, -660); + FieldName = "Rotation"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_CF07E785 +{ + EditorInfosPosition = int2(-961, -136); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_AE0FE9C3 +{ + EditorInfosPosition = int2(-958, -193); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_ED57AD7A"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_ED57AD7A +{ + EditorInfosPosition = int2(-1059, -188); + Expression = "function void Eval() +{ + Color = Color * AlphaCoeff.yyyx; +}"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_E37410C3 +{ + EditorInfosPosition = int2(-793, -522); + SamplerName = "VelocityField"; + Strength = 2.1213204e-001; + Gain = 1.0000000e+000; + TimeScale = 2.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5C87387A +{ + EditorInfosPosition = int2(-794, -562); + SamplerName = "Intensity"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 8.9987129e-002, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.4714521e-001, + 0.0000000e+000, + 3.4931549e-001, + 0.0000000e+000, + 4.6057376e-001, + 2.8718019e-001, + 6.8433118e-001, + 2.1155488e-001, + 9.9156022e-001, + 9.9461973e-001, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.2397479e-001, + 0.0000000e+000, + 5.0674534e-001, + 0.0000000e+000, + 2.0154619e-001, + 3.3474708e-001, + 2.1760091e-001, + 3.2078686e-001, + 9.1831505e-001, + 1.5252249e+000, + 9.9146593e-001, + 1.4616172e+000, + 2.5898121e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.1582084e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.4653063e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_A5FC6A40 +{ + EditorInfosPosition = int2(-796, -477); + EditorInfosIsBlockMinimized = 2; + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_91C350C8"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_91C350C8 +{ + EditorInfosPosition = int2(-915, -467); + Position = float3(0.0000000e+000, 1.0000000e-001, 0.0000000e+000); + ShapeType = CYLINDER; + Radius = 9.9999998e-003; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B01A74CC +{ + EditorInfosPosition = int2(-1772, 475); + AttributeName = "FireEvolution"; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B35889A6 +{ + EditorInfosPosition = int2(-795, -620); + FieldName = "AlphaCoeff"; + FieldType = float2; +} diff --git a/assets/streaming/PackFx/Particles/FlameThrower.pkfx b/assets/streaming/PackFx/Particles/FlameThrower.pkfx new file mode 100644 index 0000000..8f433e2 --- /dev/null +++ b/assets/streaming/PackFx/Particles/FlameThrower.pkfx @@ -0,0 +1,645 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(711, 177); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-521, 288); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_4CE336B0", + "$LOCAL$/CParticleAttributeDeclaration_F1D44C8A", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flaming_Tracers +{ + EditorInfosPosition = int2(-7, -82); + Descriptor = "$LOCAL$/CParticleDescriptor_AD96ED3F"; + DurationInSeconds = 2.0000000e+001; + SpawnCount = 5.0000000e-001; + SpawnCountRelativeRandomDeviation = 1.1959492e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AD96ED3F +{ + EditorInfosPosition = int2(-134, -72); + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_D4F16782", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3FB2E6A9", + "$LOCAL$/CParticleSamplerShape_A882526B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C90A29B0"; + States = + { + "$LOCAL$/CParticleState_D52AE1B3", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(334, 131); + ChildList = + { + "$LOCAL$/Flaming_Tracers", + "$LOCAL$/Main_Lot", + "$LOCAL$/Lights", + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_0BF9AEAA +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C90A29B0 +{ + EditorInfosPosition = int2(-368, -58); + Expression = "function void Eval() +{ + Life = rand(1.5,2.5); + Position = PositionSampler.samplePosition(); + Velocity = VelocitySampler.samplePosition(); + float3 v = Velocity * Throttle; + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_D52AE1B3 +{ + EditorInfosPosition = int2(-368, 110); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_89B285AA", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_89B285AA +{ + EditorInfosPosition = int2(-454, 133); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -8.0000000e+000, 0.0000000e+000); + Drag = 5.0000000e-001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 2; + BounceRestitution = 3.0000001e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_8C17A49F +{ + EditorInfosPosition = int2(-45, 1073); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_097F363D"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_49135174 +{ + EditorInfosPosition = int2(-451, 3); + Position = float3(0.0000000e+000, 1.3000000e+000, 0.0000000e+000); + ShapeType = SPHERE; + Radius = 5.0000001e-002; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_ADFA0E0C +{ + EditorInfosPosition = int2(-43, 1018); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_CAB53E9F"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_4B1C8B8E +{ + EditorInfosPosition = int2(-452, 67); + Position = float3(0.0000000e+000, 7.0000000e+000, -4.0000000e+001); + ShapeType = CYLINDER; + Radius = 5.0000000e-001; + Height = 2.0000000e+000; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_D4F16782 +{ + EditorInfosPosition = int2(-365, -122); + EventName = "OnCollide"; + EventAction = "Particles/BurnHit.pkfx/Spawner"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_75B28038 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 8.7447874e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.9861224e-001, + 1.4257952e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.3390253e-001, + 2.6556799e-001, + 2.7713039e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Main_Lot +{ + EditorInfosPosition = int2(170, 355); + Descriptor = "$LOCAL$/CParticleDescriptor_11D3CC4E"; + DurationInSeconds = 2.0000000e+001; + SpawnCount = 1.0000000e+001; + SpawnCountRelativeRandomDeviation = 9.6650624e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_11D3CC4E +{ + EditorInfosPosition = int2(25, 339); + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9BC51382", + "$LOCAL$/CParticleSamplerShape_C08BEC3D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_64616D38"; + States = + { + "$LOCAL$/CParticleState_FBAD371B", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1CCBE1BA +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_64616D38 +{ + EditorInfosPosition = int2(-153, 300); + Expression = "function void Eval() +{ + Life = rand(1.5,2.5); + Position = PositionSampler.samplePosition(); + Velocity = VelocitySampler.samplePosition(); + float3 v = Velocity * (Throttle * rand(0.9,1.1)); + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_FBAD371B +{ + EditorInfosPosition = int2(-79, 590); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_6735766D", + "$LOCAL$/Flames", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_71334881 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6735766D +{ + EditorInfosPosition = int2(-249, 591); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -8.0000000e+000, 0.0000000e+000); + Drag = 5.0000000e-001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 10; + BounceRestitution = 3.0000001e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_C08BEC3D +{ + EditorInfosPosition = int2(-149, 416); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_FF71004F"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_FF71004F +{ + EditorInfosPosition = int2(-241, 420); + Position = float3(0.0000000e+000, 7.0000000e+000, -4.0000000e+001); + ShapeType = SPHERE; + Radius = 5.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9BC51382 +{ + EditorInfosPosition = int2(-151, 367); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_7604A941"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_7604A941 +{ + EditorInfosPosition = int2(-247, 365); + Position = float3(0.0000000e+000, 1.3000000e+000, 0.0000000e+000); + ShapeType = SPHERE; + Radius = 5.0000001e-002; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_76658303 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_47935F34 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6C525127"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6C525127 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3367925e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.2189606e+001, + 2.7733440e+001, + 5.2586117e+001, + 6.4612997e-001, + 7.1845150e+000, + 4.4242468e+000, + 5.0406747e+000, + 6.2580526e-001, + 6.1475372e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386294e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6799428e+000, + -1.3580301e-004, + -1.1566579e+000, + -2.7093239e+000, + -1.6893669e+000, + -6.1228301e-002, + -1.0106698e+000, + -2.3673658e+000, + -1.4761429e+000, + -5.3500351e-002, + -4.2716128e-001, + -1.0478667e+000, + -3.2534721e+000, + 1.2770637e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_FF6840D9 +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_75B28038"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Lights +{ + EditorInfosPosition = int2(187, 850); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_3DF5B555"; + DurationInSeconds = 2.0000000e+001; + SpawnCount = 2.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_3DF5B555 +{ + EditorInfosPosition = int2(76, 925); + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Light_80861EE6"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_5FD41490", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_ADFA0E0C", + "$LOCAL$/CParticleSamplerShape_8C17A49F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_BA217677"; + States = + { + "$LOCAL$/CParticleState_189ED75E", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_CAB53E9F +{ + EditorInfosPosition = int2(-150, 1017); + Position = float3(0.0000000e+000, 1.3000000e+000, 0.0000000e+000); + ShapeType = SPHERE; + Radius = 0.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_BA217677 +{ + EditorInfosPosition = int2(-143, 956); + Expression = "function void Eval() +{ + Life = rand(0.5,2.5); + Position = PositionSampler.samplePosition(); + Velocity = VelocitySampler.samplePosition(); + float3 v = Velocity * Throttle; + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_189ED75E +{ + EditorInfosPosition = int2(-56, 1146); + EditorInfosIsBlockMinimized = 0; + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_1EA9CC6B", + "$LOCAL$/CParticleEvolver_Field_7B7B5A11", + "$LOCAL$/CParticleEvolver_Field_7B99DDF5", + "$LOCAL$/CParticleEvolver_Script_D29BEB49", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_1EA9CC6B +{ + EditorInfosPosition = int2(-311, 1062); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -8.0000000e+000, 0.0000000e+000); + Drag = 5.0000000e-001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 2; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_A882526B +{ + EditorInfosPosition = int2(-357, 58); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_4B1C8B8E"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_097F363D +{ + EditorInfosPosition = int2(-153, 1080); + Position = float3(0.0000000e+000, 7.0000000e+000, -4.0000000e+001); + ShapeType = SPHERE; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3FB2E6A9 +{ + EditorInfosPosition = int2(-354, 13); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_49135174"; + SampleDimensionality = Volume; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_80861EE6 +{ + EditorInfosPosition = int2(-73, 874); + CustomName = "Light"; + LightIntensityMultiplier = 2.0000000e+000; + LightAttenuationSteepnessRange = float2(0.0000000e+000, 8.0000000e+000); + LightAttenuationSteepness = 6.2500000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_7B7B5A11 +{ + EditorInfosPosition = int2(-310, 1114); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_73D0A113"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5FD41490 +{ + EditorInfosPosition = int2(-70, 919); + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_73D0A113 +{ + EditorInfosPosition = int2(-409, 1125); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.8803664e-001, + 8.9321363e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 4.5130506e+000, + 1.9133502e+000, + 7.8815788e-001, + 1.0000000e+000, + 1.4676437e+000, + 6.0039896e-001, + 2.2180060e-001, + 9.9662262e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -4.6968726e-003, + -3.2139339e-003, + -1.2095796e-002, + -1.5131012e-002, + -7.1592988e-003, + -6.7526093e-003, + -2.5413772e-002, + -3.1790894e-002, + -1.5041985e-002, + -1.3213036e+000, + -8.6636221e-001, + -3.2147384e-001, + 9.9930391e-003, + -2.3315030e-001, + -1.5287375e-001, + -5.6725595e-002, + 1.7633191e-003, + -2.4342837e+000, + -6.3368237e-001, + -3.3816195e-001, + 2.8688549e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_7B99DDF5 +{ + EditorInfosPosition = int2(-302, 1175); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_062D18E4"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_062D18E4 +{ + EditorInfosPosition = int2(-403, 1187); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.3544074e+001, + 1.0289016e+001, + }; + FloatTangents = + { + 0.0000000e+000, + -8.4239216e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_D29BEB49 +{ + EditorInfosPosition = int2(-307, 1245); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_B4AD40E8"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B4AD40E8 +{ + EditorInfosPosition = int2(-409, 1250); + Expression = "function void Eval() +{ + Color *= 0.5; +}"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_4CE336B0 +{ + EditorInfosPosition = int2(-690, 285); + AttributeName = "Throttle"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_F1D44C8A +{ + EditorInfosPosition = int2(-691, 331); + AttributeName = "ShakeAmplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BCFD71B2 +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_707791AD"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_707791AD +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + TextureID = LifeRatio * 32; + Color *= ColorCoeff; + Size *= SizeCoeff; +}"; +} +CParticleEvolver_Spawner $LOCAL$/Flames +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnInterval = 1.5000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_1BC47A3F"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1BC47A3F +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_D6BD72B1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_71334881", + "$LOCAL$/CParticleFieldDeclaration_76658303", + "$LOCAL$/CParticleFieldDeclaration_1CCBE1BA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4C0EEC06"; + States = + { + "$LOCAL$/CParticleState_26784AB0", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4C0EEC06 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.3 + (0.3 + couillunessFactor * 1.5) * spawner.LifeRatio; + Size = 0.25; + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.15; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0);//float3(0,0,-2); +}"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_D6BD72B1 +{ + EditorInfosPosition = int2(-570, 657); + EditorInfosIsBlockMinimized = 0; + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.png"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleState $LOCAL$/CParticleState_26784AB0 +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_60A47EB3", + "$LOCAL$/CParticleEvolver_Field_FF6840D9", + "$LOCAL$/CParticleEvolver_Field_47935F34", + "$LOCAL$/CParticleEvolver_Rotation_0BF9AEAA", + "$LOCAL$/CParticleEvolver_Script_BCFD71B2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_60A47EB3 +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 5.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} diff --git a/assets/streaming/PackFx/Particles/GUI/DamageCounter.pkfx b/assets/streaming/PackFx/Particles/GUI/DamageCounter.pkfx new file mode 100644 index 0000000..63f26c8 --- /dev/null +++ b/assets/streaming/PackFx/Particles/GUI/DamageCounter.pkfx @@ -0,0 +1,564 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Counter +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + DurationInSeconds = 1.0000000e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 5.0000000e+000; + FirstSpawnDelay = 5.0000000e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_CCF3F9A5"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_ABFAB774", + "$LOCAL$/CParticleFieldDeclaration_2708A391", + "$LOCAL$/CParticleFieldDeclaration_44F71A8B", + "$LOCAL$/CParticleFieldDeclaration_F79636AA", + "$LOCAL$/CParticleFieldDeclaration_5A785C66", + "$LOCAL$/CParticleFieldDeclaration_F20BC64B", + "$LOCAL$/CParticleFieldDeclaration_A36E6D6A", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_6FA29F33", + "$LOCAL$/CParticleSamplerCurve_5208EF37", + "$LOCAL$/CParticleSamplerCurve_017C52A1", + "$LOCAL$/CParticleSamplerCurve_BEFBA82A", + "$LOCAL$/CParticleSamplerCurve_2BC8AA39", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_B9A83643", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Counter", + "$LOCAL$/Effective", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + float spawnCount = 5; // must match the spawner\'s \'SpawnCount\' property + float particleId = floor(spawner.LifeRatio * spawnCount); + digitId = int(spawnCount - 1 - particleId); + + DigitFactor = int(pow(10, digitId)); + Digit = digitId; + TextureID = 0; + + ValueBuffer = Value; + RGBBuffer = RGB; + + Digit = particleId; + TextureID = 0; + + Life = 2; + SizeRatioBuffer = SizeRatio * 0.5; + Size = 1 * SizeRatioBuffer; + + int alignCount = select(0, select(1, select(2, select(3,4, (ValueBuffer >= 10000)), (ValueBuffer >= 1000)), (ValueBuffer >= 100)), (ValueBuffer >= 10)); + Position = float3((Digit * (Size * 2)) + (alignCount * (Size)) - 8 * SizeRatioBuffer,-1 * SizeRatioBuffer,0); + Position = Position + WiggleVec; +} +"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_ADA781AB", + "$LOCAL$/CParticleAttributeDeclaration_5C4C877F", + "$LOCAL$/CParticleAttributeDeclaration_96B84472", + "$LOCAL$/CParticleAttributeDeclaration_A3472A57", + "$LOCAL$/CParticleAttributeDeclaration_E3BAC177", + "$LOCAL$/CParticleAttributeDeclaration_C820BAE4", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_5C4C877F +{ + AttributeName = "Value"; + DefaultValueF4 = float4(9.9999000e+004, 7.3939565e+003, 4.9917007e+003, 2.0278772e+002); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(9.9999000e+004, 9.9990000e+003, 9.9990000e+003, 9.9990000e+003); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6FA29F33 +{ + SamplerName = "CountScaler"; + Times = + { + 0.0000000e+000, + 1.4999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.0000000e+000, + 6.8535805e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 5.9798788e-003, + 0.0000000e+000, + 0.0000000e+000, + -1.5446687e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_96B84472 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5208EF37 +{ + SamplerName = "CountDigit"; + Interpolator = Linear; + Times = + { + 0.0000000e+000, + 1.5000001e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_CCF3F9A5 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/FX/DamageCounterAtlas.png"; + AtlasDefinition = "Textures/FX/DamageCounterAtlas.pkat"; + AxisField = "AxisUp"; + Axis2Field = "AxisNormal"; + AxisScale = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DE935980 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleState $LOCAL$/CParticleState_B9A83643 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_1EDE0DAD"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1EDE0DAD +{ + Expression = "function void Eval() +{ + // extract digit in the [0, 9] range + int value = int(ValueBuffer * CountDigit.sample(LifeRatio)); + int digit = (value / DigitFactor) % 10; + + int digitCount = select(1,select(2,select(3,select(4,5,(value / 10000) > 0),(value / 1000) > 0),(value / 100) > 0),(value / 10) > 0); + int colorRatio = select(0,1, (digitCount > digitId)); + + TextureID = 1 + digit; + + float3 currentColor = RGBBuffer * pow(PowScaler.sample(LifeRatio),1.5) * 5; + Color = float4(currentColor.r, currentColor.g ,currentColor.b ,1 * CountScaler.sample(LifeRatio)) * colorRatio; + Position = float3(Position.r,Position.g + (3 * SizeRatioBuffer * dt) * PositionScaler.sample(LifeRatio),Position.b); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_ABFAB774 +{ + FieldName = "Digit"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2708A391 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_ADA781AB +{ + AttributeName = "SizeRatio"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Effective +{ + Descriptor = "$LOCAL$/CParticleDescriptor_78ED1C4A"; + DurationInSeconds = 1.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_78ED1C4A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_5181DCBC"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_503A3206", + "$LOCAL$/CParticleFieldDeclaration_42F9F0C7", + "$LOCAL$/CParticleFieldDeclaration_B83CBAA8", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_EBCA4539", + "$LOCAL$/CParticleSamplerCurve_F89AE5B3", + "$LOCAL$/CParticleSamplerCurve_91AE325B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_B6926BD5"; + States = + { + "$LOCAL$/CParticleState_42371C2F", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B6926BD5 +{ + Expression = "function void Eval() +{ + Life = select(0,2,IsEffective >= 1); + Size = 4 * SizeRatio; + SizeRatioBuffer = SizeRatio; + TextureID = 11; + EffectiveRGBBuffer = EffectiveRGB; + Position = float3(0,-1 * SizeRatio,0); +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5181DCBC +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/FX/DamageCounterAtlas.png"; + AtlasDefinition = "Textures/FX/DamageCounterAtlas.pkat"; + AspectRatio = 4.0000000e+000; + AxisField = "AxisUp"; + Axis2Field = "AxisNormal"; + AxisScale = 3.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EBCA4539 +{ + SamplerName = "SizeScaler"; + Times = + { + 0.0000000e+000, + 2.4355963e-002, + 1.6915630e-001, + 1.0000000e+000, + }; + FloatValues = + { + -3.6398053e-002, + 2.0451326e+000, + 1.3082646e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0317829e-001, + 0.0000000e+000, + 0.0000000e+000, + -7.1222752e-002, + -4.0866598e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleState $LOCAL$/CParticleState_42371C2F +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_2", + }; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_CC9EE573"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_CC9EE573 +{ + Expression = "function void Eval() +{ + Size = SizeScaler.sample(LifeRatio) * SizeRatioBuffer * 2.5; + float3 nowColor = EffectiveRGBBuffer * pow(PowScaler.sample(LifeRatio),1.5) * 5; + Color = float4(nowColor.r, nowColor.g, nowColor.b, 1 * AlphaScaler.sample(LifeRatio)); +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C820BAE4 +{ + AttributeName = "EffectiveRGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E3BAC177 +{ + AttributeName = "IsEffective"; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(1, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_503A3206 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F89AE5B3 +{ + SamplerName = "AlphaScaler"; + Times = + { + 0.0000000e+000, + 6.1971840e-002, + 5.0417644e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0050679e+000, + 2.5061363e-001, + 3.0404329e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -9.9549599e-002, + -7.1034342e-001, + -4.0042052e-001, + -4.4897300e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_017C52A1 +{ + SamplerName = "PositionScaler"; + Times = + { + 0.0000000e+000, + 1.3387942e-001, + 4.3303892e-001, + 1.0000000e+000, + }; + FloatValues = + { + 8.7837130e-003, + 1.0556037e+000, + 6.0568529e-001, + 5.9038198e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 8.0912089e-001, + 0.0000000e+000, + 0.0000000e+000, + -7.9958864e-002, + -1.5153642e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42F9F0C7 +{ + FieldName = "SizeRatioBuffer"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B83CBAA8 +{ + FieldName = "EffectiveRGBBuffer"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_44F71A8B +{ + FieldName = "RGBBuffer"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F79636AA +{ + FieldName = "ValueBuffer"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_91AE325B +{ + SamplerName = "PowScaler"; + Times = + { + 0.0000000e+000, + 9.8143883e-002, + 2.6273492e-001, + 1.0000000e+000, + }; + FloatValues = + { + -2.9802322e-008, + 2.2768583e+000, + 1.0343304e+000, + -4.2200089e-005, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.5507212e-001, + -6.9462633e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_BEFBA82A +{ + SamplerName = "PowScaler"; + Times = + { + 0.0000000e+000, + 2.5912471e-002, + 7.4472822e-002, + 1.0813399e-001, + 1.4977711e-001, + 1.9108307e-001, + 7.2358525e-001, + 1.0000000e+000, + }; + FloatValues = + { + -2.9802322e-008, + 5.9801555e+000, + 5.9550467e+000, + 2.2619810e+000, + 1.2742829e+000, + 1.2854443e+000, + 9.7928166e-001, + -4.2200089e-005, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 5.9012314e-003, + 7.6076642e-002, + -8.7698895e-001, + -4.5523325e-001, + -1.0723122e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_A3472A57 +{ + AttributeName = "WiggleVec"; + AttributeType = float3; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+002, 1.0000000e+002, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5A785C66 +{ + FieldName = "SizeRatioBuffer"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2BC8AA39 +{ + SamplerName = "SizeScaler"; + Times = + { + 0.0000000e+000, + 8.2965605e-002, + 1.1842398e-001, + 1.6704187e-001, + 1.0000000e+000, + }; + FloatValues = + { + 5.0070963e+000, + 8.4559309e-001, + 1.4216506e+000, + 1.0000000e+000, + 1.0091280e+000, + }; + FloatTangents = + { + 0.0000000e+000, + -2.8719206e+000, + 1.0947915e+000, + 4.6789899e-001, + 0.0000000e+000, + 0.0000000e+000, + -3.9148447e-003, + -6.7072049e-002, + 9.1279745e-003, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F20BC64B +{ + FieldName = "DigitFactor"; + FieldType = int; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A36E6D6A +{ + FieldName = "digitId"; + FieldType = int; +} diff --git a/assets/streaming/PackFx/Particles/GUI/FriendshipCounter.pkfx b/assets/streaming/PackFx/Particles/GUI/FriendshipCounter.pkfx new file mode 100644 index 0000000..851b349 --- /dev/null +++ b/assets/streaming/PackFx/Particles/GUI/FriendshipCounter.pkfx @@ -0,0 +1,433 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Effective", + "$LOCAL$/Flash", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_ADA781AB", + "$LOCAL$/CParticleAttributeDeclaration_5C4C877F", + "$LOCAL$/CParticleAttributeDeclaration_96B84472", + "$LOCAL$/CParticleAttributeDeclaration_A3472A57", + "$LOCAL$/CParticleAttributeDeclaration_C820BAE4", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_5C4C877F +{ + AttributeName = "Value"; + DefaultValueF4 = float4(0.0000000e+000, 7.3939565e+003, 4.9917007e+003, 2.0278772e+002); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(9.9990000e+003, 9.9990000e+003, 9.9990000e+003, 9.9990000e+003); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_96B84472 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DE935980 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_ADA781AB +{ + AttributeName = "SizeRatio"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Effective +{ + Descriptor = "$LOCAL$/CParticleDescriptor_78ED1C4A"; + DurationInSeconds = 1.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_78ED1C4A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_5181DCBC"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_503A3206", + "$LOCAL$/CParticleFieldDeclaration_42F9F0C7", + "$LOCAL$/CParticleFieldDeclaration_B83CBAA8", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_EBCA4539", + "$LOCAL$/CParticleSamplerCurve_F89AE5B3", + "$LOCAL$/CParticleSamplerCurve_91AE325B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_B6926BD5"; + States = + { + "$LOCAL$/CParticleState_42371C2F", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B6926BD5 +{ + Expression = "function void Eval() +{ + Life = 3; + Size = 4 * SizeRatio; + SizeRatioBuffer = SizeRatio; + TextureID = 11; + EffectiveRGBBuffer = EffectiveRGB; + Position = float3(0,0,0); +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5181DCBC +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/FX/FriendshipCounterAtlas.png"; + AtlasDefinition = "Textures/FX/DamageCounterAtlas.pkat"; + AspectRatio = 4.0000000e+000; + AxisField = "AxisUp"; + Axis2Field = "AxisNormal"; + AxisScale = 3.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EBCA4539 +{ + SamplerName = "SizeScaler"; + Times = + { + 0.0000000e+000, + 2.4355963e-002, + 1.6915630e-001, + 1.0000000e+000, + }; + FloatValues = + { + -3.6398053e-002, + 2.0451326e+000, + 1.3082646e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0317829e-001, + 0.0000000e+000, + 0.0000000e+000, + -7.1222752e-002, + -4.0866598e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleState $LOCAL$/CParticleState_42371C2F +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_2", + }; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_CC9EE573"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_CC9EE573 +{ + Expression = "function void Eval() +{ + Size = SizeScaler.sample(LifeRatio) * SizeRatioBuffer * 2.5; + float3 nowColor = EffectiveRGBBuffer * pow(PowScaler.sample(LifeRatio),1.5) * 5; + Color = float4(nowColor.r, nowColor.g, nowColor.b, 1 * AlphaScaler.sample(LifeRatio)); +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C820BAE4 +{ + AttributeName = "EffectiveRGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_503A3206 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F89AE5B3 +{ + SamplerName = "AlphaScaler"; + Times = + { + 0.0000000e+000, + 6.1971840e-002, + 5.0417644e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0050679e+000, + 2.5061363e-001, + 3.0404329e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -9.9549599e-002, + -7.1034342e-001, + -4.0042052e-001, + -4.4897300e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E85A0D2E +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_2EABFC89"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9EB528C2", + "$LOCAL$/CParticleFieldDeclaration_DAD66B96", + "$LOCAL$/CParticleFieldDeclaration_65DF0711", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_0ED4B5AD", + "$LOCAL$/CParticleSamplerCurve_52627F74", + "$LOCAL$/CParticleSamplerCurve_A08C1561", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_31D69947"; + States = + { + "$LOCAL$/CParticleState_5DA3FE16", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_2EABFC89 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/FriendshipCounterAtlas.png"; + AtlasDefinition = "Textures/FX/DamageCounterAtlas.pkat"; + AspectRatio = 2.0000000e+000; + AxisField = "AxisUp"; + Axis2Field = "AxisNormal"; + AxisScale = 3.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9EB528C2 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_0ED4B5AD +{ + SamplerName = "SizeScaler"; + Times = + { + 0.0000000e+000, + 1.3314503e-001, + 1.0000000e+000, + }; + FloatValues = + { + 3.2192335e+000, + 3.6463733e+000, + 2.0468917e+000, + }; + FloatTangents = + { + 0.0000000e+000, + -1.7204739e-001, + -2.5537595e-001, + -1.6626524e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_52627F74 +{ + SamplerName = "AlphaScaler"; + Times = + { + 0.0000000e+000, + 6.1971836e-002, + 2.5352114e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0050676e+000, + -6.7962706e-004, + -5.7946891e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -9.9549599e-002, + -3.0769876e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_31D69947 +{ + Expression = "function void Eval() +{ + Life = 3; + Size = 4 * SizeRatio; + SizeRatioBuffer = SizeRatio; + TextureID = 12; + EffectiveRGBBuffer = EffectiveRGB; + Position = float3(0,0,0); +} +"; +} +CParticleState $LOCAL$/CParticleState_5DA3FE16 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_039ACB91", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_039ACB91 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_81899928"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_81899928 +{ + Expression = "function void Eval() +{ + Size = SizeScaler.sample(LifeRatio) * SizeRatioBuffer * 2; + float3 nowColor = EffectiveRGBBuffer * pow(PowScaler.sample(LifeRatio),2); + Color = float4(nowColor.r, nowColor.g, nowColor.b, 1 * AlphaScaler.sample(LifeRatio)); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + Descriptor = "$LOCAL$/CParticleDescriptor_E85A0D2E"; + DurationInSeconds = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42F9F0C7 +{ + FieldName = "SizeRatioBuffer"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DAD66B96 +{ + FieldName = "SizeRatioBuffer"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_65DF0711 +{ + FieldName = "EffectiveRGBBuffer"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B83CBAA8 +{ + FieldName = "EffectiveRGBBuffer"; + FieldType = float3; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A08C1561 +{ + SamplerName = "PowScaler"; + Times = + { + 0.0000000e+000, + 8.1471272e-002, + 1.9270828e-001, + 1.0000000e+000, + }; + FloatValues = + { + -2.9802322e-008, + 2.0445549e+000, + 2.5305784e-001, + -4.2200089e-005, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0480376e-001, + -7.6060307e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_91AE325B +{ + SamplerName = "PowScaler"; + Times = + { + 0.0000000e+000, + 9.8143883e-002, + 2.6273492e-001, + 1.0000000e+000, + }; + FloatValues = + { + -2.9802322e-008, + 2.2768583e+000, + 1.0343304e+000, + -4.2200089e-005, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.5507212e-001, + -6.9462633e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_A3472A57 +{ + AttributeName = "WiggleVec"; + AttributeType = float3; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+002, 1.0000000e+002, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/HUD/BarGauge.pkfx b/assets/streaming/PackFx/Particles/HUD/BarGauge.pkfx new file mode 100644 index 0000000..6927146 --- /dev/null +++ b/assets/streaming/PackFx/Particles/HUD/BarGauge.pkfx @@ -0,0 +1,169 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/LED +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + DurationInSeconds = 1.0000000e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 1.0000000e+001; + FirstSpawnDelay = 5.0000000e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B5F66D14", + "$LOCAL$/CParticleFieldDeclaration_E2FC4767", + "$LOCAL$/CParticleFieldDeclaration_691720B1", + "$LOCAL$/CParticleFieldDeclaration_0D6D1F2B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/LED", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/White.dds"; + BillboardMode = PlanarAlignedQuad; + AxisField = "UpAxis"; + Axis2Field = "NormalAxis"; + AxisScale = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = infinity; + Size = 0.1; + + float spawnCount = 10; + float particleId = spawner.LifeRatio * spawnCount; + + Level = spawner.LifeRatio; + + // 1.15 gives the spacing between each LED element. + // 1.0 would make them touch each other + // 2.0 would leave an empty space between each other as large as a full element + Position = float3((particleId - spawnCount * 0.5) * 1.15 * Size, 0, 0); + + UpAxis = scene.axisUp(); + NormalAxis = scene.axisForward(); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_2E8404C8"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2E8404C8 +{ + Expression = "function void Eval() +{ + float v = Value; + float4 lit = lerp(StartColor, EndColor, v); + Color = pow(select(float4(0,0,0,1), lit, v >= Level) * Power,2); +} +"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_856636B6", + "$LOCAL$/CParticleAttributeDeclaration_B00D50C3", + "$LOCAL$/CParticleAttributeDeclaration_59890D42", + "$LOCAL$/CParticleAttributeDeclaration_A5203D8B", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0D6D1F2B +{ + FieldName = "Level"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_856636B6 +{ + AttributeName = "Value"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B5F66D14 +{ + FieldName = "UpAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E2FC4767 +{ + FieldName = "NormalAxis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_691720B1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B00D50C3 +{ + AttributeName = "StartColor"; + AttributeType = float4; + DefaultValueF4 = float4(2.0000000e-001, 2.0000000e-001, 2.0000000e-001, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_59890D42 +{ + AttributeName = "EndColor"; + AttributeType = float4; + DefaultValueF4 = float4(0.0000000e+000, 6.9999999e-001, 8.9999998e-001, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_A5203D8B +{ + AttributeName = "Power"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/JukeBall.pkfx b/assets/streaming/PackFx/Particles/JukeBall.pkfx new file mode 100644 index 0000000..85a46e3 --- /dev/null +++ b/assets/streaming/PackFx/Particles/JukeBall.pkfx @@ -0,0 +1,263 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_0 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.2000000e+002; + SpawnCount = 1.0000000e+004; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_FFD5B903", + "$LOCAL$/CParticleFieldDeclaration_EC905C04", + "$LOCAL$/CParticleFieldDeclaration_A6F29AB7", + "$LOCAL$/CParticleFieldDeclaration_4C8C6A9E", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerSpectrumImpl_03E9F740", + "$LOCAL$/CParticleSamplerShape_872530CC", + "$LOCAL$/CParticleSamplerProceduralTurbulence_AF1925A6", + "$LOCAL$/CParticleSamplerProceduralTurbulence_91B5BF6D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Layer_0", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/FX/dot_NoAlpha.tga"; + BillboardMode = VelocityCapsuleAlign; + AxisField = "Axis"; + AxisScale = 5.0000001e-002; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + Size = 0.025; + + ColorCoeff = step(rand(0,1), 0.98) * 7 + 0.15; + + Position = Sphere.samplePosition() * OrbitalRadius; + + float3 n = normalize(Position); + float3 samplingLocation = SpectrumSphereMap.samplePotential(n); + float t = pow(saturate(samplingLocation.x*0.5+0.5), 2); + float kSpectrum = pow(AudioSpectrum.sample(t)*512, 0.5); + +// float killer = step(kSpectrum, 0.6); + Life = rand(0.4, 0.7) * 5;// * killer; + + ParametricLocation = float3(t, Attr_SpectrumCutoff, rand(-1,1)); + + float spectrumAxis = pow(kSpectrum,1)*1; + Velocity = n * spectrumAxis*4; + Position += n * kSpectrum*0.05; +}"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/CParticleEvolver_Field_A6AD56E9", + "$LOCAL$/CParticleEvolver_Script_F0D33FBA", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -5.0000000e+000, 0.0000000e+000); + Drag = 2.0000000e+000; + VelocityFieldSampler = "Turbulence"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_6AA46272", + "$LOCAL$/CParticleAttributeDeclaration_3154BA46", + }; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_91B5BF6D +{ + SamplerName = "Turbulence"; + Strength = 8.8388346e-002; + Gain = 1.0000000e+000; + TimeScale = 5.0000000e-001; +} +CParticleSamplerSpectrum $LOCAL$/CParticleSamplerSpectrumImpl_03E9F740 +{ + SamplerName = "AudioSpectrum"; + Filter = Cubic; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FFD5B903 +{ + FieldName = "ParametricLocation"; + FieldType = float3; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_F0D33FBA +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_09C84795"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_09C84795 +{ + Expression = "function void Eval() +{ + float3 n = normalize(Position); + float t = ParametricLocation.x; + float spectrum = pow(AudioSpectrum.sample(t)*50, 0.5); + float spectrumAxis = pow(spectrum,1)*0.5; + + Size = 0.5 + pow(saturate(spectrum*0.5),8) * 0.1f; + Color *= float4((1-t)*0.5 + 0.3, 0.45, 0.2 + spectrum*3, 1) * (spectrum*2 + 0.5) * ColorCoeff * step(spectrum, ParametricLocation.y) * 0.05; + Axis = Velocity;// * (0.5 + spectrumAxis * 0.5); +}"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_EC905C04 +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A6F29AB7 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4C8C6A9E +{ + FieldName = "ColorCoeff"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_A6AD56E9 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_1BEF7E08"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1BEF7E08 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.6115719e-001, + 7.0012975e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.6564224e+000, + 4.5876641e+000, + 2.5381713e+000, + 1.0000000e+000, + 1.3358867e+000, + 7.7228022e-001, + 1.4703007e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.9544154e-001, + -8.4340531e-001, + -1.6180421e-001, + 0.0000000e+000, + 9.8807180e-001, + -2.8206766e+000, + -5.4113644e-001, + 0.0000000e+000, + -2.3531799e+000, + -1.5991031e+000, + -1.9568430e+000, + 0.0000000e+000, + -1.3092479e+000, + -8.8969910e-001, + -1.0887363e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_872530CC +{ + SamplerName = "Sphere"; + Shape = "$LOCAL$/CShapeDescriptor_DE113C5F"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_DE113C5F +{ + ShapeType = CYLINDER; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_AF1925A6 +{ + SamplerName = "SpectrumSphereMap"; + Strength = 9.7227180e-001; + Octaves = 1; + Lacunarity = 1.6413631e-001; + Gain = 4.0109801e-001; + Interpolator = Quintic; + TimeScale = 6.0000002e-001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6AA46272 +{ + AttributeName = "Attr_SpectrumCutoff"; + AttributeDescription = "Particles below this intensity are killed\\nIf the particle is powerful enough, it will live."; + DefaultValueF4 = float4(1.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_3154BA46 +{ + AttributeName = "OrbitalRadius"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MinValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(5.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/Lightning/Fan_ColumnLightning2.pkfx b/assets/streaming/PackFx/Particles/Lightning/Fan_ColumnLightning2.pkfx new file mode 100644 index 0000000..d6cfb97 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Lightning/Fan_ColumnLightning2.pkfx @@ -0,0 +1,1065 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/branch", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_D642EDB8 +{ + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_01.dds"; + BillboardMode = VelocityAxisAligned; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_081A1F6D +{ + FieldName = "Color3"; + FieldType = float4; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/lightning", + "$LOCAL$/rays", + "$LOCAL$/particles", + "$LOCAL$/flash", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_EAEBB6EC +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9AEE5ABD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_168DE691 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_216E6F10"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C4D21C59 +{ + Expression = "function void Eval() +{ + Life = 0.25; + Size = 0.03*Scale; + Position=Sampler_0.samplePosition()*rand(1,1.5)*Scale; + CC = CustomColorRGBA; + Velocity=-Position*5; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_59D07FA1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_55DC68CE +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_D642EDB8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3E2C81FA", + "$LOCAL$/CParticleFieldDeclaration_E4BC414A", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_0A82E8ED", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C4D21C59"; + States = + { + "$LOCAL$/CParticleState_0DAAB59B", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/flash +{ + Descriptor = "$LOCAL$/CParticleDescriptor_28A5F085"; + Infinite = true; + DurationInSeconds = 8.0000001e-001; + SpawnCount = 2.0000000e+001; + FluxFactorExpression = "Flux"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7585BA0C +{ + Expression = "function void Eval() +{ + float4 col = Color * CustomColorRGBA; + Color = col; + Color3 = col*0.25; + Color4 = col*0.05; + + Size *= SizeCoeff; + Size2 *= SizeCoeff; +} +"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_01D8083D +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7585BA0C"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4021DE6 +{ + FieldName = "ParentColor"; + FieldType = float4; +} +CParticleState $LOCAL$/CParticleState_0DAAB59B +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_02954683", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_216E6F10 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(1-LifeRatio, 8); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/rays +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_55DC68CE"; + Infinite = true; + DurationInSeconds = 7.5000000e-001; + SpawnCount = 2.0000000e+002; + FluxFactorExpression = "Flux"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_5034A9F2 +{ +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/lightning +{ + Descriptor = "$LOCAL$/CParticleDescriptor_7C46C5E9"; + Infinite = true; + DurationInSeconds = 8.0000001e-001; + SpawnCount = 1.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7C46C5E9 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AA0A7EFA", + "$LOCAL$/CParticleFieldDeclaration_2832E92E", + "$LOCAL$/CParticleFieldDeclaration_668C5BD9", + "$LOCAL$/CParticleFieldDeclaration_7EA25C67", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A99F3108"; + States = + { + "$LOCAL$/CParticleState_4C8B87C2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A99F3108 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Velocity = Scale*float3(rand(-1,1),100,rand(-1,1)); + SizeCoeff = Scale; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_668C5BD9 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_4C8B87C2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_081972C0", + "$LOCAL$/death", + "$LOCAL$/base", + "$LOCAL$/glow", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C1D98F7D +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8FACC28C +{ + FieldName = "Timeb"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(4.0000001e-001, 8.0000001e-001, 2.0000000e+000, 1.0000000e+000); + MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_104D4D29 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5E0F683"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9AEE5ABD", + "$LOCAL$/CParticleFieldDeclaration_BB297115", + "$LOCAL$/CParticleFieldDeclaration_42AA1C4F", + "$LOCAL$/CParticleFieldDeclaration_BD2FCDD3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3F389B48"; + States = + { + "$LOCAL$/CParticleState_6B8B6DDE", + }; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_7A8041A7 +{ + EventName = "OnDeath"; + EventAction = "$LOCAL$/branch"; +} +CParticleState $LOCAL$/CParticleState_6B8B6DDE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B91A4402", + "$LOCAL$/CParticleEvolver_Script_168DE691", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BC1951CA +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7AF25165"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7AF25165 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.01; + float n = 60 * SizeCoeff; + Velocity = select(Velocity,float3(rand(-n,n),SizeCoeff*100,rand(-n,n)),shouldSpawnBranch); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E9BE2D1D +{ +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B91A4402 +{ +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F1A21305 +{ +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5E0F683 +{ + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + TextureIDField = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AA0A7EFA +{ + FieldName = "Timeb"; +} +CParticleEvolver_Spawner $LOCAL$/base +{ + EditorInfosIsBlockMinimized = 0; + SpawnInterval = 5.0000000e-001; + CustomSpawnIntervalScaleField = "FluxScale"; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_104D4D29"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3F389B48 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.4 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = CustomColorRGBA * 10; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/death +{ + SpawnInterval = 3.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_CD6A0035"; +} +CParticleState $LOCAL$/CParticleState_91BC2CDA +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_D33971BE", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CD6A0035 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_59D07FA1", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_7A8041A7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C095B224"; + States = + { + "$LOCAL$/CParticleState_91BC2CDA", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C095B224 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = CustomColorRGBA; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_172782E5 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D33971BE +{ +} +CActionFactoryParticleSpawnerBase $LOCAL$/branch +{ + Descriptor = "$LOCAL$/CParticleDescriptor_1DEAC189"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1DEAC189 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8FACC28C", + "$LOCAL$/CParticleFieldDeclaration_C9081B39", + "$LOCAL$/CParticleFieldDeclaration_28722F38", + "$LOCAL$/CParticleFieldDeclaration_E4021DE6", + }; + VirtualParentFields = + { + "$LOCAL$/CParticleFieldDeclaration_EAEBB6EC", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4669BE28"; + States = + { + "$LOCAL$/CParticleState_247F7DE2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4669BE28 +{ + Expression = "function void Eval() +{ + Life = rand(0.025,0.05); + Velocity=float3(0,50,0)*Scale; + SizeCoeff=Scale; + FluxScale=pow(Flux,0.5)*1*Scale; + ParentColor = parent.Color; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28722F38 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_247F7DE2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9AAE6F84", + "$LOCAL$/ert", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_4E3ECB6C +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F +{ + Expression = "function void Eval() +{ + Timeb += dt*SizeCoeff; + + int shouldChangeDirection = Timeb>0.01*SizeCoeff; + + float n = 60*SizeCoeff; + Velocity = select(Velocity, float3(rand(-n,n),50*SizeCoeff,rand(-n,n)), shouldChangeDirection); + Timeb = select(Timeb,0,shouldChangeDirection); // reset the \'should.pkangeDirection\' condition +} +"; +} +CParticleEvolver_Spawner $LOCAL$/ert +{ + SpawnInterval = 5.0000000e-001; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_47893DF0"; +} +CParticleState $LOCAL$/CParticleState_65AD76F1 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F1A21305", + "$LOCAL$/CParticleEvolver_Script_403022B8", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_47893DF0 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_23F2DF84"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0B9A51ED", + "$LOCAL$/CParticleFieldDeclaration_366F0A1E", + "$LOCAL$/CParticleFieldDeclaration_BC9A45D6", + "$LOCAL$/CParticleFieldDeclaration_C223EA14", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3"; + States = + { + "$LOCAL$/CParticleState_65AD76F1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3 +{ + Expression = "function void Eval() +{ + Life = 0.1; + float iSpawnerLR = 1 - spawner.LifeRatio; + Size = 0.4*Scale * pow(iSpawnerLR, 0.5); + ColorCoeff = pow(Flux,4)*100*pow(iSpawnerLR, 2); + TextureID = rand(0,16); + Position = float3(0,-0.5,0)*Scale; + CC = parent.ParentColor * 5; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_23F2DF84 +{ + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + TextureIDField = "TextureID"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_403022B8 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_70F7169B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_70F7169B +{ + Expression = "function void Eval() +{ + Color = CC * ColorCoeff * pow(1-LifeRatio, 8); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C223EA14 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0B9A51ED +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_0A82E8ED +{ + SamplerName = "Sampler_0"; + Shape = "$LOCAL$/CShapeDescriptor_6143D7FC"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_6143D7FC +{ + ShapeType = SPHERE; + Radius = 2.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C9081B39 +{ + FieldName = "SizeCoeff"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2832E92E +{ + FieldName = "SizeCoeff"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_B37F3780 +{ + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56E6F843"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56E6F843 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.2500000e+000, + 1.2500000e+000, + 1.2500000e+000, + 1.2500000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3E2C81FA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6F665F82 +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -2.0118832e+001, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_F09C8E6B +{ + Name = "Size2"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6F665F82"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_CFB4D94E +{ + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Spark_01.dds"; + BillboardMode = PlanarAlignedQuad; + SizeField = "Size2"; + AxisField = "Axis"; + Axis2Field = "Axis"; + AxisScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_366F0A1E +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BB297115 +{ + FieldName = "TextureID"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_647FBAC8 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BF7DF81F +{ + FieldName = "Color4"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_376F478C +{ + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; + SizeField = "Size4"; + ColorField = "Color4"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_90A7E102 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_88F983BD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_91A60DEB +{ + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_26AACAD9 +{ + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_01.dds"; + BillboardMode = PlanarAlignedQuad; + SizeField = "Size2"; + ColorField = "Color3"; + AxisField = "Axis"; + Axis2Field = "Axis"; + AxisScale = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_548E9048 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 2 * Scale; + Color = CustomColorRGBA * 0.04 * pow(1 - spawner.LifeRatio, 2); +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E8BCA629 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_91A60DEB"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_88F983BD", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_548E9048"; + States = + { + "$LOCAL$/CParticleState_D38CFADE", + }; +} +CParticleEvolver_Spawner $LOCAL$/glow +{ + EditorInfosIsBlockMinimized = 0; + SpawnInterval = 1.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_E8BCA629"; +} +CParticleState $LOCAL$/CParticleState_D38CFADE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_90A7E102", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_859F0B27 +{ + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Spark_01.dds"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_947242A9 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.8163052e+000, + -2.8163052e+000, + -2.8163052e+000, + -2.8163052e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_874E715E +{ + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_947242A9"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C4E99877 +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.0912059e+001, + 0.0000000e+000, + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_BB168696 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_5A4739C0"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D31E963A", + "$LOCAL$/CParticleFieldDeclaration_69604415", + "$LOCAL$/CParticleFieldDeclaration_172782E5", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_8C344D2B"; + States = + { + "$LOCAL$/CParticleState_278A2342", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/particles +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_BB168696"; + Infinite = true; + DurationInSeconds = 4.4999999e-001; + SpawnCount = 5.0000000e+001; + FluxFactorExpression = "Flux"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5A4739C0 +{ + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Point_02.dds"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_53645CC4 +{ + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_C4E99877"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D31E963A +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_69604415 +{ + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EC989D4A +{ + Expression = "function void Eval() +{ + Size *=SizeCoeff; + Color*=CC; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_08914755 +{ +} +CParticleState $LOCAL$/CParticleState_95C3EA7A +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_BE004115", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F8AD2AC3 +{ + Expression = "function void Eval() +{ + Life =pow(0.25,Flux); + + Rotation=rand(-pi,pi); + ScalarRotationSpeed=rand(-10,10); + Axis=float3(0,1,0); + Position=float3(0,0.01,0)*Scale; + SizeCoeff=Scale; + Size4=1.5*Scale; +} +"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_8C344D2B +{ + Expression = "function void Eval() +{ + Life = rand(0.25,0.5); + Rotation=rand(-pi,pi); + SizeCoeff=rand(0.5,2)*Scale; + ScalarRotationSpeed=rand(0.5,1); + CC = CustomColorRGBA * 2; +} +"; +} +CParticleState $LOCAL$/CParticleState_278A2342 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_72AA973A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A4ABBCFD +{ +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E74D9BCC +{ + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_BB03FB5F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_BB03FB5F +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 3.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_CFFCE8A6 +{ +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_77EDFCD1 +{ + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_C5F72C50"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C5F72C50 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 9.9899173e-001, + 9.9899173e-001, + 9.9899173e-001, + 9.9899173e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_DAF659D3 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EC989D4A"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E822F14F +{ + FieldName = "SizeCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_1E432614 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EDB67C87"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EDB67C87 +{ + Expression = "function void Eval() +{ + + + Color*=CC; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4A92E238 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CB2CD81B +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_28A5F085 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_6BA72134"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_4A92E238", + "$LOCAL$/CParticleFieldDeclaration_CB2CD81B", + "$LOCAL$/CParticleFieldDeclaration_081A1F6D", + "$LOCAL$/CParticleFieldDeclaration_E822F14F", + "$LOCAL$/CParticleFieldDeclaration_BF7DF81F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F8AD2AC3"; + States = + { + "$LOCAL$/CParticleState_95C3EA7A", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_6BA72134 +{ + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_859F0B27", + "$LOCAL$/CParticleRenderer_Billboard_CFB4D94E", + "$LOCAL$/CParticleRenderer_Billboard_26AACAD9", + "$LOCAL$/CParticleRenderer_Billboard_376F478C", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_081972C0 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_C1D98F7D", + "$LOCAL$/CParticleEvolver_Script_BC1951CA", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_02954683 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_5034A9F2", + "$LOCAL$/CParticleEvolver_Field_B37F3780", + "$LOCAL$/CParticleEvolver_Script_1E432614", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_72AA973A +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_A4ABBCFD", + "$LOCAL$/CParticleEvolver_Rotation_CFFCE8A6", + "$LOCAL$/CParticleEvolver_Field_E74D9BCC", + "$LOCAL$/CParticleEvolver_Field_77EDFCD1", + "$LOCAL$/CParticleEvolver_Script_DAF659D3", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9AAE6F84 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E9BE2D1D", + "$LOCAL$/CParticleEvolver_Script_4E3ECB6C", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_BE004115 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_08914755", + "$LOCAL$/CParticleEvolver_Rotation_647FBAC8", + "$LOCAL$/CParticleEvolver_Field_53645CC4", + "$LOCAL$/CParticleEvolver_Field_874E715E", + "$LOCAL$/CParticleEvolver_Field_F09C8E6B", + "$LOCAL$/CParticleEvolver_Script_01D8083D", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42AA1C4F +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BC9A45D6 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BD2FCDD3 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4BC414A +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7EA25C67 +{ + FieldName = "NextBranchTime"; +} diff --git a/assets/streaming/PackFx/Particles/Lightning/Lightning_Probes_1.5.4.pkfx b/assets/streaming/PackFx/Particles/Lightning/Lightning_Probes_1.5.4.pkfx new file mode 100644 index 0000000..c0b3f81 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Lightning/Lightning_Probes_1.5.4.pkfx @@ -0,0 +1,835 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/LightningRay", + "$LOCAL$/LightningHit", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Probes +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.5000000e+003; + FluxFactorExpression = "Flux"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A86DAC34", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_33B6E507", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Probes", + "$LOCAL$/Flash", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_4CFA78DF +{ + Times = + { + 0.0000000e+000, + 6.5009765e-002, + 4.4999999e-001, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 6.2412813e-002, + 1.2338459e-001, + 6.4422809e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.4613295e-001, + 3.6763481e-003, + 4.7746004e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + // instant kill, this is a dummy particle whose sole purpose is to probe the scene + Life = 0.0; +} + +function void PostEval() +{ + // here, all our Position, Velocity, etc.. are in worldspace. + // we can query the scene for intersections using these: + float3 probeDir = vrand(); + float halfProbeVar = ProbeLength * (0.5 * ProbeRandomVariation); + float4 it = scene.intersect(Position, probeDir, ProbeLength + rand(-halfProbeVar, +halfProbeVar)); + + int hasHit = it.w != infinity; + + float3 contactNormal = it.xyz; + float3 toContactPoint = probeDir * it.w - contactNormal * 0.01; // offset a bit from the contact surface; + + // here, we\'ll use a trick that consists of using the Velocity to + // send a float3 information to the child layer we\'re going to trigger. + // it knows our position (it will be instantiated there) + // but it also needs to know the contact point we want it to shoot at. + Velocity = toContactPoint; + OnProbeHit.trigger(hasHit); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosIsBlockMinimized = 0; + StateName = "State_0"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F67EA027 +{ + Times = + { + 0.0000000e+000, + 4.9521124e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.9575076e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_832FE16F", + "$LOCAL$/CParticleAttributeDeclaration_9BDD555E", + "$LOCAL$/CParticleAttributeDeclaration_6085D8ED", + }; +} +CParticleState $LOCAL$/CParticleState_FE8D438A +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_87E3226F", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A86DAC34 +{ + FieldName = "Velocity"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_33B6E507 +{ + EventName = "OnProbeHit"; + EventAction = "$LOCAL$/LightningRay"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/LightningRay +{ + Descriptor = "$LOCAL$/CParticleDescriptor_726054D6"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_726054D6 +{ + InheritInitialVelocity = 1.0000000e+000; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C5BEE352", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_03F75AC6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_860E8951"; + States = + { + "$LOCAL$/CParticleState_10173ACB", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_860E8951 +{ + Expression = "function void Eval() +{ + Life = 0.1; +} + +function void PostEval() +{ + // the Velocity we inherit from the parent trigger is set to the vector that goes + // from our position to the contact point. as we use that vector as a velocity in units/s + // we\'d need one second to reach the contact point. + // as we only live 0.1 seconds, and still want to reach that destination, + // increase the velocity by 1/0.1 = 10 : + + Velocity /= 0.1; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6977655B +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleState $LOCAL$/CParticleState_10173ACB +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B66CBBEA", + "$LOCAL$/LightningBeam", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B66CBBEA +{ + EditorInfosIsBlockMinimized = 0; + WorldInteractionMode = OneWay; + DieOnContact = true; +} +CParticleEvolver_Spawner $LOCAL$/LightningBeam +{ + FirstSpawnDelay = 3.0000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_6296BB4F"; + FluxFunction = "$LOCAL$/CParticleSamplerCurve_F67EA027"; +} +CParticleState $LOCAL$/CParticleState_AE6FB75C +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_8D148890", + "$LOCAL$/CParticleEvolver_Field_1D536061", + "$LOCAL$/CParticleEvolver_Field_61875AAC", + "$LOCAL$/CParticleEvolver_Script_3C551184", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_6296BB4F +{ + InheritInitialVelocity = 1.0000000e+000; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_406A8A93"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D2BCBB7D", + "$LOCAL$/CParticleFieldDeclaration_6977655B", + "$LOCAL$/CParticleFieldDeclaration_8733F1BA", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_83944BA6", + "$LOCAL$/CParticleSamplerCurve_02FE3605", + "$LOCAL$/CParticleSamplerCurve_358C32D4", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_B9DE44BE"; + States = + { + "$LOCAL$/CParticleState_AE6FB75C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B9DE44BE +{ + Expression = "function void Eval() +{ + Life = 0.2; + TextureID = rand(0,16); // random lightning texture from the atlas, for the ribbon + ColorCoeff = ColorCoeffLookup.sample(spawner.LifeRatio); +} + +function void PostEval() +{ + // here, we use the same trick as in the Probes -> LightningRay layers. + // we can reconstruct the vector from the start of the lightning to the hit-point + // by grabbing the parent\'s velocity. (we have \'InheritInitialVelocity\' set to 1.0) + // this works because the parent particle doesn\'t modify its velocity. + // its physics evolver has neither gravity nor friction. + // also, the parent particle has its velocity multiplied by 10. + // to reconstruct the original move length, divide by 10. + + // here, we use the move length to scale the displacements. + // very short lightning rays will be less displaced by the turbulence + // than very long ones: + + float scale = sqrt(length(Velocity)) * 1.0; // defines the scale of the \'random walk\' shape + float moveLength = scale * 0.8; // defines the intensity of the \'random walk\' + + // the displacement also depends on the particle\'s location along the lighting ray. + // we use \'spawner.LifeRatio\' for this. it\'s 0 at the start of the ray, and 1 at the end. + float weight = DisplacementWeight.sample(spawner.LifeRatio) * moveLength; + float3 turbulence = Turb.sample(Position / scale); // sample the turbulence. + + Velocity = (turbulence + float3(0,0.3,0)) * weight; // add a small up velocity + Position += turbulence * weight * 0.05; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_8D148890 +{ + EditorInfosIsBlockMinimized = 0; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_406A8A93 +{ + EditorInfosIsBlockMinimized = 0; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/FX/Lightning_05.dds"; + AtlasDefinition = "Textures/FX/AtlasX4.pkat"; + TextureIDField = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C5BEE352 +{ + FieldName = "RibbonU"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D2BCBB7D +{ + FieldName = "TextureID"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_3C551184 +{ + EditorInfosIsBlockMinimized = 0; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FD648C97"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FD648C97 +{ + Expression = "function void Eval() +{ + Color *= ColorCoeff; +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_83944BA6 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "Turb"; + Scale = 1.0000000e-001; + Strength = 1.5000000e+000; + TimeScale = 1.0000000e+000; + TimeBase = 2.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_1D536061 +{ + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_D9406638"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D9406638 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.4865017e-001, + 4.4999999e-001, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0334474e-001, + 2.6361281e-001, + 7.1384251e-001, + 8.3447212e-001, + 1.1119616e-001, + 3.0828416e-001, + 7.8421211e-001, + 9.0337712e-001, + 3.4852638e+000, + 9.4640656e+000, + 5.1027214e+001, + 9.5917916e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.0225569e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 6.1274534e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.8951990e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 6.4629212e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -7.0983033e+000, + -1.8537035e+001, + -1.0219292e+002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8733F1BA +{ + FieldName = "ColorCoeff"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_02FE3605 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "ColorCoeffLookup"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0483411e+001, + 1.3673043e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.5378418e+001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_61875AAC +{ + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_4CFA78DF"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_358C32D4 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "DisplacementWeight"; + Times = + { + 0.0000000e+000, + 4.9999997e-002, + 2.4846181e-001, + 7.6148897e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 8.6095601e-001, + 8.5956806e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0054991e+000, + 4.3767360e-001, + 1.1313937e+000, + -9.1121650e-001, + -4.2363286e-001, + -7.7890837e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_26012A5E +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_87E3226F +{ +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + Descriptor = "$LOCAL$/CParticleDescriptor_D0024371"; + Infinite = true; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D0024371 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_040A3BEB"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_26012A5E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A0287E88"; + States = + { + "$LOCAL$/CParticleState_FE8D438A", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A0287E88 +{ + Expression = "function void Eval() +{ + Life = 2; + Size = 0.12; + Color = float4(1,2,10,1) * 2.5; +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_040A3BEB +{ + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_832FE16F +{ + AttributeName = "ProbeLength"; + AttributeDescription = "Average length of probe-rays cast in the scene\\nThe rays are randomly cast on a sphere.\\nThis attribute directly controls the radius of that sphere."; + DefaultValueF4 = float4(3.5000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9BDD555E +{ + AttributeName = "ProbeRandomVariation"; + AttributeDescription = "Random variation on the probe-rays length.\\nAs a fraction of their original length."; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Sparks +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_E47A4733"; + SpawnCount = 1.0000000e+001; + SpawnCountRelativeRandomDeviation = 5.1968497e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E47A4733 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_68EB8B1D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C72A5DFB", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_697E0E01", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C3150C72"; + States = + { + "$LOCAL$/CParticleState_EEDE49A4", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C3150C72 +{ + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + float energy = pow(rand(0,1),2); + Life = 0.15 + energy * 0.5; + Size = 0.01; + + Velocity = StartVelocity.samplePosition() * (0.1 + energy * 2); +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_68EB8B1D +{ + EditorInfosIsBlockMinimized = 0; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; + BillboardMode = VelocityCapsuleAlign; + AxisScale = 5.0000001e-002; +} +CParticleState $LOCAL$/CParticleState_EEDE49A4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_CB2C1737", + "$LOCAL$/CParticleEvolver_Field_2D1006DA", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_CB2C1737 +{ + ConstantAcceleration = float3(0.0000000e+000, -2.0000000e+000, 0.0000000e+000); +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_03F75AC6 +{ + EventName = "OnCollide"; + EventAction = "$LOCAL$/LightningHit"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_697E0E01 +{ + SamplerName = "StartVelocity"; + Shape = "$LOCAL$/CShapeDescriptor_7F63D458"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_7F63D458 +{ + EditorInfosIsBlockMinimized = 0; + Position = float3(0.0000000e+000, 5.0000001e-002, 0.0000000e+000); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 2.5000000e-001; + CutPlane = 5.0000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C72A5DFB +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_2D1006DA +{ + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_83F361A5"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_83F361A5 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 6.6198356e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.2034655e+000, + 4.8907104e+000, + 2.3392933e+001, + 1.0055624e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.2091321e-001, + -4.4742250e-001, + -2.2881224e+000, + 0.0000000e+000, + -1.7056158e+000, + -6.3113933e+000, + -3.2276520e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryWithChilds $LOCAL$/LightningHit +{ + ChildList = + { + "$LOCAL$/Sparks", + "$LOCAL$/Light", + "$LOCAL$/HitSound", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Light +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_04E81ECC"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_04E81ECC +{ + Renderer = "$LOCAL$/CParticleRenderer_Light_DCEA9FC3"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D18902F4", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_056A7F7F"; + States = + { + "$LOCAL$/CParticleState_9150CA09", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_056A7F7F +{ + Expression = "function void Eval() +{ + Life = 0.15; + Size = 0.8; +} +"; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_DCEA9FC3 +{ + BillboardingMaterial = Lighting_SplatPass_Spec; + LightIntensityMultiplier = 2.0000000e+000; + LightRadiusMultiplier = 1.5000000e+000; +} +CParticleState $LOCAL$/CParticleState_9150CA09 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_70F90842", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_70F90842 +{ + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_C3EE4B2D"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C3EE4B2D +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.4999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 9.9309075e-001, + 1.8677766e+000, + 4.6116023e+000, + 9.9309075e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D18902F4 +{ + FieldName = "Color"; + FieldType = float4; +} +CActionFactoryWithRandomChilds $LOCAL$/HitSound +{ + Delay = 1.0000000e-001; + ChildList = + { + "$LOCAL$/SoundLayer_1", + "$LOCAL$/SoundLayer_2", + "$LOCAL$/SoundLayer_3", + }; +} +CActionFactorySound $LOCAL$/SoundLayer_1 +{ + SoundPath = "Sounds/lg_hit1.wav"; + Volume = 7.5119621e-001; +} +CActionFactorySound $LOCAL$/SoundLayer_2 +{ + SoundPath = "Sounds/lg_hit2.wav"; +} +CActionFactorySound $LOCAL$/SoundLayer_3 +{ + SoundPath = "Sounds/lg_hit3.wav"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6085D8ED +{ + AttributeName = "Flux"; + AttributeDescription = "Controls the amount of probe-rays.\\nmutiplier applied to the spawn rate of the \'Probes\' layer"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/Lightning/Lightning_Projection.pkfx b/assets/streaming/PackFx/Particles/Lightning/Lightning_Projection.pkfx new file mode 100644 index 0000000..4b3b341 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Lightning/Lightning_Projection.pkfx @@ -0,0 +1,440 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_D158FB1D +{ + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + Life = 0.2; + + // here, grab a random spawn location in the \'ProjSpawnVolume\' shape. + // you can select that shape in the treeview and move it around in the viewport + // to make lightning start at different locations + Position = ProjSpawnMesh.samplePosition(); + + // next, reproject the start position on the mesh + // (this is because otherwise the trail evolver will make a trail from the + // original position to the projected position on the first frame) + //Position += ProjMesh.project(Position).xyz; + + // random velocity on a squased sphere whose height is + // 0.3 times its equatorial radius. -> move faster horizontally + Velocity = vrand() * float3(1,0.3,1)*ProbeVelocity; +} +"; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Source", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_67949F4D +{ + FieldName = "ColorCoeff"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E7219408 +{ + SamplerName = "DisplacementWeight"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 3.5361910e-001, + 1.7034518e+000, + 3.5361910e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 1.3884335e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.6360749e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_4B0C0AC6 +{ + ConstantAcceleration = float3(0.0000000e+000, 5.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_6DEC9E9F +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E63D424E"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_9BDD555E", + "$LOCAL$/CParticleAttributeDeclaration_6085D8ED", + }; +} +CParticleState $LOCAL$/CParticleState_37820737 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_4B0C0AC6", + "$LOCAL$/LightningTrail", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_2830BC72 +{ + Samplers = + { + "$LOCAL$/CParticleSamplerShape_23C61C9B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_D158FB1D"; + States = + { + "$LOCAL$/CParticleState_37820737", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6085D8ED +{ + AttributeName = "Flux"; + AttributeDescription = "Controls the amount of strokes\\nMultiplier of the \'Source\' layer\'s spawn-rate."; + DefaultValueF4 = float4(3.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F6A6C829 +{ + FieldName = "PCoords"; + FieldType = int3; +} +CParticleEvolver_Spawner $LOCAL$/LightningTrail +{ + SpawnInterval = 5.0000001e-002; + LocalSpaceSpawn = true; + Descriptor = "$LOCAL$/CParticleDescriptor_EAA4F4AE"; +} +CParticleState $LOCAL$/CParticleState_48BA6F7F +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_6DEC9E9F", + "$LOCAL$/CParticleEvolver_Physics_815F8FC3", + "$LOCAL$/CParticleEvolver_Field_11EF5012", + "$LOCAL$/CParticleEvolver_Field_25CAC61C", + "$LOCAL$/CParticleEvolver_Script_1CA6C021", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EAA4F4AE +{ + Renderer = "$LOCAL$/CParticleRenderer_List_6FEA4612"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_342360F8", + "$LOCAL$/CParticleFieldDeclaration_6ACE796C", + "$LOCAL$/CParticleFieldDeclaration_F6A6C829", + "$LOCAL$/CParticleFieldDeclaration_7F0885A0", + "$LOCAL$/CParticleFieldDeclaration_67949F4D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_627F92C7", + "$LOCAL$/CParticleSamplerCurve_31F983E2", + "$LOCAL$/CParticleSamplerProceduralTurbulence_E0F88948", + "$LOCAL$/CParticleSamplerCurve_E7219408", + "$LOCAL$/CParticleSamplerShape_79C1883D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A9553A09"; + States = + { + "$LOCAL$/CParticleState_48BA6F7F", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7F0885A0 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A9553A09 +{ + Expression = "function void Eval() +{ + Life = 0.1; + + // grab a random lightning texture from the atlas, for the ribbon. + // there are 16 sub-frames, whose IDs go from 0 to 15 + TextureID = rand(0,16); + + // color factor that we will apply to the sampled \'Color\' in an evolve script + // make particles spawned at the end of the trail\'s life dimmer, to avoid hard-ending trails. + ColorCoeff = ColorCoeffLookup.sample(spawner.LifeRatio); + + //Position = ProjMesh.samplePosition(); + // save RealPosition (see the evolvers on why we need this) + RealPosition = Position; + + // velocity goes upwards, faster at the center of the trail (see the curve\'s shape) + Velocity = float3(0,1,0) * DisplacementWeight.sample(spawner.LifeRatio); +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_E0F88948 +{ + SamplerName = "Noise3D"; + Scale = 2.5000000e-001; + Strength = 2.0000000e-001; + TimeScale = 1.0000000e+000; + TimeBase = 2.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_11EF5012 +{ + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_870B473D"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4DAC29C5 +{ + Expression = "function void Eval() +{ + // the other evolvers have computed a new Position, back it up in \'RealPosition\' + // (see the comments in the first script evolver for details) + RealPosition = Position; + + // the projection evolver filled \'PCoords\' with the meshe\'s parametric coordinates for us. + // use this to grab the mesh normal where at the location we were reprojected on: + float3 meshNormalAtLocation = ProjMesh.sampleNormal(PCoords); + + // sample the random procedural turbulent field to get a turbulent displacement: + float3 turb = Noise3D.sample(RealPosition); + + // project this vector with the mesh normal, so that it becomes tangent to the triangle plane. + // this will effectively convert it to a 2D tangent turbulence, because we don\'t want + // the 3D turbulent vector to make the ribbon penetrate the mesh + float3 projTurb = turb + meshNormalAtLocation * max(0,-dot(turb, meshNormalAtLocation)); + + // patch the Position by moving it slightly away from the mesh surface along the mesh normal, + // and displace it by the turbulence vector. + float distanceToMesh = 0.05; + Position += meshNormalAtLocation * distanceToMesh + projTurb; + + // apply our color coefficient to the RGBA color sampled in the CParticleEvolver_Field that + // was run before us: + Color *= ColorCoeff; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_815F8FC3 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6ACE796C +{ + FieldName = "RealPosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_870B473D +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.6905037e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.4852638e+000, + 6.2353525e+000, + 2.6371586e+001, + 9.5917916e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 5.3765507e+000, + 1.4243516e+001, + 2.5521017e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E63D424E +{ + Expression = "function void Eval() +{ + // here, we have a problem: + // we can\'t yet (in popcorn 1.5.4) tell the ribbon renderer to use a custom field + // for position, and we want to manually shift the positions away from the mesh surface. + // if we shift the positions used for reprojection, they will shift from frame to frame + // and become dependent of the FPS. + // Therefore, we\'ll use a trick where we will \'backup\' the simulated position into a custom + // field named \'RealPosition\', then we\'ll shift the \'Position\' field to get it ready for rendering + // at the start of the next frame, we\'ll restore \'Position\' to the one saved in \'RealPosition\', + // so that simulation uses the correct value, not the one deformed for rendering. + + // here, restore the projected position saved in the previous frame + Position = RealPosition; + + // all the next evolvers in the state will work on this restored \'Position\', + // up to the last script evolver +} +"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_25CAC61C +{ + EditorInfosIsBlockMinimized = 0; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F033910F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_31F983E2 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "ColorCoeffLookup"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0483411e+001, + 1.3673043e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.5378418e+001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F033910F +{ + Times = + { + 0.0000000e+000, + 2.6556039e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 7.1906403e-002, + 2.3364559e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 1.4652826e-001, + 0.0000000e+000, + 0.0000000e+000, + -5.8887009e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_1CA6C021 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_4DAC29C5"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9BDD555E +{ + AttributeName = "ProbeVelocity"; + AttributeDescription = "Initial velocity of lightning strokes\\nDirectly controls the stroke length."; + DefaultValueF4 = float4(3.4574502e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Source +{ + Descriptor = "$LOCAL$/CParticleDescriptor_2830BC72"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 8.0000000e+001; + FluxFactorExpression = "Flux"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_976AB253 +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/Lightning_05.dds"; + AtlasDefinition = "Textures/FX/AtlasX4.pkat"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_6FEA4612 +{ + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_976AB253", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_342360F8 +{ + FieldName = "TextureID"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_79C1883D +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "Shape_0"; + Shape = "$LOCAL$/CShapeDescriptor_1FDF7D44"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_1FDF7D44 +{ +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_627F92C7 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "ProjMesh"; + Shape = "$LOCAL$/CShapeDescriptor_1AAF32F4"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_1AAF32F4 +{ + ShapeType = SPHERE; + Radius = 5.0000000e-001; + MeshResource = "Meshes/VenusHigh.pkmm"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_23C61C9B +{ + SamplerName = "ProjSpawnMesh"; + Shape = "$LOCAL$/CShapeDescriptor_E20159FA"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_E20159FA +{ + ShapeType = SPHERE; + Radius = 5.0000000e-001; +} diff --git a/assets/streaming/PackFx/Particles/Lightning/Lightning_Projection2.pkfx b/assets/streaming/PackFx/Particles/Lightning/Lightning_Projection2.pkfx new file mode 100644 index 0000000..e30aaf1 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Lightning/Lightning_Projection2.pkfx @@ -0,0 +1,456 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_222AD1A5 +{ + EditorInfosIsBlockMinimized = 0; + Position = float3(1.2402636e-001, 1.2913463e+000, 0.0000000e+000); + BoxDimensions = float3(1.4787850e+000, 1.9968643e+000, 1.4185632e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_D158FB1D +{ + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + Life = 0.2; + + // here, grab a random spawn location in the \'ProjSpawnVolume\' shape. + // you can select that shape in the treeview and move it around in the viewport + // to make lightning start at different locations + Position = ProjSpawnVolume.samplePosition(); + + // next, reproject the start position on the mesh + // (this is because otherwise the trail evolver will make a trail from the + // original position to the projected position on the first frame) + Position += ProjMesh.project(Position).xyz; + + // random velocity on a squased sphere whose height is + // 0.3 times its equatorial radius. -> move faster horizontally + Velocity = vrand() * float3(1,0.3,1)*ProbeVelocity; +} +"; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Source", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_67949F4D +{ + FieldName = "ColorCoeff"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E7219408 +{ + SamplerName = "DisplacementWeight"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 3.5361910e-001, + 1.7034518e+000, + 3.5361910e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 1.3884335e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.6360749e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_4B0C0AC6 +{ + ConstantAcceleration = float3(0.0000000e+000, 5.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_6DEC9E9F +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E63D424E"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_9BDD555E", + "$LOCAL$/CParticleAttributeDeclaration_6085D8ED", + }; +} +CParticleState $LOCAL$/CParticleState_37820737 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_4B0C0AC6", + "$LOCAL$/LocalSpace_1", + "$LOCAL$/LightningTrail", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_2830BC72 +{ + Samplers = + { + "$LOCAL$/CParticleSamplerShape_EED87E01", + "$LOCAL$/CParticleSamplerShape_264DB6DA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_D158FB1D"; + States = + { + "$LOCAL$/CParticleState_37820737", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6085D8ED +{ + AttributeName = "Flux"; + AttributeDescription = "Controls the amount of strokes\\nMultiplier of the \'Source\' layer\'s spawn-rate."; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Projection $LOCAL$/CParticleEvolver_Projection_F6C54DFB +{ + Shape = "ProjMesh"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F6A6C829 +{ + FieldName = "PCoords"; + FieldType = int3; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_264DB6DA +{ + SamplerName = "ProjSpawnVolume"; + Shape = "$LOCAL$/CShapeDescriptor_222AD1A5"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_1AAF32F4 +{ + ShapeType = MESH; + MeshResource = "Meshes/VenusHigh.pkmm"; +} +CParticleEvolver_Spawner $LOCAL$/LightningTrail +{ + SpawnInterval = 5.0000001e-002; + LocalSpaceSpawn = true; + Descriptor = "$LOCAL$/CParticleDescriptor_EAA4F4AE"; +} +CParticleState $LOCAL$/CParticleState_48BA6F7F +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_6DEC9E9F", + "$LOCAL$/CParticleEvolver_Physics_815F8FC3", + "$LOCAL$/LocalSpace_2", + "$LOCAL$/CParticleEvolver_Field_11EF5012", + "$LOCAL$/CParticleEvolver_Field_25CAC61C", + "$LOCAL$/CParticleEvolver_Script_1CA6C021", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EAA4F4AE +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_C3606E53"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_342360F8", + "$LOCAL$/CParticleFieldDeclaration_6ACE796C", + "$LOCAL$/CParticleFieldDeclaration_F6A6C829", + "$LOCAL$/CParticleFieldDeclaration_7F0885A0", + "$LOCAL$/CParticleFieldDeclaration_67949F4D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_627F92C7", + "$LOCAL$/CParticleSamplerCurve_31F983E2", + "$LOCAL$/CParticleSamplerProceduralTurbulence_E0F88948", + "$LOCAL$/CParticleSamplerCurve_E7219408", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A9553A09"; + States = + { + "$LOCAL$/CParticleState_48BA6F7F", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7F0885A0 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A9553A09 +{ + Expression = "function void Eval() +{ + Life = 0.15; + + // grab a random lightning texture from the atlas, for the ribbon. + // there are 16 sub-frames, whose IDs go from 0 to 15 + TextureID = rand(0,16); + + // color factor that we will apply to the sampled \'Color\' in an evolve script + // make particles spawned at the end of the trail\'s life dimmer, to avoid hard-ending trails. + ColorCoeff = ColorCoeffLookup.sample(spawner.LifeRatio); + + // save RealPosition (see the evolvers on why we need this) + RealPosition = Position; + + // velocity goes upwards, faster at the center of the trail (see the curve\'s shape) + Velocity = float3(0,1,0) * DisplacementWeight.sample(spawner.LifeRatio); +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_E0F88948 +{ + SamplerName = "Noise3D"; + Scale = 2.5000000e-001; + Strength = 2.0000000e-001; + TimeScale = 1.0000000e+000; + TimeBase = 2.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_11EF5012 +{ + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_870B473D"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_C3606E53 +{ + ConstantRadius = 9.9999998e-003; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4DAC29C5 +{ + Expression = "function void Eval() +{ + // the other evolvers have computed a new Position, back it up in \'RealPosition\' + // (see the comments in the first script evolver for details) + RealPosition = Position; + + // the projection evolver filled \'PCoords\' with the meshe\'s parametric coordinates for us. + // use this to grab the mesh normal where at the location we were reprojected on: + float3 meshNormalAtLocation = ProjMesh.sampleNormal(PCoords); + + // sample the random procedural turbulent field to get a turbulent displacement: + float3 turb = Noise3D.sample(RealPosition); + + // project this vector with the mesh normal, so that it becomes tangent to the triangle plane. + // this will effectively convert it to a 2D tangent turbulence, because we don\'t want + // the 3D turbulent vector to make the ribbon penetrate the mesh + float3 projTurb = turb + meshNormalAtLocation * max(0,-dot(turb, meshNormalAtLocation)); + + // patch the Position by moving it slightly away from the mesh surface along the mesh normal, + // and displace it by the turbulence vector. + float distanceToMesh = 0.05; + Position += meshNormalAtLocation * distanceToMesh + projTurb; + + // apply our color coefficient to the RGBA color sampled in the CParticleEvolver_Field that + // was run before us: + Color *= ColorCoeff; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_815F8FC3 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_342360F8 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6ACE796C +{ + FieldName = "RealPosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleEvolver_Projection $LOCAL$/CParticleEvolver_Projection_52891911 +{ + EditorInfosIsBlockMinimized = 0; + Shape = "ProjMesh"; + OutputParametricCoordsField = "PCoords"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_870B473D +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.9999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.4852638e+000, + 9.4640656e+000, + 5.1027214e+001, + 9.5917916e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 6.3608856e+000, + 1.6851208e+001, + 8.2748764e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E63D424E +{ + Expression = "function void Eval() +{ + // here, we have a problem: + // we can\'t yet (in popcorn 1.5.4) tell the ribbon renderer to use a custom field + // for position, and we want to manually shift the positions away from the mesh surface. + // if we shift the positions used for reprojection, they will shift from frame to frame + // and become dependent of the FPS. + // Therefore, we\'ll use a trick where we will \'backup\' the simulated position into a custom + // field named \'RealPosition\', then we\'ll shift the \'Position\' field to get it ready for rendering + // at the start of the next frame, we\'ll restore \'Position\' to the one saved in \'RealPosition\', + // so that simulation uses the correct value, not the one deformed for rendering. + + // here, restore the projected position saved in the previous frame + Position = RealPosition; + + // all the next evolvers in the state will work on this restored \'Position\', + // up to the last script evolver +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_627F92C7 +{ + SamplerName = "ProjMesh"; + Shape = "$LOCAL$/CShapeDescriptor_1AAF32F4"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_25CAC61C +{ + EditorInfosIsBlockMinimized = 0; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F033910F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_31F983E2 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "ColorCoeffLookup"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0483411e+001, + 1.3673043e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.5378418e+001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F033910F +{ + Times = + { + 0.0000000e+000, + 2.6556039e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 7.1906403e-002, + 2.3364559e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 1.4652826e-001, + 0.0000000e+000, + 0.0000000e+000, + -5.8887009e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_EED87E01 +{ + SamplerName = "ProjMesh"; + Shape = "$LOCAL$/CShapeDescriptor_19970458"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_1CA6C021 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_4DAC29C5"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9BDD555E +{ + AttributeName = "ProbeVelocity"; + AttributeDescription = "Initial velocity of lightning strokes\\nDirectly controls the stroke length."; + DefaultValueF4 = float4(3.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_19970458 +{ + ShapeType = MESH; + MeshResource = "Meshes/VenusHigh.pkmm"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Source +{ + Descriptor = "$LOCAL$/CParticleDescriptor_2830BC72"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 8.0000000e+001; + FluxFactorExpression = "Flux"; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Projection_F6C54DFB", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_2 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Projection_52891911", + }; +} diff --git a/assets/streaming/PackFx/Particles/Lightning_SceneProbes.pkfx b/assets/streaming/PackFx/Particles/Lightning_SceneProbes.pkfx new file mode 100644 index 0000000..06833a0 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Lightning_SceneProbes.pkfx @@ -0,0 +1,827 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/LightningRay", + "$LOCAL$/LightningHit", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Probes +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.5000000e+003; + FluxFactorExpression = "Flux"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A86DAC34", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_33B6E507", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Probes", + "$LOCAL$/Flash", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_4CFA78DF +{ + Times = + { + 0.0000000e+000, + 6.5009765e-002, + 4.4999999e-001, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 6.2412813e-002, + 1.2338459e-001, + 6.4422809e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.4613295e-001, + 3.6763481e-003, + 4.7746004e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + // instant kill, this is a dummy particle whose sole purpose is to probe the scene + Life = 0.0; +} + +function void PostEval() +{ + // here, all our Position, Velocity, etc.. are in worldspace. + // we can query the scene for intersections using these: + float3 probeDir = vrand(); + float halfProbeVar = ProbeLength * (0.5 * ProbeRandomVariation); + float4 it = scene.intersect(Position, probeDir, ProbeLength + rand(-halfProbeVar, +halfProbeVar)); + + int hasHit = it.w != infinity; + + float3 contactNormal = it.xyz; + float3 toContactPoint = probeDir * it.w - contactNormal * 0.01; // offset a bit from the contact surface; + + // here, we\'ll use a trick that consists of using the Velocity to + // send a float3 information to the child layer we\'re going to trigger. + // it knows our position (it will be instantiated there) + // but it also needs to know the contact point we want it to shoot at. + Velocity = toContactPoint; + OnProbeHit.trigger(hasHit); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosIsBlockMinimized = 0; + StateName = "State_0"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F67EA027 +{ + Times = + { + 0.0000000e+000, + 4.9521124e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.9575076e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_832FE16F", + "$LOCAL$/CParticleAttributeDeclaration_9BDD555E", + "$LOCAL$/CParticleAttributeDeclaration_6085D8ED", + }; +} +CParticleState $LOCAL$/CParticleState_FE8D438A +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_87E3226F", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A86DAC34 +{ + FieldName = "Velocity"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_33B6E507 +{ + EventName = "OnProbeHit"; + EventAction = "$LOCAL$/LightningRay"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/LightningRay +{ + Descriptor = "$LOCAL$/CParticleDescriptor_726054D6"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_726054D6 +{ + InheritInitialVelocity = 1.0000000e+000; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C5BEE352", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_03F75AC6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_860E8951"; + States = + { + "$LOCAL$/CParticleState_10173ACB", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_860E8951 +{ + Expression = "function void Eval() +{ + Life = 0.1; +} + +function void PostEval() +{ + // the Velocity we inherit from the parent trigger is set to the vector that goes + // from our position to the contact point. as we use that vector as a velocity in units/s + // we\'d need one second to reach the contact point. + // as we only live 0.1 seconds, and still want to reach that destination, + // increase the velocity by 1/0.1 = 10 : + + Velocity /= 0.1; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6977655B +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleState $LOCAL$/CParticleState_10173ACB +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B66CBBEA", + "$LOCAL$/LightningBeam", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B66CBBEA +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; + WorldInteractionMode = OneWay; + DieOnContact = true; +} +CParticleEvolver_Spawner $LOCAL$/LightningBeam +{ + CustomName = "Spawner"; + FirstSpawnDelay = 3.0000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_6296BB4F"; + FluxFunction = "$LOCAL$/CParticleSamplerCurve_F67EA027"; +} +CParticleState $LOCAL$/CParticleState_AE6FB75C +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_8D148890", + "$LOCAL$/CParticleEvolver_Field_1D536061", + "$LOCAL$/CParticleEvolver_Field_61875AAC", + "$LOCAL$/CParticleEvolver_Script_3C551184", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_6296BB4F +{ + InheritInitialVelocity = 1.0000000e+000; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_406A8A93"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D2BCBB7D", + "$LOCAL$/CParticleFieldDeclaration_6977655B", + "$LOCAL$/CParticleFieldDeclaration_8733F1BA", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_83944BA6", + "$LOCAL$/CParticleSamplerCurve_02FE3605", + "$LOCAL$/CParticleSamplerCurve_358C32D4", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_B9DE44BE"; + States = + { + "$LOCAL$/CParticleState_AE6FB75C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B9DE44BE +{ + Expression = "function void Eval() +{ + Life = 0.2; + TextureID = rand(0,16); // random lightning texture from the atlas, for the ribbon + ColorCoeff = ColorCoeffLookup.sample(spawner.LifeRatio); +} + +function void PostEval() +{ + // here, we use the same trick as in the Probes -> LightningRay layers. + // we can reconstruct the vector from the start of the lightning to the hit-point + // by grabbing the parent\'s velocity. (we have \'InheritInitialVelocity\' set to 1.0) + // this works because the parent particle doesn\'t modify its velocity. + // its physics evolver has neither gravity nor friction. + // also, the parent particle has its velocity multiplied by 10. + // to reconstruct the original move length, divide by 10. + + // here, we use the move length to scale the displacements. + // very short lightning rays will be less displaced by the turbulence + // than very long ones: + + float scale = sqrt(length(Velocity)) * 1.0; // defines the scale of the \'random walk\' shape + float moveLength = scale * 0.8; // defines the intensity of the \'random walk\' + + // the displacement also depends on the particle\'s location along the lighting ray. + // we use \'spawner.LifeRatio\' for this. it\'s 0 at the start of the ray, and 1 at the end. + float weight = DisplacementWeight.sample(spawner.LifeRatio) * moveLength; + float3 turbulence = Turb.sample(Position / scale); // sample the turbulence. + + Velocity = (turbulence + float3(0,0.3,0)) * weight; // add a small up velocity + Position += turbulence * weight * 0.05; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_8D148890 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Physics"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_406A8A93 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/FX/Lightning_05.png"; + AtlasDefinition = "Textures/FX/AtlasX4.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C5BEE352 +{ + FieldName = "RibbonU"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D2BCBB7D +{ + FieldName = "TextureID"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_3C551184 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FD648C97"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FD648C97 +{ + Expression = "function void Eval() +{ + Color *= ColorCoeff; +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_83944BA6 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "Turb"; + Wavelength = 1.0000000e-001; + Strength = 5.3033005e-002; + Gain = 1.0000000e+000; + TimeScale = 1.0000000e+000; + TimeBase = 2.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_1D536061 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_D9406638"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D9406638 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.4865017e-001, + 4.4999999e-001, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0334474e-001, + 2.6361281e-001, + 7.1384251e-001, + 8.3447212e-001, + 1.1119616e-001, + 3.0828416e-001, + 7.8421211e-001, + 9.0337712e-001, + 3.4852638e+000, + 9.4640656e+000, + 5.1027214e+001, + 9.5917916e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.0225569e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 6.1274534e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.8951990e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 6.4629212e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -7.0983033e+000, + -1.8537035e+001, + -1.0219292e+002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8733F1BA +{ + FieldName = "ColorCoeff"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_02FE3605 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "ColorCoeffLookup"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0483411e+001, + 1.3673043e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.5378418e+001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_61875AAC +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_4CFA78DF"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_358C32D4 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "DisplacementWeight"; + Times = + { + 0.0000000e+000, + 4.9999997e-002, + 2.4846181e-001, + 7.6148897e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 8.6095601e-001, + 8.5956806e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0054991e+000, + 4.3767360e-001, + 1.1313937e+000, + -9.1121650e-001, + -4.2363286e-001, + -7.7890837e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_26012A5E +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_87E3226F +{ + CustomName = "Localspace"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + Descriptor = "$LOCAL$/CParticleDescriptor_D0024371"; + Infinite = true; + ContinuousSpawner = false; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D0024371 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_040A3BEB"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_26012A5E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A0287E88"; + States = + { + "$LOCAL$/CParticleState_FE8D438A", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A0287E88 +{ + Expression = "function void Eval() +{ + Life = 2; + Size = 0.12; + Color = float4(1,2,10,1) * 2.5; +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_040A3BEB +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/FX/BB_Glow_02_64.tga"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_832FE16F +{ + AttributeName = "ProbeLength"; + AttributeDescription = "Average length of probe-rays cast in the scene\\nThe rays are randomly cast on a sphere.\\nThis attribute directly controls the radius of that sphere."; + DefaultValueF4 = float4(3.5000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9BDD555E +{ + AttributeName = "ProbeRandomVariation"; + AttributeDescription = "Random variation on the probe-rays length.\\nAs a fraction of their original length."; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Sparks +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_E47A4733"; + SpawnCount = 1.0000000e+001; + SpawnCountRelativeRandomDeviation = 5.1968497e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E47A4733 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_68EB8B1D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C72A5DFB", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_697E0E01", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C3150C72"; + States = + { + "$LOCAL$/CParticleState_EEDE49A4", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C3150C72 +{ + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + float energy = pow(rand(0,1),2); + Life = 0.15 + energy * 0.5; + Size = 0.01; + + Velocity = StartVelocity.samplePosition() * (0.1 + energy * 2); +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_68EB8B1D +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/FX/BB_Glow_043_64.png"; + BillboardMode = VelocityCapsuleAlign; + AxisScale = 5.0000001e-002; +} +CParticleState $LOCAL$/CParticleState_EEDE49A4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_CB2C1737", + "$LOCAL$/CParticleEvolver_Field_2D1006DA", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_CB2C1737 +{ + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -2.0000000e+000, 0.0000000e+000); +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_03F75AC6 +{ + EventName = "OnCollide"; + EventAction = "$LOCAL$/LightningHit"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_697E0E01 +{ + SamplerName = "StartVelocity"; + Shape = "$LOCAL$/CShapeDescriptor_7F63D458"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_7F63D458 +{ + EditorInfosIsBlockMinimized = 0; + Position = float3(0.0000000e+000, 5.0000001e-002, 0.0000000e+000); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 2.5000000e-001; + CutPlane = 5.0000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C72A5DFB +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_2D1006DA +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_83F361A5"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_83F361A5 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 6.6198356e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.2034655e+000, + 4.8907104e+000, + 2.3392933e+001, + 1.0055624e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.2091321e-001, + -4.4742250e-001, + -2.2881224e+000, + 0.0000000e+000, + -1.7056158e+000, + -6.3113933e+000, + -3.2276520e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryWithChilds $LOCAL$/LightningHit +{ + ChildList = + { + "$LOCAL$/Sparks", + "$LOCAL$/Light", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Light +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_04E81ECC"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_04E81ECC +{ + Renderer = "$LOCAL$/CParticleRenderer_Light_DCEA9FC3"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D18902F4", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_056A7F7F"; + States = + { + "$LOCAL$/CParticleState_9150CA09", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_056A7F7F +{ + Expression = "function void Eval() +{ + Life = 0.15; + Size = 0.8; +} +"; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_DCEA9FC3 +{ + CustomName = "Light"; + BillboardingMaterial = Lighting_SplatPass_Spec; + LightIntensityMultiplier = 2.0000000e+000; + LightRadiusMultiplier = 1.5000000e+000; +} +CParticleState $LOCAL$/CParticleState_9150CA09 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_70F90842", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_70F90842 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_C3EE4B2D"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C3EE4B2D +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.4999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 9.9309075e-001, + 1.8677766e+000, + 4.6116023e+000, + 9.9309075e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D18902F4 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6085D8ED +{ + AttributeName = "Flux"; + AttributeDescription = "Controls the amount of probe-rays.\\nmutiplier applied to the spawn rate of the \'Probes\' layer"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/Magic/CastleGlow.pkfx b/assets/streaming/PackFx/Particles/Magic/CastleGlow.pkfx new file mode 100644 index 0000000..67e3b72 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Magic/CastleGlow.pkfx @@ -0,0 +1,905 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 8.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D6E78A1F", + "$LOCAL$/CParticleFieldDeclaration_B56DC0B6", + "$LOCAL$/CParticleFieldDeclaration_D09072B1", + "$LOCAL$/CParticleFieldDeclaration_DC46DA3D", + "$LOCAL$/CParticleFieldDeclaration_98B70D40", + "$LOCAL$/CParticleFieldDeclaration_357B0F71", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + "$LOCAL$/Layer_3", + "$LOCAL$/Layer_4", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D09072B1 +{ + FieldName = "RandPos"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 1.0; + + Time=ninja*100; + + Inverse=select(-1,1,ninja<0.5); + + RandPos=rand(0.5,1); + + Position=float3(sin(5*scene.Time+Time)*RandPos,0,Inverse*cos(5*scene.Time+Time)*RandPos); + + VALL=vrand(); + + TextID=ninja; +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_1F6B3A88", + "$LOCAL$/aze", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_44BDAED4", + "$LOCAL$/CParticleAttributeDeclaration_008FCC27", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5FC3B145 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_34F0D6EC"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_34F0D6EC +{ + Expression = "function void Eval() +{ + + float Move = RandPos*(1-LifeRatio*0.5); + Position=Scale*float3(sin(5*scene.Time+Time)*Move,LifeRatio*2*RandPos+sin(15*scene.Time+Time)*0.05,Inverse*cos(5*scene.Time+Time)*Move); + Flux=Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D6E78A1F +{ + FieldName = "Time"; +} +CParticleEvolver_Spawner $LOCAL$/aze +{ + CustomName = "Spawner"; + LocalSpaceSpawn = true; + UpAxisField = "Position"; + CustomSpawnIntervalScaleField = "Flux"; + Descriptor = "$LOCAL$/CParticleDescriptor_CF42AB20"; +} +CParticleState $LOCAL$/CParticleState_2DA4F7A9 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_8AE5A7EB", + "$LOCAL$/CParticleEvolver_Script_0DD7066D", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CF42AB20 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_B41DBF53"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3F8EEF55", + "$LOCAL$/CParticleFieldDeclaration_4AE3D712", + "$LOCAL$/CParticleFieldDeclaration_48B81503", + "$LOCAL$/CParticleFieldDeclaration_21DBF407", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_71463744", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3A9B1863"; + States = + { + "$LOCAL$/CParticleState_2DA4F7A9", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3A9B1863 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 0.15*Scale; + + Velocity=parent.VALL*0.5*Scale; + TextureID=parent.TextID*4; + Time=spawner.LifeRatio; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3F8EEF55 +{ + FieldName = "Size"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_4514F6CD +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B56DC0B6 +{ + FieldName = "Inverse"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_B41DBF53 +{ + CustomName = "Ribbon"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Branch_01.dds"; + AtlasDefinition = "Textures/Fx/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4AE3D712 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DC46DA3D +{ + FieldName = "VALL"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_71463744 +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 2.5000000e-001, + 7.5000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.5000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_D9B5C557"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.5000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D9B5C557 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_FC3E6321"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2DD9A86C", + "$LOCAL$/CParticleFieldDeclaration_6EC6394E", + "$LOCAL$/CParticleFieldDeclaration_CA6FC949", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerDoubleCurve_FE2FF99F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_62ED9366"; + States = + { + "$LOCAL$/CParticleState_80F23FF8", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_62ED9366 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = Scale*0.25; + Position=Scale*vrand().x0z; + TextureID=rand(0,4); + RAND=ninja; + Rotation=rand(-pi,pi); + VXZ=rand(-0.1,0.1); +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_FC3E6321 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/Fx/Smoke_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; +} +CParticleState $LOCAL$/CParticleState_80F23FF8 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_D3971F8A", + "$LOCAL$/CParticleEvolver_Rotation_FFD78B29", + "$LOCAL$/CParticleEvolver_Script_F33F4D7A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7E7D621B +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_F33F4D7A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_38BADCC5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_38BADCC5 +{ + Expression = "function void Eval() +{ + Velocity=Scale*float3(VXZ,2*LifeRatio,VXZ); + Color=float4(0,0,0,1)*Sampler_0.sample(LifeRatio,RAND); + RotationSpeed=cross(Velocity*50,float3(0,-1,0)); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2DD9A86C +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_FE2FF99F +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 1.4999999e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0899959e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0049376e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 2.9999998e-001, + 6.9999999e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 7.5000000e-001, + 7.5000000e-001, + 0.0000000e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6EC6394E +{ + FieldName = "RAND"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_FFD78B29 +{ + CustomName = "Rotation"; + RotationMode = Axial; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1614CC73 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_74135AB2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_4CC4D65D", + "$LOCAL$/CParticleFieldDeclaration_19FFD5E4", + "$LOCAL$/CParticleFieldDeclaration_A76658BF", + "$LOCAL$/CParticleFieldDeclaration_EF9E76EE", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerDoubleCurve_FC2A7877", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5FF8B506"; + States = + { + "$LOCAL$/CParticleState_9FD15541", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_74135AB2 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/Fx/Smoke_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + BillboardMode = PlanarAlignedQuad; + AxisField = "Axis"; + Axis2Field = "Axis2"; + AxisScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4CC4D65D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_19FFD5E4 +{ + FieldName = "RAND"; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_FC2A7877 +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 1.4999999e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0899959e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0049376e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 2.9999998e-001, + 6.9999999e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 7.5000000e-001, + 7.5000000e-001, + 0.0000000e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5FF8B506 +{ + Expression = "function void Eval() +{ + Life = 1; + Size = Scale; + Position=Scale*vrand().x0z; + TextureID=rand(0,4); + RAND=ninja; + Rotation=rand(-pi,pi); + Axis=float3(0,0,1); + Axis2=float3(0,1,0); + ScalarRotationSpeed=rand(-0.5,0.5); +} +"; +} +CParticleState $LOCAL$/CParticleState_9FD15541 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9BF71015", + "$LOCAL$/CParticleEvolver_Rotation_771FDB3B", + "$LOCAL$/CParticleEvolver_Script_5588AD1A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9D490C98 +{ + CustomName = "Physics"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_771FDB3B +{ + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5588AD1A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_9529E4E5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_9529E4E5 +{ + Expression = "function void Eval() +{ + Color=float4(0,0,0,1)*Sampler_0.sample(LifeRatio,RAND); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_3 +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_1614CC73"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 5.0000000e+001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A76658BF +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_EF9E76EE +{ + FieldName = "Axis2"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CA6FC949 +{ + FieldName = "VXZ"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_98B70D40 +{ + FieldName = "TextID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_48B81503 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_21DBF407 +{ + FieldName = "Time"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_0DD7066D +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FB36BF34"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FB36BF34 +{ + Expression = "function void Eval() +{ + Color=Sampler_0.sample(Time)*float4(0,0,0,1); + +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_6D3A3769 +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Light_522651A3"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_CC9D05E0", + "$LOCAL$/CParticleFieldDeclaration_97432A23", + "$LOCAL$/CParticleFieldDeclaration_1D7D3222", + "$LOCAL$/CParticleFieldDeclaration_0BAECA8D", + "$LOCAL$/CParticleFieldDeclaration_53E9C5D4", + "$LOCAL$/CParticleFieldDeclaration_1EC9BA76", + "$LOCAL$/CParticleFieldDeclaration_3483AFA2", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_3350560D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_95922F27"; + States = + { + "$LOCAL$/CParticleState_03FA5976", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC9D05E0 +{ + FieldName = "Time"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_97432A23 +{ + FieldName = "Inverse"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1D7D3222 +{ + FieldName = "RandPos"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0BAECA8D +{ + FieldName = "VALL"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_53E9C5D4 +{ + FieldName = "TextID"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_95922F27 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 1.5; + + Time=ninja*100; + + Inverse=select(-1,1,ninja<0.5); + + RandPos=rand(0.2,0.5); + + Position=Scale*float3(sin(5*scene.Time+Time)*RandPos,0,Inverse*cos(5*scene.Time+Time)*RandPos); + + VALL=vrand(); + + TextID=ninja; + + Size=Scale; +} +"; +} +CParticleState $LOCAL$/CParticleState_03FA5976 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_11F535FC", + "$LOCAL$/zer", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_87189A71 +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_EA422188 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EC831AEB"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EC831AEB +{ + Expression = "function void Eval() +{ + + float Move = RandPos*(1-LifeRatio*0.5); + Position=Scale*float3(sin(5*scene.Time+Time)*Move,LifeRatio*10*RandPos+sin(15*scene.Time+Time)*0.05,Inverse*cos(5*scene.Time+Time)*Move); + Flux=Scale; + Color=ColorFadeIn*Sampler_0.sample(LifeRatio); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/zer +{ + CustomName = "Spawner"; + LocalSpaceSpawn = true; + UpAxisField = "Position"; + CustomSpawnIntervalScaleField = "Flux"; + Descriptor = "$LOCAL$/CParticleDescriptor_9A632B15"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_9A632B15 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_DB75ECFC"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AD78516F", + "$LOCAL$/CParticleFieldDeclaration_2696855E", + "$LOCAL$/CParticleFieldDeclaration_0D58C079", + "$LOCAL$/CParticleFieldDeclaration_BE3ABC30", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_B7CCF6B3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_83FDB1F2"; + States = + { + "$LOCAL$/CParticleState_B9865E9D", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_DB75ECFC +{ + CustomName = "Ribbon"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Branch_01.dds"; + AtlasDefinition = "Textures/Fx/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AD78516F +{ + FieldName = "Size"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2696855E +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0D58C079 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BE3ABC30 +{ + FieldName = "Time"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B7CCF6B3 +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 2.5000000e+000, + -2.5000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_83FDB1F2 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 0.1*Scale; + + Velocity=parent.VALL*0.5*Scale; + TextureID=parent.TextID*4; + Time=spawner.LifeRatio; +} +"; +} +CParticleState $LOCAL$/CParticleState_B9865E9D +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_8FD4CE6F", + "$LOCAL$/CParticleEvolver_Script_F198EEB7", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A8DFE324 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_F198EEB7 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_B3714846"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B3714846 +{ + Expression = "function void Eval() +{ + Color=Sampler_0.sample(LifeRatio)*Sampler_0.sample(Time)*ColorFadeIn*400; + +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_4 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_6D3A3769"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_44BDAED4 +{ + AttributeName = "ColorFadeIn"; + AttributeType = float4; + DefaultValueF4 = float4(2.5000000e-001, 5.0000001e-002, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_008FCC27 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1EC9BA76 +{ + FieldName = "Flux"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_357B0F71 +{ + FieldName = "Flux"; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_1F6B3A88 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/CParticleEvolver_Script_5FC3B145", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_8AE5A7EB +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_4514F6CD", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_D3971F8A +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_7E7D621B", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9BF71015 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_9D490C98", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_11F535FC +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_87189A71", + "$LOCAL$/CParticleEvolver_Script_EA422188", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_8FD4CE6F +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_A8DFE324", + }; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_522651A3 +{ + CustomName = "Light"; + BillboardingMaterial = Lighting_SplatPass_Spec; + LightIntensityMultiplier = 1.0000000e+001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3483AFA2 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3350560D +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/Magic/Dyn_Arrow.pkfx b/assets/streaming/PackFx/Particles/Magic/Dyn_Arrow.pkfx new file mode 100644 index 0000000..54e83fc --- /dev/null +++ b/assets/streaming/PackFx/Particles/Magic/Dyn_Arrow.pkfx @@ -0,0 +1,571 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_376EDA32 +{ + Expression = "function void Eval() +{ + CheckPos=Position; + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D6FE8BDD +{ + FieldName = "CheckPos"; + FieldType = float3; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_3ECE14B0"; +} +CParticleEvolver_Script $LOCAL$/Script_4 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E32752C1"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E32752C1 +{ + Expression = "function void Eval() +{ + ReCheckPos=Position; + + Direction=normalize(CheckPos-ReCheckPos); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B7B01818 +{ + FieldName = "ReCheckPos"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_A1219F43 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e-001, 1.0000000e+000, 2.5000000e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_257F91CA", + "$LOCAL$/CParticleAttributeDeclaration_2CB999CD", + "$LOCAL$/CParticleAttributeDeclaration_A1219F43", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C25D4CA3", + }; +} +CParticleState $LOCAL$/CParticleState_DB7E6055 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_0640D1B9", + "$LOCAL$/Script_5", + }; +} +CParticleEvolver_Spawner $LOCAL$/Ring +{ + EditorInfosIsBlockMinimized = 0; + SpawnInterval = 1.5000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_0CAAAB3C"; +} +CParticleEvolver_Script $LOCAL$/Script_5 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_6D29FC9A"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_6D29FC9A +{ + Expression = "function void Eval() +{ + Size=Curve_1.sample(LifeRatio)+sin(Time+scene.Time*20)*0.1; + SizeD=Size*1.25+sin(Time+scene.Time*20)*0.1; + Color=float4(RGB*Power,Curve_0.sample(LifeRatio)); + ColorD=float4(Curve_0.sample(LifeRatio)*0.25); +} +"; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_2 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_74460CBB +{ + FieldName = "Direction"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_2CB999CD +{ + AttributeName = "Power"; + DefaultValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_644434C7 +{ + Expression = "function void Eval() +{ + Size=LifeRatio; + Color=float4(RGB*Power,0.1)*Curve_0.sample(pow(LifeRatio,0.5)); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_B6A83DB6"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_B6A83DB6 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D6FE8BDD", + "$LOCAL$/CParticleFieldDeclaration_B7B01818", + "$LOCAL$/CParticleFieldDeclaration_74460CBB", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4DEE33B1"; + States = + { + "$LOCAL$/CParticleState_4BFDDA2B", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1190CCAF +{ + Expression = "function void Eval() +{ + Life = 0.5; + Size = 1; + Axis=float3(1,0,0); + AxisUp=parent.Direction; + Velocity=parent.Direction*-4; + Time=ninja*100; +} +"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4DEE33B1 +{ + Expression = "function void Eval() +{ + Life = infinity; +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_1A4F019E +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Ring_03.dds"; + BillboardMode = PlanarAlignedQuad; + AxisField = "Axis"; + Axis2Field = "AxisUp"; + AxisScale = 1.0000000e+000; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_0640D1B9 +{ +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_257F91CA +{ + AttributeName = "Density"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_0CAAAB3C +{ + Renderer = "$LOCAL$/CParticleRenderer_List_03869BEF"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_168F8670", + "$LOCAL$/CParticleFieldDeclaration_5E406DF3", + "$LOCAL$/CParticleFieldDeclaration_5DAFFE60", + "$LOCAL$/CParticleFieldDeclaration_DBC561DE", + "$LOCAL$/CParticleFieldDeclaration_0D6693A4", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_7C38C6A2", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_1190CCAF"; + States = + { + "$LOCAL$/CParticleState_DB7E6055", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5E406DF3 +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_376EDA32"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3ECE14B0 +{ + Expression = "function void Eval() +{ + Color=float4(RGB*Power*0.5,1-LifeRatio); + Size=Curve_3.sample(LifeRatio)+SizeCoeff; +} +"; +} +CParticleState $LOCAL$/CParticleState_4BFDDA2B +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_3", + "$LOCAL$/LocalSpace_2", + "$LOCAL$/Script_4", + "$LOCAL$/Ring", + "$LOCAL$/Arrow", + "$LOCAL$/Spark", + "$LOCAL$/Smoke", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_168F8670 +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5DAFFE60 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C25D4CA3 +{ + SamplerName = "Curve_0"; + Times = + { + 0.0000000e+000, + 3.9999998e-001, + 5.9999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.0000000e+000, + 3.2946768e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -4.6760383e-001, + -9.3520784e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_7C38C6A2 +{ + SamplerName = "Curve_1"; + Times = + { + 0.0000000e+000, + 5.0140846e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4376427e+000, + 3.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 4.9237647e+000, + 3.7580505e-001, + 3.7369379e-001, + 4.0155935e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Spawner $LOCAL$/Arrow +{ + EditorInfosIsBlockMinimized = 0; + SpawnInterval = 1.2500000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_DDCE1654"; +} +CParticleState $LOCAL$/CParticleState_B70FB90D +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_5D4200F1", + "$LOCAL$/Script_1", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_DDCE1654 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_31DC4A08"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_60BF8995", + "$LOCAL$/CParticleFieldDeclaration_C2FEA672", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_730A96F9", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4EAC89A7"; + States = + { + "$LOCAL$/CParticleState_B70FB90D", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4EAC89A7 +{ + Expression = "function void Eval() +{ + Life = 0.5; + SizeCoeff = sin(scene.Time*40)*0.02; + +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_31DC4A08 +{ + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Trail_01.dds"; + TextureUField = "LifeRatio"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_5D4200F1 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_090BFF96 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_60BF8995 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_85426D7C +{ + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/Fx/DistortionCircle_01.dds"; + BillboardMode = PlanarAlignedQuad; + SizeField = "SizeD"; + ColorField = "ColorD"; + AxisField = "Axis"; + Axis2Field = "AxisUp"; + AxisScale = 1.0000000e+000; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_03869BEF +{ + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_1A4F019E", + "$LOCAL$/CParticleRenderer_Billboard_85426D7C", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DBC561DE +{ + FieldName = "ColorD"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_730A96F9 +{ + SamplerName = "Curve_3"; + Times = + { + 0.0000000e+000, + 1.4797057e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0372412e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.2711878e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C2FEA672 +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0D6693A4 +{ + FieldName = "Time"; +} +CParticleEvolver_Spawner $LOCAL$/Spark +{ + EditorInfosIsBlockMinimized = 0; + SpawnInterval = 3.9999999e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_776CD4C6"; +} +CParticleState $LOCAL$/CParticleState_4ED52937 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_6899CFFB", + "$LOCAL$/Evolver_1", + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_776CD4C6 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_1480FE58"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_E454C3A5", + "$LOCAL$/CParticleFieldDeclaration_CC5428CC", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_B1041001"; + States = + { + "$LOCAL$/CParticleState_4ED52937", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B1041001 +{ + Expression = "function void Eval() +{ + Life = rand(0.2,0.4); + Velocity=parent.Direction*4+vrand()*2; + TextureID=ninja*4; + Rotation=rand(-pi,pi); +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_1480FE58 +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Spark_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasR4.pkat"; + BillboardMode = VelocityAxisAligned; + AxisField = "Axis"; + AxisScale = 1.0000000e+000; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6899CFFB +{ +} +CParticleEvolver_Rotation $LOCAL$/Evolver_1 +{ +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_749B60DA"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_749B60DA +{ + Expression = "function void Eval() +{ + + Color=float4(RGB*Power,Curve_0.sample(pow(LifeRatio,0.5))); + Size=LifeRatio*0.04; + Axis=Velocity*LifeRatio*0.2; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E454C3A5 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC5428CC +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Spawner $LOCAL$/Smoke +{ + EditorInfosIsBlockMinimized = 0; + SpawnInterval = 1.7500000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_8D0CD1C3"; +} +CParticleState $LOCAL$/CParticleState_E9CCA700 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_6240CCF4", + "$LOCAL$/Evolver_2", + "$LOCAL$/Script_6", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_8D0CD1C3 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_347C6D2D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_090BFF96", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7FCE2242"; + States = + { + "$LOCAL$/CParticleState_E9CCA700", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7FCE2242 +{ + Expression = "function void Eval() +{ + Life = 0.75; + Rotation=rand(-pi,pi); + Velocity=vrand()*0.5; + TextureID=ninja*4; +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_347C6D2D +{ + BillboardingMaterial = AlphaBlend_Soft; + Diffuse = "Textures/Fx/Smoke_02.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6240CCF4 +{ +} +CParticleEvolver_Rotation $LOCAL$/Evolver_2 +{ +} +CParticleEvolver_Script $LOCAL$/Script_6 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_644434C7"; +} diff --git a/assets/streaming/PackFx/Particles/Magic/Dyn_LightBall.pkfx b/assets/streaming/PackFx/Particles/Magic/Dyn_LightBall.pkfx new file mode 100644 index 0000000..97f7129 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Magic/Dyn_LightBall.pkfx @@ -0,0 +1,611 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.2800000e+002; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8ED4ECCD", + "$LOCAL$/CParticleFieldDeclaration_7BA8472B", + "$LOCAL$/CParticleFieldDeclaration_49559E58", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + "$LOCAL$/Head_1", + "$LOCAL$/Sparks_1", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-508, -63); + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = rand(0.08,0.30); + Life = BranchLength; + Size = 0.2; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Trail_1", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(5.3457451e-001, 6.6489398e-002, 8.1914890e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8ED4ECCD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + SpawnInterval = 8.0000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_EC6BEF67"; +} +CParticleState $LOCAL$/CParticleState_A25D7514 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_07A88CC8", + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EC6BEF67 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_72728FCA"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A2FF29AF", + "$LOCAL$/CParticleFieldDeclaration_F373C982", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6"; + States = + { + "$LOCAL$/CParticleState_A25D7514", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6 +{ + Expression = "function void Eval() +{ + Life = parent.BranchLength-spawner.LifeRatio*parent.BranchLength; + Size = 0.5; + Velocity=parent.Vrand*10+vrand()*15; + Time=spawner.LifeRatio; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_72728FCA +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + SoftnessDistance = 4.0000000e+000; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_07A88CC8 +{ + Drag = 6.0000000e+001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7BA8472B +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_00FC543C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_00FC543C +{ + Expression = "function void Eval() +{ + Color=(200*RGB).xyz1*float4((1-LifeRatio)*pow(sin(Time*3),4)).111w; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A2FF29AF +{ + FieldName = "Color"; + FieldType = float4; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_D8F41933"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.2800000e+002; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D8F41933 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_DB2C9D9D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_47DE3001", + "$LOCAL$/CParticleFieldDeclaration_BDBAEFFB", + "$LOCAL$/CParticleFieldDeclaration_2F538E24", + "$LOCAL$/CParticleFieldDeclaration_89B45881", + "$LOCAL$/CParticleFieldDeclaration_35DAB0D8", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DB4A4672"; + States = + { + "$LOCAL$/CParticleState_5F8D33A4", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DB4A4672 +{ + Expression = "function void Eval() +{ + Life = rand(0.4,0.6); + SizeCoeff = rand(0.3,0.6); + TextureID=ninja*4; + Rotation=rand(-pi,pi); +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_904C4D1D +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Lightning_02.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + SoftnessDistance = 4.0000000e+000; +} +CParticleState $LOCAL$/CParticleState_5F8D33A4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Evolver_1", + "$LOCAL$/CParticleEvolver_Physics_82B04937", + "$LOCAL$/Script_3", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_82B04937 +{ +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_1CD674C6"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1CD674C6 +{ + Expression = "function void Eval() +{ + Size=(1-LifeRatio)*SizeCoeff; + SizeD=Size*2; + Color=(200*RGB).xyz1*float4((1-pow(LifeRatio,0.25))*pow(sin(LifeRatio*3),4)).111w; + ColorG=((Color*0.004)*(1-pow(LifeRatio,0.125))).xyz1; + ColorD=0.1*(1-pow(LifeRatio,4)); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_47DE3001 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_49559E58 +{ + FieldName = "BranchLength"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BDBAEFFB +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_89B45881 +{ + FieldName = "ColorD"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_A8F075B7 +{ + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/Fx/Distortion_01.dds"; + SizeField = "SizeD"; + ColorField = "ColorD"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_35DAB0D8 +{ + FieldName = "SizeD"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_4AC259D5 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_765962BC", + "$LOCAL$/CParticleFieldDeclaration_22821A2F", + "$LOCAL$/CParticleFieldDeclaration_09CB9D1E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_9C63D339"; + States = + { + "$LOCAL$/CParticleState_9985E5F0", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_765962BC +{ + FieldName = "VRAND"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_22821A2F +{ + FieldName = "LENGTH"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_09CB9D1E +{ + FieldName = "SCALE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_9C63D339 +{ + Expression = "function void Eval() +{ + Life = 1; + + VRAND=vrand()*rand(0.5,1); + + LENGTH=select(rand(0.01,0.1),rand(0.1,0.15),ninja<0.05); + + SCALE=rand(0.1,0.15); +} +"; +} +CParticleState $LOCAL$/CParticleState_9985E5F0 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_E0BE8373", + "$LOCAL$/aze", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_E0BE8373 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_A593DDB2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A593DDB2 +{ +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_782329EE +{ + Drag = 5.0000000e+001; + IntegrationStrategy = Stable; + BounceRestitution = 7.3456788e-001; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Head_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_4AC259D5"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 5.0000000e+001; + ContinuousSpawner = false; + FluxFactorExpression = "LOD"; +} +CParticleEvolver_Spawner $LOCAL$/aze +{ + SpawnMetric = Time; + SpawnInterval = 6.5000001e-003; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_A66A4806"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_A66A4806 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_BE88E441"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_82804798", + "$LOCAL$/CParticleFieldDeclaration_1BBA323B", + "$LOCAL$/CParticleFieldDeclaration_9976501A", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5206C3E5", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_16320E0C"; + States = + { + "$LOCAL$/CParticleState_90B77FBF", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_BE88E441 +{ + BillboardingMaterial = Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Trail_01.dds"; + TextureUField = "LifeRatio"; + SoftnessDistance = 4.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_82804798 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1BBA323B +{ + FieldName = "VStart"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9976501A +{ + FieldName = "VelocityField"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5206C3E5 +{ + SamplerName = "Curve_0"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_16320E0C +{ + Expression = "function void Eval() +{ + Life = parent.LENGTH; + + Size = parent.SCALE; + VStart=parent.VRAND*25; + Color=(0.2*RGB).xyz1*sin(spawner.LifeRatio*3); + Velocity = VStart; +} +"; +} +CParticleState $LOCAL$/CParticleState_90B77FBF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_782329EE", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F373C982 +{ + FieldName = "Time"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_3494A123 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_7EE07522"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F261C98D", + "$LOCAL$/CParticleFieldDeclaration_0A0930D4", + "$LOCAL$/CParticleFieldDeclaration_DC207627", + "$LOCAL$/CParticleFieldDeclaration_05F2AC76", + "$LOCAL$/CParticleFieldDeclaration_707DE971", + "$LOCAL$/CParticleFieldDeclaration_23C4347B", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_B4DA1C88", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7DAD31EB"; + States = + { + "$LOCAL$/CParticleState_D4D0718A", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_7EE07522 +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/DirtPieces_01.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + SoftAnimationBlending = true; + SoftnessDistance = 4.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F261C98D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0A0930D4 +{ + FieldName = "ID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DC207627 +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05F2AC76 +{ + FieldName = "BounceRestitution"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_707DE971 +{ + FieldName = "Accel"; + FieldType = float3; + TransformFilter = full; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_B4DA1C88 +{ + SamplerName = "Turb_0"; + Scale = 5.0000000e+000; + TimeScale = 1.0000000e+000; + TimeBase = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7DAD31EB +{ + Expression = "function void Eval() +{ + Life = rand(0.25,0.75); + Size = rand(0.02,0.04); + Rotation=rand(-pi,pi); + ID=ninja*4; + Velocity=vrand()*ninja*2; + Mass=rand(1,10); + BounceRestitution=rand(0.1,0.5); + HighLight=select(4,rand(50,100),ninja<0.4); +} +"; +} +CParticleState $LOCAL$/CParticleState_D4D0718A +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_D821CA15", + "$LOCAL$/CParticleEvolver_Rotation_09B977FC", + "$LOCAL$/CParticleEvolver_Script_9EED386F", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D821CA15 +{ + ConstantAcceleration = float3(0.0000000e+000, -1.0000000e+001, 0.0000000e+000); + Drag = 1.0000000e+000; + WorldInteractionMode = OneWay; + BounceRestitution = 1.0000000e+000; + BounceOffset = 1.0000000e-003; + BouncesBeforeDeath = 127; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_09B977FC +{ +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_9EED386F +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_4429F85E"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4429F85E +{ + Expression = "function void Eval() +{ + TextureID=min((ID+LifeRatio*2),4); + Color=float4((RGB*HighLight).xyz1*float4(1-LifeRatio).111w); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Sparks_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_3494A123"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.0000000e+002; + FluxFactorExpression = "Density"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_F4B734F2 +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_01.dds"; + ColorField = "ColorG"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_DB2C9D9D +{ + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_904C4D1D", + "$LOCAL$/CParticleRenderer_Billboard_F4B734F2", + "$LOCAL$/CParticleRenderer_Billboard_A8F075B7", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2F538E24 +{ + FieldName = "ColorG"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_23C4347B +{ + FieldName = "HighLight"; +} +CParticleEvolver_Rotation $LOCAL$/Evolver_1 +{ +} diff --git a/assets/streaming/PackFx/Particles/Magic/ElectricalBall_pCoords.pkfx b/assets/streaming/PackFx/Particles/Magic/ElectricalBall_pCoords.pkfx new file mode 100644 index 0000000..cfee00a --- /dev/null +++ b/assets/streaming/PackFx/Particles/Magic/ElectricalBall_pCoords.pkfx @@ -0,0 +1,679 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/OutLightning_pCoords +{ + EditorInfosPosition = int2(-288, -61); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2FAA954C", + "$LOCAL$/CParticleFieldDeclaration_3DDDE71F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/OutLightning_pCoords", + "$LOCAL$/InLightning_pCoords", + "$LOCAL$/Other", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_86407B2A +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(2.5000000e-001, 5.0000000e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.25; + + // An great use of parametric coordinates is to set it by the spawning position of every particles, + // with this you can use sampling in this place to set attributes linked by the surface of your sampler like the normal axis + pCoords = Shape_0.sampleParametricCoords(); + Position=Shape_0.samplePosition(pCoords)*0.9*Scale; + AxisUp=Shape_0.sampleNormal(pCoords); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_6", + "$LOCAL$/Trail_1", + }; +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5F5E20FA"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_86407B2A", + "$LOCAL$/CParticleAttributeDeclaration_ACB53148", + "$LOCAL$/CParticleAttributeDeclaration_6D21C725", + "$LOCAL$/CParticleAttributeDeclaration_E795E065", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerShape_B4A3F15A", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_B4A3F15A +{ + SamplerName = "Shape_0"; + Shape = "$LOCAL$/CShapeDescriptor_00485E25"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_00485E25 +{ + ShapeType = SPHERE; + Radius = 2.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5F5E20FA +{ + Expression = "function void Eval() +{ + Size=(1-LifeRatio)*0.25*Scale; + VelocityField=Turb_0.sample(Position/Scale); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2FAA954C +{ + FieldName = "pCoords"; + FieldType = int3; +} +CParticleEvolver_Rotation $LOCAL$/Evolver_3 +{ +} +CParticleEvolver_Script $LOCAL$/Script_5 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_67DDAB2D"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3DDDE71F +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_67DDAB2D +{ + Expression = "function void Eval() +{ + Color=sin(LifeRatio*3)*Distortion; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + EditorInfosIsBlockMinimized = 0; + SpawnMetric = Time; + SpawnInterval = 3.9999999e-002; + ForwardAxisField = "Axis"; + FirstSpawnDelay = 0.0000000e+000; + LocalSpaceSpawn = true; + Descriptor = "$LOCAL$/CParticleDescriptor_FB247043"; +} +CParticleState $LOCAL$/CParticleState_61782B80 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_7", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_FB247043 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_88AD4B47"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D3592D0B", + "$LOCAL$/CParticleFieldDeclaration_66AA7FEC", + "$LOCAL$/CParticleFieldDeclaration_6ED3D8FF", + "$LOCAL$/CParticleFieldDeclaration_AFC47789", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_D13BE328", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0256E2C2"; + States = + { + "$LOCAL$/CParticleState_61782B80", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0256E2C2 +{ + Expression = "function void Eval() +{ + Life = 0.25*(1-spawner.LifeRatio); + // Associate with an evolver spawner you can make an hairy effect directed by the normal of the surface + Velocity=(parent.AxisUp*10+vrand())*Scale; + Color=spawner.LifeRatio*RGB.xyz1*10; + TextureID=ninja*16; + Mass=Scale; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_88AD4B47 +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + TextureIDField = "TextureID"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_BA79E974 +{ + Mass = 0.0000000e+000; + Drag = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66AA7FEC +{ + FieldName = "TextureID"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_D13BE328 +{ + SamplerName = "Turb_0"; + Scale = 1.5000000e+000; + Strength = 5.0000000e+001; + TimeScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D3592D0B +{ + FieldName = "Color"; + FieldType = float4; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Ball +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_207FBFFE"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_207FBFFE +{ + Renderer = "$LOCAL$/CParticleRenderer_Mesh_31DAE3BD"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_4664FEE6", + "$LOCAL$/CParticleFieldDeclaration_D58C74A1", + "$LOCAL$/CParticleFieldDeclaration_1BDA079B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_26A73F99"; + States = + { + "$LOCAL$/CParticleState_3D5454D3", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_26A73F99 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 2*Scale; + RotationInit=vrand()*pi; +} +"; +} +CParticleRenderer_Mesh_Descriptor $LOCAL$/CParticleRenderer_Mesh_Descriptor_687E3EC4 +{ + Mesh = "Meshes/Geosphere.pkmm"; + Material = Additive_NoAlpha; + MaterialParametersFields = + { + "DiffuseColor = Color", + }; + Diffuse = "Textures/EnergyBall_02.dds"; +} +CParticleState $LOCAL$/CParticleState_3D5454D3 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + ChildList = + { + "$LOCAL$/Script_2", + }; +} +CParticleRenderer_Mesh $LOCAL$/CParticleRenderer_Mesh_31DAE3BD +{ + Meshes = + { + "$LOCAL$/CParticleRenderer_Mesh_Descriptor_687E3EC4", + }; + ScaleField = "Size"; + EulerRotationField = "Rotation"; + RotationAxisAngleField = ""; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4664FEE6 +{ + FieldName = "Size"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D58C74A1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_71E8EF78"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_71E8EF78 +{ + Expression = "function void Eval() +{ + Rotation=RotationInit+float3(0,scene.Time*10,0); + Color=RGB.xyz1*sin(LifeRatio*3)*4; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1BDA079B +{ + FieldName = "RotationInit"; + FieldType = float3; + TransformFilter = full; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D8E1BE65 +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_20D35A8C", + "$LOCAL$/CParticleFieldDeclaration_1694863F", + "$LOCAL$/CParticleFieldDeclaration_F01DDC2E", + "$LOCAL$/CParticleFieldDeclaration_E2763880", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_7110CCC0", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_30AD0A83"; + States = + { + "$LOCAL$/CParticleState_01226A02", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_20D35A8C +{ + FieldName = "pCoords"; + FieldType = int3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1694863F +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F2B14DAF +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CActionFactoryWithChilds $LOCAL$/Other +{ + ChildList = + { + "$LOCAL$/Ball", + "$LOCAL$/Glow", + "$LOCAL$/Disto", + }; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_7110CCC0 +{ + SamplerName = "Turb_0"; + Scale = 2.0000000e+000; + Strength = 1.0000000e+002; + TimeScale = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_30AD0A83 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.25; + pCoords = Shape_0.sampleParametricCoords(); + Position=Shape_0.samplePosition(pCoords)*Scale; + Mass=Scale; +} +"; +} +CParticleState $LOCAL$/CParticleState_01226A02 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_4", + "$LOCAL$/Trail_2", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_0F7E6FED +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_1C55A6B4"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1C55A6B4 +{ + Expression = "function void Eval() +{ + // In this case the sampling of the normal is set in realtime + // because the trail travel along the surface and we want to match the faces of the ribbon with the surface + AxisUp=Shape_0.sampleNormal(pCoords); + Position=Position*Scale; + VelocityField=Turb_0.sample(Position/Scale); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/InLightning_pCoords +{ + EditorInfosPosition = int2(-288, -61); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_D8E1BE65"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleEvolver_Projection $LOCAL$/Evolver_1 +{ + Shape = "Shape_0"; + OutputParametricCoordsField = "pCoords"; +} +CParticleEvolver_Physics $LOCAL$/Evolver_2 +{ + Mass = 0.0000000e+000; + Drag = 1.0000000e+000; +} +CParticleEvolver_Spawner $LOCAL$/Trail_2 +{ + EditorInfosIsBlockMinimized = 0; + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + LocalSpaceSpawn = true; + Descriptor = "$LOCAL$/CParticleDescriptor_7A4351D2"; +} +CParticleState $LOCAL$/CParticleState_E8DB9F13 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7A4351D2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_35782C54"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_7F906BF6", + "$LOCAL$/CParticleFieldDeclaration_42738008", + "$LOCAL$/CParticleFieldDeclaration_F2B14DAF", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_42CA8BFD"; + States = + { + "$LOCAL$/CParticleState_E8DB9F13", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_42CA8BFD +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 0.2*Scale; + ColorCoeff=sin(spawner.LifeRatio*3)*RGB.xyz1*10; + Position=vrand()*0.1*Scale; + // Simply add the normals information in the axis field of the ribbon and that\'s it! + AxisUp=parent.AxisUp; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_35782C54 +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + TextureIDField = "TextureID"; + AxisField = "AxisUp"; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_5 +{ + ChildList = + { + "$LOCAL$/Script_4", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7F906BF6 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_4 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_3106DEF1"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3106DEF1 +{ + Expression = "function void Eval() +{ + Color=ColorCoeff*sin(LifeRatio*3); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42738008 +{ + FieldName = "ColorCoeff"; + FieldType = float4; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Glow +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_29F3590A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_29F3590A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_766CC37C"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C1FAB4F9", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_32830795"; + States = + { + "$LOCAL$/CParticleState_3A34A9EF", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_32830795 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 2.1*Scale; + Color=(RGB.xyz1*0.5+0.5)*0.2; +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_766CC37C +{ + Diffuse = "Textures/Fx/Glow_02.dds"; +} +CParticleState $LOCAL$/CParticleState_3A34A9EF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_2", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_2 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C1FAB4F9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_78C6FECC +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_E542DF7F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B49E24AE", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_412E2A09"; + States = + { + "$LOCAL$/CParticleState_C6F09D00", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_E542DF7F +{ + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/Fx/Distortion_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B49E24AE +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_412E2A09 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 2.1*Scale; + Color=1; + Rotation=rand(-pi,pi); + ScalarRotationSpeed=rand(-2,2); +} +"; +} +CParticleState $LOCAL$/CParticleState_C6F09D00 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_3", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_3 +{ + ChildList = + { + "$LOCAL$/Evolver_3", + "$LOCAL$/Script_5", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Disto +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_78C6FECC"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+000; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_4 +{ + ChildList = + { + "$LOCAL$/Evolver_2", + "$LOCAL$/Evolver_1", + "$LOCAL$/CParticleEvolver_Script_0F7E6FED", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_6 +{ +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_7 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_BA79E974", + "$LOCAL$/Script_3", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_ACB53148 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(4.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + MaxValueF4 = float4(1.0000000e+003, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6D21C725 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6ED3D8FF +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F01DDC2E +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AFC47789 +{ + FieldName = "VelocityField"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E2763880 +{ + FieldName = "VelocityField"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E795E065 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/Magic/Fan_PowerShadow.pkfx b/assets/streaming/PackFx/Particles/Magic/Fan_PowerShadow.pkfx new file mode 100644 index 0000000..67e3b72 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Magic/Fan_PowerShadow.pkfx @@ -0,0 +1,905 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 8.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D6E78A1F", + "$LOCAL$/CParticleFieldDeclaration_B56DC0B6", + "$LOCAL$/CParticleFieldDeclaration_D09072B1", + "$LOCAL$/CParticleFieldDeclaration_DC46DA3D", + "$LOCAL$/CParticleFieldDeclaration_98B70D40", + "$LOCAL$/CParticleFieldDeclaration_357B0F71", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + "$LOCAL$/Layer_3", + "$LOCAL$/Layer_4", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D09072B1 +{ + FieldName = "RandPos"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 1.0; + + Time=ninja*100; + + Inverse=select(-1,1,ninja<0.5); + + RandPos=rand(0.5,1); + + Position=float3(sin(5*scene.Time+Time)*RandPos,0,Inverse*cos(5*scene.Time+Time)*RandPos); + + VALL=vrand(); + + TextID=ninja; +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_1F6B3A88", + "$LOCAL$/aze", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_44BDAED4", + "$LOCAL$/CParticleAttributeDeclaration_008FCC27", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5FC3B145 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_34F0D6EC"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_34F0D6EC +{ + Expression = "function void Eval() +{ + + float Move = RandPos*(1-LifeRatio*0.5); + Position=Scale*float3(sin(5*scene.Time+Time)*Move,LifeRatio*2*RandPos+sin(15*scene.Time+Time)*0.05,Inverse*cos(5*scene.Time+Time)*Move); + Flux=Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D6E78A1F +{ + FieldName = "Time"; +} +CParticleEvolver_Spawner $LOCAL$/aze +{ + CustomName = "Spawner"; + LocalSpaceSpawn = true; + UpAxisField = "Position"; + CustomSpawnIntervalScaleField = "Flux"; + Descriptor = "$LOCAL$/CParticleDescriptor_CF42AB20"; +} +CParticleState $LOCAL$/CParticleState_2DA4F7A9 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_8AE5A7EB", + "$LOCAL$/CParticleEvolver_Script_0DD7066D", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CF42AB20 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_B41DBF53"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3F8EEF55", + "$LOCAL$/CParticleFieldDeclaration_4AE3D712", + "$LOCAL$/CParticleFieldDeclaration_48B81503", + "$LOCAL$/CParticleFieldDeclaration_21DBF407", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_71463744", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3A9B1863"; + States = + { + "$LOCAL$/CParticleState_2DA4F7A9", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3A9B1863 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 0.15*Scale; + + Velocity=parent.VALL*0.5*Scale; + TextureID=parent.TextID*4; + Time=spawner.LifeRatio; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3F8EEF55 +{ + FieldName = "Size"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_4514F6CD +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B56DC0B6 +{ + FieldName = "Inverse"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_B41DBF53 +{ + CustomName = "Ribbon"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Branch_01.dds"; + AtlasDefinition = "Textures/Fx/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4AE3D712 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DC46DA3D +{ + FieldName = "VALL"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_71463744 +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 2.5000000e-001, + 7.5000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.5000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_D9B5C557"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.5000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D9B5C557 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_FC3E6321"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2DD9A86C", + "$LOCAL$/CParticleFieldDeclaration_6EC6394E", + "$LOCAL$/CParticleFieldDeclaration_CA6FC949", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerDoubleCurve_FE2FF99F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_62ED9366"; + States = + { + "$LOCAL$/CParticleState_80F23FF8", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_62ED9366 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = Scale*0.25; + Position=Scale*vrand().x0z; + TextureID=rand(0,4); + RAND=ninja; + Rotation=rand(-pi,pi); + VXZ=rand(-0.1,0.1); +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_FC3E6321 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/Fx/Smoke_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; +} +CParticleState $LOCAL$/CParticleState_80F23FF8 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_D3971F8A", + "$LOCAL$/CParticleEvolver_Rotation_FFD78B29", + "$LOCAL$/CParticleEvolver_Script_F33F4D7A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7E7D621B +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_F33F4D7A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_38BADCC5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_38BADCC5 +{ + Expression = "function void Eval() +{ + Velocity=Scale*float3(VXZ,2*LifeRatio,VXZ); + Color=float4(0,0,0,1)*Sampler_0.sample(LifeRatio,RAND); + RotationSpeed=cross(Velocity*50,float3(0,-1,0)); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2DD9A86C +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_FE2FF99F +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 1.4999999e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0899959e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0049376e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 2.9999998e-001, + 6.9999999e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 7.5000000e-001, + 7.5000000e-001, + 0.0000000e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6EC6394E +{ + FieldName = "RAND"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_FFD78B29 +{ + CustomName = "Rotation"; + RotationMode = Axial; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1614CC73 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_74135AB2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_4CC4D65D", + "$LOCAL$/CParticleFieldDeclaration_19FFD5E4", + "$LOCAL$/CParticleFieldDeclaration_A76658BF", + "$LOCAL$/CParticleFieldDeclaration_EF9E76EE", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerDoubleCurve_FC2A7877", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5FF8B506"; + States = + { + "$LOCAL$/CParticleState_9FD15541", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_74135AB2 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/Fx/Smoke_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + BillboardMode = PlanarAlignedQuad; + AxisField = "Axis"; + Axis2Field = "Axis2"; + AxisScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4CC4D65D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_19FFD5E4 +{ + FieldName = "RAND"; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_FC2A7877 +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 1.4999999e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0899959e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0049376e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 2.9999998e-001, + 6.9999999e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 7.5000000e-001, + 7.5000000e-001, + 0.0000000e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5FF8B506 +{ + Expression = "function void Eval() +{ + Life = 1; + Size = Scale; + Position=Scale*vrand().x0z; + TextureID=rand(0,4); + RAND=ninja; + Rotation=rand(-pi,pi); + Axis=float3(0,0,1); + Axis2=float3(0,1,0); + ScalarRotationSpeed=rand(-0.5,0.5); +} +"; +} +CParticleState $LOCAL$/CParticleState_9FD15541 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9BF71015", + "$LOCAL$/CParticleEvolver_Rotation_771FDB3B", + "$LOCAL$/CParticleEvolver_Script_5588AD1A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9D490C98 +{ + CustomName = "Physics"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_771FDB3B +{ + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5588AD1A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_9529E4E5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_9529E4E5 +{ + Expression = "function void Eval() +{ + Color=float4(0,0,0,1)*Sampler_0.sample(LifeRatio,RAND); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_3 +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_1614CC73"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 5.0000000e+001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A76658BF +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_EF9E76EE +{ + FieldName = "Axis2"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CA6FC949 +{ + FieldName = "VXZ"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_98B70D40 +{ + FieldName = "TextID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_48B81503 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_21DBF407 +{ + FieldName = "Time"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_0DD7066D +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FB36BF34"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FB36BF34 +{ + Expression = "function void Eval() +{ + Color=Sampler_0.sample(Time)*float4(0,0,0,1); + +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_6D3A3769 +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Light_522651A3"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_CC9D05E0", + "$LOCAL$/CParticleFieldDeclaration_97432A23", + "$LOCAL$/CParticleFieldDeclaration_1D7D3222", + "$LOCAL$/CParticleFieldDeclaration_0BAECA8D", + "$LOCAL$/CParticleFieldDeclaration_53E9C5D4", + "$LOCAL$/CParticleFieldDeclaration_1EC9BA76", + "$LOCAL$/CParticleFieldDeclaration_3483AFA2", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_3350560D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_95922F27"; + States = + { + "$LOCAL$/CParticleState_03FA5976", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC9D05E0 +{ + FieldName = "Time"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_97432A23 +{ + FieldName = "Inverse"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1D7D3222 +{ + FieldName = "RandPos"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0BAECA8D +{ + FieldName = "VALL"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_53E9C5D4 +{ + FieldName = "TextID"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_95922F27 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 1.5; + + Time=ninja*100; + + Inverse=select(-1,1,ninja<0.5); + + RandPos=rand(0.2,0.5); + + Position=Scale*float3(sin(5*scene.Time+Time)*RandPos,0,Inverse*cos(5*scene.Time+Time)*RandPos); + + VALL=vrand(); + + TextID=ninja; + + Size=Scale; +} +"; +} +CParticleState $LOCAL$/CParticleState_03FA5976 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_11F535FC", + "$LOCAL$/zer", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_87189A71 +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_EA422188 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EC831AEB"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EC831AEB +{ + Expression = "function void Eval() +{ + + float Move = RandPos*(1-LifeRatio*0.5); + Position=Scale*float3(sin(5*scene.Time+Time)*Move,LifeRatio*10*RandPos+sin(15*scene.Time+Time)*0.05,Inverse*cos(5*scene.Time+Time)*Move); + Flux=Scale; + Color=ColorFadeIn*Sampler_0.sample(LifeRatio); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/zer +{ + CustomName = "Spawner"; + LocalSpaceSpawn = true; + UpAxisField = "Position"; + CustomSpawnIntervalScaleField = "Flux"; + Descriptor = "$LOCAL$/CParticleDescriptor_9A632B15"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_9A632B15 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_DB75ECFC"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AD78516F", + "$LOCAL$/CParticleFieldDeclaration_2696855E", + "$LOCAL$/CParticleFieldDeclaration_0D58C079", + "$LOCAL$/CParticleFieldDeclaration_BE3ABC30", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_B7CCF6B3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_83FDB1F2"; + States = + { + "$LOCAL$/CParticleState_B9865E9D", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_DB75ECFC +{ + CustomName = "Ribbon"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Branch_01.dds"; + AtlasDefinition = "Textures/Fx/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AD78516F +{ + FieldName = "Size"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2696855E +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0D58C079 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BE3ABC30 +{ + FieldName = "Time"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B7CCF6B3 +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 2.5000000e+000, + -2.5000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_83FDB1F2 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 0.1*Scale; + + Velocity=parent.VALL*0.5*Scale; + TextureID=parent.TextID*4; + Time=spawner.LifeRatio; +} +"; +} +CParticleState $LOCAL$/CParticleState_B9865E9D +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_8FD4CE6F", + "$LOCAL$/CParticleEvolver_Script_F198EEB7", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A8DFE324 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_F198EEB7 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_B3714846"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B3714846 +{ + Expression = "function void Eval() +{ + Color=Sampler_0.sample(LifeRatio)*Sampler_0.sample(Time)*ColorFadeIn*400; + +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_4 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_6D3A3769"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_44BDAED4 +{ + AttributeName = "ColorFadeIn"; + AttributeType = float4; + DefaultValueF4 = float4(2.5000000e-001, 5.0000001e-002, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_008FCC27 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1EC9BA76 +{ + FieldName = "Flux"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_357B0F71 +{ + FieldName = "Flux"; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_1F6B3A88 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/CParticleEvolver_Script_5FC3B145", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_8AE5A7EB +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_4514F6CD", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_D3971F8A +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_7E7D621B", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9BF71015 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_9D490C98", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_11F535FC +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_87189A71", + "$LOCAL$/CParticleEvolver_Script_EA422188", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_8FD4CE6F +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_A8DFE324", + }; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_522651A3 +{ + CustomName = "Light"; + BillboardingMaterial = Lighting_SplatPass_Spec; + LightIntensityMultiplier = 1.0000000e+001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3483AFA2 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3350560D +{ + SamplerName = "Sampler_0"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/NormalMap_CS_FX.pkfx b/assets/streaming/PackFx/Particles/NormalMap_CS_FX.pkfx new file mode 100644 index 0000000..ed0c73e --- /dev/null +++ b/assets/streaming/PackFx/Particles/NormalMap_CS_FX.pkfx @@ -0,0 +1,79 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_10C37EB8", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-508, -63); + UserData = "shaderGroup=fire"; + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_SoftLighting; + Diffuse = "Textures/Sprites/empty.png"; + Normal = "Textures/test_nmap_normal.png"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 1.0; + Size = 0.25; + Color = float4(float3(0.5f), 1.0); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_10C37EB8 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A5B427DB +{ + Expression = "function void Eval() +{ + +} +"; +} diff --git a/assets/streaming/PackFx/Particles/PopcornLogo.pkfx b/assets/streaming/PackFx/Particles/PopcornLogo.pkfx new file mode 100644 index 0000000..ee02197 --- /dev/null +++ b/assets/streaming/PackFx/Particles/PopcornLogo.pkfx @@ -0,0 +1,259 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + DurationInSeconds = 1.0000000e+000; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.1712000e+004; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AF3EFE15", + "$LOCAL$/CParticleFieldDeclaration_1523F72B", + "$LOCAL$/CParticleFieldDeclaration_AB5784CF", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerTexture_B5AC583A", + "$LOCAL$/CParticleSamplerProceduralTurbulence_54652B1E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/dot_NoAlpha.tga"; + BillboardMode = VelocitySpheroidalAlign; + AxisScale = 1.5000001e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + // particle count in the spawner should be equal to textureWidth * textureHeight + float textureWidth = 1283; + float textureHeight = 481; + + float a = spawner.LifeRatio * textureWidth * textureHeight; + float x = discretize(a % textureWidth, 0.01); + float y = discretize(a / textureWidth, 0.01); + + Position = float3(x, 1, y) * 100 / textureWidth / 10; + ColorCoeff = img.sample(float2(x/textureWidth,y/textureHeight), textureFilter.Point, textureAddr.Clamp); + Life = max(step(ColorCoeff.w, 0.1) * rand(8, 11), 0.01); + Size = 0.15; + Mass = 0; +}"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/CParticleEvolver_Field_4F937D01", + "$LOCAL$/CParticleEvolver_Field_6659A1A6", + "$LOCAL$/CParticleEvolver_Script_A8263884", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + CustomName = "Physics"; + Drag = 1.0000000e+000; + VelocityFieldSampler = "turbulence"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_4F937D01 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_B5A36BC0"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B5A36BC0 +{ + Times = + { + 0.0000000e+000, + 5.0977969e-001, + 1.0000000e+000, + }; + FloatValues = + { + 7.3328435e-002, + 7.5499684e-002, + 1.7635383e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -2.5275584e-002, + -2.4305800e-002, + 2.6268557e-001, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_80FBD1D1 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0266370e-001, + 1.4266375e-001, + 1.8266374e-001, + 4.4766521e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 6.1449647e-002, + 3.5956553e-001, + 7.8481913e-001, + 3.9529286e-002, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 9.2471039e-001, + 4.8160315e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1094874e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.3124721e+000, + -1.7027018e+000, + -1.7027018e+000, + -1.7027018e+000, + -1.7027018e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerTexture $LOCAL$/CParticleSamplerTexture_B5AC583A +{ + SamplerName = "img"; + TextureResource = "Textures/PopcornFx.png"; + SampleRawValues = false; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AF3EFE15 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_A8263884 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_D8430537"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_D8430537 +{ + Expression = "function void Eval() +{ + //Velocity = pow(max(0, (LifeRatio - 0.2) / 0.8), 2.0) * 2 * turbulence.sampleCurl(Position); + Color *= ColorCoeff; + Mass = select(0, 1, LifeRatio > 0.4); +}"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_54652B1E +{ + SamplerName = "turbulence"; + Wavelength = 1.0000000e+000; + Strength = 2.1213204e-001; + Octaves = 1; + Interpolator = Quintic; + TimeScale = 2.0000000e-001; + TimeBase = 1.0000000e+000; + InitialSeed = 1104229502; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1523F72B +{ + FieldName = "ColorCoeff"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_6659A1A6 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_80FBD1D1"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AB5784CF +{ + FieldName = "Mass"; +} diff --git a/assets/streaming/PackFx/Particles/PortalHole.pkfx b/assets/streaming/PackFx/Particles/PortalHole.pkfx new file mode 100644 index 0000000..206fb9f --- /dev/null +++ b/assets/streaming/PackFx/Particles/PortalHole.pkfx @@ -0,0 +1,474 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/blackhole +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.0000000e+001; + ContinuousSpawner = false; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_List_9C98FAB6"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_56EE89B5", + "$LOCAL$/CParticleFieldDeclaration_05E0F13E", + "$LOCAL$/CParticleFieldDeclaration_2F3A3C6D", + "$LOCAL$/CParticleFieldDeclaration_9FCBDD7C", + "$LOCAL$/CParticleFieldDeclaration_6C782B7A", + "$LOCAL$/CParticleFieldDeclaration_28B88455", + "$LOCAL$/CParticleFieldDeclaration_8E78CA92", + "$LOCAL$/CParticleFieldDeclaration_12409622", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/blackhole", + "$LOCAL$/smoke", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/BB_Flame_01_128.dds"; + AtlasDefinition = "Textures/FX/AtlasX2.pkat"; + SizeField = "Size2"; + ColorField = "Color2"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + Life = 1; + InitialSize = Scale; + + Position = float3(0,0.75,0); + Color = 0.5 * Scale; + Color2 = CustomColor; + TextureID = rand(0,4); + ScalarRotationSpeed = rand(-3,3); + Rotation = rand(-pi,pi); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_5C31A5C1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_464DBE5B", + "$LOCAL$/CParticleAttributeDeclaration_34682ABB", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_9C98FAB6 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_9136D2F4", + "$LOCAL$/CParticleRenderer_Billboard_35F7BFC3", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05E0F13E +{ + FieldName = "Color2"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1FA7EDD7 +{ + Expression = "function void Eval() +{ + float decayedSize = InitialSize * SizeCoeff; + Size2 = decayedSize * 1.5; + Size4 = decayedSize * 1.5; + Color4 *= CustomColor; +} +"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_861B3223 +{ + CustomName = "Field"; + Name = "SizeCoeff"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_3D8F545A"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3D8F545A +{ + Times = + { + 0.0000000e+000, + 4.9905631e-001, + 1.0000000e+000, + }; + FloatValues = + { + 6.3916349e-001, + 3.6995310e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -8.5174030e-001, + -8.5496157e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_56EE89B5 +{ + FieldName = "SizeCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_F50E15A4 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_1FA7EDD7"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2F3A3C6D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9FCBDD7C +{ + FieldName = "Size2"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_F8C0F500 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Rotation"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_35F7BFC3 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + SizeField = "Size4"; + ColorField = "Color4"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6C782B7A +{ + FieldName = "Color4"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28B88455 +{ + FieldName = "Size4"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_1622A5C4 +{ + CustomName = "Field"; + Name = "Color4"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_E312BD77"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E312BD77 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.9999999e-002, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+002, + 1.0000000e+002, + 1.0000000e+002, + 1.0000000e+002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_626F0EC7 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_851B4E6E"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9CF3EB79", + "$LOCAL$/CParticleFieldDeclaration_A0CC37AD", + "$LOCAL$/CParticleFieldDeclaration_0392EBBC", + "$LOCAL$/CParticleFieldDeclaration_FC69FD9C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C53D5192"; + States = + { + "$LOCAL$/CParticleState_EECF720D", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_851B4E6E +{ + DrawOrder = -2; + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/Fx/Smoke_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9CF3EB79 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FC69FD9C +{ + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C53D5192 +{ + Expression = "function void Eval() +{ + Life = 1.25; + Size = 0.25; + TextureID = rand(0, 4); + Velocity = float3(rand(-1,1), 0, rand(-1,1)) * Scale * 1.5; + RotationSpeed = cross(Velocity * 4, float3(0,-1,0)); + CFI = CustomColor * 5; + CFO = 1; + SizeCoeff = Scale * 2; +} +"; +} +CParticleState $LOCAL$/CParticleState_EECF720D +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_A42ABC9C", + "$LOCAL$/CParticleEvolver_Rotation_A393D8EF", + "$LOCAL$/CParticleEvolver_Field_E5D78FF6", + "$LOCAL$/CParticleEvolver_Field_234FDDF5", + "$LOCAL$/CParticleEvolver_Script_E15F8E20", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A42ABC9C +{ + CustomName = "Physics"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_A393D8EF +{ + CustomName = "Rotation"; + RotationMode = Axial; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E5D78FF6 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_40BF46E1"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_40BF46E1 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.0000001e-002, + 7.4847561e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e-001, + 1.0000000e-001, + 1.0000000e-001, + 1.0000000e-001, + 1.0000000e-001, + 1.0000000e-001, + 1.0000000e-001, + 1.0000000e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_E15F8E20 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_68287463"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_68287463 +{ + Expression = "function void Eval() +{ + Color *= 0.5 * ((CFI - (LifeRatio * CFI)) + (LifeRatio * CFO)); + Size *= SizeCoeff; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/smoke +{ + Descriptor = "$LOCAL$/CParticleDescriptor_626F0EC7"; + Infinite = true; + DurationInSeconds = 1.5000000e+000; + SpawnCount = 1.0000000e+002; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_234FDDF5 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_670B18E4"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_670B18E4 +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.5000001e-001, + 5.0000000e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 6.4341843e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_12409622 +{ + FieldName = "InitialSize"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0392EBBC +{ + FieldName = "CFO"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_5C31A5C1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Rotation_F8C0F500", + "$LOCAL$/CParticleEvolver_Field_861B3223", + "$LOCAL$/CParticleEvolver_Field_1622A5C4", + "$LOCAL$/CParticleEvolver_Script_F50E15A4", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A0CC37AD +{ + FieldName = "CFI"; + FieldType = float4; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_464DBE5B +{ + AttributeName = "CustomColor"; + AttributeType = float4; + DefaultValueF4 = float4(5.0000000e-001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_34682ABB +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8E78CA92 +{ + FieldName = "SizeCoeff"; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisAirRiad.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisAirRiad.pkfx new file mode 100644 index 0000000..f6024ba --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisAirRiad.pkfx @@ -0,0 +1,1783 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/CrackBranch", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/Crack", + "$LOCAL$/Frame", + "$LOCAL$/PreFlash", + "$LOCAL$/Flash", + "$LOCAL$/LightPole", + "$LOCAL$/Layer_1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9AEE5ABD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_168DE691 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_216E6F10"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_216E6F10 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 2); + Size = (0.05 * Scale) * GlobalSizeCurve.sample(LifeRatio); +} +"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + "$LOCAL$/CParticleAttributeDeclaration_88BB8542", + "$LOCAL$/CParticleAttributeDeclaration_56740C2D", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C7BD0385", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Crack +{ + Descriptor = "$LOCAL$/CParticleDescriptor_7C46C5E9"; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.2000000e+001; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7C46C5E9 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AA0A7EFA", + "$LOCAL$/CParticleFieldDeclaration_2832E92E", + "$LOCAL$/CParticleFieldDeclaration_668C5BD9", + "$LOCAL$/CParticleFieldDeclaration_7EA25C67", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3F5A22F7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A99F3108"; + States = + { + "$LOCAL$/CParticleState_4C8B87C2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A99F3108 +{ + Expression = "function void Eval() +{ + Life = 0.3; + Position = DropSampler.samplePosition(); + Velocity = Scale*safe_normalize(Position - DropSampler.position())*30; + SizeCoeff = Scale; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)) * 0; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_668C5BD9 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_4C8B87C2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_081972C0", + "$LOCAL$/death", + "$LOCAL$/base", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C1D98F7D +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8FACC28C +{ + FieldName = "Timeb"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(2.7722779e-001, 1.8762376e+000, 3.9603961e-001, 1.7344180e-001); + MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_104D4D29 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_BF861E68"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9AEE5ABD", + "$LOCAL$/CParticleFieldDeclaration_BB297115", + "$LOCAL$/CParticleFieldDeclaration_42AA1C4F", + "$LOCAL$/CParticleFieldDeclaration_BD2FCDD3", + "$LOCAL$/CParticleFieldDeclaration_B334DEDB", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_37052329", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3F389B48"; + States = + { + "$LOCAL$/CParticleState_6B8B6DDE", + }; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_7A8041A7 +{ + EventName = "OnDeath"; + EventAction = "$LOCAL$/CrackBranch"; +} +CParticleState $LOCAL$/CParticleState_6B8B6DDE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B91A4402", + "$LOCAL$/CParticleEvolver_Script_168DE691", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BC1951CA +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7AF25165"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7AF25165 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.025; + float n = 60 * SizeCoeff; + Velocity = lerp(select(Velocity,float3(SizeCoeff*rand(-1,1)*100,0,SizeCoeff*rand(-1,1)*100),shouldSpawnBranch),Velocity,0.9); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E9BE2D1D +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B91A4402 +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F1A21305 +{ + CustomName = "Physics"; + Mass = 0.0000000e+000; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5E0F683 +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/NoisedLine.png"; + BillboardMode = SideAxisAligned; + AxisField = "Axis"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AA0A7EFA +{ + FieldName = "Timeb"; +} +CParticleEvolver_Spawner $LOCAL$/base +{ + CustomName = "Spawner"; + SpawnInterval = 3.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_104D4D29"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3F389B48 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0); + Life = 3; + Size = 0.05 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = CustomColorRGBA * 1; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/death +{ + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_CD6A0035"; +} +CParticleState $LOCAL$/CParticleState_91BC2CDA +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_D33971BE", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CD6A0035 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_59D07FA1", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_7A8041A7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C095B224"; + States = + { + "$LOCAL$/CParticleState_91BC2CDA", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C095B224 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = CustomColorRGBA; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D33971BE +{ + CustomName = "Physics"; + Mass = 0.0000000e+000; +} +CActionFactoryParticleSpawnerBase $LOCAL$/CrackBranch +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_1DEAC189"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1DEAC189 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8FACC28C", + "$LOCAL$/CParticleFieldDeclaration_C9081B39", + "$LOCAL$/CParticleFieldDeclaration_28722F38", + "$LOCAL$/CParticleFieldDeclaration_E4021DE6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4669BE28"; + States = + { + "$LOCAL$/CParticleState_247F7DE2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4669BE28 +{ + Expression = "function void Eval() +{ + Life = rand(0.05,0.05); + Velocity=float3(0,0,0)*Scale; + SizeCoeff=Scale; + FluxScale=pow(Flux,0.5)*1*Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28722F38 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_247F7DE2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9AAE6F84", + "$LOCAL$/ert", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_4E3ECB6C +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F +{ + Expression = "function void Eval() +{ + Timeb += dt*SizeCoeff; + + int shouldChangeDirection = Timeb>0.01*SizeCoeff; + + float n = 60*SizeCoeff; + Velocity = select(Velocity, float3(rand(-n,n),0,rand(-n,n)), shouldChangeDirection); + Timeb = select(Timeb,0,shouldChangeDirection); // reset the \'should.pkangeDirection\' condition +} +"; +} +CParticleEvolver_Spawner $LOCAL$/ert +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_47893DF0"; +} +CParticleState $LOCAL$/CParticleState_65AD76F1 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F1A21305", + "$LOCAL$/CParticleEvolver_Script_403022B8", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_47893DF0 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_021C4C6A"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0B9A51ED", + "$LOCAL$/CParticleFieldDeclaration_366F0A1E", + "$LOCAL$/CParticleFieldDeclaration_BC9A45D6", + "$LOCAL$/CParticleFieldDeclaration_C223EA14", + "$LOCAL$/CParticleFieldDeclaration_B81A293A", + "$LOCAL$/CParticleFieldDeclaration_05190660", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_09C487E3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3"; + States = + { + "$LOCAL$/CParticleState_65AD76F1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0); + Life = 3; + float iSpawnerLR = 1 - spawner.LifeRatio; + BaseSize = 0.4*Scale * pow(iSpawnerLR, 0.5) * 0.2; + ColorCoeff = pow(Flux,4)*100*pow(iSpawnerLR, 2); + TextureID = rand(0,16); + Position = float3(0,0,0)*Scale; + CC = CustomColorRGBA * 1; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_23F2DF84 +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/NoisedLine.png"; + BillboardMode = SideAxisAligned; + AxisField = "Axis"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_403022B8 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_70F7169B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_70F7169B +{ + Expression = "function void Eval() +{ + Color = CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); + Size = BaseSize * GlobalSizeCurve.sample(LifeRatio); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C223EA14 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0B9A51ED +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C9081B39 +{ + FieldName = "SizeCoeff"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2832E92E +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_366F0A1E +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BB297115 +{ + FieldName = "TextureID"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(8.3468831e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_081972C0 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_C1D98F7D", + "$LOCAL$/CParticleEvolver_Script_BC1951CA", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9AAE6F84 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E9BE2D1D", + "$LOCAL$/CParticleEvolver_Script_4E3ECB6C", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42AA1C4F +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BC9A45D6 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BD2FCDD3 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4021DE6 +{ + FieldName = "ParentColor"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_59D07FA1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3F5A22F7 +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_EE347186"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_EE347186 +{ + ShapeType = CYLINDER; + Radius = 2.0000000e-001; + InnerRadius = 2.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_37052329 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 3.9882760e-002, + 7.1488068e-002, + 7.9634368e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 6.6010171e-001, + 1.6563269e-001, + 4.4016607e-002, + 1.5209470e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_09C487E3 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 5.6967914e-002, + 8.5734576e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 4.3738329e-001, + 7.8732443e-001, + 8.5953772e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B334DEDB +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B81A293A +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7EA25C67 +{ + FieldName = "NextBranchTime"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C7BD0385 +{ + SamplerName = "GlobalSizeCurve"; + Times = + { + 0.0000000e+000, + 4.1777310e-001, + 5.0437367e-001, + 6.4856136e-001, + 7.3379391e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1830900e+001, + 2.2786690e+001, + 2.7557028e+002, + 1.7187576e+002, + 4.5565090e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.4870480e+001, + 3.0825162e+000, + 6.5286195e-001, + 1.0869976e+000, + -1.3543121e+002, + -8.0056412e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_821F762C +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_949EFA5F +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_882CE90E +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B9A815E9 +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05190660 +{ + FieldName = "BaseSize"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_BF861E68 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_E5E0F683", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_021C4C6A +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_23F2DF84", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1351646B +{ + EditorInfosPosition = int2(25, 339); + Samplers = + { + "$LOCAL$/CParticleSamplerShape_1CD7560A", + "$LOCAL$/CParticleSamplerShape_6ECA987C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7D7074DE"; + States = + { + "$LOCAL$/CParticleState_88B9A5F9", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_1CD7560A +{ + EditorInfosPosition = int2(-151, 367); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_C6084895"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_C6084895 +{ + EditorInfosPosition = int2(-247, 365); + Position = float3(0.0000000e+000, -7.6473951e-003, 0.0000000e+000); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 3.0000000e+000; + InnerRadius = 3.0000000e+000; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_6ECA987C +{ + EditorInfosPosition = int2(-149, 416); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_194CA2EF"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_194CA2EF +{ + EditorInfosPosition = int2(-241, 420); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 3.0000000e+000; + InnerRadius = 3.0000000e+000; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7D7074DE +{ + EditorInfosPosition = int2(-153, 300); + Expression = "function void Eval() +{ + Life = rand(0.1,0.1); + Position = PositionSampler.samplePosition() * spawner.LifeRatio; + Velocity = VelocitySampler.samplePosition() * spawner.LifeRatio; + float3 v = Velocity * (Throttle * rand(0.9,1.1)); + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_88B9A5F9 +{ + EditorInfosPosition = int2(-79, 590); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_E292CFB0", + "$LOCAL$/CParticleEvolver_Spawner_05B4D033", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E292CFB0 +{ + EditorInfosPosition = int2(-249, 591); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -4.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e+001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 10; + BounceRestitution = 3.0000001e-001; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_05B4D033 +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_7D2DC972"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7D2DC972 +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_C5648C1D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_E55ADEA4", + "$LOCAL$/CParticleFieldDeclaration_1F69D037", + "$LOCAL$/CParticleFieldDeclaration_0EBB07C6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_ED84BF01"; + States = + { + "$LOCAL$/CParticleState_B8A7D958", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_C5648C1D +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E55ADEA4 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1F69D037 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0EBB07C6 +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_ED84BF01 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_B8A7D958 +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_590C46FB", + "$LOCAL$/CParticleEvolver_Field_2733A3DA", + "$LOCAL$/CParticleEvolver_Field_6DC093CC", + "$LOCAL$/CParticleEvolver_Rotation_43B6D1AE", + "$LOCAL$/CParticleEvolver_Script_C5ADDB09", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_590C46FB +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_2733A3DA +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_29E0C2A5"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_29E0C2A5 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257950e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_6DC093CC +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_AB41987F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_AB41987F +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.0484699e-001, + 2.6899278e-001, + 3.7171373e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888059e+000, + 8.9586906e+000, + 4.7168012e+000, + 6.4613003e-001, + 5.2873129e-001, + 8.5084782e+000, + 4.4762292e+000, + 6.3971812e-001, + 1.1150390e+000, + 6.8187752e+001, + 6.4696632e+001, + 6.2580532e-001, + 8.0067635e-002, + 4.6481152e+000, + 4.1184654e+000, + 2.1342564e-001, + 2.5348350e-001, + 3.0305719e+000, + 4.2372961e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.4482802e-001, + -5.2126521e-005, + -5.1341760e-001, + -1.2959750e+000, + -3.5605130e-001, + -1.7918279e-002, + -1.6077155e-001, + -4.0582132e-001, + -1.1149383e-001, + -5.6109275e-003, + -5.3947282e-001, + -3.2564810e-001, + -2.0305406e-001, + -7.3593562e-003, + -8.6389452e-001, + -5.2148235e-001, + -3.2516429e-001, + -1.1785032e-002, + -7.1926810e-002, + -7.7085745e-001, + 2.7849182e-001, + 1.0830179e-002, + -4.3993589e-001, + -4.7149014e+000, + 1.7033780e+000, + 6.6242106e-002, + -5.7552558e-001, + -1.4118178e+000, + -4.3834877e+000, + 1.7206217e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_43B6D1AE +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_C5ADDB09 +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5DA1A200"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5DA1A200 +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; + Size *= SizeCoeff * 0.2; +}"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Frame +{ + EditorInfosPosition = int2(170, 355); + Delay = 1.4000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_1351646B"; + DurationInSeconds = 2.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 1.2800000e+002; + SpawnCountRelativeRandomDeviation = 9.6650624e-001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_88BB8542 +{ + AttributeName = "Throttle"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_56740C2D +{ + AttributeName = "ShakeAmplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EF247296 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3849864e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888062e+000, + 7.7745247e+001, + 7.3503357e+001, + 6.4612997e-001, + 2.0553560e+000, + 3.8516720e+001, + 3.5025604e+001, + 6.2580526e-001, + 1.3330803e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386294e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6951137e+000, + -1.3702939e-004, + -1.1671032e+000, + -2.7337904e+000, + -1.7046227e+000, + -6.1781224e-002, + -1.0002245e+000, + -2.3428993e+000, + -1.4608870e+000, + -5.2947421e-002, + -4.2274657e-001, + -1.0370370e+000, + -3.2198474e+000, + 1.2638654e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_24B21A11 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_EF247296"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/PreFlash +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.2000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_1E33C9A8"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1E33C9A8 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_5987DD12"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B3140DAA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B"; + States = + { + "$LOCAL$/CParticleState_7B7ECB1C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B +{ + Expression = "function void Eval() +{ + Life = 0.3; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B3140DAA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_194188B5 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleState $LOCAL$/CParticleState_7B7ECB1C +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_9F457A0F", + "$LOCAL$/Field_1", + "$LOCAL$/Field_2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9F457A0F +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/Field_1 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F8808A7E"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F8808A7E +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 7.0279993e-002, + 7.0279993e-002, + 7.0279993e-002, + 7.0279993e-002, + 5.1760054e-001, + -1.2630556e+000, + -2.4205606e-001, + -1.2630556e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_337A9C19"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_337A9C19 +{ + Times = + { + 0.0000000e+000, + 5.7104397e-001, + 1.0000000e+000, + }; + FloatValues = + { + 7.2441397e+000, + 6.0743637e+000, + 8.9722443e-001, + }; + FloatTangents = + { + 0.0000000e+000, + -1.8714930e-001, + -2.6844974e+000, + -2.0165372e+000, + -1.8352952e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_5987DD12 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_194188B5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EB06C381 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_1E17F7D8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3CDA2A4C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF"; + States = + { + "$LOCAL$/CParticleState_1322942E", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_1E17F7D8 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_8197877B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_8197877B +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3CDA2A4C +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF +{ + Expression = "function void Eval() +{ + Life = 0.7; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleState $LOCAL$/CParticleState_1322942E +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B04B8F89", + "$LOCAL$/CParticleEvolver_Field_537F3080", + "$LOCAL$/CParticleEvolver_Field_E5657FC2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B04B8F89 +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_537F3080 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_83855943"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_83855943 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0350089e-001, + 1.9090381e-001, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 1.6533300e+001, + 2.4095961e+001, + 1.6533300e+001, + 1.6533300e+001, + 3.8750023e-002, + 3.8750023e-002, + 3.8750023e-002, + 3.8750023e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 7.2740410e-003, + 7.2740410e-003, + 7.2740410e-003, + 7.2740410e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 4.1878864e-001, + -1.0219334e+000, + -1.9584665e-001, + -1.0219334e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E5657FC2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F39058AD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F39058AD +{ + Times = + { + 0.0000000e+000, + 5.6712776e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.3825042e-001, + 4.6045847e+000, + 4.9280052e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 6.1942945e+000, + 1.9890777e+000, + 1.5182054e+000, + -9.8067053e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.5000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_EB06C381"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E67D7CCD +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_D7E94514"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D7FBFF67", + "$LOCAL$/CParticleFieldDeclaration_72044EB6", + "$LOCAL$/CParticleFieldDeclaration_9C8318B1", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_07E35CC8"; + States = + { + "$LOCAL$/CParticleState_A013572B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_D7E94514 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/flare.png"; + BillboardMode = VelocitySpheroidalAlign; + AxisField = "Axis"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D7FBFF67 +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_72044EB6 +{ + FieldName = "Strength"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9C8318B1 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_07E35CC8 +{ + Expression = "function void Eval() +{ + Life = 3; + Size = 0.00; + Position = 0; + Axis = float3(0,1,0) * Strength; +}"; +} +CParticleState $LOCAL$/CParticleState_A013572B +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_F185729E", + "$LOCAL$/CParticleEvolver_Script_BAB2DFCA", + "$LOCAL$/CParticleEvolver_Field_B736243C", + "$LOCAL$/CParticleEvolver_Field_D2F32F70", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BAB2DFCA +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_82A1B555"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_82A1B555 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0) * Strength * 50; + Strength = Strength; + Size = Scale*0.02 * GlobalSizeCurve.sample(LifeRatio); +}"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_B736243C +{ + CustomName = "Field"; + Name = "Strength"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_A5D539AF"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A5D539AF +{ + Times = + { + 0.0000000e+000, + 1.7875880e-001, + 6.4207667e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.2506409e-001, + 2.6848431e+001, + 2.3227060e+001, + 2.0530760e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.9337951e-001, + -4.0330389e-001, + -2.2301891e+000, + -1.7228700e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_F185729E +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_368F96B9"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_368F96B9 +{ + Times = + { + 0.0000000e+000, + 2.0247516e-001, + 3.2290432e-001, + 4.7881454e-001, + 6.4916664e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 6.4882517e-002, + 9.8659448e-002, + 4.8528183e-001, + 6.0317144e-003, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.2722742e-002, + -4.5073226e-002, + 1.7790599e-002, + 2.0852409e-002, + 1.6193686e-004, + 1.7938390e-003, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_D2F32F70 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_7028CAF3"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_7028CAF3 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 4.9469480e-001, + 5.0428569e-001, + 8.8362122e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.9679679e-001, + 2.2810459e+000, + 6.3615322e-001, + 4.6265790e-001, + 1.5394890e-001, + 1.5394890e-001, + 1.5394890e-001, + 1.5394890e-001, + 4.2688489e-001, + 4.2229891e-001, + 4.2688489e-001, + 4.2688489e-001, + 9.1850501e-001, + 9.4429121e+000, + 9.1850501e-001, + 9.1850501e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.1179672e+000, + 9.9798059e-001, + 1.1179672e+000, + 1.1179672e+000, + 3.4298837e-001, + 3.0617687e-001, + 3.4298837e-001, + 3.4298837e-001, + 6.5744799e-001, + 2.8545097e+001, + 6.5744799e-001, + 6.5744799e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/LightPole +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_E67D7CCD"; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 2.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_3A4409B3 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6468C0F2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_60B7199D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5231BA24", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_34D411B7"; + States = + { + "$LOCAL$/CParticleState_12E9A746", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6468C0F2 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/DistortionCircle_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_60B7199D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5231BA24 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_34D411B7 +{ + Expression = "function void Eval() +{ + Life = 1.5; + Size = (2.1) * SizeSampler.sample(spawner.LifeRatio); + Color=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_12E9A746 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_31801481", + "$LOCAL$/CParticleEvolver_Field_0BE16B5A", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_31801481 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Field_5B731CD8", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5B731CD8 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6FCF107B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6FCF107B +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.3000004e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.8721191e+001, + 2.8721191e+001, + 2.8721191e+001, + 2.8721191e+001, + 1.6135631e+000, + 1.6135631e+000, + 1.6135631e+000, + 1.6135631e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -7.0475464e+001, + -7.0475464e+001, + -7.0475464e+001, + -7.0475464e+001, + -1.0668875e+000, + -1.0668875e+000, + -1.0668875e+000, + -1.0668875e+000, + -2.1661046e+000, + -2.1661046e+000, + -2.1661046e+000, + -2.1661046e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0BE16B5A +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_93366025"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_93366025 +{ + Times = + { + 0.0000000e+000, + 4.2586720e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0993826e+000, + 7.2805438e+000, + 7.8490167e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 9.7342634e-001, + 7.6217121e-001, + 1.0275209e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.4000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_3A4409B3"; + DurationInSeconds = 1.0000000e+000; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisBurningHit.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisBurningHit.pkfx new file mode 100644 index 0000000..edd98f7 --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisBurningHit.pkfx @@ -0,0 +1,328 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_376EDA32 +{ + Expression = "function void Eval() +{ + CheckPos=Position; + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D6FE8BDD +{ + FieldName = "CheckPos"; + FieldType = float3; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CParticleEvolver_Script $LOCAL$/Script_4 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E32752C1"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E32752C1 +{ + Expression = "function void Eval() +{ + ReCheckPos=Position; + + Direction=normalize(CheckPos-ReCheckPos); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B7B01818 +{ + FieldName = "ReCheckPos"; + FieldType = float3; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_2 +{ + CustomName = "Localspace"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_74460CBB +{ + FieldName = "Direction"; + FieldType = float3; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_B6A83DB6"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_B6A83DB6 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D6FE8BDD", + "$LOCAL$/CParticleFieldDeclaration_B7B01818", + "$LOCAL$/CParticleFieldDeclaration_74460CBB", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4DEE33B1"; + States = + { + "$LOCAL$/CParticleState_4BFDDA2B", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4DEE33B1 +{ + Expression = "function void Eval() +{ + Life = infinity; +} +"; +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_376EDA32"; +} +CParticleState $LOCAL$/CParticleState_4BFDDA2B +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_3", + "$LOCAL$/LocalSpace_2", + "$LOCAL$/Script_4", + "$LOCAL$/Trail_1", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E150F316 +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_3AA06491"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A0C2A628", + "$LOCAL$/CParticleFieldDeclaration_6935AC0B", + "$LOCAL$/CParticleFieldDeclaration_1E07662A", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_4E03F61F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_19938B35"; + States = + { + "$LOCAL$/CParticleState_99DFBF9C", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_3AA06491 +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A0C2A628 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6935AC0B +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1E07662A +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_19938B35 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 1 + (1 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + Position = SpawnShape.samplePosition(); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.3; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 5;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_99DFBF9C +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_6687488F", + "$LOCAL$/CParticleEvolver_Field_49673AFE", + "$LOCAL$/CParticleEvolver_Field_28497CD0", + "$LOCAL$/CParticleEvolver_Rotation_B6A66592", + "$LOCAL$/CParticleEvolver_Script_375D4ABD", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6687488F +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_49673AFE +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_C496D699"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C496D699 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 3.5412490e-002, + 6.4305954e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.5731990e-001, + 7.3077157e-002, + 2.4938139e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 9.4720095e-002, + 0.0000000e+000, + 0.0000000e+000, + 2.4945091e-002, + 8.0782884e-001, + 1.3235520e-001, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_28497CD0 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_17CC73D3"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_17CC73D3 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.4035908e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0875289e+000, + 3.0284981e+001, + 2.6043091e+001, + 6.4613003e-001, + 5.5407912e-001, + 1.8774509e+001, + 1.5283390e+001, + 6.2580532e-001, + 1.3330801e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.7009701e+000, + -1.3750279e-004, + -1.1711349e+000, + -2.7432361e+000, + -1.7105120e+000, + -6.1994679e-002, + -9.9619192e-001, + -2.3334539e+000, + -1.4549969e+000, + -5.2733961e-002, + -4.2104211e-001, + -1.0328560e+000, + -3.2068660e+000, + 1.2587701e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_B6A66592 +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_375D4ABD +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7C6D31C4"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7C6D31C4 +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; +}"; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + Descriptor = "$LOCAL$/CParticleDescriptor_E150F316"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_973092EC +{ + ShapeType = SPHERE; + Radius = 1.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_4E03F61F +{ + SamplerName = "SpawnShape"; + Shape = "$LOCAL$/CShapeDescriptor_973092EC"; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisBurst.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisBurst.pkfx new file mode 100644 index 0000000..4dbb103 --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisBurst.pkfx @@ -0,0 +1,748 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_BBAF8D7F", + "$LOCAL$/CParticleAttributeDeclaration_B6116AAE", + "$LOCAL$/CParticleAttributeDeclaration_89977E97", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_BBAF8D7F +{ + AttributeName = "Throttle"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B6116AAE +{ + AttributeName = "ShakeAmplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_DA926919 +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_21CB4150"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_E5575253", + "$LOCAL$/CParticleFieldDeclaration_C8036612", + "$LOCAL$/CParticleFieldDeclaration_CC06153D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_2F088E44"; + States = + { + "$LOCAL$/CParticleState_19EB6857", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_21CB4150 +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E5575253 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C8036612 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC06153D +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2F088E44 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_19EB6857 +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_2DB27266", + "$LOCAL$/CParticleEvolver_Field_DCE52E21", + "$LOCAL$/CParticleEvolver_Field_9CCA151B", + "$LOCAL$/CParticleEvolver_Rotation_38CC37C5", + "$LOCAL$/CParticleEvolver_Script_DB489F6C", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_2DB27266 +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_DCE52E21 +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56EB66F8"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56EB66F8 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257950e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_9CCA151B +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_2B607C7A"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2B607C7A +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.4149234e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888059e+000, + 7.0672668e+001, + 6.6430779e+001, + 6.4613003e-001, + 2.0553560e+000, + 5.9162189e+001, + 5.5671070e+001, + 6.2580532e-001, + 1.3330801e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.7045374e+000, + -1.3779118e-004, + -1.1735915e+000, + -2.7489886e+000, + -1.7140994e+000, + -6.2124688e-002, + -9.9373609e-001, + -2.3277011e+000, + -1.4514103e+000, + -5.2603956e-002, + -4.2000425e-001, + -1.0303099e+000, + -3.1989605e+000, + 1.2556669e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_38CC37C5 +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_DB489F6C +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FB3EBC9F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FB3EBC9F +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; + Size *= SizeCoeff * 0.5; +}"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(170, 355); + Descriptor = "$LOCAL$/CParticleDescriptor_0CE1E254"; + DurationInSeconds = 2.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.4000000e+001; + SpawnCountRelativeRandomDeviation = 9.6650624e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_0CE1E254 +{ + EditorInfosPosition = int2(25, 339); + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3A2645A7", + "$LOCAL$/CParticleSamplerShape_3A0ADCF1", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7C93296B"; + States = + { + "$LOCAL$/CParticleState_3BA9FF0A", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3A2645A7 +{ + EditorInfosPosition = int2(-151, 367); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_9FFCF1F6"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_9FFCF1F6 +{ + EditorInfosPosition = int2(-247, 365); + Position = float3(0.0000000e+000, -7.6473951e-003, 0.0000000e+000); + ShapeType = SPHERE; + Radius = 2.0000000e+000; + InnerRadius = 2.0000000e+000; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3A0ADCF1 +{ + EditorInfosPosition = int2(-149, 416); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_A3A85608"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_A3A85608 +{ + EditorInfosPosition = int2(-241, 420); + ShapeType = SPHERE; + Radius = 2.0000000e+000; + InnerRadius = 2.0000000e+000; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7C93296B +{ + EditorInfosPosition = int2(-153, 300); + Expression = "function void Eval() +{ + Life = rand(0.1,0.1); + Position = PositionSampler.samplePosition() * spawner.LifeRatio; + Velocity = VelocitySampler.samplePosition() * spawner.LifeRatio; + float3 v = Velocity * (Throttle * rand(0.9,1.1)); + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_3BA9FF0A +{ + EditorInfosPosition = int2(-79, 590); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_A38BA595", + "$LOCAL$/CParticleEvolver_Spawner_C7B2B97C", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A38BA595 +{ + EditorInfosPosition = int2(-249, 591); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -4.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e+001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 10; + BounceRestitution = 3.0000001e-001; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_C7B2B97C +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_1F56D7EF"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1F56D7EF +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_4B7C4DDE"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2C55F2F9", + "$LOCAL$/CParticleFieldDeclaration_2E0EA0B0", + "$LOCAL$/CParticleFieldDeclaration_D3047533", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0833D272"; + States = + { + "$LOCAL$/CParticleState_7F6EC91D", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_4B7C4DDE +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C55F2F9 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2E0EA0B0 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D3047533 +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0833D272 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_7F6EC91D +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_DFE35FA4", + "$LOCAL$/CParticleEvolver_Field_7D6BE537", + "$LOCAL$/CParticleEvolver_Field_29C1EC01", + "$LOCAL$/CParticleEvolver_Rotation_251DCBFB", + "$LOCAL$/CParticleEvolver_Script_B5310CDA", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_DFE35FA4 +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_7D6BE537 +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F62C40C6"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F62C40C6 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257950e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_29C1EC01 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_A6E60A58"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A6E60A58 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.2576048e-001, + 2.4293332e-001, + 5.4598629e-001, + 1.0000000e+000, + }; + FloatValues = + { + 6.1077929e-001, + 1.3362490e+001, + 9.1206017e+000, + 6.4613003e-001, + 6.1927736e-001, + 5.6155655e+001, + 5.2226707e+001, + 6.3738000e-001, + 6.3949120e-001, + 1.0730329e+001, + 7.2392082e+000, + 6.2580532e-001, + 6.6701663e-001, + 5.0249910e+000, + 3.8423347e+000, + 6.3187772e-001, + 1.5054297e-001, + 1.2561235e+000, + 2.4628477e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.9587513e-001, + -3.2001706e-005, + -9.4866836e-001, + 9.9840254e-001, + 2.4669650e+000, + -3.5136234e-002, + -8.8388807e-001, + 9.3022615e-001, + 2.2985077e+000, + -3.2736957e-002, + -2.5395206e-001, + -5.9485042e-001, + -3.7091193e-001, + -1.3443086e-002, + -6.5681487e-001, + -1.5385060e+000, + -9.5931709e-001, + -3.4768861e-002, + 3.6288071e-001, + -4.8660979e+000, + -2.2931740e+000, + 2.7715418e-002, + 5.4364371e-001, + -7.2900639e+000, + -3.4354804e+000, + 4.1521415e-002, + -4.1588777e-001, + -1.0202123e+000, + -3.1676078e+000, + 1.2433602e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_251DCBFB +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_B5310CDA +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FC85DFA5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FC85DFA5 +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; + Size *= SizeCoeff * 0.5; +}"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_7CCAB84E +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_DA926919"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_F60975F5 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_BF02A15C"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_85CEED4F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_636925A6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0E815EBE"; + States = + { + "$LOCAL$/CParticleState_D5A5E559", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_BF02A15C +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/Distortion_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_85CEED4F +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0E815EBE +{ + Expression = "function void Eval() +{ + Life = 1; + Size = (2.1) * SizeSampler.sample(spawner.LifeRatio); + Color=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_D5A5E559 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_B7AA5290", + "$LOCAL$/Field_1", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_B7AA5290 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/Field_2", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_F60975F5"; + DurationInSeconds = 1.0000000e+000; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_89977E97 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_636925A6 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_1 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_EEFC4261"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EEFC4261 +{ + Times = + { + 0.0000000e+000, + 4.1160154e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0993826e+000, + 5.4569254e+000, + 6.0253983e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 5.8505158e+000, + 7.3664004e-001, + 1.0530521e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_2 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_3FC9F038"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3FC9F038 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.1714290e-001, + 1.0000000e+000, + }; + FloatValues = + { + 7.8505111e+000, + 7.8505111e+000, + 7.8505111e+000, + 7.8505111e+000, + 1.7778499e-001, + 1.7778499e-001, + 1.7778499e-001, + 1.7778499e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.0681872e+000, + -6.0681872e+000, + -6.0681872e+000, + -6.0681872e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisConcentration.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisConcentration.pkfx new file mode 100644 index 0000000..dd1971b --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisConcentration.pkfx @@ -0,0 +1,379 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 5.0000000e+000; + SpawnCount = 2.5000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F278CDC9", + "$LOCAL$/CParticleFieldDeclaration_A7BA2BC0", + "$LOCAL$/CParticleFieldDeclaration_C0D25583", + "$LOCAL$/CParticleFieldDeclaration_CE35A2ED", + "$LOCAL$/CParticleFieldDeclaration_6FF355B4", + "$LOCAL$/CParticleFieldDeclaration_C3E4D23E", + "$LOCAL$/CParticleFieldDeclaration_19CC9ED9", + "$LOCAL$/CParticleFieldDeclaration_AC3D2A13", + "$LOCAL$/CParticleFieldDeclaration_5D848897", + "$LOCAL$/CParticleFieldDeclaration_AEAB7A25", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9F4012DD", + "$LOCAL$/CParticleSamplerShape_DCDA413F", + "$LOCAL$/CParticleSamplerCurve_E9FDE14C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.75; + AngleAxis = normalize(float3(rand(-1,1),rand(-1,1),rand(-1,1))); + OrbitalCenter = TargetSphere.position(); + PosEnd = OrbitalCenter + (normalize(TargetSphere.samplePosition()) * 5); + Direction = (Position - PosEnd); + Distance = length(PosEnd - Position); + Position = OrbitalCenter + rotate(PosEnd, AngleAxis, Angle); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Script_1", + "$LOCAL$/Trail_1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_E53C1102", + "$LOCAL$/CParticleAttributeDeclaration_1292CA10", + "$LOCAL$/CParticleAttributeDeclaration_0272AC0C", + "$LOCAL$/CParticleAttributeDeclaration_08BD57EE", + "$LOCAL$/CParticleAttributeDeclaration_491ECDB3", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9F4012DD +{ + SamplerName = "SpawnSphere"; + Shape = "$LOCAL$/CShapeDescriptor_66C58C64"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_66C58C64 +{ + ShapeType = SPHERE; + Radius = 5.0000000e+000; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_F2BF698C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F2BF698C +{ + Expression = "function void Eval() +{ + Angle += AngleSpeed * dt; + Position = lerp(Position,OrbitalCenter + rotate(PosEnd, AngleAxis, Angle) * (1 - LifeRatio),0.3); + SpawnRate = SpawnRateSampler.sample(LifeRatio); +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_DCDA413F +{ + SamplerName = "TargetSphere"; + Shape = "$LOCAL$/CShapeDescriptor_A534496E"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_A534496E +{ + ShapeType = SPHERE; + Radius = 5.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F278CDC9 +{ + FieldName = "PosStart"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A7BA2BC0 +{ + FieldName = "PosEnd"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C0D25583 +{ + FieldName = "Direction"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E53C1102 +{ + AttributeName = "ConcentRateForce"; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CE35A2ED +{ + FieldName = "NormalDirection"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6FF355B4 +{ + FieldName = "Distance"; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + CustomName = "Spawner"; + SpawnMetric = Custom; + CustomSpawnMetricField = "SpawnRate"; + Descriptor = "$LOCAL$/CParticleDescriptor_6309D256"; +} +CParticleState $LOCAL$/CParticleState_C4F10C87 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_6309D256 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_A0B4016A"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A597BE49", + "$LOCAL$/CParticleFieldDeclaration_CF38D4F2", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_8CB8DE1A", + "$LOCAL$/CParticleSamplerCurve_E19575BF", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E68F14D1"; + States = + { + "$LOCAL$/CParticleState_C4F10C87", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E68F14D1 +{ + Expression = "function void Eval() +{ + Life = 0.5; + Size = 0.10; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_A0B4016A +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Ribbon"; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C3E4D23E +{ + FieldName = "NowDirection"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_19CC9ED9 +{ + FieldName = "AngleAxis"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1292CA10 +{ + AttributeName = "AngleSpeed"; + DefaultValueF4 = float4(4.1584153e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.5000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AC3D2A13 +{ + FieldName = "Angle"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_8CB8DE1A +{ + SamplerName = "SizeCurve"; + Times = + { + 0.0000000e+000, + 8.2827091e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 3.0405372e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_041569E5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_041569E5 +{ + Expression = "function void Eval() +{ + Size = SizeCurve.sample(LifeRatio) * SizeMagni; + Color = TintColor * PowCurve.sample(LifeRatio) * TintPow; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0272AC0C +{ + AttributeName = "TintPow"; + DefaultValueF4 = float4(7.8378401e+000, 1.0000000e+000, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E19575BF +{ + SamplerName = "PowCurve"; + Times = + { + 0.0000000e+000, + 2.8291702e-002, + 1.9063681e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 5.7045574e+000, + 3.4877751e+000, + -1.4527068e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_08BD57EE +{ + AttributeName = "TintColor"; + AttributeType = float3; + DefaultValueF4 = float4(1.1138610e-001, 9.6216220e-001, 3.3243239e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A597BE49 +{ + FieldName = "Color"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_491ECDB3 +{ + AttributeName = "SizeMagni"; + DefaultValueF4 = float4(1.4054060e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CF38D4F2 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5D848897 +{ + FieldName = "OrbitalCenter"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AEAB7A25 +{ + FieldName = "SpawnRate"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E9FDE14C +{ + SamplerName = "SpawnRateSampler"; + Times = + { + 0.0000000e+000, + 2.8090549e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.6880021e-003, + 1.6365580e-001, + 1.9539990e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 8.8721223e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisCrucibleBurst.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisCrucibleBurst.pkfx new file mode 100644 index 0000000..ce8975f --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisCrucibleBurst.pkfx @@ -0,0 +1,1674 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/CrackBranch", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/Frame", + "$LOCAL$/PreFlash", + "$LOCAL$/Flash", + "$LOCAL$/LightPole", + "$LOCAL$/Distortion", + "$LOCAL$/PreCircle", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + "$LOCAL$/CParticleAttributeDeclaration_88BB8542", + "$LOCAL$/CParticleAttributeDeclaration_56740C2D", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C7BD0385", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8FACC28C +{ + FieldName = "Timeb"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(2.7722779e-001, 1.8762376e+000, 3.9603961e-001, 1.7344180e-001); + MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E9BE2D1D +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F1A21305 +{ + CustomName = "Physics"; + Mass = 0.0000000e+000; +} +CActionFactoryParticleSpawnerBase $LOCAL$/CrackBranch +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_1DEAC189"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1DEAC189 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8FACC28C", + "$LOCAL$/CParticleFieldDeclaration_C9081B39", + "$LOCAL$/CParticleFieldDeclaration_28722F38", + "$LOCAL$/CParticleFieldDeclaration_E4021DE6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4669BE28"; + States = + { + "$LOCAL$/CParticleState_247F7DE2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4669BE28 +{ + Expression = "function void Eval() +{ + Life = rand(0.05,0.05); + Velocity=float3(0,0,0)*Scale; + SizeCoeff=Scale; + FluxScale=pow(Flux,0.5)*1*Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28722F38 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_247F7DE2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9AAE6F84", + "$LOCAL$/ert", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_4E3ECB6C +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F +{ + Expression = "function void Eval() +{ + Timeb += dt*SizeCoeff; + + int shouldChangeDirection = Timeb>0.01*SizeCoeff; + + float n = 60*SizeCoeff; + Velocity = select(Velocity, float3(rand(-n,n),0,rand(-n,n)), shouldChangeDirection); + Timeb = select(Timeb,0,shouldChangeDirection); // reset the \'should.pkangeDirection\' condition +} +"; +} +CParticleEvolver_Spawner $LOCAL$/ert +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_47893DF0"; +} +CParticleState $LOCAL$/CParticleState_65AD76F1 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F1A21305", + "$LOCAL$/CParticleEvolver_Script_403022B8", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_47893DF0 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_021C4C6A"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0B9A51ED", + "$LOCAL$/CParticleFieldDeclaration_366F0A1E", + "$LOCAL$/CParticleFieldDeclaration_BC9A45D6", + "$LOCAL$/CParticleFieldDeclaration_C223EA14", + "$LOCAL$/CParticleFieldDeclaration_B81A293A", + "$LOCAL$/CParticleFieldDeclaration_05190660", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_09C487E3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3"; + States = + { + "$LOCAL$/CParticleState_65AD76F1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0); + Life = 3; + float iSpawnerLR = 1 - spawner.LifeRatio; + BaseSize = 0.4*Scale * pow(iSpawnerLR, 0.5) * 0.2; + ColorCoeff = pow(Flux,4)*100*pow(iSpawnerLR, 2); + TextureID = rand(0,16); + Position = float3(0,0,0)*Scale; + CC = CustomColorRGBA * 1; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_23F2DF84 +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/NoisedLine.png"; + BillboardMode = SideAxisAligned; + AxisField = "Axis"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_403022B8 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_70F7169B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_70F7169B +{ + Expression = "function void Eval() +{ + Color = CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); + Size = BaseSize * GlobalSizeCurve.sample(LifeRatio); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C223EA14 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0B9A51ED +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C9081B39 +{ + FieldName = "SizeCoeff"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_366F0A1E +{ + FieldName = "TextureID"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(8.3468831e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9AAE6F84 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E9BE2D1D", + "$LOCAL$/CParticleEvolver_Script_4E3ECB6C", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BC9A45D6 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4021DE6 +{ + FieldName = "ParentColor"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_09C487E3 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 5.6967914e-002, + 8.5734576e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 4.3738329e-001, + 7.8732443e-001, + 8.5953772e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B81A293A +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C7BD0385 +{ + SamplerName = "GlobalSizeCurve"; + Times = + { + 0.0000000e+000, + 4.1777310e-001, + 5.0437367e-001, + 6.4856136e-001, + 7.3379391e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1830900e+001, + 2.2786690e+001, + 2.7557028e+002, + 1.7187576e+002, + 4.5565090e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.4870480e+001, + 3.0825162e+000, + 6.5286195e-001, + 1.0869976e+000, + -1.3543121e+002, + -8.0056412e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_821F762C +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_949EFA5F +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_882CE90E +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B9A815E9 +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05190660 +{ + FieldName = "BaseSize"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_021C4C6A +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_23F2DF84", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1351646B +{ + EditorInfosPosition = int2(25, 339); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_70719C1B", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_1CD7560A", + "$LOCAL$/CParticleSamplerShape_6ECA987C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7D7074DE"; + States = + { + "$LOCAL$/CParticleState_88B9A5F9", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_1CD7560A +{ + EditorInfosPosition = int2(-151, 367); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_C6084895"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_C6084895 +{ + EditorInfosPosition = int2(-247, 365); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 5.0000000e-001; + InnerRadius = 2.5000000e-001; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_6ECA987C +{ + EditorInfosPosition = int2(-149, 416); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_194CA2EF"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_194CA2EF +{ + EditorInfosPosition = int2(-241, 420); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 5.0000000e-001; + InnerRadius = 2.5000000e-001; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7D7074DE +{ + EditorInfosPosition = int2(-153, 300); + Expression = "function void Eval() +{ + Life = rand(0.1,0.1); + Position = PositionSampler.samplePosition() * spawner.LifeRatio; + Velocity = VelocitySampler.samplePosition() * spawner.LifeRatio; + float3 v = Velocity * (Throttle * rand(0.9,1.1)); + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Accel = float3(0,800,0); +}"; +} +CParticleState $LOCAL$/CParticleState_88B9A5F9 +{ + EditorInfosPosition = int2(-79, 590); + EditorInfosIsBlockMinimized = 0; + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_E292CFB0", + "$LOCAL$/CParticleEvolver_Spawner_05B4D033", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E292CFB0 +{ + EditorInfosPosition = int2(-249, 591); + CustomName = "Physics"; + Mass = 0.0000000e+000; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 10; + BounceRestitution = 3.0000001e-001; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_05B4D033 +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_7D2DC972"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7D2DC972 +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_C5648C1D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_E55ADEA4", + "$LOCAL$/CParticleFieldDeclaration_1F69D037", + "$LOCAL$/CParticleFieldDeclaration_0EBB07C6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_ED84BF01"; + States = + { + "$LOCAL$/CParticleState_B8A7D958", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_C5648C1D +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E55ADEA4 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1F69D037 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0EBB07C6 +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_ED84BF01 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_B8A7D958 +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_590C46FB", + "$LOCAL$/CParticleEvolver_Field_2733A3DA", + "$LOCAL$/CParticleEvolver_Field_6DC093CC", + "$LOCAL$/CParticleEvolver_Rotation_43B6D1AE", + "$LOCAL$/CParticleEvolver_Script_C5ADDB09", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_590C46FB +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_2733A3DA +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_29E0C2A5"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_29E0C2A5 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257950e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_6DC093CC +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_AB41987F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_AB41987F +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3849864e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888059e+000, + 5.4491077e+001, + 5.0249191e+001, + 6.4613003e-001, + 2.0553560e+000, + 3.8516720e+001, + 3.5025600e+001, + 6.2580532e-001, + 1.3330801e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6951137e+000, + -1.3702939e-004, + -1.1671032e+000, + -2.7337904e+000, + -1.7046227e+000, + -6.1781224e-002, + -1.0002245e+000, + -2.3428993e+000, + -1.4608870e+000, + -5.2947421e-002, + -4.2274657e-001, + -1.0370370e+000, + -3.2198474e+000, + 1.2638654e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_43B6D1AE +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_C5ADDB09 +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5DA1A200"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5DA1A200 +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; + Size *= SizeCoeff * 0.3; +}"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Frame +{ + EditorInfosPosition = int2(170, 355); + EditorInfosIsBlockMinimized = 0; + Delay = 5.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_1351646B"; + DurationInSeconds = 4.0000001e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.2000000e+001; + SpawnCountRelativeRandomDeviation = 9.6650624e-001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_88BB8542 +{ + AttributeName = "Throttle"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_56740C2D +{ + AttributeName = "ShakeAmplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EF247296 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3849864e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888062e+000, + 7.7745247e+001, + 7.3503357e+001, + 6.4612997e-001, + 2.0553560e+000, + 3.8516720e+001, + 3.5025604e+001, + 6.2580526e-001, + 1.3330803e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386294e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6951137e+000, + -1.3702939e-004, + -1.1671032e+000, + -2.7337904e+000, + -1.7046227e+000, + -6.1781224e-002, + -1.0002245e+000, + -2.3428993e+000, + -1.4608870e+000, + -5.2947421e-002, + -4.2274657e-001, + -1.0370370e+000, + -3.2198474e+000, + 1.2638654e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_24B21A11 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_EF247296"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/PreFlash +{ + EditorInfosIsBlockMinimized = 0; + Delay = 3.0000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_1E33C9A8"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1E33C9A8 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_5987DD12"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B3140DAA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B"; + States = + { + "$LOCAL$/CParticleState_7B7ECB1C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B +{ + Expression = "function void Eval() +{ + Life = 0.3; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B3140DAA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_194188B5 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleState $LOCAL$/CParticleState_7B7ECB1C +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_9F457A0F", + "$LOCAL$/Field_1", + "$LOCAL$/Field_2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9F457A0F +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/Field_1 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F8808A7E"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F8808A7E +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 7.0279993e-002, + 7.0279993e-002, + 7.0279993e-002, + 7.0279993e-002, + 5.1760054e-001, + -1.2630556e+000, + -2.4205606e-001, + -1.2630556e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_337A9C19"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_337A9C19 +{ + Times = + { + 0.0000000e+000, + 5.7104397e-001, + 1.0000000e+000, + }; + FloatValues = + { + 7.2441397e+000, + 6.0743637e+000, + 8.9722443e-001, + }; + FloatTangents = + { + 0.0000000e+000, + -1.8714930e-001, + -2.6844974e+000, + -2.0165372e+000, + -1.8352952e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_5987DD12 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_194188B5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EB06C381 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_1E17F7D8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3CDA2A4C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF"; + States = + { + "$LOCAL$/CParticleState_1322942E", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_1E17F7D8 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_8197877B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_8197877B +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3CDA2A4C +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF +{ + Expression = "function void Eval() +{ + Life = 0.7; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleState $LOCAL$/CParticleState_1322942E +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B04B8F89", + "$LOCAL$/CParticleEvolver_Field_537F3080", + "$LOCAL$/CParticleEvolver_Field_E5657FC2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B04B8F89 +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_537F3080 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_83855943"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_83855943 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0350089e-001, + 1.9090381e-001, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 1.6533300e+001, + 2.4095961e+001, + 1.6533300e+001, + 1.6533300e+001, + 3.8750023e-002, + 3.8750023e-002, + 3.8750023e-002, + 3.8750023e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 7.2740410e-003, + 7.2740410e-003, + 7.2740410e-003, + 7.2740410e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 4.1878864e-001, + -1.0219334e+000, + -1.9584665e-001, + -1.0219334e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E5657FC2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F39058AD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F39058AD +{ + Times = + { + 0.0000000e+000, + 5.7712775e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.3825042e-001, + 2.8690326e+000, + 3.1924534e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.8815391e+000, + 1.0050454e+000, + 7.3641545e-001, + -9.5801562e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + EditorInfosIsBlockMinimized = 0; + Delay = 5.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_EB06C381"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E67D7CCD +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_D7E94514"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D7FBFF67", + "$LOCAL$/CParticleFieldDeclaration_72044EB6", + "$LOCAL$/CParticleFieldDeclaration_9C8318B1", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_07E35CC8"; + States = + { + "$LOCAL$/CParticleState_A013572B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_D7E94514 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/flare.png"; + BillboardMode = VelocitySpheroidalAlign; + AxisField = "Axis"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D7FBFF67 +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_72044EB6 +{ + FieldName = "Strength"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9C8318B1 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_07E35CC8 +{ + Expression = "function void Eval() +{ + Life = 1.5; + Size = 0.00; + Position = 0; + Axis = float3(0,1,0) * Strength; +}"; +} +CParticleState $LOCAL$/CParticleState_A013572B +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_F185729E", + "$LOCAL$/CParticleEvolver_Script_BAB2DFCA", + "$LOCAL$/CParticleEvolver_Field_B736243C", + "$LOCAL$/CParticleEvolver_Field_D2F32F70", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BAB2DFCA +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_82A1B555"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_82A1B555 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0) * Strength * 50; + Strength = Strength; + Size = Scale*0.02 * GlobalSizeCurve.sample(LifeRatio); +}"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_B736243C +{ + CustomName = "Field"; + Name = "Strength"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_A5D539AF"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A5D539AF +{ + Times = + { + 0.0000000e+000, + 1.7875880e-001, + 6.4207667e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.2506409e-001, + 2.6848431e+001, + 2.3227060e+001, + 2.0530760e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.9337951e-001, + -4.0330389e-001, + -2.2301891e+000, + -1.7228700e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_F185729E +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_368F96B9"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_368F96B9 +{ + Times = + { + 0.0000000e+000, + 2.0247516e-001, + 3.2290432e-001, + 4.7881454e-001, + 6.4916664e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 6.4882517e-002, + 9.8659448e-002, + 4.8528183e-001, + 6.0317144e-003, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.2722742e-002, + -4.5073226e-002, + 1.7790599e-002, + 2.0852409e-002, + 1.6193686e-004, + 1.7938390e-003, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_D2F32F70 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_7028CAF3"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_7028CAF3 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 4.9469480e-001, + 5.0428569e-001, + 8.8362122e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.9679679e-001, + 2.2810459e+000, + 6.3615322e-001, + 4.6265790e-001, + 1.5394890e-001, + 1.5394890e-001, + 1.5394890e-001, + 1.5394890e-001, + 4.2688489e-001, + 4.2229891e-001, + 4.2688489e-001, + 4.2688489e-001, + 9.1850501e-001, + 9.4429121e+000, + 9.1850501e-001, + 9.1850501e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.1179672e+000, + 9.9798059e-001, + 1.1179672e+000, + 1.1179672e+000, + 3.4298837e-001, + 3.0617687e-001, + 3.4298837e-001, + 3.4298837e-001, + 6.5744799e-001, + 2.8545097e+001, + 6.5744799e-001, + 6.5744799e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/LightPole +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_E67D7CCD"; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 2.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_3A4409B3 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6468C0F2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_60B7199D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5231BA24", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_34D411B7"; + States = + { + "$LOCAL$/CParticleState_12E9A746", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6468C0F2 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/DistortionCircle_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_60B7199D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5231BA24 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_34D411B7 +{ + Expression = "function void Eval() +{ + Life = 1.5; + Size = (2.1) * SizeSampler.sample(spawner.LifeRatio); + Color=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_12E9A746 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_31801481", + "$LOCAL$/CParticleEvolver_Field_0BE16B5A", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_31801481 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Field_5B731CD8", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5B731CD8 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6FCF107B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6FCF107B +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.3073971e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.1607528e+000, + 4.1607528e+000, + 4.1607528e+000, + 4.1607528e+000, + 8.0495012e-001, + 8.0495012e-001, + 8.0495012e-001, + 8.0495012e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.6272678e+000, + -6.6272678e+000, + -6.6272678e+000, + -6.6272678e+000, + -1.0692785e+000, + -1.0692785e+000, + -1.0692785e+000, + -1.0692785e+000, + -2.1637137e+000, + -2.1637137e+000, + -2.1637137e+000, + -2.1637137e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0BE16B5A +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_93366025"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_93366025 +{ + Times = + { + 0.0000000e+000, + 4.3301004e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0993826e+000, + 3.6439538e+000, + 4.2124267e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8975307e-001, + 7.7495468e-001, + 1.0147374e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Distortion +{ + EditorInfosIsBlockMinimized = 0; + Delay = 5.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_3A4409B3"; + DurationInSeconds = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_70719C1B +{ + FieldName = "Accel"; + FieldType = float3; +} +CActionFactoryParticleSpawnerBase $LOCAL$/PreCircle +{ + Descriptor = "$LOCAL$/CParticleDescriptor_16031836"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_16031836 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_12DC8882"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_EC2E82AB", + "$LOCAL$/CParticleFieldDeclaration_7A7B153B", + "$LOCAL$/CParticleFieldDeclaration_39C5750C", + "$LOCAL$/CParticleFieldDeclaration_D51BB06D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_D38FB14A"; + States = + { + "$LOCAL$/CParticleState_8EEE24D5", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_EC2E82AB +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7A7B153B +{ + FieldName = "Size"; + FieldType = float2; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_39C5750C +{ + FieldName = "Axis1"; + FieldType = float3; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_D38FB14A +{ + Expression = "function void Eval() +{ + Life = 0.5; + Size = 1; + //Velocity = scene.axisUp(); + Color = float4(1.0); + Position = float3(0,0.05 + + ,0); + Axis1=float3(0,0,1); + Axis2=float3(0,1,0); +} +"; +} +CParticleState $LOCAL$/CParticleState_8EEE24D5 +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_03BB89BC", + "$LOCAL$/Script_1", + "$LOCAL$/Field_3", + "$LOCAL$/Field_4", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_03BB89BC +{ + CustomName = "Physics"; + VelocityField = ""; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_238B72BF"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_238B72BF +{ + Expression = "function void Eval() +{ +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_12DC8882 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_03.dds"; + BillboardMode = PlanarAlignedQuad; + AxisField = "Axis1"; + Axis2Field = "Axis2"; + AxisScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D51BB06D +{ + FieldName = "Axis2"; + FieldType = float3; +} +CParticleEvolver_Field $LOCAL$/Field_3 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_9E23B134"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9E23B134 +{ + ValueType = Float2; + Times = + { + 0.0000000e+000, + 1.3091832e-001, + 7.3046273e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0225151e+000, + 1.0225151e+000, + 2.5877144e+000, + 2.5877144e+000, + 1.8079553e+000, + 1.8079553e+000, + 1.0036095e+000, + 1.0036095e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -5.2956653e-001, + -5.2956653e-001, + -2.4251657e+000, + -2.4251657e+000, + -1.1853865e+000, + -1.1853865e+000, + -5.3291440e-001, + -5.3291440e-001, + -1.7510853e+000, + -1.7510853e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_4 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_21F2CE07"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_21F2CE07 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.9999692e-001, + 7.2258866e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.8859072e-003, + 9.8859072e-003, + 9.8859072e-003, + 9.8859072e-003, + 4.9870867e-001, + 1.7447273e+000, + 3.7042022e-001, + 3.7042022e-001, + 6.1466491e-001, + 1.8547839e+000, + 4.1795635e-001, + 4.1795635e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 5.3340995e-001, + 5.3340995e-001, + 5.3340995e-001, + 5.3340995e-001, + 1.3536827e-001, + 0.0000000e+000, + 1.3536827e-001, + 1.3536827e-001, + 3.5371715e-001, + 0.0000000e+000, + 3.5371715e-001, + 3.5371715e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.0357530e-001, + -9.0357530e-001, + -9.0357530e-001, + -9.0357530e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisGroundCrack.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisGroundCrack.pkfx new file mode 100644 index 0000000..3c9f20c --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisGroundCrack.pkfx @@ -0,0 +1,654 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/CrackBranch", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/Crack", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9AEE5ABD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_168DE691 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_216E6F10"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_216E6F10 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 2); + Size = (0.05 * Scale) * GlobalSizeCurve.sample(LifeRatio); +} +"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C7BD0385", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Crack +{ + Descriptor = "$LOCAL$/CParticleDescriptor_7C46C5E9"; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.2000000e+001; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7C46C5E9 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AA0A7EFA", + "$LOCAL$/CParticleFieldDeclaration_2832E92E", + "$LOCAL$/CParticleFieldDeclaration_668C5BD9", + "$LOCAL$/CParticleFieldDeclaration_7EA25C67", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3F5A22F7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A99F3108"; + States = + { + "$LOCAL$/CParticleState_4C8B87C2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A99F3108 +{ + Expression = "function void Eval() +{ + Life = 0.3; + Position = DropSampler.samplePosition(); + Velocity = Scale*safe_normalize(Position - DropSampler.position())*30; + SizeCoeff = Scale; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)) * 0; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_668C5BD9 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_4C8B87C2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_081972C0", + "$LOCAL$/death", + "$LOCAL$/base", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C1D98F7D +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8FACC28C +{ + FieldName = "Timeb"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(2.9207921e-001, 2.0000000e+000, 1.0396040e-001, 1.7344180e-001); + MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_104D4D29 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_BF861E68"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9AEE5ABD", + "$LOCAL$/CParticleFieldDeclaration_BB297115", + "$LOCAL$/CParticleFieldDeclaration_42AA1C4F", + "$LOCAL$/CParticleFieldDeclaration_BD2FCDD3", + "$LOCAL$/CParticleFieldDeclaration_B334DEDB", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_37052329", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3F389B48"; + States = + { + "$LOCAL$/CParticleState_6B8B6DDE", + }; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_7A8041A7 +{ + EventName = "OnDeath"; + EventAction = "$LOCAL$/CrackBranch"; +} +CParticleState $LOCAL$/CParticleState_6B8B6DDE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B91A4402", + "$LOCAL$/CParticleEvolver_Script_168DE691", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BC1951CA +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7AF25165"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7AF25165 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.025; + float n = 60 * SizeCoeff; + Velocity = lerp(select(Velocity,float3(SizeCoeff*rand(-1,1)*100,0,SizeCoeff*rand(-1,1)*100),shouldSpawnBranch),Velocity,0.9); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E9BE2D1D +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B91A4402 +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F1A21305 +{ + CustomName = "Physics"; + Mass = 0.0000000e+000; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5E0F683 +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/NoisedLine.png"; + BillboardMode = SideAxisAligned; + AxisField = "Axis"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AA0A7EFA +{ + FieldName = "Timeb"; +} +CParticleEvolver_Spawner $LOCAL$/base +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 3.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_104D4D29"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3F389B48 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0); + Life = 2; + Size = 0.05 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = CustomColorRGBA * 1; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/death +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_CD6A0035"; +} +CParticleState $LOCAL$/CParticleState_91BC2CDA +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_D33971BE", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CD6A0035 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_59D07FA1", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_7A8041A7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C095B224"; + States = + { + "$LOCAL$/CParticleState_91BC2CDA", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C095B224 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = CustomColorRGBA; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D33971BE +{ + CustomName = "Physics"; + Mass = 0.0000000e+000; +} +CActionFactoryParticleSpawnerBase $LOCAL$/CrackBranch +{ + Descriptor = "$LOCAL$/CParticleDescriptor_1DEAC189"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1DEAC189 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8FACC28C", + "$LOCAL$/CParticleFieldDeclaration_C9081B39", + "$LOCAL$/CParticleFieldDeclaration_28722F38", + "$LOCAL$/CParticleFieldDeclaration_E4021DE6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4669BE28"; + States = + { + "$LOCAL$/CParticleState_247F7DE2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4669BE28 +{ + Expression = "function void Eval() +{ + Life = rand(0.05,0.05); + Velocity=float3(0,0,0)*Scale; + SizeCoeff=Scale; + FluxScale=pow(Flux,0.5)*1*Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28722F38 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_247F7DE2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9AAE6F84", + "$LOCAL$/ert", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_4E3ECB6C +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F +{ + Expression = "function void Eval() +{ + Timeb += dt*SizeCoeff; + + int shouldChangeDirection = Timeb>0.01*SizeCoeff; + + float n = 60*SizeCoeff; + Velocity = select(Velocity, float3(rand(-n,n),0,rand(-n,n)), shouldChangeDirection); + Timeb = select(Timeb,0,shouldChangeDirection); // reset the \'should.pkangeDirection\' condition +} +"; +} +CParticleEvolver_Spawner $LOCAL$/ert +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_47893DF0"; +} +CParticleState $LOCAL$/CParticleState_65AD76F1 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F1A21305", + "$LOCAL$/CParticleEvolver_Script_403022B8", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_47893DF0 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_021C4C6A"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0B9A51ED", + "$LOCAL$/CParticleFieldDeclaration_366F0A1E", + "$LOCAL$/CParticleFieldDeclaration_BC9A45D6", + "$LOCAL$/CParticleFieldDeclaration_C223EA14", + "$LOCAL$/CParticleFieldDeclaration_B81A293A", + "$LOCAL$/CParticleFieldDeclaration_05190660", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_09C487E3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3"; + States = + { + "$LOCAL$/CParticleState_65AD76F1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3 +{ + Expression = "function void Eval() +{ + Axis = float3(0,1,0); + Life = 2; + float iSpawnerLR = 1 - spawner.LifeRatio; + BaseSize = 0.4*Scale * pow(iSpawnerLR, 0.5) * 0.2; + ColorCoeff = pow(Flux,4)*100*pow(iSpawnerLR, 2); + TextureID = rand(0,16); + Position = float3(0,0,0)*Scale; + CC = CustomColorRGBA * 1; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_23F2DF84 +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/NoisedLine.png"; + BillboardMode = SideAxisAligned; + AxisField = "Axis"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_403022B8 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_70F7169B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_70F7169B +{ + Expression = "function void Eval() +{ + Color = CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); + Size = BaseSize * GlobalSizeCurve.sample(LifeRatio); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C223EA14 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0B9A51ED +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C9081B39 +{ + FieldName = "SizeCoeff"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2832E92E +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_366F0A1E +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BB297115 +{ + FieldName = "TextureID"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(8.3468831e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_081972C0 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_C1D98F7D", + "$LOCAL$/CParticleEvolver_Script_BC1951CA", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9AAE6F84 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E9BE2D1D", + "$LOCAL$/CParticleEvolver_Script_4E3ECB6C", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42AA1C4F +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BC9A45D6 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BD2FCDD3 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4021DE6 +{ + FieldName = "ParentColor"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_59D07FA1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3F5A22F7 +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_EE347186"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_EE347186 +{ + ShapeType = CYLINDER; + Radius = 2.0000000e-001; + InnerRadius = 2.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_37052329 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 3.9882757e-002, + 7.1488075e-002, + 7.9634374e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 6.6010171e-001, + 1.6563272e-001, + 2.7241680e-001, + 1.5209470e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_09C487E3 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 6.4110816e-002, + 8.6448866e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 5.9643149e-001, + 9.4637269e-001, + 8.5953772e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B334DEDB +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B81A293A +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7EA25C67 +{ + FieldName = "NextBranchTime"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C7BD0385 +{ + SamplerName = "GlobalSizeCurve"; + Times = + { + 0.0000000e+000, + 6.9348741e-001, + 7.7400190e-001, + 8.9076090e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1830896e+001, + 2.2051985e+001, + 1.4963507e+002, + 2.0001369e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 2.4684429e+001, + 2.8658836e+000, + 6.0698044e-001, + 8.8021964e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_821F762C +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_949EFA5F +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_882CE90E +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B9A815E9 +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05190660 +{ + FieldName = "BaseSize"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_BF861E68 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_E5E0F683", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_021C4C6A +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_23F2DF84", + }; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisHormingShot.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisHormingShot.pkfx new file mode 100644 index 0000000..5dcb28c --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisHormingShot.pkfx @@ -0,0 +1,550 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Trail", + "$LOCAL$/Spark", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_B1F5EDB1", + "$LOCAL$/CParticleAttributeDeclaration_0F3455C8", + "$LOCAL$/CParticleAttributeDeclaration_FEA2D0CA", + "$LOCAL$/CParticleAttributeDeclaration_84958DCF", + "$LOCAL$/CParticleAttributeDeclaration_C515E1D9", + "$LOCAL$/CParticleAttributeDeclaration_EF71D2B2", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(9.6534699e-002, 1.0000000e+000, 1.6336630e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D62E0EDF +{ + FieldName = "Energy"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F51E30B +{ + FieldName = "Energy"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_52633D9B +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5648EFA"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AAC07C45", + "$LOCAL$/CParticleFieldDeclaration_F8F7FDEC", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F", + "$LOCAL$/CParticleSamplerCurve_11D402CE", + "$LOCAL$/CParticleSamplerCurve_45CB442B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9"; + States = + { + "$LOCAL$/CParticleState_2A5FA220", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5648EFA +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AAC07C45 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F8F7FDEC +{ + FieldName = "ColorScale"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F +{ + SamplerName = "Turb"; + Wavelength = 2.5000000e-001; + Strength = 5.0000001e-002; + Gain = 1.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_11D402CE +{ + SamplerName = "Fade"; + Times = + { + 0.0000000e+000, + 4.9999997e-002, + 3.9999998e-001, + 5.9999996e-001, + 9.4999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9 +{ + Expression = "function void PostEval() +{ + Life = TrailLife; + Size = 0.05 * TrailSize; + Velocity = Turb.sample(Position) * TrailVelocityScaler; + Position += Velocity * 0.05; + ColorScale = 1; +} +"; +} +CParticleState $LOCAL$/CParticleState_2A5FA220 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7FEFDB63", + "$LOCAL$/CParticleEvolver_Field_A8A31C62", + "$LOCAL$/CParticleEvolver_Script_E5FB0E14", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7FEFDB63 +{ + CustomName = "Physics"; + Drag = 1.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_A8A31C62 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_26B9E1CD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_26B9E1CD +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.9999994e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 8.7402363e+000, + 4.4445987e+000, + 1.0468085e+001, + 9.9948126e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.4010613e-002, + -1.0760010e+000, + -7.6663963e-002, + -7.3198671e-003, + -5.7609558e-001, + -9.6840105e+000, + -6.8997574e-001, + -6.5878808e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_E5FB0E14 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_481CFC67"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_481CFC67 +{ + Expression = "function void Eval() +{ + Color = (RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),Power); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Trail +{ + Descriptor = "$LOCAL$/CParticleDescriptor_52633D9B"; + Infinite = true; + SpawnCount = 1.2800000e+002; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B1F5EDB1 +{ + AttributeName = "TrailVelocityScaler"; + DefaultValueF4 = float4(3.5608298e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0F3455C8 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_45CB442B +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 2.8418908e+000, + 8.1062841e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8915182e-002, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FEA2D0CA +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_010DD88C +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6C01DC3F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2856806E", + "$LOCAL$/CParticleFieldDeclaration_119BD0C9", + "$LOCAL$/CParticleFieldDeclaration_FB47EAC0", + "$LOCAL$/CParticleFieldDeclaration_63838083", + "$LOCAL$/CParticleFieldDeclaration_7623C910", + "$LOCAL$/CParticleFieldDeclaration_DE6392D5", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802", + "$LOCAL$/CParticleSamplerCurve_2204493E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED"; + States = + { + "$LOCAL$/CParticleState_545764B4", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6C01DC3F +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2856806E +{ + FieldName = "Rotation"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_119BD0C9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB47EAC0 +{ + FieldName = "SizeFactor"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_63838083 +{ + FieldName = "ColorFactor"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802 +{ + SamplerName = "Turb"; + Strength = 7.0710677e-001; + Lacunarity = 1.6425119e-001; + Gain = 2.8502420e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED +{ + Expression = "function void PostEval() +{ + Life = remap(pow(rand(0,1), 4), 0, 1, 0.2, 1.5); + SizeFactor = rand(0.007, 0.01) * ParticleScale; + ColorFactor = remap(pow(rand(0,1),8), 0, 1, 0.5, 3); + + float vScale = pow(saturate(5), 0.5); + float3 rVel = vrand() * 5; + float3 tVel = Turb.sample(Position); + Velocity = (rVel + tVel) * 0.2;// * remap(noise(parent.LifeRatio * 20 + scene.Time), -1, 1, 0.03, 0.1); + Rotation = rand(-pi, pi); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.y),rand(0,RandomRGB.z)); +} +"; +} +CParticleState $LOCAL$/CParticleState_545764B4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_530EC787", + "$LOCAL$/CParticleEvolver_Field_574CA956", + "$LOCAL$/CParticleEvolver_Field_35E45A68", + "$LOCAL$/CParticleEvolver_Script_5405A86A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_530EC787 +{ + CustomName = "Physics"; + Mass = -1.0000000e+000; + Drag = 5.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_574CA956 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_E70F37D1"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E70F37D1 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.7447720e+000, + 4.5880709e+000, + 1.0473518e+001, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0970583e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_35E45A68 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56A3554B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56A3554B +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -3.4636030e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5405A86A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75 +{ + Expression = "function void Eval() +{ + Size *= SizeFactor * 2; + Color *= (RGB.xyz1 + RandomedRGB.xyz1) * GlowCurve.sample(LifeRatio) * pow(Power,1); + Force = Turb.sample(LifeRatio) * 5 * LifeRatio; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Spark +{ + Descriptor = "$LOCAL$/CParticleDescriptor_010DD88C"; + Infinite = true; + SpawnCount = 1.2800000e+002; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_84958DCF +{ + AttributeName = "ParticleScale"; + DefaultValueF4 = float4(2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2204493E +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 9.8354541e-002, + 2.1165061e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.5340417e-001, + 2.4170661e-001, + -1.3308048e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.0102851e-002, + -6.2696373e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C515E1D9 +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(2.7837840e-001, 1.0000000e+000, 4.2432430e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7623C910 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DE6392D5 +{ + FieldName = "Force"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF71D2B2 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(4.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisMiniBurst.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisMiniBurst.pkfx new file mode 100644 index 0000000..276a8d2 --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisMiniBurst.pkfx @@ -0,0 +1,719 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_BBAF8D7F", + "$LOCAL$/CParticleAttributeDeclaration_B6116AAE", + "$LOCAL$/CParticleAttributeDeclaration_89977E97", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_BBAF8D7F +{ + AttributeName = "Throttle"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B6116AAE +{ + AttributeName = "ShakeAmplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_DA926919 +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_21CB4150"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_E5575253", + "$LOCAL$/CParticleFieldDeclaration_C8036612", + "$LOCAL$/CParticleFieldDeclaration_CC06153D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_2F088E44"; + States = + { + "$LOCAL$/CParticleState_19EB6857", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_21CB4150 +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E5575253 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C8036612 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC06153D +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2F088E44 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_19EB6857 +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_2DB27266", + "$LOCAL$/CParticleEvolver_Field_DCE52E21", + "$LOCAL$/CParticleEvolver_Field_9CCA151B", + "$LOCAL$/CParticleEvolver_Rotation_38CC37C5", + "$LOCAL$/CParticleEvolver_Script_DB489F6C", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_2DB27266 +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_DCE52E21 +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56EB66F8"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56EB66F8 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257950e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_9CCA151B +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_2B607C7A"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2B607C7A +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.4149234e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888059e+000, + 7.0672668e+001, + 6.6430779e+001, + 6.4613003e-001, + 2.0553560e+000, + 5.9162189e+001, + 5.5671070e+001, + 6.2580532e-001, + 1.3330801e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.7045374e+000, + -1.3779118e-004, + -1.1735915e+000, + -2.7489886e+000, + -1.7140994e+000, + -6.2124688e-002, + -9.9373609e-001, + -2.3277011e+000, + -1.4514103e+000, + -5.2603956e-002, + -4.2000425e-001, + -1.0303099e+000, + -3.1989605e+000, + 1.2556669e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_38CC37C5 +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_DB489F6C +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FB3EBC9F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FB3EBC9F +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; + Size *= SizeCoeff * 0.5; +}"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(170, 355); + Descriptor = "$LOCAL$/CParticleDescriptor_0CE1E254"; + DurationInSeconds = 2.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.0000000e+000; + SpawnCountRelativeRandomDeviation = 9.6650624e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_0CE1E254 +{ + EditorInfosPosition = int2(25, 339); + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3A2645A7", + "$LOCAL$/CParticleSamplerShape_3A0ADCF1", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7C93296B"; + States = + { + "$LOCAL$/CParticleState_3BA9FF0A", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3A2645A7 +{ + EditorInfosPosition = int2(-151, 367); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_9FFCF1F6"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_9FFCF1F6 +{ + EditorInfosPosition = int2(-247, 365); + Position = float3(0.0000000e+000, -7.6473951e-003, 0.0000000e+000); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 7.5000000e-001; + InnerRadius = 5.0000000e-001; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3A0ADCF1 +{ + EditorInfosPosition = int2(-149, 416); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_A3A85608"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_A3A85608 +{ + EditorInfosPosition = int2(-241, 420); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 7.5000000e-001; + InnerRadius = 5.0000000e-001; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7C93296B +{ + EditorInfosPosition = int2(-153, 300); + Expression = "function void Eval() +{ + Life = rand(0.1,0.1); + Position = PositionSampler.samplePosition() * spawner.LifeRatio; + Velocity = VelocitySampler.samplePosition() * spawner.LifeRatio; + float3 v = Velocity * (Throttle * rand(0.9,1.1)); + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_3BA9FF0A +{ + EditorInfosPosition = int2(-79, 590); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_A38BA595", + "$LOCAL$/CParticleEvolver_Spawner_C7B2B97C", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A38BA595 +{ + EditorInfosPosition = int2(-249, 591); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -4.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e+001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 10; + BounceRestitution = 3.0000001e-001; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_C7B2B97C +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_1F56D7EF"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1F56D7EF +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_4B7C4DDE"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2C55F2F9", + "$LOCAL$/CParticleFieldDeclaration_2E0EA0B0", + "$LOCAL$/CParticleFieldDeclaration_D3047533", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0833D272"; + States = + { + "$LOCAL$/CParticleState_7F6EC91D", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_4B7C4DDE +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C55F2F9 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2E0EA0B0 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D3047533 +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0833D272 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_7F6EC91D +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_DFE35FA4", + "$LOCAL$/CParticleEvolver_Field_7D6BE537", + "$LOCAL$/CParticleEvolver_Field_29C1EC01", + "$LOCAL$/CParticleEvolver_Rotation_251DCBFB", + "$LOCAL$/CParticleEvolver_Script_B5310CDA", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_DFE35FA4 +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_7D6BE537 +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F62C40C6"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F62C40C6 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257950e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_29C1EC01 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_A6E60A58"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A6E60A58 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.4604208e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888059e+000, + 3.5003284e+001, + 3.0761395e+001, + 6.4613003e-001, + 2.0553560e+000, + 2.3492809e+001, + 2.0001688e+001, + 6.2580532e-001, + 1.3330801e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.7188592e+000, + -1.3894893e-004, + -1.1834522e+000, + -2.7720861e+000, + -1.7285017e+000, + -6.2646672e-002, + -9.8387510e-001, + -2.3046031e+000, + -1.4370079e+000, + -5.2081969e-002, + -4.1583651e-001, + -1.0200862e+000, + -3.1672170e+000, + 1.2432069e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_251DCBFB +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_B5310CDA +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_FC85DFA5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FC85DFA5 +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; + Size *= SizeCoeff * 0.5; +}"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_7CCAB84E +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_DA926919"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_F60975F5 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_BF02A15C"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_85CEED4F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_636925A6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0E815EBE"; + States = + { + "$LOCAL$/CParticleState_D5A5E559", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_BF02A15C +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/Distortion_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_85CEED4F +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0E815EBE +{ + Expression = "function void Eval() +{ + Life = 1; + Size = (2.1) * SizeSampler.sample(spawner.LifeRatio); + Color=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_D5A5E559 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_B7AA5290", + "$LOCAL$/Field_2", + "$LOCAL$/Field_1", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_B7AA5290 +{ + CustomName = "Localspace"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_F60975F5"; + DurationInSeconds = 1.0000000e+000; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_89977E97 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_636925A6 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_1 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_EEFC4261"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EEFC4261 +{ + Times = + { + 0.0000000e+000, + 4.0854812e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0993826e+000, + 3.0950603e+000, + 3.6635315e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.8929806e+000, + 7.3117536e-001, + 1.0585167e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_2 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_3FC9F038"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3FC9F038 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.1714290e-001, + 1.0000000e+000, + }; + FloatValues = + { + 8.0094452e+000, + 8.0094452e+000, + 8.0094452e+000, + 8.0094452e+000, + 1.7778499e-001, + 1.7778499e-001, + 1.7778499e-001, + 1.7778499e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.4659023e+001, + -1.4659023e+001, + -1.4659023e+001, + -1.4659023e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisPenetrateShot.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisPenetrateShot.pkfx new file mode 100644 index 0000000..4c31b29 --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisPenetrateShot.pkfx @@ -0,0 +1,1175 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 6.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8ED4ECCD", + "$LOCAL$/CParticleFieldDeclaration_7BA8472B", + "$LOCAL$/CParticleFieldDeclaration_49559E58", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_3", + "$LOCAL$/Layer_4", + "$LOCAL$/Layer_5", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = 1; + Life = BranchLength; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Trail_1", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + IntegrationDtTreshold = 2.0000001e-003; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_413490CC", + "$LOCAL$/CParticleAttributeDeclaration_FE4FC301", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e-001, 7.8918922e-001, 4.4864860e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8ED4ECCD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + CustomName = "Spawner"; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_EC6BEF67"; +} +CParticleState $LOCAL$/CParticleState_A25D7514 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_07A88CC8", + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EC6BEF67 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_34193718"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A2FF29AF", + "$LOCAL$/CParticleFieldDeclaration_5456B137", + "$LOCAL$/CParticleFieldDeclaration_62EDB30F", + "$LOCAL$/CParticleFieldDeclaration_5A6C4556", + "$LOCAL$/CParticleFieldDeclaration_7E9903D1", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_E43E0316", + "$LOCAL$/CParticleSamplerDoubleCurve_80B4C0F1", + "$LOCAL$/CParticleSamplerProceduralTurbulence_4CE60A08", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6"; + States = + { + "$LOCAL$/CParticleState_A25D7514", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6 +{ + Expression = "function void Eval() +{ + Life = (parent.BranchLength-spawner.LifeRatio*parent.BranchLength) * 2; + Size = rand(0.025,0.05) * 0.5; + Velocity=parent.Vrand*+vrand()*7.5; + ParentVelocity = Velocity; + TextureID = rand(0,16); + VRand = rand(0,99); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_07A88CC8 +{ + CustomName = "Physics"; + Drag = 1.0000000e+001; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_00FC543C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_00FC543C +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Force = GlowTurb.sample(VRand * (LifeRatio * 0.1)) * 3; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A2FF29AF +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5456B137 +{ + FieldName = "ParentVelocity"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_413490CC +{ + AttributeName = "Power"; + DefaultValueF4 = float4(1.5000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E43E0316 +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 8.9328818e-002, + 1.2633452e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0203243e+000, + 6.4178073e-001, + -1.2389421e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.6671433e-001, + -6.9063723e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_4CE60A08 +{ + SamplerName = "GlowTurb"; + GlobalScale = 5.0000000e-001; + Wavelength = 2.0000000e-001; + Strength = 1.0000000e+000; + Lacunarity = 1.0000000e+000; + Gain = 1.0000000e+000; + TimeScale = 6.0000000e+000; + FlowFactor = -3.7681162e-001; + DivergenceFactor = -7.0531404e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_62EDB30F +{ + FieldName = "TextureID"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_34193718 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_3138F387", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_42CC4806 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8192E441", + "$LOCAL$/CParticleFieldDeclaration_9D524798", + "$LOCAL$/CParticleFieldDeclaration_05F4323B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5338501A"; + States = + { + "$LOCAL$/CParticleState_CDF0C3E5", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8192E441 +{ + FieldName = "VRAND"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9D524798 +{ + FieldName = "LENGTH"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05F4323B +{ + FieldName = "SCALE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5338501A +{ + Expression = "function void Eval() +{ + Life = 1; + + VRAND=vrand()*rand(0.5,1); + + LENGTH=select(rand(0.5,1),rand(0.5,1),ninja<0.05); + + SCALE=rand(0.25,0.3); +} +"; +} +CParticleState $LOCAL$/CParticleState_CDF0C3E5 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_EB640E0C", + "$LOCAL$/RIbbonSpawner", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_EB640E0C +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_94D17FBF", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_94D17FBF +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/RIbbonSpawner +{ + CustomName = "Spawner"; + SpawnInterval = 6.0000002e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_CBF2F849"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CBF2F849 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_8CD26840"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_95F90C03", + "$LOCAL$/CParticleFieldDeclaration_7DF5C982", + "$LOCAL$/CParticleFieldDeclaration_F29D856D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_372FAA34", + "$LOCAL$/CParticleSamplerCurve_9D569D9D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_8E81BB07"; + States = + { + "$LOCAL$/CParticleState_0AF8E2D6", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_8CD26840 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Trail_01.dds"; + TextureUField = "LifeRatio"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_95F90C03 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7DF5C982 +{ + FieldName = "VStart"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F29D856D +{ + FieldName = "VelocityField"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_372FAA34 +{ + SamplerName = "Curve_0"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_8E81BB07 +{ + Expression = "function void Eval() +{ + Life = parent.LENGTH; + + Size = parent.SCALE; + VStart=parent.VRAND*30; + Velocity = VStart; +} +"; +} +CParticleState $LOCAL$/CParticleState_0AF8E2D6 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7D2B2F51", + "$LOCAL$/Script_3", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7D2B2F51 +{ + CustomName = "Physics"; + Drag = 5.0000000e+001; + IntegrationStrategy = Stable; + BounceRestitution = 7.3456788e-001; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_3 +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_42CC4806"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.0000000e+001; + ContinuousSpawner = false; + FluxFactorExpression = "LOD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9D569D9D +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.0060702e-001, + 4.0033695e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.2858391e-002, + 1.4116302e+000, + 8.9633483e-001, + 3.8331664e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 2.4592154e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.7291760e-001, + -1.3462913e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_A7C58E24"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A7C58E24 +{ + Expression = "function void Eval() +{ + Color=(0.1*RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),6); +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_8A814AD3 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0360A9BD", + "$LOCAL$/CParticleFieldDeclaration_3FF47CC4", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E2B6B8D7"; + States = + { + "$LOCAL$/CParticleState_0C3FCCE6", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0360A9BD +{ + FieldName = "LENGTH"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3FF47CC4 +{ + FieldName = "SCALE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E2B6B8D7 +{ + Expression = "function void Eval() +{ + Life = 1; + LENGTH=1; + SCALE=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_0C3FCCE6 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_45F85AA1", + "$LOCAL$/CParticleEvolver_Spawner_4D1B3D9B", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_45F85AA1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E12FCD78", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E12FCD78 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_4D1B3D9B +{ + CustomName = "Spawner"; + SpawnInterval = 4.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_9A7C8EFA"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_9A7C8EFA +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_79B87C45"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F74FFDEC", + "$LOCAL$/CParticleFieldDeclaration_86923D1F", + "$LOCAL$/CParticleFieldDeclaration_FF6C02CE", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_D06DEDB1", + "$LOCAL$/CParticleSamplerCurve_832E4BB9", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DFA7DB63"; + States = + { + "$LOCAL$/CParticleState_26BB1C62", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_79B87C45 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/SymmetricGradient.dds"; + TextureUField = "LifeRatio"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F74FFDEC +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_86923D1F +{ + FieldName = "VStart"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FF6C02CE +{ + FieldName = "VelocityField"; + FieldType = float3; + TransformFilter = rotate; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DFA7DB63 +{ + Expression = "function void Eval() +{ + Life = parent.LENGTH; + Size = parent.SCALE; +} +"; +} +CParticleState $LOCAL$/CParticleState_26BB1C62 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F2B1E1CD", + "$LOCAL$/CParticleEvolver_Script_25530E14", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F2B1E1CD +{ + CustomName = "Physics"; + Drag = 5.0000000e+001; + IntegrationStrategy = Stable; + BounceRestitution = 7.3456788e-001; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_25530E14 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_4E54FC67"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4E54FC67 +{ + Expression = "function void Eval() +{ + Size = SizeCurve.sample(LifeRatio) * 0.2; + Color=ColorCurve.sample(LifeRatio); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_5 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_8A814AD3"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + ContinuousSpawner = false; + FluxFactorExpression = "LOD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D06DEDB1 +{ + SamplerName = "ColorCurve"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.4083959e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0017110e+000, + 7.3797798e+000, + 2.3338380e+000, + 1.0017110e+000, + 6.4638560e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.3260336e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -8.0891705e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_832E4BB9 +{ + SamplerName = "SizeCurve"; + Times = + { + 0.0000000e+000, + 8.2826979e-002, + 1.0000000e+000, + }; + FloatValues = + { + 4.7577922e-003, + 6.7707151e-001, + 1.9557769e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 1.6325190e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.1088161e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE4FC301 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(6.0540539e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_ACD80655 +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9492493C", + "$LOCAL$/CParticleFieldDeclaration_C3A1C2AF", + "$LOCAL$/CParticleFieldDeclaration_3A982F9E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_708A97B9"; + States = + { + "$LOCAL$/CParticleState_5419C470", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9492493C +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C3A1C2AF +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3A982F9E +{ + FieldName = "BranchLength"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_708A97B9 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = rand(0.4,0.6); + Life = BranchLength; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_5419C470 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_6F5883F3", + "$LOCAL$/CParticleEvolver_Spawner_4625D7F7", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_6F5883F3 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_B1BDA832", + "$LOCAL$/CParticleEvolver_Script_1AEE71DD", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B1BDA832 +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + IntegrationDtTreshold = 2.0000001e-003; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_1AEE71DD +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_6DD3D764"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_6DD3D764 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_4625D7F7 +{ + CustomName = "Spawner"; + SpawnInterval = 4.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_035FCA86"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_035FCA86 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_DC9358C1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_401E62BB", + "$LOCAL$/CParticleFieldDeclaration_1D1E0A9A", + "$LOCAL$/CParticleFieldDeclaration_3F13D065", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_7505D48C", + "$LOCAL$/CParticleSamplerDoubleCurve_3F1B883F", + "$LOCAL$/CParticleSamplerProceduralTurbulence_435B9C6E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_84391CC9"; + States = + { + "$LOCAL$/CParticleState_C44926C0", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_DC9358C1 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_85E99618", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_85E99618 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_401E62BB +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1D1E0A9A +{ + FieldName = "ParentVelocity"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3F13D065 +{ + FieldName = "TextureID"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_7505D48C +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 8.9328818e-002, + 1.2633452e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0203243e+000, + 6.4178073e-001, + -1.2389421e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.6671433e-001, + -6.9063723e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_3F1B883F +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.8617449e-002, + 3.7234969e-002, + 9.6040227e-002, + 1.6187949e-001, + 4.2304891e-001, + 4.8267543e-001, + 6.5048271e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 4.6155271e-001, + 1.1097360e+000, + 1.1913260e+000, + 1.2027121e+000, + 1.5533510e+000, + 3.1154866e+000, + 1.3129970e+000, + 9.9858201e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.2994812e-001, + 5.2994978e-001, + 7.0677501e-001, + 2.2324190e+000, + -1.2589170e+000, + -1.4095020e+000, + 1.9320531e+000, + 7.6640139e+000, + 3.7825661e+000, + 8.6358368e-001, + -1.9505526e-001, + -5.4894471e-001, + -3.5419121e-001, + -7.3772728e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 1.8617449e-002, + 3.7234969e-002, + 5.7597529e-002, + 1.0300433e-001, + 2.6808769e-001, + 5.0780302e-001, + 7.3183209e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 4.9471349e-001, + 1.2169130e+000, + 2.2920790e+000, + 3.6313715e+000, + 6.5417272e-001, + 1.4177361e+000, + 5.1636100e-001, + 1.0271250e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 5.8983940e-001, + 5.8984131e-001, + 7.8848606e-001, + 8.6239171e-001, + 1.0754330e+000, + 2.3981247e+000, + 6.7492634e-002, + 2.4538013e-001, + -1.0991865e+000, + -1.5961140e+000, + 6.7877718e-003, + 6.3436050e-003, + -2.8246269e-001, + -3.3811399e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_435B9C6E +{ + SamplerName = "GlowTurb"; + Wavelength = 2.0000000e-001; + Strength = 2.1213202e-001; + Lacunarity = 4.3478259e-001; + Gain = 7.3429948e-001; + TimeScale = 6.0000000e+000; + FlowFactor = -3.7681162e-001; + DivergenceFactor = -7.0531404e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_84391CC9 +{ + Expression = "function void Eval() +{ + Life = (parent.BranchLength-spawner.LifeRatio*parent.BranchLength)*2; + Size = 0.15; + Velocity=parent.Vrand*20+vrand()*5; + ParentVelocity = Velocity; + TextureID = rand(0,16); +} +"; +} +CParticleState $LOCAL$/CParticleState_C44926C0 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7FBF6C83", + "$LOCAL$/CParticleEvolver_Script_14937402", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7FBF6C83 +{ + CustomName = "Physics"; + Drag = 6.0000000e+001; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_14937402 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_81DF41ED"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_81DF41ED +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power*2); + Color = Color * GlowTurb.sample(LifeRatio).x; + Position += float3(ParentVelocity * 0.02 * dt) * 3; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_4 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_ACD80655"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 3.0000000e+001; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_3138F387 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Shadow_01.dds"; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_80B4C0F1 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 9.6040294e-002, + 1.6187957e-001, + 4.2304891e-001, + 4.8720810e-001, + 6.5048277e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.9479560e-001, + 9.4297880e-001, + 1.0245690e+000, + 1.0359550e+000, + 1.3865941e+000, + 3.1986954e+000, + 1.1462400e+000, + 9.9858201e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.2994978e-001, + 5.2994978e-001, + 7.0677501e-001, + 2.2324190e+000, + -1.2589170e+000, + -1.4095018e+000, + 1.9320533e+000, + 7.6640139e+000, + 3.7825663e+000, + 9.2922992e-001, + -2.0988262e-001, + -5.3411740e-001, + -3.4462434e-001, + -7.3772722e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 5.7597589e-002, + 7.7608198e-002, + 2.6808780e-001, + 5.0780308e-001, + 7.5035948e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 3.2795650e-001, + 1.0501560e+000, + 2.1253221e+000, + 3.4901519e+000, + 4.8741561e-001, + 1.2509789e+000, + 9.0204418e-001, + 1.0271250e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 5.8984131e-001, + 5.8984131e-001, + 7.8848600e-001, + 8.6239147e-001, + 1.0754330e+000, + 1.0568449e+000, + 2.9743779e-002, + 2.8312889e-001, + -1.2682840e+000, + -1.5961140e+000, + 6.7877718e-003, + 6.8682232e-003, + -3.0582249e-001, + -3.1475419e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7BA8472B +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_49559E58 +{ + FieldName = "BranchLength"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5A6C4556 +{ + FieldName = "Force"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7E9903D1 +{ + FieldName = "VRand"; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisRecoverShout.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisRecoverShout.pkfx new file mode 100644 index 0000000..6e4a49c --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisRecoverShout.pkfx @@ -0,0 +1,967 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/Frame", + "$LOCAL$/PreFlash", + "$LOCAL$/Flash", + "$LOCAL$/Distortion", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + "$LOCAL$/CParticleAttributeDeclaration_88BB8542", + "$LOCAL$/CParticleAttributeDeclaration_56740C2D", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C7BD0385", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(2.7722779e-001, 1.8762376e+000, 3.9603961e-001, 1.7344180e-001); + MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(8.3468831e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C7BD0385 +{ + SamplerName = "GlobalSizeCurve"; + Times = + { + 0.0000000e+000, + 4.1777310e-001, + 5.0437367e-001, + 6.4856136e-001, + 7.3379391e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1830900e+001, + 2.2786690e+001, + 2.7557028e+002, + 1.7187576e+002, + 4.5565090e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.4870480e+001, + 3.0825162e+000, + 6.5286195e-001, + 1.0869976e+000, + -1.3543121e+002, + -8.0056412e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_821F762C +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_949EFA5F +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_882CE90E +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B9A815E9 +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_88BB8542 +{ + AttributeName = "Throttle"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_56740C2D +{ + AttributeName = "ShakeAmplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EF247296 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3849864e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888062e+000, + 7.7745247e+001, + 7.3503357e+001, + 6.4612997e-001, + 2.0553560e+000, + 3.8516720e+001, + 3.5025604e+001, + 6.2580526e-001, + 1.3330803e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386294e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6951137e+000, + -1.3702939e-004, + -1.1671032e+000, + -2.7337904e+000, + -1.7046227e+000, + -6.1781224e-002, + -1.0002245e+000, + -2.3428993e+000, + -1.4608870e+000, + -5.2947421e-002, + -4.2274657e-001, + -1.0370370e+000, + -3.2198474e+000, + 1.2638654e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_24B21A11 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_EF247296"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/PreFlash +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_1E33C9A8"; + DurationInSeconds = 2.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 4.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1E33C9A8 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_5987DD12"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B3140DAA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B"; + States = + { + "$LOCAL$/CParticleState_7B7ECB1C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B +{ + Expression = "function void Eval() +{ + Life = 0.3; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B3140DAA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_194188B5 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleState $LOCAL$/CParticleState_7B7ECB1C +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_9F457A0F", + "$LOCAL$/Field_1", + "$LOCAL$/Field_2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9F457A0F +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/Field_1 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F8808A7E"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F8808A7E +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0705091e+000, + 1.0705091e+000, + 1.0705091e+000, + 1.0705091e+000, + 5.1760048e-001, + -1.2630554e+000, + -2.4205604e-001, + -1.2630554e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_337A9C19"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_337A9C19 +{ + Times = + { + 0.0000000e+000, + 5.7562411e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.7029600e+000, + 3.5331841e+000, + 8.9722443e-001, + }; + FloatTangents = + { + 0.0000000e+000, + -1.8865035e-001, + -2.7060287e+000, + -1.9950057e+000, + -1.8156990e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_5987DD12 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_194188B5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EB06C381 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_1E17F7D8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3CDA2A4C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF"; + States = + { + "$LOCAL$/CParticleState_1322942E", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_1E17F7D8 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_8197877B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_8197877B +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3CDA2A4C +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF +{ + Expression = "function void Eval() +{ + Life = 0.7; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleState $LOCAL$/CParticleState_1322942E +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B04B8F89", + "$LOCAL$/CParticleEvolver_Field_537F3080", + "$LOCAL$/CParticleEvolver_Field_E5657FC2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B04B8F89 +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_537F3080 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_83855943"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_83855943 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0350089e-001, + 1.9090381e-001, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 1.6533300e+001, + 2.4095961e+001, + 1.6533300e+001, + 1.6533300e+001, + 3.8750023e-002, + 3.8750023e-002, + 3.8750023e-002, + 3.8750023e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 7.2740410e-003, + 7.2740410e-003, + 7.2740410e-003, + 7.2740410e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 4.1878864e-001, + -1.0219334e+000, + -1.9584665e-001, + -1.0219334e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E5657FC2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F39058AD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F39058AD +{ + Times = + { + 0.0000000e+000, + 5.6712776e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.3825042e-001, + 4.6045847e+000, + 4.9280052e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 6.1942945e+000, + 1.9890777e+000, + 1.5182054e+000, + -9.8067053e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + EditorInfosIsBlockMinimized = 0; + Delay = 3.0000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_EB06C381"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_3A4409B3 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6468C0F2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_60B7199D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5231BA24", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_34D411B7"; + States = + { + "$LOCAL$/CParticleState_12E9A746", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6468C0F2 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/DistortionCircle_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_60B7199D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5231BA24 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_34D411B7 +{ + Expression = "function void Eval() +{ + Life = 1.5; + Size = (2.1) * SizeSampler.sample(spawner.LifeRatio); + Color=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_12E9A746 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_31801481", + "$LOCAL$/CParticleEvolver_Field_0BE16B5A", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_31801481 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Field_5B731CD8", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5B731CD8 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6FCF107B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6FCF107B +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.3000004e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.2252917e+001, + 1.2252917e+001, + 1.2252917e+001, + 1.2252917e+001, + 1.6135629e+000, + 1.6135629e+000, + 1.6135629e+000, + 1.6135629e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.0815216e+001, + -2.0815216e+001, + -2.0815216e+001, + -2.0815216e+001, + -1.0668875e+000, + -1.0668875e+000, + -1.0668875e+000, + -1.0668875e+000, + -2.1661046e+000, + -2.1661046e+000, + -2.1661046e+000, + -2.1661046e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0BE16B5A +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_93366025"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_93366025 +{ + Times = + { + 0.0000000e+000, + 4.2586720e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0993826e+000, + 7.2805438e+000, + 7.8490167e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 9.7342634e-001, + 7.6217121e-001, + 1.0275209e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Distortion +{ + EditorInfosIsBlockMinimized = 0; + Delay = 2.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_3A4409B3"; + DurationInSeconds = 1.0000000e+000; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Frame +{ + EditorInfosPosition = int2(170, 355); + Delay = 2.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_1351646B"; + DurationInSeconds = 2.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 1.2800000e+002; + SpawnCountRelativeRandomDeviation = 9.6650624e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1351646B +{ + EditorInfosPosition = int2(25, 339); + Samplers = + { + "$LOCAL$/CParticleSamplerShape_1CD7560A", + "$LOCAL$/CParticleSamplerShape_6ECA987C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7D7074DE"; + States = + { + "$LOCAL$/CParticleState_88B9A5F9", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_1CD7560A +{ + EditorInfosPosition = int2(-151, 367); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_C6084895"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_C6084895 +{ + EditorInfosPosition = int2(-247, 365); + Position = float3(0.0000000e+000, -7.6473951e-003, 0.0000000e+000); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 2.0000000e+000; + InnerRadius = 2.0000000e+000; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_6ECA987C +{ + EditorInfosPosition = int2(-149, 416); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_194CA2EF"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_194CA2EF +{ + EditorInfosPosition = int2(-241, 420); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 2.0000000e+000; + InnerRadius = 2.0000000e+000; + Height = 1.0000000e+000; + CutPlane = 5.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7D7074DE +{ + EditorInfosPosition = int2(-153, 300); + Expression = "function void Eval() +{ + Life = rand(0.1,0.1); + Position = PositionSampler.samplePosition(); + Velocity = VelocitySampler.samplePosition() * spawner.LifeRatio; + float3 v = Velocity * (Throttle * rand(0.9,1.1)); + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_88B9A5F9 +{ + EditorInfosPosition = int2(-79, 590); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_E292CFB0", + "$LOCAL$/CParticleEvolver_Spawner_05B4D033", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E292CFB0 +{ + EditorInfosPosition = int2(-249, 591); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -4.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e+001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 10; + BounceRestitution = 3.0000001e-001; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_05B4D033 +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_7D2DC972"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7D2DC972 +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_C5648C1D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_E55ADEA4", + "$LOCAL$/CParticleFieldDeclaration_1F69D037", + "$LOCAL$/CParticleFieldDeclaration_0EBB07C6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_ED84BF01"; + States = + { + "$LOCAL$/CParticleState_B8A7D958", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_C5648C1D +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E55ADEA4 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1F69D037 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0EBB07C6 +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_ED84BF01 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_B8A7D958 +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_590C46FB", + "$LOCAL$/CParticleEvolver_Field_2733A3DA", + "$LOCAL$/CParticleEvolver_Field_6DC093CC", + "$LOCAL$/CParticleEvolver_Rotation_43B6D1AE", + "$LOCAL$/CParticleEvolver_Script_C5ADDB09", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_590C46FB +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_2733A3DA +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_29E0C2A5"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_29E0C2A5 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257950e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_6DC093CC +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_AB41987F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_AB41987F +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3849864e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888059e+000, + 5.4491077e+001, + 5.0249191e+001, + 6.4613003e-001, + 2.0553560e+000, + 3.8516720e+001, + 3.5025600e+001, + 6.2580532e-001, + 1.3330801e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6951137e+000, + -1.3702939e-004, + -1.1671032e+000, + -2.7337904e+000, + -1.7046227e+000, + -6.1781224e-002, + -1.0002245e+000, + -2.3428993e+000, + -1.4608870e+000, + -5.2947421e-002, + -4.2274657e-001, + -1.0370370e+000, + -3.2198474e+000, + 1.2638654e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_43B6D1AE +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_C5ADDB09 +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5DA1A200"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5DA1A200 +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; + Size *= SizeCoeff * 0.3; +}"; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisSpreadParticle.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisSpreadParticle.pkfx new file mode 100644 index 0000000..fab792a --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisSpreadParticle.pkfx @@ -0,0 +1,512 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Orbiters", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_EBAD1697", + "$LOCAL$/CParticleAttributeDeclaration_1B3B0785", + "$LOCAL$/CParticleAttributeDeclaration_DBDA839C", + "$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE", + "$LOCAL$/CParticleAttributeDeclaration_2A0D3865", + "$LOCAL$/CParticleAttributeDeclaration_5A5354F6", + "$LOCAL$/CParticleAttributeDeclaration_9078374F", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204 +{ + ShapeType = SPHERE; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_8163C3AE +{ + SamplerName = "IntensityFromParent"; + Times = + { + 0.0000000e+000, + 1.2138355e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.2072124e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Orbiters +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_F069AE6B"; + DurationInSeconds = 3.0000001e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.4000000e+001; + FirstSpawnDelay = 5.0000000e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_F069AE6B +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C7AFE6DE", + "$LOCAL$/CParticleFieldDeclaration_4154FFF9", + "$LOCAL$/CParticleFieldDeclaration_AD759B72", + "$LOCAL$/CParticleFieldDeclaration_BE7FC61D", + "$LOCAL$/CParticleFieldDeclaration_B0B3CA2C", + "$LOCAL$/CParticleFieldDeclaration_D477D258", + "$LOCAL$/CParticleFieldDeclaration_0EE2FB00", + "$LOCAL$/CParticleFieldDeclaration_95F6977D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9E9ED973", + "$LOCAL$/CParticleSamplerCurve_A5DFDE5F", + "$LOCAL$/CParticleSamplerCurve_EFCF3FF6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_FA50680A"; + States = + { + "$LOCAL$/CParticleState_5DA09A7C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FA50680A +{ + Expression = "function void Eval() +{ + Life = rand(0.5, 1.5); + + Radius = 0; + OrbitalCenter = 0; + RotationAxis = vrand(); + BasePosition = Sphere.samplePosition(); + Position = BasePosition * Radius; + RadiusRate = rand(0.5, 1.5); + RotationRate = rand(0.5, 1.5); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.g),rand(0,RandomRGB.b)); +} +"; +} +CParticleState $LOCAL$/CParticleState_5DA09A7C +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_11", + "$LOCAL$/OrbitalTrail", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4154FFF9 +{ + FieldName = "OrbitalCenter"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C7AFE6DE +{ + FieldName = "Radius"; +} +CParticleEvolver_Script $LOCAL$/Script_11 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_014431B0"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_014431B0 +{ + Expression = "function void Eval() +{ + Radius += (AdditionalRadiusSpeed * RadiusRate) * (dt * SizeRatioSampler.sample(LifeRatio)); + Orbital += (OrbitalSpeed * RotationRate) * (dt * RotateRatioSampler.sample(LifeRatio)); + float3 v = BasePosition - OrbitalCenter; + Position = rotate(v, RotationAxis, Orbital) * Radius + OrbitalCenter; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AD759B72 +{ + FieldName = "BasePosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BE7FC61D +{ + FieldName = "RotationAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Spawner $LOCAL$/OrbitalTrail +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_5E4EBA37"; +} +CParticleState $LOCAL$/CParticleState_6C99A0A4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_12", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_5E4EBA37 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_9BDF00D0"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_BDB9BCA5", + "$LOCAL$/CParticleFieldDeclaration_D4565CA7", + "$LOCAL$/CParticleFieldDeclaration_A3F9581D", + "$LOCAL$/CParticleFieldDeclaration_6CE61D84", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_8163C3AE", + "$LOCAL$/CParticleSamplerCurve_72F75C8F", + "$LOCAL$/CParticleSamplerCurve_D48E47D3", + "$LOCAL$/CParticleSamplerCurve_1D475C8C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F5AD39C6"; + States = + { + "$LOCAL$/CParticleState_6C99A0A4", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F5AD39C6 +{ + Expression = "function void Eval() +{ + Life = TrailLife; + RandomedRGB = parent.RandomedRGB; + //TextureID = rand(0,4) + //Brightness = IntensityFromParent.sample(spawner.LifeRatio); +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_545410FB +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BDB9BCA5 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_12 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E3B015CC"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E3B015CC +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x + RandomedRGB.x, RGB.y + RandomedRGB.y, RGB.z + RandomedRGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Color2 = float4(0.1); + Size = TrailSize * SizeSampler.sample(LifeRatio); +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9E9ED973 +{ + SamplerName = "Sphere"; + Shape = "$LOCAL$/CShapeDescriptor_AC2FEBB2"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_AC2FEBB2 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EBAD1697 +{ + AttributeName = "AdditionalRadiusSpeed"; + DefaultValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1B3B0785 +{ + AttributeName = "OrbitalSpeed"; + DefaultValueF4 = float4(5.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B0B3CA2C +{ + FieldName = "Orbital"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A5DFDE5F +{ + SamplerName = "SizeRatioSampler"; + Times = + { + 0.0000000e+000, + 4.5172039e-002, + 7.9667412e-002, + 2.3473868e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.7151250e-003, + 8.4995359e-002, + 4.5984969e-001, + 7.9461977e-002, + 4.8672408e-003, + }; + FloatTangents = + { + 0.0000000e+000, + -1.1017920e-002, + 8.4486477e-002, + 6.4517602e-002, + 0.0000000e+000, + 0.0000000e+000, + -4.9369391e-002, + -2.4363287e-001, + -7.5415880e-003, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(0.0000000e+000, 6.9459462e-001, 4.0650401e-002, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_72F75C8F +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 7.0222743e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8318589e-001, + 4.9955750e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.9138300e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1BCEDEFE +{ + AttributeName = "Power"; + DefaultValueF4 = float4(6.3783784e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_9BDF00D0 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_545410FB", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D48E47D3 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 5.7290055e-002, + 1.3172999e-001, + 7.1332288e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.1233578e+000, + 1.6552079e+000, + 1.1014417e+000, + -1.2139082e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6811266e+000, + -8.2865608e-001, + 2.4560774e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_2A0D3865 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(9.9999998e-003, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1D475C8C +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.6869873e-001, + 1.0000000e+000, + }; + FloatValues = + { + 5.7522357e-003, + 9.8893809e-001, + 4.8672259e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1051891e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_5A5354F6 +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.5135141e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A3F9581D +{ + FieldName = "TextureID"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EFCF3FF6 +{ + SamplerName = "RotateRatioSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.0358833e-001, + 2.3914814e-002, + }; + FloatTangents = + { + 0.0000000e+000, + -1.7688432e+000, + 9.8717056e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D477D258 +{ + FieldName = "RadiusRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0EE2FB00 +{ + FieldName = "RotationRate"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9078374F +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(6.0270268e-001, 5.1351351e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38F45F59 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F7D5490 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_95F6977D +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6CE61D84 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D4565CA7 +{ + FieldName = "Color2"; + FieldType = float4; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisSpreadParticleEndless.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisSpreadParticleEndless.pkfx new file mode 100644 index 0000000..3e5d05f --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisSpreadParticleEndless.pkfx @@ -0,0 +1,513 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Orbiters", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_EBAD1697", + "$LOCAL$/CParticleAttributeDeclaration_1B3B0785", + "$LOCAL$/CParticleAttributeDeclaration_DBDA839C", + "$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE", + "$LOCAL$/CParticleAttributeDeclaration_2A0D3865", + "$LOCAL$/CParticleAttributeDeclaration_5A5354F6", + "$LOCAL$/CParticleAttributeDeclaration_9078374F", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204 +{ + ShapeType = SPHERE; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_8163C3AE +{ + SamplerName = "IntensityFromParent"; + Times = + { + 0.0000000e+000, + 1.2138355e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.2072124e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Orbiters +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_F069AE6B"; + Infinite = true; + DurationInSeconds = 3.0000001e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.4000000e+001; + FirstSpawnDelay = 5.0000000e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_F069AE6B +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C7AFE6DE", + "$LOCAL$/CParticleFieldDeclaration_4154FFF9", + "$LOCAL$/CParticleFieldDeclaration_AD759B72", + "$LOCAL$/CParticleFieldDeclaration_BE7FC61D", + "$LOCAL$/CParticleFieldDeclaration_B0B3CA2C", + "$LOCAL$/CParticleFieldDeclaration_D477D258", + "$LOCAL$/CParticleFieldDeclaration_0EE2FB00", + "$LOCAL$/CParticleFieldDeclaration_95F6977D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9E9ED973", + "$LOCAL$/CParticleSamplerCurve_A5DFDE5F", + "$LOCAL$/CParticleSamplerCurve_EFCF3FF6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_FA50680A"; + States = + { + "$LOCAL$/CParticleState_5DA09A7C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FA50680A +{ + Expression = "function void Eval() +{ + Life = rand(0.5, 1.5); + + Radius = 0; + OrbitalCenter = 0; + RotationAxis = vrand(); + BasePosition = Sphere.samplePosition(); + Position = BasePosition * Radius; + RadiusRate = rand(0.5, 1.5); + RotationRate = rand(0.5, 1.5); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.g),rand(0,RandomRGB.b)); +} +"; +} +CParticleState $LOCAL$/CParticleState_5DA09A7C +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_11", + "$LOCAL$/OrbitalTrail", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4154FFF9 +{ + FieldName = "OrbitalCenter"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C7AFE6DE +{ + FieldName = "Radius"; +} +CParticleEvolver_Script $LOCAL$/Script_11 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_014431B0"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_014431B0 +{ + Expression = "function void Eval() +{ + Radius += (AdditionalRadiusSpeed * RadiusRate) * (dt * SizeRatioSampler.sample(LifeRatio)); + Orbital += (OrbitalSpeed * RotationRate) * (dt * RotateRatioSampler.sample(LifeRatio)); + float3 v = BasePosition - OrbitalCenter; + Position = rotate(v, RotationAxis, Orbital) * Radius + OrbitalCenter; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AD759B72 +{ + FieldName = "BasePosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BE7FC61D +{ + FieldName = "RotationAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Spawner $LOCAL$/OrbitalTrail +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_5E4EBA37"; +} +CParticleState $LOCAL$/CParticleState_6C99A0A4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_12", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_5E4EBA37 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_9BDF00D0"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_BDB9BCA5", + "$LOCAL$/CParticleFieldDeclaration_D4565CA7", + "$LOCAL$/CParticleFieldDeclaration_A3F9581D", + "$LOCAL$/CParticleFieldDeclaration_6CE61D84", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_8163C3AE", + "$LOCAL$/CParticleSamplerCurve_72F75C8F", + "$LOCAL$/CParticleSamplerCurve_D48E47D3", + "$LOCAL$/CParticleSamplerCurve_1D475C8C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F5AD39C6"; + States = + { + "$LOCAL$/CParticleState_6C99A0A4", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F5AD39C6 +{ + Expression = "function void Eval() +{ + Life = TrailLife; + RandomedRGB = parent.RandomedRGB; + //TextureID = rand(0,4) + //Brightness = IntensityFromParent.sample(spawner.LifeRatio); +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_545410FB +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BDB9BCA5 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_12 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E3B015CC"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E3B015CC +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x + RandomedRGB.x, RGB.y + RandomedRGB.y, RGB.z + RandomedRGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Color2 = float4(0.1); + Size = TrailSize * SizeSampler.sample(LifeRatio); +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9E9ED973 +{ + SamplerName = "Sphere"; + Shape = "$LOCAL$/CShapeDescriptor_AC2FEBB2"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_AC2FEBB2 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EBAD1697 +{ + AttributeName = "AdditionalRadiusSpeed"; + DefaultValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1B3B0785 +{ + AttributeName = "OrbitalSpeed"; + DefaultValueF4 = float4(5.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B0B3CA2C +{ + FieldName = "Orbital"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A5DFDE5F +{ + SamplerName = "SizeRatioSampler"; + Times = + { + 0.0000000e+000, + 4.5172039e-002, + 7.9667412e-002, + 2.3473868e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.7151250e-003, + 8.4995359e-002, + 4.5984969e-001, + 7.9461977e-002, + 4.8672408e-003, + }; + FloatTangents = + { + 0.0000000e+000, + -1.1017920e-002, + 8.4486477e-002, + 6.4517602e-002, + 0.0000000e+000, + 0.0000000e+000, + -4.9369391e-002, + -2.4363287e-001, + -7.5415880e-003, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(0.0000000e+000, 6.9459462e-001, 4.0650401e-002, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_72F75C8F +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 7.0222743e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8318589e-001, + 4.9955750e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.9138300e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1BCEDEFE +{ + AttributeName = "Power"; + DefaultValueF4 = float4(6.3783784e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_9BDF00D0 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_545410FB", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D48E47D3 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 5.7290055e-002, + 1.3172999e-001, + 7.1332288e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.1233578e+000, + 1.6552079e+000, + 1.1014417e+000, + -1.2139082e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6811266e+000, + -8.2865608e-001, + 2.4560774e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_2A0D3865 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(9.9999998e-003, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1D475C8C +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.6869873e-001, + 1.0000000e+000, + }; + FloatValues = + { + 5.7522357e-003, + 9.8893809e-001, + 4.8672259e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1051891e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_5A5354F6 +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.5135141e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A3F9581D +{ + FieldName = "TextureID"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EFCF3FF6 +{ + SamplerName = "RotateRatioSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.0358833e-001, + 2.3914814e-002, + }; + FloatTangents = + { + 0.0000000e+000, + -1.7688432e+000, + 9.8717056e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D477D258 +{ + FieldName = "RadiusRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0EE2FB00 +{ + FieldName = "RotationRate"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9078374F +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(6.0270268e-001, 5.1351351e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38F45F59 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F7D5490 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_95F6977D +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6CE61D84 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D4565CA7 +{ + FieldName = "Color2"; + FieldType = float4; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisTeleportation.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisTeleportation.pkfx new file mode 100644 index 0000000..16172e1 --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisTeleportation.pkfx @@ -0,0 +1,508 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CParticleState $LOCAL$/CParticleState_649CF31A +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_5C30AD75", + "$LOCAL$/CParticleEvolver_Projection_840C2BFE", + "$LOCAL$/aze", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_26C327A0 +{ + Expression = "function void Eval() +{ + Life = 0.4; + Size = 0; + Position=Sampler_0.samplePosition()+float3(0,0,spawner.LifeRatio*5.5); + + float n= ninja; + + Velocity=float3(select(-2,2,n<0.5),-1,2); + + +} +"; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Tron", + "$LOCAL$/Lightning", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Tron +{ + Descriptor = "$LOCAL$/CParticleDescriptor_2FB2BE61"; + DurationInSeconds = 1.5000000e+000; + SpawnCount = 1.0000000e+003; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_5C30AD75 +{ + CustomName = "Physics"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_2FB2BE61 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_D943A7E3"; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_E206AA64", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_26C327A0"; + States = + { + "$LOCAL$/CParticleState_649CF31A", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_D943A7E3 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/White.dds"; + AxisField = "Axis"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_23F2DF84", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerShape_C6842BC7", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_E206AA64 +{ + SamplerName = "Sampler_0"; + Shape = "$LOCAL$/CShapeDescriptor_1E812F97"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_1E812F97 +{ + Position = float3(0.0000000e+000, 1.3500000e+000, -3.0000000e+000); + EulerOrientation = float3(9.0000000e+001, 0.0000000e+000, 0.0000000e+000); + BoxDimensions = float3(3.0000000e+000, 1.0000000e-001, 2.0000000e+000); + Radius = 1.5000000e+000; + InnerRadius = 1.2500000e+000; + Height = 5.0000000e-001; +} +CParticleEvolver_Projection $LOCAL$/CParticleEvolver_Projection_840C2BFE +{ + CustomName = "Projection"; + Shape = "Sampler_1"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_ECE6D71A +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 9.9999998e-003, + 9.9999998e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_AA705BE3 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_ECE6D71A"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_050EEBA0 +{ + FieldName = "Time"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8F6806C0 +{ + FieldName = "URibbon"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4696972D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0FE30175 +{ + FieldName = "Time"; +} +CParticleEvolver_Spawner $LOCAL$/aze +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 5.0000001e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_488DB230"; +} +CParticleState $LOCAL$/CParticleState_1F285031 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_AC24D045", + "$LOCAL$/CParticleEvolver_Field_213FAE64", + "$LOCAL$/CParticleEvolver_Script_4DC8400E", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_488DB230 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_33D981F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_7FFF7EF8", + "$LOCAL$/CParticleFieldDeclaration_4696972D", + "$LOCAL$/CParticleFieldDeclaration_0FE30175", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E0624833"; + States = + { + "$LOCAL$/CParticleState_1F285031", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E0624833 +{ + Expression = "function void Eval() +{ + Life = 0.4; + Size = 0.01; + Color=CustomColor*4; + Time=spawner.LifeRatio; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_33D981F4 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/falloff1.dds"; + TextureUField = "URibbon"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_AC24D045 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_4DC8400E +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_07FB9699"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_07FB9699 +{ + Expression = "function void Eval() +{ + URibbon=LifeRatio; + Size*=Time; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7FFF7EF8 +{ + FieldName = "URibbon"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9A3FE437 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_213FAE64 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_91E62397"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_91E62397 +{ + Times = + { + 0.0000000e+000, + 4.9813101e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.9999998e-003, + 9.9999998e-003, + 9.9999998e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D2E842B7 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_014B729E"; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_DB64494C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_69DC11D0"; + States = + { + "$LOCAL$/CParticleState_6CBDA953", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_014B729E +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/White.dds"; + AxisField = "Axis"; + AxisScale = 5.0000000e-001; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E7522B96 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/falloff1.dds"; + TextureUField = "URibbon"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C544252D +{ + Expression = "function void Eval() +{ + float n =2; + Velocity+=float3(rand(-n,n),rand(-n,n),rand(-n,n)); +} +"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_07F98A83 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_D08DCB3A"; +} +CParticleEvolver_Attractor $LOCAL$/CParticleEvolver_Attractor_09F3250F +{ + CustomName = "Attractor"; + Shape = "Sampler_0"; + ForceAtSurface = 4.0000000e+002; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Lightning +{ + Descriptor = "$LOCAL$/CParticleDescriptor_D2E842B7"; + DurationInSeconds = 1.5000000e+000; + SpawnCount = 1.0000000e+002; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_DB64494C +{ + SamplerName = "Sampler_0"; + Shape = "$LOCAL$/CShapeDescriptor_ED55F2DF"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_ED55F2DF +{ + Position = float3(0.0000000e+000, 1.3500000e+000, -3.0000000e+000); + EulerOrientation = float3(9.0000000e+001, 0.0000000e+000, 0.0000000e+000); + BoxDimensions = float3(3.0000000e+000, 1.0000000e-001, 2.0000000e+000); + Radius = 1.5000000e+000; + InnerRadius = 1.2500000e+000; + Height = 5.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_69DC11D0 +{ + Expression = "function void Eval() +{ + Life = 0.06; + Size = 0; + Position=Sampler_0.samplePosition()+float3(0,0,spawner.LifeRatio*5.5); + + +} +"; +} +CParticleState $LOCAL$/CParticleState_6CBDA953 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_16E0AECA", + "$LOCAL$/CParticleEvolver_Projection_76503A65", + "$LOCAL$/CParticleEvolver_Script_45CB7860", + "$LOCAL$/zer", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_16E0AECA +{ + CustomName = "Physics"; +} +CParticleEvolver_Projection $LOCAL$/CParticleEvolver_Projection_76503A65 +{ + CustomName = "Projection"; + Shape = "Sampler_1"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A3DDB5A3 +{ + Expression = "function void Eval() +{ + //float n = 1; + + //Timeb+=dt; + + //Velocity=select(Velocity,float3(rand(-n,n),rand(-n,n),2+rand(-n,n)),Timeb>0.01); + + //Timeb=select(Timeb,0,Timeb>0.01); + +} +"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_45CB7860 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_A3DDB5A3"; +} +CParticleEvolver_Spawner $LOCAL$/zer +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 5.0000001e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_E20949BF"; +} +CParticleState $LOCAL$/CParticleState_0D3101AC +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_ACE06830", + "$LOCAL$/CParticleEvolver_Attractor_09F3250F", + "$LOCAL$/CParticleEvolver_Script_AFA5EB32", + "$LOCAL$/ert", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E20949BF +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_8574BE31"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_39C1233C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_AEDE7D86"; + States = + { + "$LOCAL$/CParticleState_0D3101AC", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_AEDE7D86 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 0; + Velocity=Sampler_1.sampleNormal()*10; +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_8574BE31 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Sprites/big_glow2.dds"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_ACE06830 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/ert +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000001e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_7EB39E45"; +} +CParticleState $LOCAL$/CParticleState_9B9EB82A +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_9420860E", + "$LOCAL$/CParticleEvolver_Field_AA705BE3", + "$LOCAL$/CParticleEvolver_Script_07F98A83", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7EB39E45 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E7522B96"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8F6806C0", + "$LOCAL$/CParticleFieldDeclaration_9A3FE437", + "$LOCAL$/CParticleFieldDeclaration_050EEBA0", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_14E517F4"; + States = + { + "$LOCAL$/CParticleState_9B9EB82A", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_14E517F4 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.01; + float n = 0.1; + Velocity=float3(rand(-n,n),rand(-n,n),rand(-n,n)); + Color=CustomColor*5; + Time=spawner.LifeRatio; +} +"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_D08DCB3A +{ + Expression = "function void Eval() +{ + URibbon=LifeRatio; + Size*=(1-Time); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9420860E +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_39C1233C +{ + FieldName = "Timeb"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_AFA5EB32 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C544252D"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_23F2DF84 +{ + AttributeName = "CustomColor"; + AttributeType = float4; + DefaultValueF4 = float4(5.0000000e-001, 3.2648647e+000, 7.1351361e-001, 0.0000000e+000); + MaxValueF4 = float4(4.0000000e+000, 4.0000000e+000, 4.0000000e+000, 4.0000000e+000); +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_C6842BC7 +{ + SamplerName = "Sampler_1"; + Shape = "$LOCAL$/CShapeDescriptor_82BFC296"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_82BFC296 +{ + ShapeType = MESH; + MeshResource = "Meshes/Mustang2014_Wire.pkmm"; + MeshScale = float3(1.0010000e+000, 1.0010000e+000, 1.0010000e+000); +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisTeleportationTrail.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisTeleportationTrail.pkfx new file mode 100644 index 0000000..15bb4f8 --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisTeleportationTrail.pkfx @@ -0,0 +1,671 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_376EDA32 +{ + Expression = "function void Eval() +{ + CheckPos=Position; + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D6FE8BDD +{ + FieldName = "CheckPos"; + FieldType = float3; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_3ECE14B0"; +} +CParticleEvolver_Script $LOCAL$/Script_4 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E32752C1"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E32752C1 +{ + Expression = "function void Eval() +{ + ReCheckPos=Position; + + Direction=normalize(CheckPos-ReCheckPos); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B7B01818 +{ + FieldName = "ReCheckPos"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_A1219F43 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e-001, 1.0000000e+000, 2.5000000e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_257F91CA", + "$LOCAL$/CParticleAttributeDeclaration_2CB999CD", + "$LOCAL$/CParticleAttributeDeclaration_A1219F43", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C25D4CA3", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_2 +{ + CustomName = "Localspace"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_74460CBB +{ + FieldName = "Direction"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_2CB999CD +{ + AttributeName = "Power"; + DefaultValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_B6A83DB6"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_B6A83DB6 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D6FE8BDD", + "$LOCAL$/CParticleFieldDeclaration_B7B01818", + "$LOCAL$/CParticleFieldDeclaration_74460CBB", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4DEE33B1"; + States = + { + "$LOCAL$/CParticleState_4BFDDA2B", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4DEE33B1 +{ + Expression = "function void Eval() +{ + Life = infinity; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_257F91CA +{ + AttributeName = "Density"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_376EDA32"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3ECE14B0 +{ + Expression = "function void Eval() +{ + Color=float4(RGB*Power*0.5,1-LifeRatio); + Size=Curve_3.sample(LifeRatio)+SizeCoeff; +} +"; +} +CParticleState $LOCAL$/CParticleState_4BFDDA2B +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_3", + "$LOCAL$/LocalSpace_2", + "$LOCAL$/Script_4", + "$LOCAL$/Arrow", + "$LOCAL$/Spark", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C25D4CA3 +{ + SamplerName = "Curve_0"; + Times = + { + 0.0000000e+000, + 3.9999998e-001, + 5.9999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.0000000e+000, + 3.2946768e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -4.6760383e-001, + -9.3520784e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Spawner $LOCAL$/Arrow +{ + CustomName = "Spawner"; + SpawnInterval = 1.2500000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_DDCE1654"; +} +CParticleState $LOCAL$/CParticleState_B70FB90D +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_5D4200F1", + "$LOCAL$/Script_1", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_DDCE1654 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_31DC4A08"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_60BF8995", + "$LOCAL$/CParticleFieldDeclaration_C2FEA672", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_730A96F9", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4EAC89A7"; + States = + { + "$LOCAL$/CParticleState_B70FB90D", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4EAC89A7 +{ + Expression = "function void Eval() +{ + Life = 1; + SizeCoeff = sin(scene.Time*40)*0.02; + +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_31DC4A08 +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/SymmetricGradient.dds"; + TextureUField = "LifeRatio"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_5D4200F1 +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_60BF8995 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_730A96F9 +{ + SamplerName = "Curve_3"; + Times = + { + 0.0000000e+000, + 1.6043518e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.0791295e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.3782690e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C2FEA672 +{ + FieldName = "SizeCoeff"; +} +CParticleEvolver_Spawner $LOCAL$/Spark +{ + CustomName = "Spawner"; + SpawnInterval = 3.9999999e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_776CD4C6"; +} +CParticleState $LOCAL$/CParticleState_4ED52937 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_6899CFFB", + "$LOCAL$/Evolver_1", + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_776CD4C6 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_1480FE58"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_E454C3A5", + "$LOCAL$/CParticleFieldDeclaration_CC5428CC", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_B1041001"; + States = + { + "$LOCAL$/CParticleState_4ED52937", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B1041001 +{ + Expression = "function void Eval() +{ + Life = rand(0.2,0.4); + Velocity=parent.Direction*4+vrand()*2; + TextureID=ninja*4; + Rotation=rand(-pi,pi); +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_1480FE58 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Spark_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasR4.pkat"; + BillboardMode = VelocityAxisAligned; + AxisField = "Axis"; + AxisScale = 1.0000000e+000; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6899CFFB +{ + CustomName = "Physics"; +} +CParticleEvolver_Rotation $LOCAL$/Evolver_1 +{ + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_749B60DA"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_749B60DA +{ + Expression = "function void Eval() +{ + + Color=float4(RGB*Power,Curve_0.sample(pow(LifeRatio,2))); + Size=LifeRatio*0.04; + Axis=Velocity*LifeRatio*0.2; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E454C3A5 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC5428CC +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_99BB2170 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_23B6A4F3", + "$LOCAL$/CParticleFieldDeclaration_DD75DD32", + "$LOCAL$/CParticleFieldDeclaration_09404ADD", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F42E2464"; + States = + { + "$LOCAL$/CParticleState_AC37A8F7", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_23B6A4F3 +{ + FieldName = "CheckPos"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DD75DD32 +{ + FieldName = "ReCheckPos"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_09404ADD +{ + FieldName = "Direction"; + FieldType = float3; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F42E2464 +{ + Expression = "function void Eval() +{ + Life = infinity; +} +"; +} +CParticleState $LOCAL$/CParticleState_AC37A8F7 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_13FD6F86", + "$LOCAL$/CParticleEvolver_Localspace_0B51D318", + "$LOCAL$/CParticleEvolver_Script_1A5CE3BB", + "$LOCAL$/CParticleEvolver_Spawner_D90B0965", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_13FD6F86 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_25FF61C1"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_25FF61C1 +{ + Expression = "function void Eval() +{ + CheckPos=Position; + +} +"; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_0B51D318 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_1A5CE3BB +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5A0E1F9A"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5A0E1F9A +{ + Expression = "function void Eval() +{ + ReCheckPos=Position; + + Direction=normalize(CheckPos-ReCheckPos); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_D90B0965 +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + Descriptor = "$LOCAL$/CParticleDescriptor_7341018C"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7341018C +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_F82FB93F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A7FB216E", + "$LOCAL$/CParticleFieldDeclaration_2EDC85C9", + "$LOCAL$/CParticleFieldDeclaration_FD8C43C0", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3B824D83", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_10FFDAED"; + States = + { + "$LOCAL$/CParticleState_00EDEDB4", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_F82FB93F +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A7FB216E +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2EDC85C9 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FD8C43C0 +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3B824D83 +{ + SamplerName = "SpawnShape"; + Shape = "$LOCAL$/CShapeDescriptor_352F6902"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_352F6902 +{ + ShapeType = SPHERE; + Radius = 1.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_10FFDAED +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 1 + (1 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + Position = SpawnShape.samplePosition(); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.3; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 5;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_00EDEDB4 +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_8DB38487", + "$LOCAL$/CParticleEvolver_Field_B941AA56", + "$LOCAL$/CParticleEvolver_Field_50BE1368", + "$LOCAL$/CParticleEvolver_Rotation_AEC8596A", + "$LOCAL$/CParticleEvolver_Script_0261DF75", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_8DB38487 +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_B941AA56 +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_52B7CCD1"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_52B7CCD1 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.7417073e-002, + 4.6310537e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 4.6133342e-001, + 2.7709076e-001, + 4.5339489e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 4.6586581e-002, + 0.0000000e+000, + 0.0000000e+000, + 2.4945091e-002, + 8.2336515e-001, + 1.3490067e-001, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_50BE1368 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_1E33024B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1E33024B +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.4035908e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0875289e+000, + 3.0284981e+001, + 2.6043091e+001, + 6.4613003e-001, + 5.5407912e-001, + 1.8774509e+001, + 1.5283390e+001, + 6.2580532e-001, + 1.3330801e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.7009701e+000, + -1.3750279e-004, + -1.1711349e+000, + -2.7432361e+000, + -1.7105120e+000, + -6.1994679e-002, + -9.9619192e-001, + -2.3334539e+000, + -1.4549969e+000, + -5.2733961e-002, + -4.2104211e-001, + -1.0328560e+000, + -3.2068660e+000, + 1.2587701e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_AEC8596A +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_0261DF75 +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_782688DC"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_782688DC +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; +}"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_99BB2170"; +} diff --git a/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisTest.pkfx b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisTest.pkfx new file mode 100644 index 0000000..ce7f556 --- /dev/null +++ b/assets/streaming/PackFx/Particles/QueenChrysalis/QueenChrysalisTest.pkfx @@ -0,0 +1,252 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_6CA5AA5D", + "$LOCAL$/CParticleAttributeDeclaration_BE93AC77", + "$LOCAL$/CParticleAttributeDeclaration_553FF906", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_984739E4", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_19F9F7A8 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_57AE9B8B", + "$LOCAL$/CParticleFieldDeclaration_29F34BAA", + "$LOCAL$/CParticleFieldDeclaration_83D29EB5", + "$LOCAL$/CParticleFieldDeclaration_203A991C", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_F7A6600F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_40C8D219"; + States = + { + "$LOCAL$/CParticleState_249D5E50", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_57AE9B8B +{ + FieldName = "Timeb"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_29F34BAA +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_83D29EB5 +{ + FieldName = "FluxScale"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_203A991C +{ + FieldName = "NextBranchTime"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_F7A6600F +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_C460687E"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_C460687E +{ + ShapeType = CYLINDER; + Radius = 2.0000000e-001; + InnerRadius = 2.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_40C8D219 +{ + Expression = "function void Eval() +{ + Life = 0.3; + Position = DropSampler.samplePosition(); + Velocity = Scale*safe_normalize(Position - DropSampler.position())*30; + SizeCoeff = Scale; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)) * 0; +} +"; +} +CParticleState $LOCAL$/CParticleState_249D5E50 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_52553353", + "$LOCAL$/CParticleEvolver_Spawner_66220ED5", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_52553353 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_84F65B12", + "$LOCAL$/CParticleEvolver_Script_72C9AE3D", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_84F65B12 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_72C9AE3D +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_79D79B44"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_79D79B44 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.025; + float n = 60 * SizeCoeff; + Velocity = lerp(select(Velocity,float3(SizeCoeff*rand(-1,1)*100,0,SizeCoeff*rand(-1,1)*100),shouldSpawnBranch),Velocity,0.9); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_66220ED5 +{ + CustomName = "Spawner"; + SpawnInterval = 1.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_31A8BBBC"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_31A8BBBC +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_F7F93098"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_950EEE1E", + "$LOCAL$/CParticleFieldDeclaration_65C0CF3B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_B950F839"; + States = + { + "$LOCAL$/CParticleState_35B76EF0", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_950EEE1E +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B950F839 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 2 * Scale; + Axis = float3(0,1,0); + Color = CustomColorRGBA * 0.04 * pow(1 - spawner.LifeRatio, 2)*50; +} +"; +} +CParticleState $LOCAL$/CParticleState_35B76EF0 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_A59A4073", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A59A4073 +{ + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_19F9F7A8"; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.2000000e+001; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6CA5AA5D +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(3.7786260e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_984739E4 +{ + SamplerName = "GlobalSizeCurve"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 3.2657871e+001, + 3.3657871e+001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_BE93AC77 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(4.6183211e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_553FF906 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 9.9752480e-001, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(1, 1, 1, 1); +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_F7F93098 +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/Chrysalis_shot_lv2.png"; + BillboardMode = SideAxisAligned; + AxisField = "Axis"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_65C0CF3B +{ + FieldName = "Axis"; + FieldType = float3; +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/CastleLightnihg.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/CastleLightnihg.pkfx new file mode 100644 index 0000000..b9defef --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/CastleLightnihg.pkfx @@ -0,0 +1,860 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/branch", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/lightning", + "$LOCAL$/Layer_1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9AEE5ABD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_168DE691 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_216E6F10"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_216E6F10 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); +} +"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/lightning +{ + Descriptor = "$LOCAL$/CParticleDescriptor_7C46C5E9"; + Infinite = true; + DurationInSeconds = 5.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.0000000e+000; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7C46C5E9 +{ + EditorInfosIsBlockMinimized = 0; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AA0A7EFA", + "$LOCAL$/CParticleFieldDeclaration_2832E92E", + "$LOCAL$/CParticleFieldDeclaration_668C5BD9", + "$LOCAL$/CParticleFieldDeclaration_7EA25C67", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3F5A22F7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A99F3108"; + States = + { + "$LOCAL$/CParticleState_4C8B87C2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A99F3108 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Velocity = Scale*float3(rand(-100,100),0,rand(-100,100)); + SizeCoeff = Scale; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)); + Position = DropSampler.samplePosition(); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_668C5BD9 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_4C8B87C2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_081972C0", + "$LOCAL$/death", + "$LOCAL$/base", + "$LOCAL$/glow", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C1D98F7D +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8FACC28C +{ + FieldName = "Timeb"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(1.7553200e-001, 6.4361697e-001, 2.0000000e+000, 2.0000000e+000); + MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_104D4D29 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5E0F683"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9AEE5ABD", + "$LOCAL$/CParticleFieldDeclaration_BB297115", + "$LOCAL$/CParticleFieldDeclaration_42AA1C4F", + "$LOCAL$/CParticleFieldDeclaration_BD2FCDD3", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_37052329", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3F389B48"; + States = + { + "$LOCAL$/CParticleState_6B8B6DDE", + }; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_7A8041A7 +{ + EventName = "OnDeath"; + EventAction = "$LOCAL$/branch"; +} +CParticleState $LOCAL$/CParticleState_6B8B6DDE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B91A4402", + "$LOCAL$/CParticleEvolver_Script_168DE691", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BC1951CA +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7AF25165"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7AF25165 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.01; + float n = 60 * SizeCoeff; + Velocity = select(Velocity,float3(SizeCoeff*rand(-1,1)*100,rand(-n,n),SizeCoeff*rand(-1,1)*100),shouldSpawnBranch); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E9BE2D1D +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B91A4402 +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F1A21305 +{ + CustomName = "Physics"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5E0F683 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AA0A7EFA +{ + FieldName = "Timeb"; +} +CParticleEvolver_Spawner $LOCAL$/base +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_104D4D29"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3F389B48 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.4 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = CustomColorRGBA * 10; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/death +{ + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_CD6A0035"; +} +CParticleState $LOCAL$/CParticleState_91BC2CDA +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_D33971BE", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CD6A0035 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_59D07FA1", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_7A8041A7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C095B224"; + States = + { + "$LOCAL$/CParticleState_91BC2CDA", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C095B224 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = CustomColorRGBA; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D33971BE +{ + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/branch +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_1DEAC189"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1DEAC189 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8FACC28C", + "$LOCAL$/CParticleFieldDeclaration_C9081B39", + "$LOCAL$/CParticleFieldDeclaration_28722F38", + "$LOCAL$/CParticleFieldDeclaration_E4021DE6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4669BE28"; + States = + { + "$LOCAL$/CParticleState_247F7DE2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4669BE28 +{ + Expression = "function void Eval() +{ + Life = rand(0.025,0.05); + Velocity=float3(0,50,0)*Scale; + SizeCoeff=Scale; + FluxScale=pow(Flux,0.5)*1*Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28722F38 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_247F7DE2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9AAE6F84", + "$LOCAL$/ert", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_4E3ECB6C +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F +{ + Expression = "function void Eval() +{ + Timeb += dt*SizeCoeff; + + int shouldChangeDirection = Timeb>0.01*SizeCoeff; + + float n = 60*SizeCoeff; + Velocity = select(Velocity, float3(rand(-n,n),50*SizeCoeff,rand(-n,n)), shouldChangeDirection); + Timeb = select(Timeb,0,shouldChangeDirection); // reset the \'should.pkangeDirection\' condition +} +"; +} +CParticleEvolver_Spawner $LOCAL$/ert +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_47893DF0"; +} +CParticleState $LOCAL$/CParticleState_65AD76F1 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F1A21305", + "$LOCAL$/CParticleEvolver_Script_403022B8", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_47893DF0 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_23F2DF84"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0B9A51ED", + "$LOCAL$/CParticleFieldDeclaration_366F0A1E", + "$LOCAL$/CParticleFieldDeclaration_BC9A45D6", + "$LOCAL$/CParticleFieldDeclaration_C223EA14", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_09C487E3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3"; + States = + { + "$LOCAL$/CParticleState_65AD76F1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3 +{ + Expression = "function void Eval() +{ + Life = 0.1; + float iSpawnerLR = 1 - spawner.LifeRatio; + Size = 0.4*Scale * pow(iSpawnerLR, 0.5); + ColorCoeff = pow(Flux,4)*100*pow(iSpawnerLR, 2); + TextureID = rand(0,16); + Position = float3(0,-0.5,0)*Scale; + CC = CustomColorRGBA * 5; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_23F2DF84 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_403022B8 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_70F7169B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_70F7169B +{ + Expression = "function void Eval() +{ + Color = CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C223EA14 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0B9A51ED +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C9081B39 +{ + FieldName = "SizeCoeff"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2832E92E +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_366F0A1E +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BB297115 +{ + FieldName = "TextureID"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_90A7E102 +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_88F983BD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_91A60DEB +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_548E9048 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 2 * Scale; + Color = CustomColorRGBA * 0.04 * pow(1 - spawner.LifeRatio, 2); +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E8BCA629 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_91A60DEB"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_88F983BD", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_548E9048"; + States = + { + "$LOCAL$/CParticleState_D38CFADE", + }; +} +CParticleEvolver_Spawner $LOCAL$/glow +{ + CustomName = "Spawner"; + SpawnInterval = 1.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_E8BCA629"; +} +CParticleState $LOCAL$/CParticleState_D38CFADE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_90A7E102", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_081972C0 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_C1D98F7D", + "$LOCAL$/CParticleEvolver_Script_BC1951CA", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9AAE6F84 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E9BE2D1D", + "$LOCAL$/CParticleEvolver_Script_4E3ECB6C", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42AA1C4F +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BC9A45D6 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BD2FCDD3 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7EA25C67 +{ + FieldName = "NextBranchTime"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4021DE6 +{ + FieldName = "ParentColor"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_59D07FA1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3F5A22F7 +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_EE347186"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_EE347186 +{ + ShapeType = CYLINDER; + Radius = 5.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_37052329 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900167e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312178e+000, + 3.8749021e-001, + 1.5209466e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_09C487E3 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900170e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312180e+000, + 3.8749021e-001, + 1.5209470e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_79B76225 +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_List_9283E94C"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_602F1443", + "$LOCAL$/CParticleFieldDeclaration_C52456C2", + "$LOCAL$/CParticleFieldDeclaration_473C7BAD", + "$LOCAL$/CParticleFieldDeclaration_4962BD74", + "$LOCAL$/CParticleFieldDeclaration_1E9CAF47", + "$LOCAL$/CParticleFieldDeclaration_E638CC16", + "$LOCAL$/CParticleFieldDeclaration_B048B191", + "$LOCAL$/CParticleFieldDeclaration_E13A7728", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_9131510B"; + States = + { + "$LOCAL$/CParticleState_83296F2A", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_9283E94C +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_DA74DBFF", + "$LOCAL$/CParticleRenderer_Billboard_2B019B2E", + "$LOCAL$/CParticleRenderer_Billboard_0183A289", + "$LOCAL$/CParticleRenderer_Billboard_D93F3F80", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_DA74DBFF +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/BB_Flame_01_128.dds"; + AtlasDefinition = "Textures/FX/AtlasX2.pkat"; + SizeField = "Size2"; + ColorField = "Color2"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_2B019B2E +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/Fx/DistortionRing_01.dds"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_0183A289 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_03.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + SizeField = "Size4"; + ColorField = "Color4"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_D93F3F80 +{ + DrawOrder = -1; + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/Fx/Distortion_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_602F1443 +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C52456C2 +{ + FieldName = "Color2"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_473C7BAD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4962BD74 +{ + FieldName = "Size2"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1E9CAF47 +{ + FieldName = "Color4"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E638CC16 +{ + FieldName = "Size4"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B048B191 +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E13A7728 +{ + FieldName = "InitialSize"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_9131510B +{ + Expression = "function void Eval() +{ + Life = 1; + InitialSize = Scale * 1.5; + + Position = float3(0,1,0); + Color = 0.5 * Scale; + Color2 = CustomColorRGBA * 1.5; + TextureID = rand(0,4); + ScalarRotationSpeed = rand(-3,3); + Rotation = rand(-pi,pi); +} +"; +} +CParticleState $LOCAL$/CParticleState_83296F2A +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_69E9C835", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_69E9C835 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Rotation_82A4409C", + "$LOCAL$/CParticleEvolver_Field_F1755D8F", + "$LOCAL$/CParticleEvolver_Field_87600399", + "$LOCAL$/CParticleEvolver_Script_AF09F8D3", + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_82A4409C +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Rotation"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_F1755D8F +{ + CustomName = "Field"; + Name = "SizeCoeff"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_2A3473FE"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2A3473FE +{ + Times = + { + 0.0000000e+000, + 4.9905631e-001, + 1.0000000e+000, + }; + FloatValues = + { + 6.3916349e-001, + 3.6995310e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -8.5174030e-001, + -8.5496157e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_87600399 +{ + CustomName = "Field"; + Name = "Color4"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_9A03ADD0"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9A03ADD0 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.9999999e-002, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+002, + 1.0000000e+002, + 1.0000000e+002, + 1.0000000e+002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_AF09F8D3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_193FCE92"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_193FCE92 +{ + Expression = "function void Eval() +{ + float decayedSize = InitialSize * SizeCoeff; + Size = decayedSize * 1; + Size2 = decayedSize * 1.5; + Size4 = decayedSize * 2; + Color4 *= CustomColorRGBA; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_79B76225"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 4.0000000e+000; + ContinuousSpawner = false; +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/ElectricalBall_pCoords.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/ElectricalBall_pCoords.pkfx new file mode 100644 index 0000000..6f17c29 --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/ElectricalBall_pCoords.pkfx @@ -0,0 +1,691 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/OutLightning_pCoords +{ + EditorInfosPosition = int2(-288, -61); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2FAA954C", + "$LOCAL$/CParticleFieldDeclaration_3DDDE71F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/OutLightning_pCoords", + "$LOCAL$/InLightning_pCoords", + "$LOCAL$/Other", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_86407B2A +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0106380e-001, 3.8297871e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.25; + + // An great use of parametric coordinates is to set it by the spawning position of every particles, + // with this you can use sampling in this place to set attributes linked by the surface of your sampler like the normal axis + pCoords = Shape_0.sampleParametricCoords(); + Position=Shape_0.samplePosition(pCoords)*0.9*Scale; + AxisUp=Shape_0.sampleNormal(pCoords); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_6", + "$LOCAL$/Trail_1", + }; +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5F5E20FA"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_86407B2A", + "$LOCAL$/CParticleAttributeDeclaration_ACB53148", + "$LOCAL$/CParticleAttributeDeclaration_6D21C725", + "$LOCAL$/CParticleAttributeDeclaration_E795E065", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerShape_B4A3F15A", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_B4A3F15A +{ + SamplerName = "Shape_0"; + Shape = "$LOCAL$/CShapeDescriptor_00485E25"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_00485E25 +{ + ShapeType = SPHERE; + Radius = 2.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5F5E20FA +{ + Expression = "function void Eval() +{ + Size=(1-LifeRatio)*0.25*Scale; + VelocityField=Turb_0.sample(Position/Scale); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2FAA954C +{ + FieldName = "pCoords"; + FieldType = int3; +} +CParticleEvolver_Rotation $LOCAL$/Evolver_3 +{ +} +CParticleEvolver_Script $LOCAL$/Script_5 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_67DDAB2D"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3DDDE71F +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_67DDAB2D +{ + Expression = "function void Eval() +{ + Color=sin(LifeRatio*3)*Distortion; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + EditorInfosIsBlockMinimized = 0; + SpawnMetric = Time; + SpawnInterval = 3.9999999e-002; + ForwardAxisField = "Axis"; + FirstSpawnDelay = 0.0000000e+000; + LocalSpaceSpawn = true; + Descriptor = "$LOCAL$/CParticleDescriptor_FB247043"; +} +CParticleState $LOCAL$/CParticleState_61782B80 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_7", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_FB247043 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_88AD4B47"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D3592D0B", + "$LOCAL$/CParticleFieldDeclaration_66AA7FEC", + "$LOCAL$/CParticleFieldDeclaration_6ED3D8FF", + "$LOCAL$/CParticleFieldDeclaration_AFC47789", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_D13BE328", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0256E2C2"; + States = + { + "$LOCAL$/CParticleState_61782B80", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0256E2C2 +{ + Expression = "function void Eval() +{ + Life = 0.25*(1-spawner.LifeRatio); + // Associate with an evolver spawner you can make an hairy effect directed by the normal of the surface + Velocity=(parent.AxisUp*10+vrand())*Scale; + Color=spawner.LifeRatio*RGB.xyz1*10; + TextureID=ninja*16; + Mass=Scale; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_88AD4B47 +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + TextureIDField = "TextureID"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_BA79E974 +{ + Mass = 0.0000000e+000; + Drag = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66AA7FEC +{ + FieldName = "TextureID"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_D13BE328 +{ + SamplerName = "Turb_0"; + Scale = 1.5000000e+000; + Strength = 5.0000000e+001; + TimeScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D3592D0B +{ + FieldName = "Color"; + FieldType = float4; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Ball +{ + Descriptor = "$LOCAL$/CParticleDescriptor_207FBFFE"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_207FBFFE +{ + Renderer = "$LOCAL$/CParticleRenderer_Mesh_31DAE3BD"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_4664FEE6", + "$LOCAL$/CParticleFieldDeclaration_D58C74A1", + "$LOCAL$/CParticleFieldDeclaration_1BDA079B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_26A73F99"; + States = + { + "$LOCAL$/CParticleState_3D5454D3", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_26A73F99 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 2*Scale; + RotationInit=vrand()*pi; +} +"; +} +CParticleRenderer_Mesh_Descriptor $LOCAL$/CParticleRenderer_Mesh_Descriptor_687E3EC4 +{ + Mesh = "Meshes/Geosphere.pkmm"; + Material = Additive_NoAlpha; + MaterialParametersFields = + { + "DiffuseColor = Color", + }; + Diffuse = "Textures/EnergyBall_02.dds"; +} +CParticleState $LOCAL$/CParticleState_3D5454D3 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + ChildList = + { + "$LOCAL$/Script_2", + }; +} +CParticleRenderer_Mesh $LOCAL$/CParticleRenderer_Mesh_31DAE3BD +{ + Meshes = + { + "$LOCAL$/CParticleRenderer_Mesh_Descriptor_687E3EC4", + }; + ScaleField = "Size"; + EulerRotationField = "Rotation"; + RotationAxisAngleField = ""; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4664FEE6 +{ + FieldName = "Size"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D58C74A1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_71E8EF78"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_71E8EF78 +{ + Expression = "function void Eval() +{ + Rotation=RotationInit+float3(0,scene.Time*10,0); + Color=RGB.xyz1*sin(LifeRatio*3)*10; + Size = 2*Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1BDA079B +{ + FieldName = "RotationInit"; + FieldType = float3; + TransformFilter = full; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D8E1BE65 +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_20D35A8C", + "$LOCAL$/CParticleFieldDeclaration_1694863F", + "$LOCAL$/CParticleFieldDeclaration_F01DDC2E", + "$LOCAL$/CParticleFieldDeclaration_E2763880", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_7110CCC0", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_30AD0A83"; + States = + { + "$LOCAL$/CParticleState_01226A02", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_20D35A8C +{ + FieldName = "pCoords"; + FieldType = int3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1694863F +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F2B14DAF +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CActionFactoryWithChilds $LOCAL$/Other +{ + ChildList = + { + "$LOCAL$/Ball", + "$LOCAL$/Glow", + "$LOCAL$/Disto", + }; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_7110CCC0 +{ + SamplerName = "Turb_0"; + Scale = 2.0000000e+000; + Strength = 1.0000000e+002; + TimeScale = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_30AD0A83 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.25; + pCoords = Shape_0.sampleParametricCoords(); + Position=Shape_0.samplePosition(pCoords)*Scale; + Mass=Scale; +} +"; +} +CParticleState $LOCAL$/CParticleState_01226A02 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_4", + "$LOCAL$/Trail_2", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_0F7E6FED +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_1C55A6B4"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1C55A6B4 +{ + Expression = "function void Eval() +{ + // In this case the sampling of the normal is set in realtime + // because the trail travel along the surface and we want to match the faces of the ribbon with the surface + AxisUp=Shape_0.sampleNormal(pCoords); + Position=Position*Scale; + VelocityField=Turb_0.sample(Position/Scale); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/InLightning_pCoords +{ + EditorInfosPosition = int2(-288, -61); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_D8E1BE65"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleEvolver_Projection $LOCAL$/Evolver_1 +{ + Shape = "Shape_0"; + OutputParametricCoordsField = "pCoords"; +} +CParticleEvolver_Physics $LOCAL$/Evolver_2 +{ + Mass = 0.0000000e+000; + Drag = 1.0000000e+000; +} +CParticleEvolver_Spawner $LOCAL$/Trail_2 +{ + EditorInfosIsBlockMinimized = 0; + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + LocalSpaceSpawn = true; + Descriptor = "$LOCAL$/CParticleDescriptor_7A4351D2"; +} +CParticleState $LOCAL$/CParticleState_E8DB9F13 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7A4351D2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_35782C54"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_7F906BF6", + "$LOCAL$/CParticleFieldDeclaration_42738008", + "$LOCAL$/CParticleFieldDeclaration_F2B14DAF", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_42CA8BFD"; + States = + { + "$LOCAL$/CParticleState_E8DB9F13", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_42CA8BFD +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 0.2*Scale; + ColorCoeff=sin(spawner.LifeRatio*3)*RGB.xyz1*10; + Position=vrand()*0.1*Scale; + // Simply add the normals information in the axis field of the ribbon and that\'s it! + AxisUp=parent.AxisUp; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_35782C54 +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + TextureIDField = "TextureID"; + AxisField = "AxisUp"; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_5 +{ + ChildList = + { + "$LOCAL$/Script_4", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7F906BF6 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_4 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_3106DEF1"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3106DEF1 +{ + Expression = "function void Eval() +{ + Color=ColorCoeff*sin(LifeRatio*3); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42738008 +{ + FieldName = "ColorCoeff"; + FieldType = float4; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Glow +{ + Descriptor = "$LOCAL$/CParticleDescriptor_29F3590A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_29F3590A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_766CC37C"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C1FAB4F9", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_32830795"; + States = + { + "$LOCAL$/CParticleState_3A34A9EF", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_32830795 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 2.1*Scale; + Color=(RGB.xyz1*0.5+0.5)*0.2; +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_766CC37C +{ + Diffuse = "Textures/Fx/Glow_02.dds"; +} +CParticleState $LOCAL$/CParticleState_3A34A9EF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_2", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_2 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C1FAB4F9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_78C6FECC +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_E542DF7F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B49E24AE", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_412E2A09"; + States = + { + "$LOCAL$/CParticleState_C6F09D00", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_E542DF7F +{ + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/Fx/Distortion_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B49E24AE +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_412E2A09 +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 2.1*Scale; + Color=1; + Rotation=rand(-pi,pi); + ScalarRotationSpeed=rand(-2,2); +} +"; +} +CParticleState $LOCAL$/CParticleState_C6F09D00 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_3", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_3 +{ + ChildList = + { + "$LOCAL$/Evolver_3", + "$LOCAL$/Script_5", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Disto +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_78C6FECC"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+000; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_4 +{ + ChildList = + { + "$LOCAL$/Evolver_2", + "$LOCAL$/Evolver_1", + "$LOCAL$/CParticleEvolver_Script_0F7E6FED", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_6 +{ +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_7 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_BA79E974", + "$LOCAL$/Script_3", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_ACB53148 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(4.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + MaxValueF4 = float4(1.0000000e+003, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6D21C725 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(9.4680858e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6ED3D8FF +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F01DDC2E +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AFC47789 +{ + FieldName = "VelocityField"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E2763880 +{ + FieldName = "VelocityField"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E795E065 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_54499B1D"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_54499B1D +{ + Expression = "function void Eval() +{ + Size = 2.1*Scale; +} +"; +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashLightning.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashLightning.pkfx new file mode 100644 index 0000000..7dc297e --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashLightning.pkfx @@ -0,0 +1,560 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_D158FB1D +{ + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + Life = infinity; +} +"; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Source", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_67949F4D +{ + FieldName = "ColorCoeff"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E7219408 +{ + SamplerName = "DisplacementWeight"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 3.5361910e-001, + 1.7034520e+000, + 3.5361910e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 1.3884330e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.6360749e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_6DEC9E9F +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E63D424E"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_9BDD555E", + "$LOCAL$/CParticleAttributeDeclaration_6085D8ED", + "$LOCAL$/CParticleAttributeDeclaration_DC3BD88D", + "$LOCAL$/CParticleAttributeDeclaration_AFD4EBD4", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_2830BC72 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3D199BC4", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_D158FB1D"; + States = + { + "$LOCAL$/CParticleState_37820737", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6085D8ED +{ + AttributeName = "Flux"; + AttributeDescription = "Controls the amount of strokes\\nMultiplier of the \'Source\' layer\'s spawn-rate."; + DefaultValueF4 = float4(1.0866141e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F6A6C829 +{ + FieldName = "PCoords"; + FieldType = int3; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_1AAF32F4 +{ + ShapeType = SPHERE; + Radius = 5.0000000e-001; + MeshResource = "Meshes/Path.pkmm"; + MeshScale = float3(2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleEvolver_Spawner $LOCAL$/LightningTrail +{ + SpawnInterval = 2.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_EAA4F4AE"; +} +CParticleState $LOCAL$/CParticleState_48BA6F7F +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_6DEC9E9F", + "$LOCAL$/CParticleEvolver_Physics_815F8FC3", + "$LOCAL$/CParticleEvolver_Projection_52891911", + "$LOCAL$/CParticleEvolver_Field_11EF5012", + "$LOCAL$/CParticleEvolver_Field_25CAC61C", + "$LOCAL$/CParticleEvolver_Script_1CA6C021", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EAA4F4AE +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_584734A8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_342360F8", + "$LOCAL$/CParticleFieldDeclaration_6ACE796C", + "$LOCAL$/CParticleFieldDeclaration_F6A6C829", + "$LOCAL$/CParticleFieldDeclaration_7F0885A0", + "$LOCAL$/CParticleFieldDeclaration_67949F4D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_627F92C7", + "$LOCAL$/CParticleSamplerCurve_31F983E2", + "$LOCAL$/CParticleSamplerProceduralTurbulence_E0F88948", + "$LOCAL$/CParticleSamplerCurve_E7219408", + "$LOCAL$/CParticleSamplerCurve_CD928515", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A9553A09"; + States = + { + "$LOCAL$/CParticleState_48BA6F7F", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7F0885A0 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A9553A09 +{ + Expression = "function void Eval() +{ + Life = 0.25; + + // grab a random lightning texture from the atlas, for the ribbon. + // there are 16 sub-frames, whose IDs go from 0 to 15 + TextureID = rand(0,16); + + // color factor that we will apply to the sampled \'Color\' in an evolve script + // make particles spawned at the end of the trail\'s life dimmer, to avoid hard-ending trails. + ColorCoeff = ColorCoeffLookup.sample(spawner.LifeRatio); + + // save RealPosition (see the evolvers on why we need this) + RealPosition = Position; + + // velocity goes upwards, faster at the center of the trail (see the curve\'s shape) + Velocity = float3(0,1,0) * DisplacementWeight.sample(spawner.LifeRatio); +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_E0F88948 +{ + SamplerName = "Noise3D"; + Scale = 2.5000000e-001; + Strength = 2.5000000e-002; + TimeScale = 1.0000000e+000; + TimeBase = 2.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_11EF5012 +{ + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_870B473D"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_584734A8 +{ + EditorInfosIsBlockMinimized = 0; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/Lightning_05.dds"; + AtlasDefinition = "Textures/FX/AtlasX4.pkat"; + TextureIDField = "TextureID"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4DAC29C5 +{ + Expression = "function void Eval() +{ + // the other evolvers have computed a new Position, back it up in \'RealPosition\' + // (see the comments in the first script evolver for details) + RealPosition = Position; + + // the projection evolver filled \'PCoords\' with the meshe\'s parametric coordinates for us. + // use this to grab the mesh normal where at the location we were reprojected on: + float3 meshNormalAtLocation = ProjMesh.sampleNormal(PCoords) * 3; + + // sample the random procedural turbulent field to get a turbulent displacement: + float3 turb = Noise3D.sample(RealPosition); + + // project this vector with the mesh normal, so that it becomes tangent to the triangle plane. + // this will effectively convert it to a 2D tangent turbulence, because we don\'t want + // the 3D turbulent vector to make the ribbon penetrate the mesh + float3 projTurb = turb + meshNormalAtLocation * max(0,-dot(turb, meshNormalAtLocation)); + + // patch the Position by moving it slightly away from the mesh surface along the mesh normal, + // and displace it by the turbulence vector. + float distanceToMesh = 0; + Position += meshNormalAtLocation * distanceToMesh + projTurb; + + // apply our color coefficient to the RGBA color sampled in the CParticleEvolver_Field that + // was run before us: + Color = float4(RGB.x, RGB.y, RGB.z, Color.w) * pow(Glow.sample(LifeRatio),Power); + Color *= ColorCoeff; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_815F8FC3 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_342360F8 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6ACE796C +{ + FieldName = "RealPosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleEvolver_Projection $LOCAL$/CParticleEvolver_Projection_52891911 +{ + EditorInfosIsBlockMinimized = 0; + Shape = "ProjMesh"; + OutputParametricCoordsField = "PCoords"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_870B473D +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.8990910e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 9.5917922e-001, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E63D424E +{ + Expression = "function void Eval() +{ + // here, we have a problem: + // we can\'t yet (in popcorn 1.5.4) tell the ribbon renderer to use a custom field + // for position, and we want to manually shift the positions away from the mesh surface. + // if we shift the positions used for reprojection, they will shift from frame to frame + // and become dependent of the FPS. + // Therefore, we\'ll use a trick where we will \'backup\' the simulated position into a custom + // field named \'RealPosition\', then we\'ll shift the \'Position\' field to get it ready for rendering + // at the start of the next frame, we\'ll restore \'Position\' to the one saved in \'RealPosition\', + // so that simulation uses the correct value, not the one deformed for rendering. + + // here, restore the projected position saved in the previous frame + Position = RealPosition; + + // all the next evolvers in the state will work on this restored \'Position\', + // up to the last script evolver +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_627F92C7 +{ + SamplerName = "ProjMesh"; + Shape = "$LOCAL$/CShapeDescriptor_1AAF32F4"; + SampleDimensionality = Vertex; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_25CAC61C +{ + EditorInfosIsBlockMinimized = 0; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F033910F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_31F983E2 +{ + EditorInfosIsBlockMinimized = 0; + SamplerName = "ColorCoeffLookup"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0483411e+001, + 1.3673043e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.5378418e+001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F033910F +{ + Times = + { + 0.0000000e+000, + 2.9870510e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.2760758e-003, + 1.2711254e-001, + 1.3779700e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 2.1109976e-001, + 0.0000000e+000, + 0.0000000e+000, + -5.6229483e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_1CA6C021 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_4DAC29C5"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9BDD555E +{ + AttributeName = "ProbeVelocity"; + AttributeDescription = "Initial velocity of lightning strokes\\nDirectly controls the stroke length."; + DefaultValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Source +{ + Descriptor = "$LOCAL$/CParticleDescriptor_2830BC72"; + DurationInSeconds = 1.0000000e-001; + FluxFactorExpression = "Flux"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_CD928515 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.6115850e-001, + 1.7384709e-001, + 2.0104469e-001, + 5.6299138e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.3323541e-001, + 1.4717730e+000, + 3.0183129e+000, + 1.4834321e+000, + 6.6818959e-001, + 4.3290529e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.3728991e+000, + -2.0313981e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.6506660e-001, + -8.0299091e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DC3BD88D +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(9.9999998e-003, 1.3000000e-001, 9.4999999e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_AFD4EBD4 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(2.5000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleState $LOCAL$/CParticleState_37820737 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_1", + "$LOCAL$/Emitter", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_4B0C0AC6 +{ +} +CParticleEvolver_Projection $LOCAL$/CParticleEvolver_Projection_F6C54DFB +{ + Shape = "ProjMesh"; +} +CParticleEvolver_Spawner $LOCAL$/Emitter +{ + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_8CDE14FE"; +} +CParticleState $LOCAL$/CParticleState_E7543A8F +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_4B0C0AC6", + "$LOCAL$/CParticleEvolver_Projection_F6C54DFB", + "$LOCAL$/LightningTrail", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_8CDE14FE +{ + Samplers = + { + "$LOCAL$/CParticleSamplerShape_F922C3D7", + "$LOCAL$/CParticleSamplerShape_6ED04DA1", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_1189B899"; + States = + { + "$LOCAL$/CParticleState_E7543A8F", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1189B899 +{ + Expression = "function void Eval() +{ + Life = 0.4; + + // here, grab a random spawn location in the \'ProjSpawnVolume\' shape. + // you can select that shape in the treeview and move it around in the viewport + // to make lightning start at different locations + Position = ProjSpawnVolume.samplePosition(); + + // next, reproject the start position on the mesh + // (this is because otherwise the trail evolver will make a trail from the + // original position to the projected position on the first frame) + Position += ProjMesh.project(Position).xyz; + + // random velocity on a squased sphere whose height is + // 0.3 times its equatorial radius. -> move faster horizontally + Velocity = vrand() * float3(0.1,0.1,0.5)*ProbeVelocity; +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_F922C3D7 +{ + SamplerName = "ProjSpawnVolume"; + Shape = "$LOCAL$/CShapeDescriptor_FCC733E6"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_FCC733E6 +{ + ShapeType = SPHERE; + Radius = 5.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_6ED04DA1 +{ + SamplerName = "ProjMesh"; + Shape = "$LOCAL$/CShapeDescriptor_A51D3C78"; + SampleDimensionality = Vertex; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_A51D3C78 +{ + ShapeType = SPHERE; + Radius = 5.0000000e-001; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_0F7DFA91"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0F7DFA91 +{ + Expression = "function void Eval() +{ + //Position += float3(0.01,0,0); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3D199BC4 +{ + FieldName = "Velocity"; + FieldType = float3; + TransformFilter = rotate; +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashMovementLightning.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashMovementLightning.pkfx new file mode 100644 index 0000000..b4f8daf --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashMovementLightning.pkfx @@ -0,0 +1,376 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.4000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8ED4ECCD", + "$LOCAL$/CParticleFieldDeclaration_7BA8472B", + "$LOCAL$/CParticleFieldDeclaration_49559E58", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = rand(0.3,0.6); + Life = BranchLength; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Trail_1", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + IntegrationDtTreshold = 2.0000001e-003; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_413490CC", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e-001, 4.4999999e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8ED4ECCD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + CustomName = "Spawner"; + SpawnInterval = 2.0000000e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_EC6BEF67"; +} +CParticleState $LOCAL$/CParticleState_A25D7514 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_07A88CC8", + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EC6BEF67 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_34193718"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A2FF29AF", + "$LOCAL$/CParticleFieldDeclaration_5456B137", + "$LOCAL$/CParticleFieldDeclaration_62EDB30F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_E43E0316", + "$LOCAL$/CParticleSamplerDoubleCurve_80B4C0F1", + "$LOCAL$/CParticleSamplerProceduralTurbulence_4CE60A08", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6"; + States = + { + "$LOCAL$/CParticleState_A25D7514", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6 +{ + Expression = "function void Eval() +{ + Life = (parent.BranchLength-spawner.LifeRatio*parent.BranchLength) * 1.5; + Size = 0.15; + Velocity=parent.Vrand*40+vrand()*8; + ParentVelocity = Velocity; + TextureID = rand(0,16); +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_72728FCA +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + SoftnessDistance = 2.5000000e-001; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_07A88CC8 +{ + CustomName = "Physics"; + Drag = 6.0000000e+001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7BA8472B +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_00FC543C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_00FC543C +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Color = Color * GlowTurb.sample(LifeRatio).x; + Position += float3(ParentVelocity * 0.02 * dt); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A2FF29AF +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_49559E58 +{ + FieldName = "BranchLength"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5456B137 +{ + FieldName = "ParentVelocity"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_413490CC +{ + AttributeName = "Power"; + DefaultValueF4 = float4(2.5000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E43E0316 +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 1.9577943e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8620117e-001, + -1.2389421e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_80B4C0F1 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 9.6040294e-002, + 1.6187957e-001, + 4.2304891e-001, + 4.9290201e-001, + 6.5048277e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.9479560e-001, + 9.4297880e-001, + 1.0245690e+000, + 1.0359550e+000, + 1.3865941e+000, + 4.0372081e+000, + 1.1462400e+000, + 9.9858201e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.2994978e-001, + 5.2994978e-001, + 7.0677501e-001, + 2.2324190e+000, + -1.2589170e+000, + -1.4095018e+000, + 1.9320533e+000, + 7.6640139e+000, + 3.7825663e+000, + 1.0116960e+000, + -2.2850899e-001, + -5.1549101e-001, + -3.3260620e-001, + -7.3772722e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 5.7597589e-002, + 7.4761227e-002, + 2.6808780e-001, + 5.0780308e-001, + 7.5035948e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 3.2795650e-001, + 1.0501560e+000, + 2.1253221e+000, + 3.1906829e+000, + 4.8741561e-001, + 1.2509789e+000, + 9.0204418e-001, + 1.0271250e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 5.8984131e-001, + 5.8984131e-001, + 7.8848600e-001, + 8.6239153e-001, + 1.0754330e+000, + 9.0648472e-001, + 2.5512040e-002, + 2.8736070e-001, + -1.2872400e+000, + -1.5961140e+000, + 6.7877718e-003, + 6.8682232e-003, + -3.0582249e-001, + -3.1475419e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_4CE60A08 +{ + SamplerName = "GlowTurb"; + Wavelength = 2.0000000e-001; + Strength = 2.1213202e-001; + Lacunarity = 4.3478259e-001; + Gain = 7.3429948e-001; + TimeScale = 6.0000000e+000; + FlowFactor = -3.7681162e-001; + DivergenceFactor = -7.0531404e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_62EDB30F +{ + FieldName = "TextureID"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_34193718 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_72728FCA", + }; +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashOmniSmashAttacking.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashOmniSmashAttacking.pkfx new file mode 100644 index 0000000..e627930 --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashOmniSmashAttacking.pkfx @@ -0,0 +1,963 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.8000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8ED4ECCD", + "$LOCAL$/CParticleFieldDeclaration_7BA8472B", + "$LOCAL$/CParticleFieldDeclaration_49559E58", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_3", + "$LOCAL$/Layer_4", + "$LOCAL$/Layer_5", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = rand(0.3,0.6); + Life = BranchLength; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Trail_1", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + IntegrationDtTreshold = 2.0000001e-003; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_413490CC", + "$LOCAL$/CParticleAttributeDeclaration_FE4FC301", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e-001, 4.4999999e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8ED4ECCD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + CustomName = "Spawner"; + SpawnInterval = 4.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_EC6BEF67"; +} +CParticleState $LOCAL$/CParticleState_A25D7514 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_07A88CC8", + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EC6BEF67 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_34193718"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A2FF29AF", + "$LOCAL$/CParticleFieldDeclaration_5456B137", + "$LOCAL$/CParticleFieldDeclaration_62EDB30F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_E43E0316", + "$LOCAL$/CParticleSamplerDoubleCurve_80B4C0F1", + "$LOCAL$/CParticleSamplerProceduralTurbulence_4CE60A08", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6"; + States = + { + "$LOCAL$/CParticleState_A25D7514", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6 +{ + Expression = "function void Eval() +{ + Life = (parent.BranchLength-spawner.LifeRatio*parent.BranchLength) * 1.5; + Size = 0.15; + Velocity=parent.Vrand*20+vrand()*8; + ParentVelocity = Velocity; + TextureID = rand(0,16); +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_72728FCA +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + SoftnessDistance = 2.5000000e-001; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_07A88CC8 +{ + CustomName = "Physics"; + Drag = 6.0000000e+001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7BA8472B +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_00FC543C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_00FC543C +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Color = Color * GlowTurb.sample(LifeRatio).x; + Position += float3(ParentVelocity * 0.02 * dt); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A2FF29AF +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_49559E58 +{ + FieldName = "BranchLength"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5456B137 +{ + FieldName = "ParentVelocity"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_413490CC +{ + AttributeName = "Power"; + DefaultValueF4 = float4(2.5000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E43E0316 +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 1.9577943e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8620117e-001, + -1.2389421e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_80B4C0F1 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 9.6040294e-002, + 1.6187957e-001, + 4.2304891e-001, + 4.9290201e-001, + 6.5048277e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.9479560e-001, + 9.4297880e-001, + 1.0245690e+000, + 1.0359550e+000, + 1.3865941e+000, + 4.0372081e+000, + 1.1462400e+000, + 9.9858201e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.2994978e-001, + 5.2994978e-001, + 7.0677501e-001, + 2.2324190e+000, + -1.2589170e+000, + -1.4095018e+000, + 1.9320533e+000, + 7.6640139e+000, + 3.7825663e+000, + 1.0116960e+000, + -2.2850899e-001, + -5.1549101e-001, + -3.3260620e-001, + -7.3772722e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 5.7597589e-002, + 7.4761227e-002, + 2.6808780e-001, + 5.0780308e-001, + 7.5035948e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 3.2795650e-001, + 1.0501560e+000, + 2.1253221e+000, + 3.1906829e+000, + 4.8741561e-001, + 1.2509789e+000, + 9.0204418e-001, + 1.0271250e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 5.8984131e-001, + 5.8984131e-001, + 7.8848600e-001, + 8.6239153e-001, + 1.0754330e+000, + 9.0648472e-001, + 2.5512040e-002, + 2.8736070e-001, + -1.2872400e+000, + -1.5961140e+000, + 6.7877718e-003, + 6.8682232e-003, + -3.0582249e-001, + -3.1475419e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_4CE60A08 +{ + SamplerName = "GlowTurb"; + Wavelength = 2.0000000e-001; + Strength = 2.1213202e-001; + Lacunarity = 4.3478259e-001; + Gain = 7.3429948e-001; + TimeScale = 6.0000000e+000; + FlowFactor = -3.7681162e-001; + DivergenceFactor = -7.0531404e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_62EDB30F +{ + FieldName = "TextureID"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_34193718 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_72728FCA", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_42CC4806 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8192E441", + "$LOCAL$/CParticleFieldDeclaration_9D524798", + "$LOCAL$/CParticleFieldDeclaration_05F4323B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5338501A"; + States = + { + "$LOCAL$/CParticleState_CDF0C3E5", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8192E441 +{ + FieldName = "VRAND"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9D524798 +{ + FieldName = "LENGTH"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05F4323B +{ + FieldName = "SCALE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5338501A +{ + Expression = "function void Eval() +{ + Life = 1; + + VRAND=vrand()*rand(0.5,1); + + LENGTH=select(rand(0.2,0.4),rand(0.2,0.4),ninja<0.05); + + SCALE=rand(0.25,0.3); +} +"; +} +CParticleState $LOCAL$/CParticleState_CDF0C3E5 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_EB640E0C", + "$LOCAL$/RIbbonSpawner", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_EB640E0C +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_94D17FBF", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_94D17FBF +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/RIbbonSpawner +{ + CustomName = "Spawner"; + SpawnInterval = 3.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_CBF2F849"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CBF2F849 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_8CD26840"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_95F90C03", + "$LOCAL$/CParticleFieldDeclaration_7DF5C982", + "$LOCAL$/CParticleFieldDeclaration_F29D856D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_372FAA34", + "$LOCAL$/CParticleSamplerCurve_9D569D9D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_8E81BB07"; + States = + { + "$LOCAL$/CParticleState_0AF8E2D6", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_8CD26840 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Trail_01.dds"; + TextureUField = "LifeRatio"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_95F90C03 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7DF5C982 +{ + FieldName = "VStart"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F29D856D +{ + FieldName = "VelocityField"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_372FAA34 +{ + SamplerName = "Curve_0"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_8E81BB07 +{ + Expression = "function void Eval() +{ + Life = parent.LENGTH; + + Size = parent.SCALE; + VStart=parent.VRAND*30; + Velocity = VStart; +} +"; +} +CParticleState $LOCAL$/CParticleState_0AF8E2D6 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7D2B2F51", + "$LOCAL$/Script_3", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7D2B2F51 +{ + CustomName = "Physics"; + Drag = 5.0000000e+001; + IntegrationStrategy = Stable; + BounceRestitution = 7.3456788e-001; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_3 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_42CC4806"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+001; + ContinuousSpawner = false; + FluxFactorExpression = "LOD"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_4E858438 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_3D73DB5B"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B20E9FBA", + "$LOCAL$/CParticleFieldDeclaration_9A777C05", + "$LOCAL$/CParticleFieldDeclaration_343718AC", + "$LOCAL$/CParticleFieldDeclaration_DF660EDF", + "$LOCAL$/CParticleFieldDeclaration_C2BF578E", + "$LOCAL$/CParticleFieldDeclaration_01DBE669", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_AAF8E0E0", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_838EA123"; + States = + { + "$LOCAL$/CParticleState_1C627522", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_3D73DB5B +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/DirtPieces_01.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + SoftAnimationBlending = true; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B20E9FBA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9A777C05 +{ + FieldName = "ID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_343718AC +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DF660EDF +{ + FieldName = "BounceRestitution"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C2BF578E +{ + FieldName = "Accel"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01DBE669 +{ + FieldName = "HighLight"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_AAF8E0E0 +{ + SamplerName = "Turb_0"; + Wavelength = 5.0000000e+000; + Strength = 8.8388348e-001; + Gain = 1.0000000e+000; + TimeScale = 1.0000000e+000; + TimeBase = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_838EA123 +{ + Expression = "function void Eval() +{ + Life = rand(0.25,0.75); + Size = rand(0.01,0.02); + ID=ninja*4; + Velocity=vrand()*ninja*2; + Mass=rand(1,10); + BounceRestitution=rand(0.1,0.5); + HighLight=select(4,rand(50,100),ninja<0.4); +} +"; +} +CParticleState $LOCAL$/CParticleState_1C627522 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_3D0BC98D", + "$LOCAL$/CParticleEvolver_Script_74FB30D4", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_3D0BC98D +{ + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -1.0000000e+001, 0.0000000e+000); + Drag = 1.0000000e+000; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 127; + BounceRestitution = 1.0000000e+000; + BounceOffset = 1.0000000e-003; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_74FB30D4 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_48FA7627"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_48FA7627 +{ + Expression = "function void Eval() +{ + TextureID=min((ID+LifeRatio*2),4); + Color=float4((RGB*HighLight).xyz1*float4(1-LifeRatio).111w); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_4 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_4E858438"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.5600000e+002; + FluxFactorExpression = "Density"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9D569D9D +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 9.2066094e-002, + 3.1208074e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.2858391e-002, + 2.0154548e+000, + 1.4803622e+000, + 9.8714137e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 2.2504430e+000, + 0.0000000e+000, + 0.0000000e+000, + -4.9395043e-001, + -1.5444336e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_A7C58E24"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A7C58E24 +{ + Expression = "function void Eval() +{ + Color=(0.1*RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),4); +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_8A814AD3 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0360A9BD", + "$LOCAL$/CParticleFieldDeclaration_3FF47CC4", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E2B6B8D7"; + States = + { + "$LOCAL$/CParticleState_0C3FCCE6", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0360A9BD +{ + FieldName = "LENGTH"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3FF47CC4 +{ + FieldName = "SCALE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E2B6B8D7 +{ + Expression = "function void Eval() +{ + Life = 1; + LENGTH=0.5; + SCALE=0.5; +} +"; +} +CParticleState $LOCAL$/CParticleState_0C3FCCE6 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_45F85AA1", + "$LOCAL$/CParticleEvolver_Spawner_4D1B3D9B", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_45F85AA1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E12FCD78", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E12FCD78 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_4D1B3D9B +{ + CustomName = "Spawner"; + SpawnInterval = 2.0000000e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_9A7C8EFA"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_9A7C8EFA +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_79B87C45"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F74FFDEC", + "$LOCAL$/CParticleFieldDeclaration_86923D1F", + "$LOCAL$/CParticleFieldDeclaration_FF6C02CE", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_D06DEDB1", + "$LOCAL$/CParticleSamplerCurve_832E4BB9", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DFA7DB63"; + States = + { + "$LOCAL$/CParticleState_26BB1C62", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_79B87C45 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/RdEvasionTrail.png"; + TextureUField = "LifeRatio"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F74FFDEC +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_86923D1F +{ + FieldName = "VStart"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FF6C02CE +{ + FieldName = "VelocityField"; + FieldType = float3; + TransformFilter = rotate; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DFA7DB63 +{ + Expression = "function void Eval() +{ + Life = parent.LENGTH; + Size = parent.SCALE; +} +"; +} +CParticleState $LOCAL$/CParticleState_26BB1C62 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F2B1E1CD", + "$LOCAL$/CParticleEvolver_Script_25530E14", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F2B1E1CD +{ + CustomName = "Physics"; + Drag = 5.0000000e+001; + IntegrationStrategy = Stable; + BounceRestitution = 7.3456788e-001; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_25530E14 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_4E54FC67"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4E54FC67 +{ + Expression = "function void Eval() +{ + Size = SizeCurve.sample(LifeRatio) * 0.5; + Color=ColorCurve.sample(LifeRatio); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_5 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_8A814AD3"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + ContinuousSpawner = false; + FluxFactorExpression = "LOD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D06DEDB1 +{ + SamplerName = "ColorCurve"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.8634853e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0017110e+000, + 1.0017110e+000, + 1.0017110e+000, + 1.0017110e+000, + 6.4638555e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_832E4BB9 +{ + SamplerName = "SizeCurve"; + Times = + { + 0.0000000e+000, + 8.2826979e-002, + 1.0000000e+000, + }; + FloatValues = + { + 4.7577918e-003, + 6.7707145e-001, + 3.0769232e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 1.6325185e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.1088161e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE4FC301 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashOmniSmashExplosion.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashOmniSmashExplosion.pkfx new file mode 100644 index 0000000..c3002c1 --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashOmniSmashExplosion.pkfx @@ -0,0 +1,1275 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/OutLightning_pCoords +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + DurationInSeconds = 1.0000000e+000; + SpawnCount = 2.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2FAA954C", + "$LOCAL$/CParticleFieldDeclaration_3DDDE71F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/OutLightning_pCoords", + "$LOCAL$/InLightning_pCoords", + "$LOCAL$/Other", + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + "$LOCAL$/Layer_3", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_86407B2A +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0106380e-001, 3.8297871e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.25; + + // An great use of parametric coordinates is to set it by the spawning position of every particles, + // with this you can use sampling in this place to set attributes linked by the surface of your sampler like the normal axis + pCoords = Shape_0.sampleParametricCoords(); + Position=Shape_0.samplePosition(pCoords)*0.9*(Scale * SizeSampler.sample(spawner.LifeRatio)); + AxisUp=Shape_0.sampleNormal(pCoords); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_6", + "$LOCAL$/Trail_1", + }; +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5F5E20FA"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_86407B2A", + "$LOCAL$/CParticleAttributeDeclaration_ACB53148", + "$LOCAL$/CParticleAttributeDeclaration_6D21C725", + "$LOCAL$/CParticleAttributeDeclaration_E795E065", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerShape_B4A3F15A", + "$LOCAL$/CParticleSamplerCurve_72582A57", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_00485E25 +{ + ShapeType = SPHERE; + Radius = 2.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5F5E20FA +{ + Expression = "function void Eval() +{ + Size=(1-LifeRatio)*0.25*Scale; + VelocityField=Turb_0.sample(Position/Scale); + Color=ColorCoeff*pow(GlowCurve.sample(LifeRatio),3); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2FAA954C +{ + FieldName = "pCoords"; + FieldType = int3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3DDDE71F +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 3.9999999e-002; + FirstSpawnDelay = 0.0000000e+000; + LocalSpaceSpawn = true; + ForwardAxisField = "Axis"; + Descriptor = "$LOCAL$/CParticleDescriptor_FB247043"; +} +CParticleState $LOCAL$/CParticleState_61782B80 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_7", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_FB247043 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_88AD4B47"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D3592D0B", + "$LOCAL$/CParticleFieldDeclaration_66AA7FEC", + "$LOCAL$/CParticleFieldDeclaration_6ED3D8FF", + "$LOCAL$/CParticleFieldDeclaration_AFC47789", + "$LOCAL$/CParticleFieldDeclaration_A991C3EB", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_D13BE328", + "$LOCAL$/CParticleSamplerCurve_D9CFE688", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0256E2C2"; + States = + { + "$LOCAL$/CParticleState_61782B80", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0256E2C2 +{ + Expression = "function void Eval() +{ + Life = rand(0.1,0.25)*(1-spawner.LifeRatio); + // Associate with an evolver spawner you can make an hairy effect directed by the normal of the surface + Velocity=(parent.AxisUp*30+vrand())*(Scale*SizeSampler.sample(spawner.LifeRatio)); + ColorCoeff=spawner.LifeRatio*RGB.xyz1*5; + TextureID=ninja*16; + Mass=Scale*SizeSampler.sample(spawner.LifeRatio); +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_88AD4B47 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_BA79E974 +{ + CustomName = "Physics"; + Mass = 0.0000000e+000; + Drag = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66AA7FEC +{ + FieldName = "TextureID"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_D13BE328 +{ + SamplerName = "Turb_0"; + Wavelength = 1.5000000e+000; + Strength = 2.6516504e+001; + Gain = 1.0000000e+000; + TimeScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D3592D0B +{ + FieldName = "Color"; + FieldType = float4; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Ball +{ + Descriptor = "$LOCAL$/CParticleDescriptor_207FBFFE"; + DurationInSeconds = 1.0000000e+000; + SpawnCount = 6.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_207FBFFE +{ + Renderer = "$LOCAL$/CParticleRenderer_Mesh_31DAE3BD"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_4664FEE6", + "$LOCAL$/CParticleFieldDeclaration_D58C74A1", + "$LOCAL$/CParticleFieldDeclaration_1BDA079B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_26A73F99"; + States = + { + "$LOCAL$/CParticleState_3D5454D3", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_26A73F99 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = (2*Scale) * SizeSampler.sample(spawner.LifeRatio); + RotationInit=vrand()*pi; +} +"; +} +CParticleRenderer_Mesh_Descriptor $LOCAL$/CParticleRenderer_Mesh_Descriptor_687E3EC4 +{ + Mesh = "Meshes/Geosphere.pkmm"; + SubMeshId = 0; + Material = Additive; + MaterialParametersFields = + { + "DiffuseColor = Color", + }; + Diffuse = "Textures/FX/Fire2.png"; + CustomName = "Mesh_Descriptor"; +} +CParticleState $LOCAL$/CParticleState_3D5454D3 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/Script_2", + }; +} +CParticleRenderer_Mesh $LOCAL$/CParticleRenderer_Mesh_31DAE3BD +{ + CustomName = "Mesh"; + Meshes = + { + "$LOCAL$/CParticleRenderer_Mesh_Descriptor_687E3EC4", + }; + ScaleField = "Size"; + EulerRotationField = "Rotation"; + RotationAxisAngleField = ""; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4664FEE6 +{ + FieldName = "Size"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D58C74A1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_71E8EF78"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_71E8EF78 +{ + Expression = "function void Eval() +{ + Rotation=RotationInit+float3(0,scene.Time*10,0); + Color=RGB.xyz1*sin(LifeRatio*3)*0.5; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1BDA079B +{ + FieldName = "RotationInit"; + FieldType = float3; + TransformFilter = full; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D8E1BE65 +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_20D35A8C", + "$LOCAL$/CParticleFieldDeclaration_1694863F", + "$LOCAL$/CParticleFieldDeclaration_F01DDC2E", + "$LOCAL$/CParticleFieldDeclaration_E2763880", + "$LOCAL$/CParticleFieldDeclaration_96156021", + "$LOCAL$/CParticleFieldDeclaration_A72DDF50", + "$LOCAL$/CParticleFieldDeclaration_54FF4853", + "$LOCAL$/CParticleFieldDeclaration_70F4248E", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_7110CCC0", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_30AD0A83"; + States = + { + "$LOCAL$/CParticleState_01226A02", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_20D35A8C +{ + FieldName = "pCoords"; + FieldType = int3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1694863F +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F2B14DAF +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CActionFactoryWithChilds $LOCAL$/Other +{ + EditorInfosIsBlockMinimized = 0; + ChildList = + { + "$LOCAL$/Ball", + "$LOCAL$/Glow", + }; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_7110CCC0 +{ + SamplerName = "Turb_0"; + Wavelength = 2.0000000e+000; + Strength = 7.0710678e+001; + Gain = 1.0000000e+000; + TimeScale = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_30AD0A83 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = rand(0.25,0.5); + CurrentScale = Scale * SizeSampler.sample(spawner.LifeRatio); + pCoords = Shape_0.sampleParametricCoords(); + Position=Shape_0.samplePosition(pCoords)* (CurrentScale * SizeSampler.sample(spawner.LifeRatio)); + Mass=CurrentScale; + TextureID = rand(0,512)%6; +} +"; +} +CParticleState $LOCAL$/CParticleState_01226A02 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_4", + "$LOCAL$/Trail_2", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_0F7E6FED +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_1C55A6B4"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1C55A6B4 +{ + Expression = "function void Eval() +{ + // In this case the sampling of the normal is set in realtime + // because the trail travel along the surface and we want to match the faces of the ribbon with the surface + AxisUp=Shape_0.sampleNormal(pCoords); + Position=Position*CurrentScale; + VelocityField=Turb_0.sample(Position/CurrentScale); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/InLightning_pCoords +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_D8E1BE65"; + DurationInSeconds = 7.5000000e-001; + SpawnCount = 3.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleEvolver_Projection $LOCAL$/Evolver_1 +{ + CustomName = "Projection"; + Shape = "Shape_0"; + OutputParametricCoordsField = "pCoords"; +} +CParticleEvolver_Physics $LOCAL$/Evolver_2 +{ + CustomName = "Physics"; + Mass = 0.0000000e+000; + Drag = 1.0000000e+000; +} +CParticleEvolver_Spawner $LOCAL$/Trail_2 +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + LocalSpaceSpawn = true; + Descriptor = "$LOCAL$/CParticleDescriptor_7A4351D2"; +} +CParticleState $LOCAL$/CParticleState_E8DB9F13 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7A4351D2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_35782C54"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_7F906BF6", + "$LOCAL$/CParticleFieldDeclaration_42738008", + "$LOCAL$/CParticleFieldDeclaration_F2B14DAF", + "$LOCAL$/CParticleFieldDeclaration_298867DF", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_43D2771E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_42CA8BFD"; + States = + { + "$LOCAL$/CParticleState_E8DB9F13", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_42CA8BFD +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 0.01; + ColorCoeff=sin(spawner.LifeRatio*3)*RGB.xyz1*5; + Position=vrand()*0.1* (Scale * parent.CurrentScale); + // Simply add the normals information in the axis field of the ribbon and that\'s it! + AxisUp=parent.AxisUp; + TextureID = parent.TextureID; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_35782C54 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/RainbowDashTornadoRainbow.png"; + AtlasDefinition = "Textures/FX/AtlasRainbowDashRainbow.pkat"; + AxisField = "AxisUp"; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_5 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/Script_4", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7F906BF6 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_4 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_3106DEF1"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3106DEF1 +{ + Expression = "function void Eval() +{ + Color=float4(4)*sin(LifeRatio*3)*pow(GlowCurve.sample(LifeRatio),3); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42738008 +{ + FieldName = "ColorCoeff"; + FieldType = float4; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Glow +{ + Descriptor = "$LOCAL$/CParticleDescriptor_29F3590A"; + DurationInSeconds = 1.0000000e+000; + SpawnCount = 6.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_29F3590A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_766CC37C"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C1FAB4F9", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_32830795"; + States = + { + "$LOCAL$/CParticleState_3A34A9EF", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_32830795 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = (2.1*Scale)*SizeSampler.sample(spawner.LifeRatio); + Color=(RGB.xyz1*0.5+0.5)*0.1; +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_766CC37C +{ + CustomName = "Billboard"; + Diffuse = "Textures/Fx/Glow_02.dds"; +} +CParticleState $LOCAL$/CParticleState_3A34A9EF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_2", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_2 +{ + CustomName = "Localspace"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C1FAB4F9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_4 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/Evolver_2", + "$LOCAL$/Evolver_1", + "$LOCAL$/CParticleEvolver_Script_0F7E6FED", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_6 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_7 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_BA79E974", + "$LOCAL$/Script_3", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_ACB53148 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(2.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + MaxValueF4 = float4(1.0000000e+003, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6D21C725 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6ED3D8FF +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F01DDC2E +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AFC47789 +{ + FieldName = "VelocityField"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E2763880 +{ + FieldName = "VelocityField"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E795E065 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_54499B1D"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_54499B1D +{ + Expression = "function void Eval() +{ +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_72582A57 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 3.1219229e-001, + 4.0613380e-001, + 4.7359553e-001, + 4.8612782e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.0566951e-001, + 3.5931441e-001, + 7.7562624e-001, + 1.6266266e+000, + 8.8886678e-001, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 4.5734131e-001, + 1.3761818e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0165057e-002, + 4.1680625e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_B4A3F15A +{ + SamplerName = "Shape_0"; + Shape = "$LOCAL$/CShapeDescriptor_00485E25"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_96156021 +{ + FieldName = "LightningScale"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A72DDF50 +{ + FieldName = "CurrentScale"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_54FF4853 +{ + FieldName = "CurrentFlux"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_43D2771E +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.5252139e-001, + 2.8020301e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.0132892e+000, + 3.9947742e-001, + 8.3351731e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.4297950e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D9CFE688 +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.5208611e-001, + 2.7753931e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.4679444e+000, + 1.0251962e+000, + 8.3351731e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.4350865e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A991C3EB +{ + FieldName = "ColorCoeff"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_298867DF +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_70F4248E +{ + FieldName = "TextureID"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7969208C +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_7A5AC43F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_7FAD886E", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_68BB78C9", + "$LOCAL$/CParticleSamplerCurve_D021EC44", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_138CB2C0"; + States = + { + "$LOCAL$/CParticleState_B343E883", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_7A5AC43F +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/DistortionCircle_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7FAD886E +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_68BB78C9 +{ + SamplerName = "PreFlashSizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_138CB2C0 +{ + Expression = "function void Eval() +{ + Life = 1.5; + Size = (2.1) * PreFlashSizeSampler.sample(spawner.LifeRatio); + Color=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_B343E883 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_1FF3A002", + "$LOCAL$/Script_5", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_1FF3A002 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Field_FF6CDDED", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_FF6CDDED +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_508DACB4"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_508DACB4 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.3000004e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.2252920e+001, + 1.2252920e+001, + 1.2252920e+001, + 1.2252920e+001, + 1.6135629e+000, + 1.6135629e+000, + 1.6135629e+000, + 1.6135629e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.0815220e+001, + -2.0815220e+001, + -2.0815220e+001, + -2.0815220e+001, + -1.0668870e+000, + -1.0668870e+000, + -1.0668870e+000, + -1.0668870e+000, + -2.1661050e+000, + -2.1661050e+000, + -2.1661050e+000, + -2.1661050e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + Delay = 2.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_7969208C"; + DurationInSeconds = 1.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_07942268 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_D6AABD4B"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_55EC0275", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_27EF6066", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F699E7DC"; + States = + { + "$LOCAL$/CParticleState_527C75CF", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_D6AABD4B +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_8F6D306A", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_8F6D306A +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_55EC0275 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F699E7DC +{ + Expression = "function void Eval() +{ + Life = 0.7; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleState $LOCAL$/CParticleState_527C75CF +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_4901513E", + "$LOCAL$/CParticleEvolver_Field_B1D389D9", + "$LOCAL$/Script_6", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_4901513E +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_B1D389D9 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_E55E9110"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E55E9110 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0025764e-001, + 1.9101427e-001, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 6.9227076e-001, + 2.4187570e+000, + 1.6533300e+001, + 1.6533300e+001, + 1.2689912e-001, + 3.1057596e-001, + 5.8559299e-001, + 4.1663635e-001, + 3.2757044e-002, + 4.2809024e-002, + 8.5524112e-002, + 2.9747784e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 7.0461058e-003, + 7.0461058e-003, + 7.0461058e-003, + 7.0461058e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.7870470e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.3756945e-001, + 0.0000000e+000, + 0.0000000e+000, + 4.1873145e-001, + 3.0559379e-001, + -1.9581988e-001, + -1.0217938e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + Delay = 3.0000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_07942268"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_741B7204 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_FA023717"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A12196E1", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_69F79EB8"; + States = + { + "$LOCAL$/CParticleState_3EEAC7DB", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_FA023717 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_70D60826", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_70D60826 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A12196E1 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_69F79EB8 +{ + Expression = "function void Eval() +{ + Life = 0.3; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleState $LOCAL$/CParticleState_3EEAC7DB +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_86A1C63A", + "$LOCAL$/CParticleEvolver_Field_E7DE6485", + "$LOCAL$/CParticleEvolver_Field_FA0A135F", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_86A1C63A +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E7DE6485 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_173BEB2C"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_173BEB2C +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0705090e+000, + 1.0705090e+000, + 1.0705090e+000, + 1.0705090e+000, + 4.3558908e-001, + 4.5341939e-001, + -2.4205603e-001, + -3.9989603e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_FA0A135F +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_1AF9760E"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1AF9760E +{ + Times = + { + 0.0000000e+000, + 5.7562411e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.7029600e+000, + 3.5331841e+000, + 8.9722443e-001, + }; + FloatTangents = + { + 0.0000000e+000, + -1.8865035e-001, + -2.7060287e+000, + -1.9950057e+000, + -1.8156990e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_3 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_741B7204"; + DurationInSeconds = 2.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 4.0000000e+000; +} +CParticleEvolver_Script $LOCAL$/Script_5 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_DC5A7B3D"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DC5A7B3D +{ + Expression = "function void Eval() +{ + Size = ScaleSampler.sample(LifeRatio) * 4 * Scale; +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D021EC44 +{ + SamplerName = "ScaleSampler"; + Times = + { + 0.0000000e+000, + 3.5524982e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.8791434e-001, + 1.2521470e+000, + 1.5788783e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 4.0019765e-001, + 7.2632694e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_27EF6066 +{ + SamplerName = "ScaleSampler"; + Times = + { + 0.0000000e+000, + 3.5524982e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.9895319e-001, + 1.2521470e+000, + 1.5788783e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 4.0019765e-001, + 7.2632694e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_6 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_2A4DB421"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2A4DB421 +{ + Expression = "function void Eval() +{ + Size = ScaleSampler.sample(LifeRatio) * 2.5 * Scale; +} +"; +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashOmniSmashImpact.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashOmniSmashImpact.pkfx new file mode 100644 index 0000000..de3ac62 --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashOmniSmashImpact.pkfx @@ -0,0 +1,1268 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/branch", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_D642EDB8 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_01.dds"; + BillboardMode = VelocityAxisAligned; + AxisScale = 5.0000001e-002; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_081A1F6D +{ + FieldName = "Color3"; + FieldType = float4; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/lightning", + "$LOCAL$/rays", + "$LOCAL$/particles", + "$LOCAL$/flash", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9AEE5ABD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_168DE691 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_216E6F10"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C4D21C59 +{ + Expression = "function void Eval() +{ + Life = rand(0.1,0.5); + Size = 0.01*Scale; + Position=Sampler_0.samplePosition()*rand(1,1.5)*Scale; + CC = CustomColorRGBA; + Velocity=Position*40; +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_55DC68CE +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_D642EDB8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3E2C81FA", + "$LOCAL$/CParticleFieldDeclaration_E4BC414A", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_0A82E8ED", + "$LOCAL$/CParticleSamplerCurve_271D2E86", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C4D21C59"; + States = + { + "$LOCAL$/CParticleState_0DAAB59B", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/flash +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_28A5F085"; + DurationInSeconds = 3.0000001e-001; + SpawnCount = 5.0000000e+001; + FluxFactorExpression = "Flux"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7585BA0C +{ + Expression = "function void Eval() +{ + Color*=CC; + Color2=Color; + Color3=Color*0.25; + Color4=Color*0.05; + Size*=SizeCoeff * SizeSampler.sample(LifeRatio); + Size2*=SizeCoeff * SizeSampler.sample(LifeRatio); +} +"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_01D8083D +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7585BA0C"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_10584272 +{ + FieldName = "Color2"; + FieldType = float4; +} +CParticleState $LOCAL$/CParticleState_0DAAB59B +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_02954683", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_216E6F10 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/rays +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_55DC68CE"; + DurationInSeconds = 3.0000001e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 1.2800000e+002; + FluxFactorExpression = "Flux"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_5034A9F2 +{ + CustomName = "Physics"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/lightning +{ + Descriptor = "$LOCAL$/CParticleDescriptor_7C46C5E9"; + DurationInSeconds = 5.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 1.6000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7C46C5E9 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AA0A7EFA", + "$LOCAL$/CParticleFieldDeclaration_2832E92E", + "$LOCAL$/CParticleFieldDeclaration_668C5BD9", + "$LOCAL$/CParticleFieldDeclaration_7EA25C67", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3F5A22F7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A99F3108"; + States = + { + "$LOCAL$/CParticleState_4C8B87C2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A99F3108 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Velocity = Scale*float3(rand(-1,1),100,rand(-1,1)); + SizeCoeff = Scale; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)); + Position = DropSampler.samplePosition(); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_668C5BD9 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_4C8B87C2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_081972C0", + "$LOCAL$/death", + "$LOCAL$/base", + "$LOCAL$/glow", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C1D98F7D +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8FACC28C +{ + FieldName = "Timeb"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(1.7553200e-001, 6.4361697e-001, 2.0000000e+000, 2.0000000e+000); + MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3678347C +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_104D4D29 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5E0F683"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9AEE5ABD", + "$LOCAL$/CParticleFieldDeclaration_BB297115", + "$LOCAL$/CParticleFieldDeclaration_42AA1C4F", + "$LOCAL$/CParticleFieldDeclaration_BD2FCDD3", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_37052329", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3F389B48"; + States = + { + "$LOCAL$/CParticleState_6B8B6DDE", + }; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_7A8041A7 +{ + EventName = "OnDeath"; + EventAction = "$LOCAL$/branch"; +} +CParticleState $LOCAL$/CParticleState_6B8B6DDE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B91A4402", + "$LOCAL$/CParticleEvolver_Script_168DE691", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BC1951CA +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7AF25165"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7AF25165 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.01; + float n = 60 * SizeCoeff; + Velocity = select(Velocity,float3(rand(-n,n),SizeCoeff*100,rand(-n,n)),shouldSpawnBranch); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E9BE2D1D +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B91A4402 +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F1A21305 +{ + CustomName = "Physics"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5E0F683 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AA0A7EFA +{ + FieldName = "Timeb"; +} +CParticleEvolver_Spawner $LOCAL$/base +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_104D4D29"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3F389B48 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.4 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = CustomColorRGBA * 10; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/death +{ + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_CD6A0035"; +} +CParticleState $LOCAL$/CParticleState_91BC2CDA +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_D33971BE", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CD6A0035 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_59D07FA1", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_7A8041A7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C095B224"; + States = + { + "$LOCAL$/CParticleState_91BC2CDA", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C095B224 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = CustomColorRGBA; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_172782E5 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D33971BE +{ + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/branch +{ + Descriptor = "$LOCAL$/CParticleDescriptor_1DEAC189"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1DEAC189 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8FACC28C", + "$LOCAL$/CParticleFieldDeclaration_C9081B39", + "$LOCAL$/CParticleFieldDeclaration_28722F38", + "$LOCAL$/CParticleFieldDeclaration_E4021DE6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4669BE28"; + States = + { + "$LOCAL$/CParticleState_247F7DE2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4669BE28 +{ + Expression = "function void Eval() +{ + Life = rand(0.025,0.05); + Velocity=float3(0,50,0)*Scale; + SizeCoeff=Scale; + FluxScale=pow(Flux,0.5)*1*Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28722F38 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_247F7DE2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9AAE6F84", + "$LOCAL$/ert", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_4E3ECB6C +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F +{ + Expression = "function void Eval() +{ + Timeb += dt*SizeCoeff; + + int shouldChangeDirection = Timeb>0.01*SizeCoeff; + + float n = 60*SizeCoeff; + Velocity = select(Velocity, float3(rand(-n,n),50*SizeCoeff,rand(-n,n)), shouldChangeDirection); + Timeb = select(Timeb,0,shouldChangeDirection); // reset the \'should.pkangeDirection\' condition +} +"; +} +CParticleEvolver_Spawner $LOCAL$/ert +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_47893DF0"; +} +CParticleState $LOCAL$/CParticleState_65AD76F1 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F1A21305", + "$LOCAL$/CParticleEvolver_Script_403022B8", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_47893DF0 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_23F2DF84"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0B9A51ED", + "$LOCAL$/CParticleFieldDeclaration_366F0A1E", + "$LOCAL$/CParticleFieldDeclaration_BC9A45D6", + "$LOCAL$/CParticleFieldDeclaration_C223EA14", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_09C487E3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3"; + States = + { + "$LOCAL$/CParticleState_65AD76F1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3 +{ + Expression = "function void Eval() +{ + Life = 0.1; + float iSpawnerLR = 1 - spawner.LifeRatio; + Size = 0.4*Scale * pow(iSpawnerLR, 0.5); + ColorCoeff = pow(Flux,4)*100*pow(iSpawnerLR, 2); + TextureID = rand(0,16); + Position = float3(0,-0.5,0)*Scale; + CC = CustomColorRGBA * 5; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_23F2DF84 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_403022B8 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_70F7169B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_70F7169B +{ + Expression = "function void Eval() +{ + Color = CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C223EA14 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0B9A51ED +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_0A82E8ED +{ + SamplerName = "Sampler_0"; + Shape = "$LOCAL$/CShapeDescriptor_6143D7FC"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_6143D7FC +{ + ShapeType = SPHERE; + Radius = 5.0000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C9081B39 +{ + FieldName = "SizeCoeff"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2832E92E +{ + FieldName = "SizeCoeff"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_B37F3780 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56E6F843"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56E6F843 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.2500000e+000, + 1.2500000e+000, + 1.2500000e+000, + 1.2500000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3E2C81FA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6F665F82 +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -2.0118832e+001, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_F09C8E6B +{ + CustomName = "Field"; + Name = "Size2"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6F665F82"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_CFB4D94E +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Spark_01.dds"; + BillboardMode = PlanarAlignedQuad; + SizeField = "Size2"; + ColorField = "Color2"; + AxisField = "Axis"; + Axis2Field = "Axis"; + AxisScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_366F0A1E +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BB297115 +{ + FieldName = "TextureID"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_647FBAC8 +{ + CustomName = "Rotation"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BF7DF81F +{ + FieldName = "Color4"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_376F478C +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; + SizeField = "Size4"; + ColorField = "Color4"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_90A7E102 +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_88F983BD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_91A60DEB +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_26AACAD9 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_01.dds"; + BillboardMode = PlanarAlignedQuad; + SizeField = "Size2"; + ColorField = "Color3"; + AxisField = "Axis"; + Axis2Field = "Axis"; + AxisScale = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_548E9048 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 2 * Scale; + Color = CustomColorRGBA * 0.04 * pow(1 - spawner.LifeRatio, 2); +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E8BCA629 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_91A60DEB"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_88F983BD", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_548E9048"; + States = + { + "$LOCAL$/CParticleState_D38CFADE", + }; +} +CParticleEvolver_Spawner $LOCAL$/glow +{ + CustomName = "Spawner"; + SpawnInterval = 1.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_E8BCA629"; +} +CParticleState $LOCAL$/CParticleState_D38CFADE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_90A7E102", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_859F0B27 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Spark_01.dds"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_947242A9 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.8163052e+000, + -2.8163052e+000, + -2.8163052e+000, + -2.8163052e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_874E715E +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_947242A9"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C4E99877 +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.0912059e+001, + 0.0000000e+000, + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_BB168696 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_5A4739C0"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D31E963A", + "$LOCAL$/CParticleFieldDeclaration_69604415", + "$LOCAL$/CParticleFieldDeclaration_172782E5", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_8C344D2B"; + States = + { + "$LOCAL$/CParticleState_278A2342", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/particles +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_BB168696"; + DurationInSeconds = 3.0000001e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 5.0000000e+001; + FluxFactorExpression = "Flux"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5A4739C0 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Point_02.dds"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_53645CC4 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_C4E99877"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D31E963A +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_69604415 +{ + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EC989D4A +{ + Expression = "function void Eval() +{ + Size *=SizeCoeff; + Color*=CC; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_08914755 +{ + CustomName = "Physics"; +} +CParticleState $LOCAL$/CParticleState_95C3EA7A +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_BE004115", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F8AD2AC3 +{ + Expression = "function void Eval() +{ + Life =pow(0.25,Flux); + + Rotation=rand(-pi,pi); + ScalarRotationSpeed=rand(-10,10); + Axis=float3(0,1,0); + Position=float3(0,0.01,0)*Scale; + CC = CustomColorRGBA; + SizeCoeff=Scale; + Size4=1.5*Scale; +} +"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_8C344D2B +{ + Expression = "function void Eval() +{ + Life = rand(0.25,0.5); + Rotation=rand(-pi,pi); + SizeCoeff=rand(0.5,2)*Scale; + ScalarRotationSpeed=rand(0.5,1); + CC = CustomColorRGBA * 2; +} +"; +} +CParticleState $LOCAL$/CParticleState_278A2342 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_72AA973A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_A4ABBCFD +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E74D9BCC +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_BB03FB5F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_BB03FB5F +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 3.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_CFFCE8A6 +{ + CustomName = "Rotation"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_77EDFCD1 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_C5F72C50"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C5F72C50 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 9.9899173e-001, + 9.9899173e-001, + 9.9899173e-001, + 9.9899173e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_DAF659D3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EC989D4A"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E822F14F +{ + FieldName = "SizeCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_1E432614 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EDB67C87"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EDB67C87 +{ + Expression = "function void Eval() +{ + Color*=CC*pow(GlowSampler.sample(LifeRatio),4); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4A92E238 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CB2CD81B +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_28A5F085 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_6BA72134"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_4A92E238", + "$LOCAL$/CParticleFieldDeclaration_CB2CD81B", + "$LOCAL$/CParticleFieldDeclaration_10584272", + "$LOCAL$/CParticleFieldDeclaration_081A1F6D", + "$LOCAL$/CParticleFieldDeclaration_3678347C", + "$LOCAL$/CParticleFieldDeclaration_E822F14F", + "$LOCAL$/CParticleFieldDeclaration_BF7DF81F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_F993B13E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F8AD2AC3"; + States = + { + "$LOCAL$/CParticleState_95C3EA7A", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_6BA72134 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_859F0B27", + "$LOCAL$/CParticleRenderer_Billboard_CFB4D94E", + "$LOCAL$/CParticleRenderer_Billboard_26AACAD9", + "$LOCAL$/CParticleRenderer_Billboard_376F478C", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_081972C0 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_C1D98F7D", + "$LOCAL$/CParticleEvolver_Script_BC1951CA", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_02954683 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/Evolver_1", + "$LOCAL$/CParticleEvolver_Physics_5034A9F2", + "$LOCAL$/CParticleEvolver_Field_B37F3780", + "$LOCAL$/CParticleEvolver_Script_1E432614", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_72AA973A +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_A4ABBCFD", + "$LOCAL$/CParticleEvolver_Rotation_CFFCE8A6", + "$LOCAL$/CParticleEvolver_Field_E74D9BCC", + "$LOCAL$/CParticleEvolver_Field_77EDFCD1", + "$LOCAL$/CParticleEvolver_Script_DAF659D3", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9AAE6F84 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E9BE2D1D", + "$LOCAL$/CParticleEvolver_Script_4E3ECB6C", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_BE004115 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_08914755", + "$LOCAL$/CParticleEvolver_Rotation_647FBAC8", + "$LOCAL$/CParticleEvolver_Field_53645CC4", + "$LOCAL$/CParticleEvolver_Field_874E715E", + "$LOCAL$/CParticleEvolver_Field_F09C8E6B", + "$LOCAL$/CParticleEvolver_Script_01D8083D", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42AA1C4F +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BC9A45D6 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BD2FCDD3 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4BC414A +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7EA25C67 +{ + FieldName = "NextBranchTime"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4021DE6 +{ + FieldName = "ParentColor"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_59D07FA1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Damper $LOCAL$/Evolver_1 +{ + CustomName = "Damper"; + ExpDampingTime = 1.0000000e-001; + FieldToDampen = "Velocity"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_271D2E86 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 1.0010426e-001, + 3.0573303e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 7.7770643e+000, + 3.7461276e+000, + 1.5208721e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 6.9972587e-001, + 0.0000000e+000, + 0.0000000e+000, + -2.4454441e+000, + -8.2565842e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3F5A22F7 +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_EE347186"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_EE347186 +{ + ShapeType = CYLINDER; + Radius = 5.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F993B13E +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.1523960e-001, + 3.4486318e-001, + 4.2985749e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.5470963e+000, + 9.4820709e+000, + 1.0705404e+000, + 6.4638108e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -3.4701294e-001, + -6.9144940e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_37052329 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900167e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312178e+000, + 3.8749021e-001, + 1.5209466e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_09C487E3 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900170e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312180e+000, + 3.8749021e-001, + 1.5209470e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashRainblow.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashRainblow.pkfx new file mode 100644 index 0000000..b79a8d4 --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashRainblow.pkfx @@ -0,0 +1,1545 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Tornado", + "$LOCAL$/Smoke", + "$LOCAL$/Flash", + "$LOCAL$/Particles", + "$LOCAL$/Ray", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_A87F89C0", + "$LOCAL$/CParticleAttributeDeclaration_6AEF6013", + "$LOCAL$/CParticleAttributeDeclaration_2511A6D2", + "$LOCAL$/CParticleAttributeDeclaration_14DD04FD", + "$LOCAL$/CParticleAttributeDeclaration_B6B455B8", + "$LOCAL$/CParticleAttributeDeclaration_C4BAD27C", + "$LOCAL$/CParticleAttributeDeclaration_5CC8F48E", + "$LOCAL$/CParticleAttributeDeclaration_B8C399E2", + "$LOCAL$/CParticleAttributeDeclaration_D2EC38A0", + "$LOCAL$/CParticleAttributeDeclaration_A440FEF0", + "$LOCAL$/CParticleAttributeDeclaration_3F5845CA", + "$LOCAL$/CParticleAttributeDeclaration_7172D1F5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_BB0B9311 +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9241976E", + "$LOCAL$/CParticleFieldDeclaration_0146A810", + "$LOCAL$/CParticleFieldDeclaration_58EE5904", + "$LOCAL$/CParticleFieldDeclaration_BE911A95", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A198D2AA"; + States = + { + "$LOCAL$/CParticleState_B51331B5", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A198D2AA +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + SegmentID = spawner.EmittedCount; + Position = float3(0,HeightPerSegment,0) + float3(0,HeightPerSegment,0) * SegmentID; + InitPosition = Position; + Life = TornadeLife; + CircleRotation = -0.5 * SegmentID; + SecondCircleRotation = -0.5 * SegmentID; +} +"; +} +CParticleState $LOCAL$/CParticleState_B51331B5 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Script_1", + "$LOCAL$/CParticleEvolver_Physics_0A6D281C", + "$LOCAL$/Trail_1", + "$LOCAL$/Trail_2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_0A6D281C +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Tornado +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_BB0B9311"; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_8CB2E35B +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 9.8859310e-001, + 9.8859310e-001, + 9.8859310e-001, + 9.8859310e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_EB3647BA +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_8CB2E35B"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9241976E +{ + FieldName = "CircleRotation"; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_A8C933C9"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A8C933C9 +{ + Expression = "function void Eval() +{ + CircleRotation += RotationSpeed * dt; + SecondCircleRotation += SecondRotationSpeed * dt; + + float radius = MinRadius + (RadiusPerSegment * SegmentID); + float secondRadius = (RadiusPerSegment * SegmentID); + Position = InitPosition + (float3(sin(SecondCircleRotation), 0, cos(SecondCircleRotation))*secondRadius) + (float3(sin(CircleRotation), 0, cos(CircleRotation))*radius); +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_A87F89C0 +{ + AttributeName = "RotationSpeed"; + DefaultValueF4 = float4(4.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.2000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_12C4FF02"; +} +CParticleState $LOCAL$/CParticleState_8A340B83 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_12C4FF02 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_6F2C6056"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_08639968", + "$LOCAL$/CParticleFieldDeclaration_F7EAC8CF", + "$LOCAL$/CParticleFieldDeclaration_E952F726", + "$LOCAL$/CParticleFieldDeclaration_B3A9F629", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_CD462EDC", + "$LOCAL$/CParticleSamplerCurve_3F4BAA17", + "$LOCAL$/CParticleSamplerDoubleCurve_6398D536", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_6ADA28ED"; + States = + { + "$LOCAL$/CParticleState_8A340B83", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_6ADA28ED +{ + Expression = "function void Eval() +{ + Life = TrailRifeTime; + InitSize = HeightPerSegment; + Normal = float3(sin(parent.CircleRotation) * 0.5,1,0);//(scene.axisUp() + scene.axisSide()) * 0.5; + //Normal = fast_normalize(parent.InitPosition - Position); + TextureID = parent.SegmentID; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_6F2C6056 +{ + DrawOrder = 1; + CustomName = "Ribbon"; + BillboardingMaterial = AlphaBlend_Soft; + Diffuse = "Textures/FX/RainbowDashTornadoRainbow.png"; + AtlasDefinition = "Textures/FX/AtlasRainbowDashRainbow.pkat"; + TextureUField = "LifeRatio"; + BillboardMode = SideAxisAligned; + AxisField = "Normal"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_08639968 +{ + FieldName = "Normal"; + FieldType = float3; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_8264004B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_8264004B +{ + Expression = "function void Eval() +{ + float turbRate = pow(Glow.sample(LifeRatio),Power); + Size = InitSize * SizeSampler.sample(LifeRatio); + Color = ColorSampler.sample(LifeRatio); + Color = float4(Color.r * turbRate, Color.g * turbRate, Color.b* turbRate, Color.a); +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_CD462EDC +{ + SamplerName = "ColorSampler"; + Times = + { + 0.0000000e+000, + 1.2381318e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 5.1115233e-001, + -8.8497996e-004, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F7EAC8CF +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0146A810 +{ + FieldName = "InitPosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_6AEF6013 +{ + AttributeName = "HeightPerSegment"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_2511A6D2 +{ + AttributeName = "RadiusPerSegment"; + DefaultValueF4 = float4(7.9999998e-002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_14DD04FD +{ + AttributeName = "MinRadius"; + DefaultValueF4 = float4(4.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_58EE5904 +{ + FieldName = "SegmentID"; + FieldType = int; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3F4BAA17 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 5.0000000e-001, + 1.0966564e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.9865251e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E952F726 +{ + FieldName = "InitSize"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B6B455B8 +{ + AttributeName = "TrailRifeTime"; + DefaultValueF4 = float4(3.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BE911A95 +{ + FieldName = "SecondCircleRotation"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C4BAD27C +{ + AttributeName = "SecondRotationSpeed"; + DefaultValueF4 = float4(7.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_34DDDFD6 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_23457051"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_4D42BCE8", + "$LOCAL$/CParticleFieldDeclaration_78D829CB", + "$LOCAL$/CParticleFieldDeclaration_1FB8D6EA", + "$LOCAL$/CParticleFieldDeclaration_35356AF5", + "$LOCAL$/CParticleFieldDeclaration_87F33A5C", + "$LOCAL$/CParticleFieldDeclaration_57CEFA4F", + "$LOCAL$/CParticleFieldDeclaration_F24BEFBE", + }; + VirtualParentFields = + { + "$LOCAL$/CParticleFieldDeclaration_A60B4A59", + "$LOCAL$/CParticleFieldDeclaration_14991B90", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_5C311993", + "$LOCAL$/CParticleSamplerCurve_D5B11E52", + "$LOCAL$/CParticleSamplerCurve_6565B484", + "$LOCAL$/CParticleSamplerCurve_95020DBB", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_24A06B97"; + States = + { + "$LOCAL$/CParticleState_2E7E16A6", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_23457051 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/SmokeCartoon_01.dds"; + AtlasDefinition = "Textures/FX/AtlasX2.pkat"; + SoftAnimationBlending = true; + BillboardMode = VelocitySpheroidalAlign; + AxisScale = 3.0000001e-001; + SoftnessDistance = 2.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4D42BCE8 +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_78D829CB +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1FB8D6EA +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_35356AF5 +{ + FieldName = "RotationAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_87F33A5C +{ + FieldName = "DistRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_57CEFA4F +{ + FieldName = "Distance"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F24BEFBE +{ + FieldName = "FlameRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A60B4A59 +{ + FieldName = "Velocity"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_14991B90 +{ + FieldName = "Distance"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_5C311993 +{ + SamplerName = "Turb"; + Wavelength = 2.0000000e+000; + Strength = 3.5355338e-001; + Gain = 1.0000000e+000; + TimeScale = 5.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D5B11E52 +{ + SamplerName = "SampColor"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.7422936e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.4143204e-001, + 2.4143204e-001, + 2.4143204e-001, + 2.4194762e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.7190320e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6565B484 +{ + SamplerName = "SampColorFlame"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.9779557e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_24A06B97 +{ + Expression = "function void Eval() +{ + Distance = parent.Distance; + DistRatio = Distance / SmokeDistance; + + Life = rand(0, 1) * (1 - DistRatio) * 1; + //kill(Life < 0.1); + Size = 0.2; + AxisUp = float3(1, 0, 0); + + TextureID = rand(32, 35); +} +function void PostEval() +{ + Position += float3(0, 0.2, 0); + float3 up = float3(0, 1, 0); + float3 cr = cross(vrand() + AxisUp * 1, float3(0, 1, 0)).x0z;// + vrand() * 0.1; + float crl = length(cr); + float3 x = select(float3(0), cr / crl, crl > 0.0001); + + Velocity = fast_normalize(float3(rand(-5,5),0, rand(-5,5))) * 3; + RotationAxis = cross(up, x) * 2; +} +"; +} +CParticleState $LOCAL$/CParticleState_2E7E16A6 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_994B8761", + "$LOCAL$/CParticleEvolver_Script_85F81938", + "$LOCAL$/CParticleEvolver_Rotation_B6984CBA", + "$LOCAL$/CParticleEvolver_Damper_18BC2D05", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_994B8761 +{ + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 5.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e+000; + VelocityFieldSampler = "Turb"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_85F81938 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_CADF945B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_CADF945B +{ + Expression = "function void Eval() +{ + Color = SampColor.sample(LifeRatio) + SampColorFlame.sample(min(LifeRatio + pow(FlameRatio, 4) * 0.1, 1)); + Size = SampSize.sample(LifeRatio); + Color *= (1 - DistRatio); + TextureID = (TextureID + dt * 0.1 - 32) % 4 + 32; +} +"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_B6984CBA +{ + CustomName = "Rotation"; + RotationMode = Axial; + AxialRotationSpeedField = "RotationAxis"; +} +CParticleEvolver_Damper $LOCAL$/CParticleEvolver_Damper_18BC2D05 +{ + CustomName = "Damper"; + ExpDampingTime = 2.0000000e-001; + FieldToDampen = "RotationAxis"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B5911DAC +{ + Times = + { + 0.0000000e+000, + 4.4149888e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4735340e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Smoke +{ + Descriptor = "$LOCAL$/CParticleDescriptor_34DDDFD6"; + Infinite = true; + DurationInSeconds = 1.0000000e-001; + DurationRelativeRandomDeviation = 2.0000000e+000; + SpawnCountMode = TotalParticleCount; + SpawnCount = 2.5600000e+002; + SpawnCountRelativeRandomDeviation = 2.0000000e+000; + FluxFactorExpression = "SmokeSpawnFact"; + FluxFunction = "$LOCAL$/CParticleSamplerCurve_B5911DAC"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_5CC8F48E +{ + AttributeName = "SmokeDistance"; + DefaultValueF4 = float4(5.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_95020DBB +{ + SamplerName = "SampSize"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0929200e-001, + 8.5178810e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 8.2013486e-003, + 1.3454746e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B3A9F629 +{ + FieldName = "TextureID"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B8C399E2 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(3.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_6398D536 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 9.6040294e-002, + 1.6187957e-001, + 4.2304891e-001, + 4.9290201e-001, + 6.5048277e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.9479560e-001, + 9.4297880e-001, + 1.0245690e+000, + 1.0359550e+000, + 1.3865941e+000, + 4.0372081e+000, + 1.1462400e+000, + 9.9858201e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.2994978e-001, + 5.2994978e-001, + 7.0677501e-001, + 2.2324190e+000, + -1.2589170e+000, + -1.4095018e+000, + 1.9320533e+000, + 7.6640139e+000, + 3.7825663e+000, + 1.0116960e+000, + -2.2850899e-001, + -5.1549101e-001, + -3.3260620e-001, + -7.3772722e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 5.7597589e-002, + 7.4761227e-002, + 2.6808780e-001, + 5.0780308e-001, + 7.5035948e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 3.2795650e-001, + 1.0501560e+000, + 2.1253221e+000, + 3.1906829e+000, + 4.8741561e-001, + 1.2509789e+000, + 9.0204418e-001, + 1.0271250e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 5.8984131e-001, + 5.8984131e-001, + 7.8848600e-001, + 8.6239153e-001, + 1.0754330e+000, + 9.0648472e-001, + 2.5512040e-002, + 2.8736070e-001, + -1.2872400e+000, + -1.5961140e+000, + 6.7877718e-003, + 6.8682232e-003, + -3.0582249e-001, + -3.1475419e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_10156011 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_7E1587A8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_FB20300F", + "$LOCAL$/CParticleFieldDeclaration_7D76787E", + "$LOCAL$/CParticleFieldDeclaration_15902219", + "$LOCAL$/CParticleFieldDeclaration_BA4EEE50", + "$LOCAL$/CParticleFieldDeclaration_2A1E0353", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_71076B12"; + States = + { + "$LOCAL$/CParticleState_A8A7FE3D", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_7E1587A8 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_89296B8B", + "$LOCAL$/CParticleRenderer_Billboard_B89E5BAA", + "$LOCAL$/CParticleRenderer_Billboard_6352EEB5", + "$LOCAL$/CParticleRenderer_Billboard_CA99291C", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_89296B8B +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Spark_01.dds"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_B89E5BAA +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Spark_01.dds"; + BillboardMode = PlanarAlignedQuad; + SizeField = "Size2"; + AxisField = "Axis"; + Axis2Field = "Axis"; + AxisScale = 1.0000000e+000; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6352EEB5 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_01.dds"; + BillboardMode = PlanarAlignedQuad; + SizeField = "Size2"; + ColorField = "Color3"; + AxisField = "Axis"; + Axis2Field = "Axis"; + AxisScale = 1.0000000e+000; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_CA99291C +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; + SizeField = "Size4"; + ColorField = "Color4"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB20300F +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7D76787E +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_15902219 +{ + FieldName = "Color3"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BA4EEE50 +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2A1E0353 +{ + FieldName = "Color4"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_71076B12 +{ + Expression = "function void Eval() +{ + Life =pow(0.25,Flux); + + Rotation=rand(-pi,pi); + ScalarRotationSpeed=rand(-10,10); + Axis=float3(0,1,0); + Position=float3(0,0.1,0); + SizeCoeff=1; + Size4=2; +} +"; +} +CParticleState $LOCAL$/CParticleState_A8A7FE3D +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_EAEC2B44", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_EAEC2B44 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_C498C957", + "$LOCAL$/CParticleEvolver_Rotation_9A4AE766", + "$LOCAL$/CParticleEvolver_Field_F17C4721", + "$LOCAL$/CParticleEvolver_Field_D9E7261B", + "$LOCAL$/CParticleEvolver_Field_E05980C5", + "$LOCAL$/CParticleEvolver_Script_5A847D9F", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C498C957 +{ + CustomName = "Physics"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_9A4AE766 +{ + CustomName = "Rotation"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_F17C4721 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_7253F3F8"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_7253F3F8 +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.0912059e+001, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_D9E7261B +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_4E4A617A"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_4E4A617A +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.8163052e+000, + -2.8163052e+000, + -2.8163052e+000, + -2.8163052e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E05980C5 +{ + CustomName = "Field"; + Name = "Size2"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_5CCB1C6C"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5CCB1C6C +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -2.0118832e+001, + 0.0000000e+000, + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5A847D9F +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_D3B30D4E"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_D3B30D4E +{ + Expression = "function void Eval() +{ + float4 col = Color * RGB; + Color = col * 0.1; + Color3 = col*0.1; + Color4 = col*0.1; + + Size *= SizeCoeff * 2; + Size2 *= SizeCoeff * 2; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + Descriptor = "$LOCAL$/CParticleDescriptor_10156011"; + Infinite = true; + DurationInSeconds = 8.0000001e-001; + SpawnCount = 2.0000000e+001; + FluxFactorExpression = "Flux"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_D2EC38A0 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_A440FEF0 +{ + AttributeName = "RGB"; + AttributeType = float4; + DefaultValueF4 = float4(1.0000000e-001, 3.1200001e-001, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_496D9A82 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_01992A6D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0F51B334", + "$LOCAL$/CParticleFieldDeclaration_CDD7F807", + "$LOCAL$/CParticleFieldDeclaration_0EBD63D6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_BF194451"; + States = + { + "$LOCAL$/CParticleState_2CF920E8", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_01992A6D +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Point_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0F51B334 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CDD7F807 +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0EBD63D6 +{ + FieldName = "CC"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_BF194451 +{ + Expression = "function void Eval() +{ + Life = rand(0.25,0.5); + Rotation=rand(-pi,pi); + SizeCoeff=rand(0.5,2); + ScalarRotationSpeed=rand(0.5,1); + CC = RGB * 2; +} +"; +} +CParticleState $LOCAL$/CParticleState_2CF920E8 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_71DC5DCB", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_71DC5DCB +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_F2371AEA", + "$LOCAL$/CParticleEvolver_Rotation_92AEFEF5", + "$LOCAL$/CParticleEvolver_Field_93625E5C", + "$LOCAL$/CParticleEvolver_Field_964CF3BE", + "$LOCAL$/CParticleEvolver_Script_B884FF90", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F2371AEA +{ + CustomName = "Physics"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_92AEFEF5 +{ + CustomName = "Rotation"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_93625E5C +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_569AEE4F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_569AEE4F +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 3.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_964CF3BE +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_5DDE9E59"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5DDE9E59 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 9.9899173e-001, + 9.9899173e-001, + 9.9899173e-001, + 9.9899173e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_B884FF90 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_2AD8CD93"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2AD8CD93 +{ + Expression = "function void Eval() +{ + Size *=SizeCoeff; + Color*=CC; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Particles +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_496D9A82"; + Infinite = true; + DurationInSeconds = 4.4999999e-001; + SpawnCount = 5.0000000e+001; + FluxFactorExpression = "Flux"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_053BC622 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9C46EE8D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3A92B9D4", + "$LOCAL$/CParticleFieldDeclaration_20343327", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_6682AD76", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_51B6D588"; + States = + { + "$LOCAL$/CParticleState_1DFBDEEB", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9C46EE8D +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_01.dds"; + BillboardMode = VelocityAxisAligned; + AxisScale = 5.0000001e-002; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3A92B9D4 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_20343327 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_6682AD76 +{ + SamplerName = "Sampler_0"; + Shape = "$LOCAL$/CShapeDescriptor_215D7E71"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_215D7E71 +{ + Position = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + ShapeType = CYLINDER; + Radius = 1.5000000e+000; + Height = 5.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_51B6D588 +{ + Expression = "function void Eval() +{ + Life = 0.25; + Size = 0.005; + Position=Sampler_0.samplePosition()*rand(1,1.5); + CC = RGB; + Velocity=-Position*5; +} +"; +} +CParticleState $LOCAL$/CParticleState_1DFBDEEB +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_87BE228A", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_87BE228A +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E6D8CF15", + "$LOCAL$/CParticleEvolver_Field_948A60FC", + "$LOCAL$/CParticleEvolver_Script_42CE595E", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E6D8CF15 +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_948A60FC +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_7D2BD56F"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_7D2BD56F +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.7279777e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 8.1325090e-001, + 8.1325090e-001, + 8.1325090e-001, + 8.1325090e-001, + 7.9257488e-003, + 7.9257488e-003, + 7.9257488e-003, + 7.9257488e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1136881e-001, + -1.1136881e-001, + -1.1136881e-001, + -1.1136881e-001, + -2.8760097e+000, + -2.8760097e+000, + -2.8760097e+000, + -2.8760097e+000, + 1.2337922e-001, + 1.2337922e-001, + 1.2337922e-001, + 1.2337922e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_42CE595E +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_83432479"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_83432479 +{ + Expression = "function void Eval() +{ + + + Color*=CC * 30; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Ray +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_053BC622"; + Infinite = true; + DurationInSeconds = 7.5000000e-001; + SpawnCount = 1.2800000e+002; + FluxFactorExpression = "Flux"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_87605058 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_10CED7C3 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/Distortion_01.dds"; + AspectRatio = 5.0000000e+000; +} +CParticleEvolver_Spawner $LOCAL$/Trail_2 +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 5.0000001e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_DE03A1EE"; +} +CParticleState $LOCAL$/CParticleState_FAD817BF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_3", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_DE03A1EE +{ + Renderer = "$LOCAL$/CParticleRenderer_List_E28AE234"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_773EC182", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_6BB92D5C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A7D6D049"; + States = + { + "$LOCAL$/CParticleState_FAD817BF", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A7D6D049 +{ + Expression = "function void Eval() +{ + Life = TrailRifeTime * 0.5; + Size = HeightPerSegment * 2.5; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_773EC182 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_E28AE234 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_10CED7C3", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_7172D1F5 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6BB92D5C +{ + SamplerName = "DistortionSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 9.9513280e-001, + 4.8672259e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_DA42694F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DA42694F +{ + Expression = "function void Eval() +{ + Color = (float4(1) * DistortionSampler.sample(LifeRatio)) * Distortion; +} +"; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_3F5845CA +{ + AttributeName = "TornadeLife"; + DefaultValueF4 = float4(1.2000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.2000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashRainblowEmit.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashRainblowEmit.pkfx new file mode 100644 index 0000000..19ecb7a --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashRainblowEmit.pkfx @@ -0,0 +1,1077 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 5.0000000e+000; + SpawnCount = 1.6000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A7BA2BC0", + "$LOCAL$/CParticleFieldDeclaration_19CC9ED9", + "$LOCAL$/CParticleFieldDeclaration_AC3D2A13", + "$LOCAL$/CParticleFieldDeclaration_A7C5F890", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9F4012DD", + "$LOCAL$/CParticleSamplerShape_DCDA413F", + "$LOCAL$/CParticleSamplerCurve_7F817359", + "$LOCAL$/CParticleSamplerCurve_DF40BA93", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + "$LOCAL$/Layer_3", + "$LOCAL$/Layer_4", + "$LOCAL$/Layer_5", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.75; + Position = SpawnSphere.samplePosition(); + + PosEnd = TargetSphere.samplePosition(); + AngleAxis = normalize(float3(rand(-1,1),rand(-1,1),rand(-1,1))); + + Position = rotate(PosEnd, AngleAxis, Angle); + SegmentID = rand(0,6); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Trail_1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_E53C1102", + "$LOCAL$/CParticleAttributeDeclaration_1292CA10", + "$LOCAL$/CParticleAttributeDeclaration_0272AC0C", + "$LOCAL$/CParticleAttributeDeclaration_08BD57EE", + "$LOCAL$/CParticleAttributeDeclaration_491ECDB3", + "$LOCAL$/CParticleAttributeDeclaration_AA680462", + "$LOCAL$/CParticleAttributeDeclaration_23E6CC65", + "$LOCAL$/CParticleAttributeDeclaration_A3A329F9", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9F4012DD +{ + SamplerName = "SpawnSphere"; + Shape = "$LOCAL$/CShapeDescriptor_66C58C64"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_66C58C64 +{ + ShapeType = SPHERE; + Radius = 2.0000000e+001; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_F2BF698C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F2BF698C +{ + Expression = "function void Eval() +{ + Angle += (AngleSpeed * RotationSampler.sample(LifeRatio)) * dt; + Position = rotate(PosEnd, AngleAxis, Angle) * (1 - PositionSampler.sample(LifeRatio)) * PositionMagni; +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_DCDA413F +{ + SamplerName = "TargetSphere"; + Shape = "$LOCAL$/CShapeDescriptor_A534496E"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_A534496E +{ + ShapeType = SPHERE; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A7BA2BC0 +{ + FieldName = "PosEnd"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E53C1102 +{ + AttributeName = "ConcentRateForce"; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000001e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_6309D256"; +} +CParticleState $LOCAL$/CParticleState_C4F10C87 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_6309D256 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_A0B4016A"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A597BE49", + "$LOCAL$/CParticleFieldDeclaration_CF38D4F2", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_8CB8DE1A", + "$LOCAL$/CParticleSamplerCurve_E19575BF", + "$LOCAL$/CParticleSamplerCurve_5896C54C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E68F14D1"; + States = + { + "$LOCAL$/CParticleState_C4F10C87", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E68F14D1 +{ + Expression = "function void Eval() +{ + Life = 0.2; + TextureID = parent.SegmentID; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_A0B4016A +{ + CustomName = "Ribbon"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/FX/RainbowDashTornadoRainbow.png"; + AtlasDefinition = "Textures/FX/AtlasRainbowDashRainbow.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_19CC9ED9 +{ + FieldName = "AngleAxis"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1292CA10 +{ + AttributeName = "AngleSpeed"; + DefaultValueF4 = float4(1.6515957e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AC3D2A13 +{ + FieldName = "Angle"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_8CB8DE1A +{ + SamplerName = "SizeCurve"; + Times = + { + 0.0000000e+000, + 4.5562887e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.6253932e-001, + -2.0595826e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_041569E5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_041569E5 +{ + Expression = "function void Eval() +{ + Size = SizeCurve.sample(LifeRatio) * SizeMagni; + Color = float4(TintColor.x * TintPow,TintColor.y * TintPow,TintColor.z * TintPow, AlphaRatio.sample(LifeRatio)) * PowCurve.sample(LifeRatio); +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0272AC0C +{ + AttributeName = "TintPow"; + DefaultValueF4 = float4(2.9920225e+000, 1.0000000e+000, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.5000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E19575BF +{ + SamplerName = "PowCurve"; + Times = + { + 0.0000000e+000, + 1.2086750e-001, + 1.7770460e-001, + 2.4940820e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.8624750e-001, + 1.6851140e+000, + 5.2895319e-001, + -1.4527070e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.6462323e-002, + -6.9572651e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_08BD57EE +{ + AttributeName = "TintColor"; + AttributeType = float4; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A597BE49 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_491ECDB3 +{ + AttributeName = "SizeMagni"; + DefaultValueF4 = float4(5.8510602e-002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CF38D4F2 +{ + FieldName = "TextureID"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_30C334BE +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/Script_1", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A7C5F890 +{ + FieldName = "SegmentID"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_DF40BA93 +{ + SamplerName = "RotationSampler"; + Times = + { + 0.0000000e+000, + 2.6157650e-001, + 4.1422361e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.7061981e-001, + 6.1963773e-001, + 1.1264390e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.7136190e-002, + 8.3501631e-001, + 4.8728639e-001, + 0.0000000e+000, + 0.0000000e+000, + -2.5372399e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_7F817359 +{ + SamplerName = "PositionSampler"; + Times = + { + 0.0000000e+000, + 3.5510039e-001, + 5.2085543e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1340030e+000, + 5.7490718e-001, + 1.2557750e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0143189e+000, + 8.5999739e-001, + 4.0143260e-001, + -1.1980920e+000, + -3.4632981e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5896C54C +{ + SamplerName = "AlphaRatio"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 5.1054537e-001, + 7.2726756e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.2587703e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_72BC1CF2 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_459FA59D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_E0713DB7", + "$LOCAL$/CParticleFieldDeclaration_66F84346", + "$LOCAL$/CParticleFieldDeclaration_E524E081", + "$LOCAL$/CParticleFieldDeclaration_EE51D8D8", + "$LOCAL$/CParticleFieldDeclaration_84767C7B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5CA7475A"; + States = + { + "$LOCAL$/CParticleState_5A436C25", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_459FA59D +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_49BF3624", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_49BF3624 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/Fx/Distortion_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E0713DB7 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66F84346 +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E524E081 +{ + FieldName = "ColorG"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_EE51D8D8 +{ + FieldName = "ColorD"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_84767C7B +{ + FieldName = "SizeD"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5CA7475A +{ + Expression = "function void Eval() +{ + Life = rand(0.7,0.8); + SizeCoeff = rand(0.5,1); +} +"; +} +CParticleState $LOCAL$/CParticleState_5A436C25 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_FA9BBB4C", + "$LOCAL$/CParticleEvolver_Script_7FA015FF", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_FA9BBB4C +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_7FA015FF +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C7905D2E"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C7905D2E +{ + Expression = "function void Eval() +{ + Size=1f; + Color=sin(LifeRatio*3)*Distortion; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_72BC1CF2"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 3.2000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E7017180 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_4D242E43", + "$LOCAL$/CParticleFieldDeclaration_5E5278C2", + "$LOCAL$/CParticleFieldDeclaration_DD1445AD", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_66D14F74"; + States = + { + "$LOCAL$/CParticleState_2485A947", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4D242E43 +{ + FieldName = "VRAND"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5E5278C2 +{ + FieldName = "LENGTH"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DD1445AD +{ + FieldName = "SCALE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_66D14F74 +{ + Expression = "function void Eval() +{ + Life = 0.3; + + VRAND=vrand()*rand(0.3,0.5); + + LENGTH=0.3; + + SCALE=rand(0.2,0.4); +} +"; +} +CParticleState $LOCAL$/CParticleState_2485A947 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_AF784E16", + "$LOCAL$/CParticleEvolver_Spawner_13B76928", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_AF784E16 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_24DD5B91", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_24DD5B91 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_13B76928 +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 6.5000001e-003; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_90182B0B"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_90182B0B +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_784C512A"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9C755235", + "$LOCAL$/CParticleFieldDeclaration_1CF1929C", + "$LOCAL$/CParticleFieldDeclaration_7244178F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_B16CB5FE", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E0FC6D99"; + States = + { + "$LOCAL$/CParticleState_4E435FD0", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_784C512A +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Trail_01.dds"; + TextureUField = "LifeRatio"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9C755235 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1CF1929C +{ + FieldName = "VStart"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7244178F +{ + FieldName = "VelocityField"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B16CB5FE +{ + SamplerName = "Curve_0"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E0FC6D99 +{ + Expression = "function void Eval() +{ + Life = parent.LENGTH; + + Size = parent.SCALE; + VStart=parent.VRAND*25; + Color=(5*RGB).xyz1*sin(spawner.LifeRatio*3); + Velocity = VStart; +} +"; +} +CParticleState $LOCAL$/CParticleState_4E435FD0 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_5D8A92D3", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_5D8A92D3 +{ + CustomName = "Physics"; + Drag = 5.0000000e+001; + IntegrationStrategy = Stable; + BounceRestitution = 7.3456788e-001; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_3 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_E7017180"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.0000000e+001; + ContinuousSpawner = false; + FluxFactorExpression = "LOD"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_8A75B1BD +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_82AA24C4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_E34980D7", + "$LOCAL$/CParticleFieldDeclaration_236634E6", + "$LOCAL$/CParticleFieldDeclaration_476AE2A1", + "$LOCAL$/CParticleFieldDeclaration_56D0F578", + "$LOCAL$/CParticleFieldDeclaration_3D3F859B", + "$LOCAL$/CParticleFieldDeclaration_27D276FA", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_8D508445", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_AF44A5EC"; + States = + { + "$LOCAL$/CParticleState_75D0051F", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_82AA24C4 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/DirtPieces_01.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + SoftAnimationBlending = true; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E34980D7 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_236634E6 +{ + FieldName = "ID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_476AE2A1 +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_56D0F578 +{ + FieldName = "BounceRestitution"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3D3F859B +{ + FieldName = "Accel"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_27D276FA +{ + FieldName = "HighLight"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_8D508445 +{ + SamplerName = "Turb_0"; + Wavelength = 5.0000000e+000; + Strength = 8.8388348e-001; + Gain = 1.0000000e+000; + TimeScale = 1.0000000e+000; + TimeBase = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_AF44A5EC +{ + Expression = "function void Eval() +{ + Life = rand(0.25,0.75); + Size = rand(0.02,0.04); + ID=ninja*4; + Velocity=vrand()*ninja*2; + Mass=rand(1,10); + BounceRestitution=rand(0.1,0.5); + HighLight=select(4,rand(50,100),ninja<0.4); +} +"; +} +CParticleState $LOCAL$/CParticleState_75D0051F +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_05196ACE", + "$LOCAL$/CParticleEvolver_Script_E1A9DAA9", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_05196ACE +{ + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -1.0000000e+001, 0.0000000e+000); + Drag = 1.0000000e+000; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 127; + BounceRestitution = 1.0000000e+000; + BounceOffset = 1.0000000e-003; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_E1A9DAA9 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_6667CA20"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_6667CA20 +{ + Expression = "function void Eval() +{ + TextureID=min((ID+LifeRatio*2),4); + Color=float4((RGB*HighLight).xyz1*float4(1-LifeRatio).111w); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_4 +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_8A75B1BD"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.5600000e+002; + FluxFactorExpression = "Density"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_AA680462 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.1170210e-001, 2.8989360e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_23E6CC65 +{ + AttributeName = "PositionMagni"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_939D9EE3 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_38BA65E2", + "$LOCAL$/CParticleFieldDeclaration_1D16294D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_53612B94"; + States = + { + "$LOCAL$/CParticleState_6FC6A7E7", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38BA65E2 +{ + FieldName = "LENGTH"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1D16294D +{ + FieldName = "SCALE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_53612B94 +{ + Expression = "function void Eval() +{ + Life = 1; + LENGTH=0.5; + SCALE=0.5; +} +"; +} +CParticleState $LOCAL$/CParticleState_6FC6A7E7 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_3957E136", + "$LOCAL$/CParticleEvolver_Spawner_1E063B48", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_3957E136 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_F63CDD31", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F63CDD31 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_1E063B48 +{ + CustomName = "Spawner"; + SpawnInterval = 4.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_D9E857AB"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D9E857AB +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E533AA4A"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_13F511D5", + "$LOCAL$/CParticleFieldDeclaration_E1A67ABC", + "$LOCAL$/CParticleFieldDeclaration_52C9122F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_E3A1F51E", + "$LOCAL$/CParticleSamplerCurve_6D4D0B39", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_B38B7DF0"; + States = + { + "$LOCAL$/CParticleState_11E7FB73", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E533AA4A +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/RdEvasionTrail.png"; + TextureUField = "LifeRatio"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_13F511D5 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E1A67ABC +{ + FieldName = "VStart"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_52C9122F +{ + FieldName = "VelocityField"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E3A1F51E +{ + SamplerName = "ColorCurve"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.8634853e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0017110e+000, + 1.0017110e+000, + 1.0017110e+000, + 1.0017110e+000, + 6.4638555e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6D4D0B39 +{ + SamplerName = "SizeCurve"; + Times = + { + 0.0000000e+000, + 8.5394591e-002, + 1.0000000e+000, + }; + FloatValues = + { + 4.7577918e-003, + 5.4241675e-001, + -1.2276977e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 8.5612434e-001, + 0.0000000e+000, + 0.0000000e+000, + -3.1001130e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B38B7DF0 +{ + Expression = "function void Eval() +{ + Life = parent.LENGTH; + Size = parent.SCALE; +} +"; +} +CParticleState $LOCAL$/CParticleState_11E7FB73 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_C8BEB5B2", + "$LOCAL$/CParticleEvolver_Script_3DD5CD5D", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C8BEB5B2 +{ + CustomName = "Physics"; + Drag = 5.0000000e+001; + IntegrationStrategy = Stable; + BounceRestitution = 7.3456788e-001; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_3DD5CD5D +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_F25898E4"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F25898E4 +{ + Expression = "function void Eval() +{ + Size = SizeCurve.sample(LifeRatio) * 0.5; + Color=ColorCurve.sample(LifeRatio); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_5 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_939D9EE3"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + ContinuousSpawner = false; + FluxFactorExpression = "LOD"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_A3A329F9 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashRainblowMidAir.pkfx b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashRainblowMidAir.pkfx new file mode 100644 index 0000000..620b358 --- /dev/null +++ b/assets/streaming/PackFx/Particles/RainbowDash/RainbowDashRainblowMidAir.pkfx @@ -0,0 +1,562 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + DurationInSeconds = 5.0000000e+000; + SpawnCount = 2.4000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_List_3552F0DC"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F278CDC9", + "$LOCAL$/CParticleFieldDeclaration_A7BA2BC0", + "$LOCAL$/CParticleFieldDeclaration_C0D25583", + "$LOCAL$/CParticleFieldDeclaration_CE35A2ED", + "$LOCAL$/CParticleFieldDeclaration_6FF355B4", + "$LOCAL$/CParticleFieldDeclaration_C3E4D23E", + "$LOCAL$/CParticleFieldDeclaration_19CC9ED9", + "$LOCAL$/CParticleFieldDeclaration_AC3D2A13", + "$LOCAL$/CParticleFieldDeclaration_C0FEBD9D", + "$LOCAL$/CParticleFieldDeclaration_763ECBA7", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9F4012DD", + "$LOCAL$/CParticleSamplerShape_DCDA413F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.5; + Position = SpawnSphere.samplePosition(); + + PosStart = Position; + PosEnd = TargetSphere.samplePosition(); + AngleAxis = normalize(float3(rand(-1,1),rand(-1,1),rand(-1,1))); + + Direction = (Position - PosEnd); + Distance = length(PosEnd - Position); + TextureID = rand(0,3); + SegmentID = rand(0,6); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Script_1", + "$LOCAL$/Evolver_1", + "$LOCAL$/Trail_1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_E53C1102", + "$LOCAL$/CParticleAttributeDeclaration_1292CA10", + "$LOCAL$/CParticleAttributeDeclaration_0272AC0C", + "$LOCAL$/CParticleAttributeDeclaration_08BD57EE", + "$LOCAL$/CParticleAttributeDeclaration_491ECDB3", + "$LOCAL$/CParticleAttributeDeclaration_796373DD", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9F4012DD +{ + SamplerName = "SpawnSphere"; + Shape = "$LOCAL$/CShapeDescriptor_66C58C64"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_66C58C64 +{ + ShapeType = SPHERE; + Radius = 2.5000000e-001; + InnerRadius = 2.5000000e-001; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_F2BF698C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F2BF698C +{ + Expression = "function void Eval() +{ + Angle += AngleSpeed * dt; + Position = PosStart + rotate(PosEnd, AngleAxis, Angle * LifeRatio); +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_DCDA413F +{ + SamplerName = "TargetSphere"; + Shape = "$LOCAL$/CShapeDescriptor_A534496E"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_A534496E +{ + ShapeType = SPHERE; + Radius = 7.5000000e-001; + InnerRadius = 7.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A7BA2BC0 +{ + FieldName = "PosEnd"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E53C1102 +{ + AttributeName = "ConcentRateForce"; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + CustomName = "Spawner"; + Descriptor = "$LOCAL$/CParticleDescriptor_6309D256"; +} +CParticleState $LOCAL$/CParticleState_C4F10C87 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_6309D256 +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_List_DFCC1FE9"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A597BE49", + "$LOCAL$/CParticleFieldDeclaration_CF38D4F2", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_8CB8DE1A", + "$LOCAL$/CParticleSamplerCurve_E19575BF", + "$LOCAL$/CParticleSamplerCurve_AB870B0D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E68F14D1"; + States = + { + "$LOCAL$/CParticleState_C4F10C87", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E68F14D1 +{ + Expression = "function void Eval() +{ + Life = 0.2; + TextureID = parent.SegmentID; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_19CC9ED9 +{ + FieldName = "AngleAxis"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1292CA10 +{ + AttributeName = "AngleSpeed"; + DefaultValueF4 = float4(1.2549504e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AC3D2A13 +{ + FieldName = "Angle"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_8CB8DE1A +{ + SamplerName = "SizeCurve"; + Times = + { + 0.0000000e+000, + 5.0369281e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.9011409e-001, + 3.0405372e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 2.9249582e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_041569E5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_041569E5 +{ + Expression = "function void Eval() +{ + Size = LifeRatio * SizeMagni; + Color = float4(TintColor.x * TintPow,TintColor.y * TintPow,TintColor.z * TintPow, AlphaRatio.sample(LifeRatio)) * PowCurve.sample(LifeRatio); +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0272AC0C +{ + AttributeName = "TintPow"; + DefaultValueF4 = float4(6.0000000e+000, 1.0000000e+000, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.5000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E19575BF +{ + SamplerName = "PowCurve"; + Times = + { + 0.0000000e+000, + 1.6869873e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0006757e+000, + -1.4527068e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_08BD57EE +{ + AttributeName = "TintColor"; + AttributeType = float4; + DefaultValueF4 = float4(1.9306929e-001, 4.8019800e-001, 6.9554460e-001, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A597BE49 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_491ECDB3 +{ + AttributeName = "SizeMagni"; + DefaultValueF4 = float4(2.0792080e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CF38D4F2 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C0FEBD9D +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F278CDC9 +{ + FieldName = "PosStart"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C3E4D23E +{ + FieldName = "NowDirection"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CE35A2ED +{ + FieldName = "NormalDirection"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6FF355B4 +{ + FieldName = "Distance"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C0D25583 +{ + FieldName = "Direction"; + FieldType = float3; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_FE664B0E +{ + CustomName = "Ribbon"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/FX/RainbowDashTornadoRainbow.png"; + AtlasDefinition = "Textures/FX/AtlasRainbowDashRainbow.pkat"; + TextureUField = "LifeRatio"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_DFCC1FE9 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_FE664B0E", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3DC650A2 +{ + SamplerName = "AlphaRatio"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 5.1054537e-001, + 7.2726756e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.2587703e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_AB870B0D +{ + SamplerName = "AlphaRatio"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 5.1054537e-001, + 7.2726756e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.2587703e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_3552F0DC +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Null_2762A775", + }; +} +CParticleRenderer_Null $LOCAL$/CParticleRenderer_Null_2762A775 +{ + CustomName = "Null"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_763ECBA7 +{ + FieldName = "SegmentID"; +} +CParticleEvolver_Physics $LOCAL$/Evolver_1 +{ + CustomName = "Physics"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_B52FC2E6 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_270C88A1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_66A09378", + "$LOCAL$/CParticleFieldDeclaration_A1587B9B", + "$LOCAL$/CParticleFieldDeclaration_5EC3A4FA", + "$LOCAL$/CParticleFieldDeclaration_FF624A45", + "$LOCAL$/CParticleFieldDeclaration_2C36E3EC", + "$LOCAL$/CParticleFieldDeclaration_86701B1F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_319038CE", + "$LOCAL$/CParticleSamplerShape_46BE1A67", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_2EE1C0A9"; + States = + { + "$LOCAL$/CParticleState_4C6AA820", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_270C88A1 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/DirtPieces_01.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; + SoftAnimationBlending = true; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66A09378 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A1587B9B +{ + FieldName = "ID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5EC3A4FA +{ + FieldName = "Mass"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FF624A45 +{ + FieldName = "BounceRestitution"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C36E3EC +{ + FieldName = "Accel"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_86701B1F +{ + FieldName = "HighLight"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_319038CE +{ + SamplerName = "Turb_0"; + Wavelength = 5.0000000e+000; + Strength = 8.8388348e-001; + Gain = 1.0000000e+000; + TimeScale = 1.0000000e+000; + TimeBase = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2EE1C0A9 +{ + Expression = "function void Eval() +{ + Life = rand(0.25,0.75); + Size = rand(0.01,0.02); + ID=ninja*4; + Velocity=vrand()*ninja*6; + Mass=rand(1,10); + BounceRestitution=rand(0.1,0.5); + Position=SpawnSphere.samplePosition(); + HighLight=select(4,rand(50,100),ninja<0.4); +} +"; +} +CParticleState $LOCAL$/CParticleState_4C6AA820 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_43B45963", + "$LOCAL$/CParticleEvolver_Script_83627262", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_43B45963 +{ + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 5.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e+000; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 127; + BounceRestitution = 1.0000000e+000; + BounceOffset = 1.0000000e-003; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_83627262 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_0C20EFCD"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0C20EFCD +{ + Expression = "function void Eval() +{ + TextureID=min((ID+LifeRatio*2),4); + Color=float4((TintColor*HighLight).xyz1*float4(1-LifeRatio).111w); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_B52FC2E6"; + DurationInSeconds = 5.0000000e+000; + SpawnCount = 6.4000000e+001; + FluxFactorExpression = "Density"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_46BE1A67 +{ + SamplerName = "SpawnSphere"; + Shape = "$LOCAL$/CShapeDescriptor_A79305B6"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_A79305B6 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_796373DD +{ + AttributeName = "TornadeLife"; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.2000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; +} diff --git a/assets/streaming/PackFx/Particles/RisingSun/RisingSunBurst.pkfx b/assets/streaming/PackFx/Particles/RisingSun/RisingSunBurst.pkfx new file mode 100644 index 0000000..ce567cd --- /dev/null +++ b/assets/streaming/PackFx/Particles/RisingSun/RisingSunBurst.pkfx @@ -0,0 +1,340 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(711, 177); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-521, 288); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_4CE336B0", + "$LOCAL$/CParticleAttributeDeclaration_F1D44C8A", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(334, 131); + ChildList = + { + "$LOCAL$/Main_Lot", + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_0BF9AEAA +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_75B28038 +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257952e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Main_Lot +{ + EditorInfosPosition = int2(170, 355); + Descriptor = "$LOCAL$/CParticleDescriptor_11D3CC4E"; + DurationInSeconds = 5.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.4000000e+001; + SpawnCountRelativeRandomDeviation = 9.6650624e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_11D3CC4E +{ + EditorInfosPosition = int2(25, 339); + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9BC51382", + "$LOCAL$/CParticleSamplerShape_C08BEC3D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_64616D38"; + States = + { + "$LOCAL$/CParticleState_FBAD371B", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1CCBE1BA +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_64616D38 +{ + EditorInfosPosition = int2(-153, 300); + Expression = "function void Eval() +{ + Life = rand(0.1,0.1); + Position = PositionSampler.samplePosition(); + Velocity = VelocitySampler.samplePosition(); + float3 v = Velocity * (Throttle * rand(0.9,1.1)); + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_FBAD371B +{ + EditorInfosPosition = int2(-79, 590); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_6735766D", + "$LOCAL$/Flames", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_71334881 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6735766D +{ + EditorInfosPosition = int2(-249, 591); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -4.0000000e+000, 0.0000000e+000); + Drag = 5.0000000e-001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 10; + BounceRestitution = 3.0000001e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9BC51382 +{ + EditorInfosPosition = int2(-151, 367); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_7604A941"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_7604A941 +{ + EditorInfosPosition = int2(-247, 365); + Position = float3(0.0000000e+000, 5.0000000e-001, 0.0000000e+000); + ShapeType = CYLINDER; + Height = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_76658303 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_47935F34 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6C525127"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6C525127 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.4656118e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.0934319e+001, + 1.3986397e+001, + 1.7998699e+001, + 6.4612997e-001, + 2.0020180e+000, + 3.2926569e+000, + 1.8174667e+001, + 6.2580526e-001, + 4.0447617e-001, + 3.1013393e-001, + 1.5977338e+002, + 6.6386294e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.6088153e+002, + 0.0000000e+000, + -1.7204933e+000, + -1.3908102e-004, + -1.1845771e+000, + -2.7747216e+000, + -1.7301447e+000, + -6.2706225e-002, + -9.8275036e-001, + -2.3019683e+000, + -1.4353650e+000, + -5.2022416e-002, + -4.1536111e-001, + -1.0189198e+000, + -3.1635962e+000, + 1.2417855e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_FF6840D9 +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_75B28038"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_4CE336B0 +{ + EditorInfosPosition = int2(-690, 285); + AttributeName = "Throttle"; + AttributeDescription = "Flamethrower power / flame velocity\\nLower values throw flames closer.\\nHigher values throw flames further"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_F1D44C8A +{ + EditorInfosPosition = int2(-691, 331); + AttributeName = "ShakeAmplitude"; + AttributeDescription = "Horizontal sinusoidal shake amplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BCFD71B2 +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_707791AD"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_707791AD +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 4; + Size *= SizeCoeff * 0.5; +}"; +} +CParticleEvolver_Spawner $LOCAL$/Flames +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_1BC47A3F"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1BC47A3F +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_D6BD72B1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_71334881", + "$LOCAL$/CParticleFieldDeclaration_76658303", + "$LOCAL$/CParticleFieldDeclaration_1CCBE1BA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4C0EEC06"; + States = + { + "$LOCAL$/CParticleState_26784AB0", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4C0EEC06 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + Life = 0.1 + (0.2 + couillunessFactor * 1.5) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0);//float3(0,0,-2); +}"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_D6BD72B1 +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleState $LOCAL$/CParticleState_26784AB0 +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_60A47EB3", + "$LOCAL$/CParticleEvolver_Field_FF6840D9", + "$LOCAL$/CParticleEvolver_Field_47935F34", + "$LOCAL$/CParticleEvolver_Rotation_0BF9AEAA", + "$LOCAL$/CParticleEvolver_Script_BCFD71B2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_60A47EB3 +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DC850E0B +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_C08BEC3D +{ + EditorInfosPosition = int2(-149, 416); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_FF71004F"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_FF71004F +{ + EditorInfosPosition = int2(-241, 420); + ShapeType = SPHERE; + Radius = 5.0000000e-001; +} diff --git a/assets/streaming/PackFx/Particles/RisingSun/RisingSunEmission.pkfx b/assets/streaming/PackFx/Particles/RisingSun/RisingSunEmission.pkfx new file mode 100644 index 0000000..c0850b5 --- /dev/null +++ b/assets/streaming/PackFx/Particles/RisingSun/RisingSunEmission.pkfx @@ -0,0 +1,588 @@ +Version = 1.9.1.28491; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Orb +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + DurationInSeconds = 3.0000001e-001; + SpawnCount = 4.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + Renderer = "$LOCAL$/CParticleRenderer_List_D3DFCBD1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_80B0C760", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_5AE49035", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/Orb", + "$LOCAL$/RadialBolts", + "$LOCAL$/OrbBolts", + "$LOCAL$/CircularBolts", + }; +} +CParticleRenderer_Mesh_Descriptor $LOCAL$/CParticleRenderer_Mesh_Descriptor_3531EA78 +{ + Mesh = "Meshes/Sphere_01.pkmm"; + Material = Additive_NoAlpha; + MaterialParametersFields = + { + "DiffuseColor = Color", + }; + Diffuse = "Textures/SphereNoise_01.dds"; + CustomName = "Mesh_Descriptor"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + Life = 0.5; + Size = 0.25; + Color=ColorFadeIn*4; +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/CParticleEvolver_Script_C7F67E68", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + CustomName = "Physics"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_5AE49035 +{ + SamplerName = "Noise"; + Strength = 8.8388346e-002; + Gain = 1.0000000e+000; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_99B492E9", + "$LOCAL$/CParticleAttributeDeclaration_567EF6EC", + }; +} +CParticleRenderer_Mesh $LOCAL$/CParticleRenderer_Mesh_2C9EC3A1 +{ + CustomName = "Mesh"; + Meshes = + { + "$LOCAL$/CParticleRenderer_Mesh_Descriptor_3531EA78", + }; + ScaleField = "Size"; + EulerRotationField = "Rotation"; + RotationAxisField = "Rotation"; + RotationAxisAngleField = ""; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_4205ED56 +{ + CustomName = "Light"; + BillboardingMaterial = Lighting_SplatPass_Spec; + LightRadiusMultiplier = 1.0000000e+001; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_D3DFCBD1 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Mesh_2C9EC3A1", + "$LOCAL$/CParticleRenderer_Light_4205ED56", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_C7F67E68 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_3F4E494B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3F4E494B +{ + Expression = "function void Eval() +{ + float a = scene.Time*5; + float3 n = Noise.samplePotential(Position + float3(LifeRatio, sin(a)*2, cos(a)*2)); + + + Rotation = n * 3; + + // NOTE: the following isn\'t very good practise. + // it\'s considered bad to do rands at evolve as it\'s non-coherent frame-by-frame + // it\'d better to sample a noise-field to get coherent noise. + // ie: when slowing down time or having faster framerates, you\'d get the same results. + Size = 0.16 + abs(n.x) * 0.15; + +// float n = Noise.samplePotential(Position + float3(LifeRatio*0.1, 0, 0)).x % 1; + +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/RadialBolts +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_37AC2E75"; + DurationInSeconds = 5.0000000e-001; + SpawnCount = 4.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_37AC2E75 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_199C320E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DA0783DC"; + States = + { + "$LOCAL$/CParticleState_2B870D3E", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DA0783DC +{ + Expression = "function void Eval() +{ + Life = 0.1; + Vrand = vrand()*10; + Velocity = Vrand; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E6CE8317 +{ + CustomName = "Physics"; +} +CParticleState $LOCAL$/CParticleState_2B870D3E +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_EBADF5D9", + "$LOCAL$/RadialLightning", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_EBADF5D9 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/RadialLightning +{ + CustomName = "Spawner"; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_33C803D2"; +} +CParticleState $LOCAL$/CParticleState_B5690913 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_E6CE8317", + "$LOCAL$/CParticleEvolver_Field_8426CB20", + "$LOCAL$/CParticleEvolver_Script_63C753DB", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_33C803D2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_18324426"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8B6EFAB8", + "$LOCAL$/CParticleFieldDeclaration_629949A3", + "$LOCAL$/CParticleFieldDeclaration_AAC9F3CE", + "$LOCAL$/CParticleFieldDeclaration_9E7097A9", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_7AA7172A", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0D7425FD"; + States = + { + "$LOCAL$/CParticleState_B5690913", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0D7425FD +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 0.04; + Position=vrand()*0.05; + CFI=ColorFadeIn; + CFO=ColorFadeOut; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_18324426 +{ + CustomName = "Ribbon"; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8B6EFAB8 +{ + FieldName = "TextureID"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_63C753DB +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_0333423A"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0333423A +{ + Expression = "function void Eval() +{ + Size=0.1*LifeRatio; + Color *=(CFI-(LifeRatio*CFI)) + (LifeRatio*CFO); + + + float n = Noise.samplePotential(Position + float3(LifeRatio*0.1, 0, 0)).x % 1; + TextureID = n * 16; +// TextureID = rand(0,16); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_80B0C760 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_199C320E +{ + FieldName = "Vrand"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_99B492E9 +{ + AttributeName = "ColorFadeIn"; + AttributeType = float4; + DefaultValueF4 = float4(9.0841579e-001, 2.3762380e-001, 1.0000000e-001, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_629949A3 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_567EF6EC +{ + AttributeName = "ColorFadeOut"; + AttributeType = float4; + DefaultValueF4 = float4(1.0000000e+000, 3.9603961e-001, 9.6534699e-002, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AAC9F3CE +{ + FieldName = "CFI"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9E7097A9 +{ + FieldName = "CFO"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_8426CB20 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_8141B863"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_8141B863 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.5000000e-001, + 7.5000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 4.0000000e+000, + 4.0000000e+000, + 4.0000000e+000, + 4.0000000e+000, + 4.0000000e+000, + 4.0000000e+000, + 4.0000000e+000, + 4.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_7AA7172A +{ + SamplerName = "Noise"; + Strength = 8.8388346e-002; + Gain = 1.0000000e+000; +} +CActionFactoryParticleSpawnerBase $LOCAL$/CircularBolts +{ + Descriptor = "$LOCAL$/CParticleDescriptor_62CBE758"; + DurationInSeconds = 5.0000000e-001; + SpawnCount = 2.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_62CBE758 +{ + Renderer = "$LOCAL$/CParticleRenderer_Mesh_32DA6CFB"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_CE2238A5", + "$LOCAL$/CParticleFieldDeclaration_DBC441CC", + "$LOCAL$/CParticleFieldDeclaration_C097DE7F", + "$LOCAL$/CParticleFieldDeclaration_4B078FAE", + "$LOCAL$/CParticleFieldDeclaration_B3947096", + "$LOCAL$/CParticleFieldDeclaration_52802A1F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_68CE7109"; + States = + { + "$LOCAL$/CParticleState_D662F000", + }; +} +CParticleRenderer_Mesh $LOCAL$/CParticleRenderer_Mesh_32DA6CFB +{ + CustomName = "Mesh"; + Meshes = + { + "$LOCAL$/CParticleRenderer_Mesh_Descriptor_EE69C1DA", + }; + Scale = float3(1.0000000e+000, 2.5000000e-001, 1.0000000e+000); + ScaleField = "Size"; + EulerRotationField = "Rotation"; + RotationAxisField = "Rotation"; + RotationAxisAngleField = ""; +} +CParticleRenderer_Mesh_Descriptor $LOCAL$/CParticleRenderer_Mesh_Descriptor_EE69C1DA +{ + Mesh = "Meshes/Cylinder_01.pkmm"; + Material = Additive_NoAlpha; + MaterialParametersFields = + { + "DiffuseColor = Color", + }; + Diffuse = "Textures/LightningBranch_01.dds"; + CustomName = "Mesh_Descriptor"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CE2238A5 +{ + FieldName = "Size"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DBC441CC +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C097DE7F +{ + FieldName = "Random"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4B078FAE +{ + FieldName = "RandAngle"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B3947096 +{ + FieldName = "CFI"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_52802A1F +{ + FieldName = "CFO"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_68CE7109 +{ + Expression = "function void Eval() +{ + Life = rand(0.25,0.5); + Random=ninja; + RandAngle=rand(-pi,pi); + CFI=ColorFadeIn; + CFO=ColorFadeOut; +} +"; +} +CParticleState $LOCAL$/CParticleState_D662F000 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_C3CC4EC3", + "$LOCAL$/CParticleEvolver_Script_2079C22D", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C3CC4EC3 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_2079C22D +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E5AE45F4"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E5AE45F4 +{ + Expression = "function void Eval() +{ + float sc=pow(LifeRatio,0.25+Random*0.25)*(0.5+Random*0.5); + Size=float3(sc,0.5+Random*1.5,sc); + Color=pow(1-LifeRatio,2+Random*2)*500; + Rotation=float3(RandAngle,10*pow(LifeRatio,0.5)*(Random-0.5),RandAngle); + Color *=(CFI-(LifeRatio*CFI)) + (LifeRatio*CFO); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/OrbBolts +{ + Descriptor = "$LOCAL$/CParticleDescriptor_1BF607A2"; + DurationInSeconds = 5.0000000e-001; + SpawnCount = 2.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1BF607A2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_315E0F54"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_ECDC7308", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_14058E0D"; + States = + { + "$LOCAL$/CParticleState_060F76A7", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_315E0F54 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_02.dds"; + AtlasDefinition = "Textures/Fx/AtlasX2.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_ECDC7308 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_14058E0D +{ + Expression = "function void Eval() +{ + Life = 1.0; + Size = 0.25; + Velocity=vrand()*0.3; + TextureID=rand(0,4); + Color=ColorFadeIn*100; +} +"; +} +CParticleState $LOCAL$/CParticleState_060F76A7 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_759576F6", + "$LOCAL$/CParticleEvolver_Rotation_EFC2F011", + "$LOCAL$/CParticleEvolver_Script_3C9B45F1", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_759576F6 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_3C9B45F1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_9E9B0A6B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_9E9B0A6B +{ + Expression = "function void Eval() +{ + Color*=(1-pow(LifeRatio,4)); + + // NOTE: the following isn\'t very good practise. + // it\'s considered bad to do rands at evolve as it\'s non-coherent frame-by-frame + // it\'d better to sample a noise-field to get coherent noise. + // ie: when slowing down time or having faster framerates, you\'d get the same results. + TextureID=rand(0,4); + Rotation=rand(-pi,pi); + Size = rand(0.1,0.2); +} +"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_EFC2F011 +{ + CustomName = "Rotation"; +} diff --git a/assets/streaming/PackFx/Particles/SkillTree/SkillTreeActivateEffect.pkfx b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeActivateEffect.pkfx new file mode 100644 index 0000000..216ff4b --- /dev/null +++ b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeActivateEffect.pkfx @@ -0,0 +1,1444 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/PreFlash", + "$LOCAL$/Flash", + "$LOCAL$/Distortion", + "$LOCAL$/Orbit", + "$LOCAL$/Lightning", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + "$LOCAL$/CParticleAttributeDeclaration_88BB8542", + "$LOCAL$/CParticleAttributeDeclaration_56740C2D", + "$LOCAL$/CParticleAttributeDeclaration_3E13D103", + "$LOCAL$/CParticleAttributeDeclaration_E8157282", + "$LOCAL$/CParticleAttributeDeclaration_26F1E26D", + "$LOCAL$/CParticleAttributeDeclaration_56BCCB34", + "$LOCAL$/CParticleAttributeDeclaration_DD94F007", + "$LOCAL$/CParticleAttributeDeclaration_E241BBD6", + "$LOCAL$/CParticleAttributeDeclaration_14487C51", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C7BD0385", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(8.3468831e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C7BD0385 +{ + SamplerName = "GlobalSizeCurve"; + Times = + { + 0.0000000e+000, + 4.1777310e-001, + 5.0437367e-001, + 6.4856136e-001, + 7.3379391e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1830900e+001, + 2.2786690e+001, + 2.7557028e+002, + 1.7187576e+002, + 4.5565090e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.4870480e+001, + 3.0825162e+000, + 6.5286195e-001, + 1.0869976e+000, + -1.3543121e+002, + -8.0056412e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_821F762C +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_949EFA5F +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_882CE90E +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B9A815E9 +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_88BB8542 +{ + AttributeName = "Throttle"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_56740C2D +{ + AttributeName = "ShakeAmplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EF247296 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3849864e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888062e+000, + 7.7745247e+001, + 7.3503357e+001, + 6.4612997e-001, + 2.0553560e+000, + 3.8516720e+001, + 3.5025604e+001, + 6.2580526e-001, + 1.3330803e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386294e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6951137e+000, + -1.3702939e-004, + -1.1671032e+000, + -2.7337904e+000, + -1.7046227e+000, + -6.1781224e-002, + -1.0002245e+000, + -2.3428993e+000, + -1.4608870e+000, + -5.2947421e-002, + -4.2274657e-001, + -1.0370370e+000, + -3.2198474e+000, + 1.2638654e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_24B21A11 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_EF247296"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/PreFlash +{ + Descriptor = "$LOCAL$/CParticleDescriptor_1E33C9A8"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1E33C9A8 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_5987DD12"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B3140DAA", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_06C7D623", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B"; + States = + { + "$LOCAL$/CParticleState_7B7ECB1C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B3140DAA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_194188B5 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleState $LOCAL$/CParticleState_7B7ECB1C +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/Script_2", + "$LOCAL$/CParticleEvolver_Physics_9F457A0F", + "$LOCAL$/Field_2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9F457A0F +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/Field_2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_337A9C19"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_337A9C19 +{ + Times = + { + 0.0000000e+000, + 5.7104397e-001, + 1.0000000e+000, + }; + FloatValues = + { + 7.2441397e+000, + 6.0743637e+000, + 8.9722443e-001, + }; + FloatTangents = + { + 0.0000000e+000, + -1.8714930e-001, + -2.6844974e+000, + -2.0165372e+000, + -1.8352952e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_5987DD12 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_194188B5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EB06C381 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_1E17F7D8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3CDA2A4C", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_3C9401E0", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF"; + States = + { + "$LOCAL$/CParticleState_1322942E", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_1E17F7D8 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_8197877B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_8197877B +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3CDA2A4C +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF +{ + Expression = "function void Eval() +{ + Life = 0.7; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleState $LOCAL$/CParticleState_1322942E +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B04B8F89", + "$LOCAL$/CParticleEvolver_Field_E5657FC2", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B04B8F89 +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E5657FC2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F39058AD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F39058AD +{ + Times = + { + 0.0000000e+000, + 5.8754885e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.4767892e-001, + 1.5184369e+000, + 1.6519821e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.0235164e+000, + 2.6993397e-001, + 1.8948989e-001, + -9.3440667e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_EB06C381"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_3A4409B3 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6468C0F2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_60B7199D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5231BA24", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_34D411B7"; + States = + { + "$LOCAL$/CParticleState_12E9A746", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6468C0F2 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/DistortionCircle_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_60B7199D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5231BA24 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_34D411B7 +{ + Expression = "function void Eval() +{ + Life = 1.5; + Size = (2.1) * SizeSampler.sample(spawner.LifeRatio); + Color=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_12E9A746 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_31801481", + "$LOCAL$/CParticleEvolver_Field_0BE16B5A", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_31801481 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Field_5B731CD8", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5B731CD8 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6FCF107B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6FCF107B +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.7777803e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.0012751e+000, + 2.0012751e+000, + 2.0012751e+000, + 2.0012751e+000, + 4.1418731e-001, + 4.1418731e-001, + 4.1418731e-001, + 4.1418731e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.1068056e+000, + -3.1068056e+000, + -3.1068056e+000, + -3.1068056e+000, + -4.4720274e-001, + -4.4720274e-001, + -4.4720274e-001, + -4.4720274e-001, + -1.1627251e+000, + -1.1627251e+000, + -1.1627251e+000, + -1.1627251e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0BE16B5A +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_93366025"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_93366025 +{ + Times = + { + 0.0000000e+000, + 4.3022251e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0993830e+000, + 1.9205350e+000, + 2.4890079e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8338151e-001, + 7.6996583e-001, + 1.0197260e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Distortion +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_3A4409B3"; + DurationInSeconds = 1.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_C3012729 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8E32D0A0", + "$LOCAL$/CParticleFieldDeclaration_56136BE3", + "$LOCAL$/CParticleFieldDeclaration_B74DB6E2", + "$LOCAL$/CParticleFieldDeclaration_87934E4D", + "$LOCAL$/CParticleFieldDeclaration_8462B494", + "$LOCAL$/CParticleFieldDeclaration_01B264E7", + "$LOCAL$/CParticleFieldDeclaration_909FE236", + "$LOCAL$/CParticleFieldDeclaration_08347231", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_A5DAF448", + "$LOCAL$/CParticleSamplerCurve_05595B4A", + "$LOCAL$/CParticleSamplerCurve_FC4416D5", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F9EF63BC"; + States = + { + "$LOCAL$/CParticleState_8FDFAF2F", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8E32D0A0 +{ + FieldName = "Radius"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_56136BE3 +{ + FieldName = "OrbitalCenter"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B74DB6E2 +{ + FieldName = "BasePosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_87934E4D +{ + FieldName = "RotationAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8462B494 +{ + FieldName = "Orbital"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01B264E7 +{ + FieldName = "RadiusRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_909FE236 +{ + FieldName = "RotationRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_08347231 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_A5DAF448 +{ + SamplerName = "Sphere"; + Shape = "$LOCAL$/CShapeDescriptor_C48F04AB"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_C48F04AB +{ + ShapeType = SPHERE; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_05595B4A +{ + SamplerName = "SizeRatioSampler"; + Times = + { + 0.0000000e+000, + 4.5172039e-002, + 7.9667412e-002, + 2.3473868e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.7151250e-003, + 8.4995359e-002, + 4.5984969e-001, + 7.9461977e-002, + 4.8672408e-003, + }; + FloatTangents = + { + 0.0000000e+000, + -1.1017920e-002, + 8.4486477e-002, + 6.4517602e-002, + 0.0000000e+000, + 0.0000000e+000, + -4.9369391e-002, + -2.4363287e-001, + -7.5415880e-003, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_FC4416D5 +{ + SamplerName = "RotateRatioSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.0358833e-001, + 2.3914814e-002, + }; + FloatTangents = + { + 0.0000000e+000, + -1.7688432e+000, + 9.8717056e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F9EF63BC +{ + Expression = "function void Eval() +{ + Life = rand(0.5, 1.5); + + Radius = 0; + OrbitalCenter = 0; + RotationAxis = vrand(); + BasePosition = Sphere.samplePosition(); + Position = BasePosition * Radius; + RadiusRate = rand(0.5, 1.5); + RotationRate = rand(0.5, 1.5); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.g),rand(0,RandomRGB.b)); +} +"; +} +CParticleState $LOCAL$/CParticleState_8FDFAF2F +{ + EditorInfosIsBlockMinimized = 0; + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_BDFE561E", + "$LOCAL$/CParticleEvolver_Spawner_B19996F0", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BDFE561E +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_DBC08039"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DBC08039 +{ + Expression = "function void Eval() +{ + Radius += (AdditionalRadiusSpeed * RadiusRate) * (dt * SizeRatioSampler.sample(LifeRatio)); + Orbital += (OrbitalSpeed * RotationRate) * (dt * RotateRatioSampler.sample(LifeRatio)); + float3 v = BasePosition - OrbitalCenter; + Position = rotate(v, RotationAxis, Orbital) * Radius + OrbitalCenter; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_B19996F0 +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_08938873"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_08938873 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_90DAC6B2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_402CE1E4", + "$LOCAL$/CParticleFieldDeclaration_74167477", + "$LOCAL$/CParticleFieldDeclaration_CC166106", + "$LOCAL$/CParticleFieldDeclaration_062A7141", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_D3CA5898", + "$LOCAL$/CParticleSamplerCurve_9FD5173B", + "$LOCAL$/CParticleSamplerCurve_B188991A", + "$LOCAL$/CParticleSamplerCurve_1BF240E5", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C194CF0C"; + States = + { + "$LOCAL$/CParticleState_E780D4BF", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_90DAC6B2 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_382AB25D", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_382AB25D +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_402CE1E4 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_74167477 +{ + FieldName = "Color2"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC166106 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_062A7141 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D3CA5898 +{ + SamplerName = "IntensityFromParent"; + Times = + { + 0.0000000e+000, + 1.2138355e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.2072124e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9FD5173B +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 7.0222743e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8318589e-001, + 4.9955750e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.9138300e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B188991A +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 5.7290055e-002, + 1.3172999e-001, + 7.1332288e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.1233578e+000, + 1.6552079e+000, + 1.1014417e+000, + -1.2139082e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6811266e+000, + -8.2865608e-001, + 2.4560774e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1BF240E5 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.6869873e-001, + 1.0000000e+000, + }; + FloatValues = + { + 5.7522357e-003, + 9.8893809e-001, + 4.8672259e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1051891e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C194CF0C +{ + Expression = "function void Eval() +{ + Life = TrailLife; + RandomedRGB = parent.RandomedRGB; + //TextureID = rand(0,4) + //Brightness = IntensityFromParent.sample(spawner.LifeRatio); +} +"; +} +CParticleState $LOCAL$/CParticleState_E780D4BF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_184CA2EE", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_184CA2EE +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E8636549"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E8636549 +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x + RandomedRGB.x, RGB.y + RandomedRGB.y, RGB.z + RandomedRGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Color2 = float4(0.1); + Size = TrailSize * SizeSampler.sample(LifeRatio); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Orbit +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_C3012729"; + DurationInSeconds = 9.9999998e-003; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.2000000e+001; + FirstSpawnDelay = 5.0000000e-001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_3E13D103 +{ + AttributeName = "AdditionalRadiusSpeed"; + DefaultValueF4 = float4(1.1238530e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E8157282 +{ + AttributeName = "OrbitalSpeed"; + DefaultValueF4 = float4(2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_26F1E26D +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e+000, 9.0137613e-001, 8.1880730e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_56BCCB34 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(4.5000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DD94F007 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(9.9999998e-003, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E241BBD6 +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_14487C51 +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(2.5000000e-001, 2.5000000e-001, 2.5000000e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_B2403A9D +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_7CF0EF24", + "$LOCAL$/CParticleFieldDeclaration_FB38EAB7", + "$LOCAL$/CParticleFieldDeclaration_7952F446", + "$LOCAL$/CParticleFieldDeclaration_E14CE581", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_4AE7C1D8", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_EEA8A85A"; + States = + { + "$LOCAL$/CParticleState_56BFE125", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7CF0EF24 +{ + FieldName = "Timeb"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB38EAB7 +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7952F446 +{ + FieldName = "FluxScale"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E14CE581 +{ + FieldName = "NextBranchTime"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_4AE7C1D8 +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_055E197B"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_055E197B +{ + ShapeType = SPHERE; + Radius = 5.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EEA8A85A +{ + Expression = "function void Eval() +{ + Life = 0.1; + Velocity = 0.1*float3(rand(-10,10),rand(-10,10),rand(-10,10)); + SizeCoeff = Scale*0.5; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)); + Position = DropSampler.samplePosition(); +} +"; +} +CParticleState $LOCAL$/CParticleState_56BFE125 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_2AE6D44C", + "$LOCAL$/CParticleEvolver_Spawner_1A02BA80", + "$LOCAL$/CParticleEvolver_Spawner_CB852091", + "$LOCAL$/CParticleEvolver_Spawner_E99CADD7", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_2AE6D44C +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_46CCA2FF", + "$LOCAL$/CParticleEvolver_Script_79C16E2E", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_46CCA2FF +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_79C16E2E +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_CB867189"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_CB867189 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.01; + float n = 60 * SizeCoeff; + Velocity = select(Velocity,float3(SizeCoeff*rand(-1,1)*100,rand(-n,n),SizeCoeff*rand(-1,1)*100),shouldSpawnBranch); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_1A02BA80 +{ + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_C52AAB43"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_C52AAB43 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F46C39C2", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7939C874"; + States = + { + "$LOCAL$/CParticleState_1F6B1647", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F46C39C2 +{ + FieldName = "Color"; + FieldType = float3; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7939C874 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = RGB; +} +"; +} +CParticleState $LOCAL$/CParticleState_1F6B1647 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B163BF16", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B163BF16 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_CB852091 +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_E8E81228"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E8E81228 +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_1451880B"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8322722A", + "$LOCAL$/CParticleFieldDeclaration_24058735", + "$LOCAL$/CParticleFieldDeclaration_27FB6B9C", + "$LOCAL$/CParticleFieldDeclaration_77B6648F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_787686FE", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E9F21299"; + States = + { + "$LOCAL$/CParticleState_4AE768D0", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_1451880B +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8322722A +{ + FieldName = "Color"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_24058735 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_27FB6B9C +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_77B6648F +{ + FieldName = "CC"; + FieldType = float3; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_787686FE +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900167e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312178e+000, + 3.8749021e-001, + 1.5209466e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E9F21299 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.1 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = RGB * 10; +} +"; +} +CParticleState $LOCAL$/CParticleState_4AE768D0 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_7A8ACFD3", + "$LOCAL$/CParticleEvolver_Physics_02D5F192", + "$LOCAL$/CParticleEvolver_Script_743DC6BD", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_7A8ACFD3 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_02D5F192 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_743DC6BD +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5E595DC4"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5E595DC4 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 2); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_E99CADD7 +{ + CustomName = "Spawner"; + SpawnInterval = 1.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_FA7265E6"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_FA7265E6 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_A56267A1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_49AC5E78", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C71AA29B"; + States = + { + "$LOCAL$/CParticleState_B40D57FA", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_A56267A1 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_49AC5E78 +{ + FieldName = "Color"; + FieldType = float3; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C71AA29B +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 0.5 * Scale; + Color = RGB * 0.04 * pow(1 - spawner.LifeRatio, 2); +} +"; +} +CParticleState $LOCAL$/CParticleState_B40D57FA +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_0BC47945", + "$LOCAL$/CParticleEvolver_Physics_851D3EEC", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_0BC47945 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_851D3EEC +{ + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Lightning +{ + Delay = 3.0000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_B2403A9D"; + DurationInSeconds = 3.0000001e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.0000000e+000; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_14864369"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_14864369 +{ + Expression = "function void Eval() +{ + float rate = Curve_1.sample(LifeRatio); + Color = float4(RGB.x * rate, RGB.y *rate, RGB.z * rate, rate); +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3C9401E0 +{ + SamplerName = "Curve_1"; + Times = + { + 0.0000000e+000, + 8.5398823e-002, + 2.3699199e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0134250e+001, + 3.5914707e-001, + 1.2560610e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 4.3611922e-003, + 7.7416361e-003, + -1.2548015e-001, + -6.3157439e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_06C7D623 +{ + SamplerName = "Curve_1"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + -3.4219995e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -5.1962605e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_87C94E22"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_87C94E22 +{ + Expression = "function void Eval() +{ + float rate = Curve_1.sample(LifeRatio) * 0.2; + Color = float4(RGB.x * rate, RGB.y * rate, RGB.z * rate, rate); +} +"; +} diff --git a/assets/streaming/PackFx/Particles/SkillTree/SkillTreeAmbientParticle.pkfx b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeAmbientParticle.pkfx new file mode 100644 index 0000000..8f40c09 --- /dev/null +++ b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeAmbientParticle.pkfx @@ -0,0 +1,356 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 3.0000000e+002; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_CBEB632D", + "$LOCAL$/CParticleFieldDeclaration_A6FFE779", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_BFD04111", + "$LOCAL$/CParticleSamplerProceduralTurbulence_8E7D769B", + "$LOCAL$/CParticleSamplerCurve_F2CD6F30", + "$LOCAL$/CParticleSamplerShape_3E09C57A", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + Diffuse = "Textures/FX/bokeh_diffraction_xsmall.dds"; + AtlasDefinition = "Textures/FX/bokeh_diffraction.pkat"; + SoftAnimationBlending = true; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Size = 0.05; + + Position = StartPosition.samplePosition(); +// Velocity = float3(0,pow(sin(scene.Time)*0.5+0.5,2)+2,0);//rand(-1.0.xxx, 1.0.xxx) * float3(1,0.2,1) + float3(0,2,0); + Velocity = float3(0,0.1,0); + +// Brightness = 5 + step(ninja, 0.95) * 100; + float power = BrightnessSelector.sample(ninja); + Life = 12.0 + power * 5; + Brightness = power * 100; +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/Field_1", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + ConstantVelocityField = float3(0.0000000e+000, 9.9999998e-003, 0.0000000e+000); + Drag = 1.0000000e+000; + VelocityFieldSampler = "Turb_0"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_4EFEBBFA", + "$LOCAL$/CParticleAttributeDeclaration_731FAD45", + "$LOCAL$/CParticleAttributeDeclaration_A93E82EC", + "$LOCAL$/CParticleAttributeDeclaration_D130A61F", + "$LOCAL$/CParticleAttributeDeclaration_0AC61FCE", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CBEB632D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/Field_1 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_777BFAC7"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_777BFAC7 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 8.8679262e-002, + 8.9314032e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 5.9527493e-001, + 5.8135343e-001, + 4.2271119e-001, + 9.8072559e-001, + 2.5069571e-001, + 5.2228272e-001, + 8.1159347e-001, + 5.5738533e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.7854652e-002, + -3.4917984e-002, + -6.6325706e-003, + 0.0000000e+000, + -8.8769633e-001, + -3.1676129e-001, + -6.0167897e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.5176258e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.0159213e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_8B1C3D96"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_8B1C3D96 +{ + Expression = "function void Eval() +{ + float distToView = dot(Position - ViewPosition, ViewDirection); + float dofSignedDist = distToView - FocusDistance; + float dofDist = abs(dofSignedDist); + + float dofFactor = min(1, max(0, dofDist - FocusRange.y) / FocusRange.x); + float dofFactorNonLin = pow(dofFactor,2); + + float cocFactor = dofFactorNonLin; + float cocScale = distToView * cocFactor; + + float realSize = 0.01; + float newSize = realSize + cocScale * MaxCocRadius; + float areaDiffusion = pow(realSize / newSize, 2); + + float cocBias = sqrt(min(realSize / (newSize - realSize), 100)); // hack + TextureID = 3*(1-cocFactor) + 2*cocBias; + + Size = newSize; + Color *= (areaDiffusion*Brightness).111x; + +// Color = DOF_DEBUG.sample(1-cocFactor); +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_BFD04111 +{ + SamplerName = "DOF_DEBUG"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 9.8960614e-001, + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 9.8960614e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_8E7D769B +{ + SamplerName = "Turb_0"; + Strength = 8.8388346e-002; + TimeScale = 5.0000000e-001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_4EFEBBFA +{ + AttributeName = "FocusDistance"; + AttributeDescription = "Distance from the focus plane to the camera"; + DefaultValueF4 = float4(1.4457840e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_731FAD45 +{ + AttributeName = "FocusRange"; + AttributeType = float2; + AttributeDescription = "Distance from the in-focus to the out-of-focus plane in \'x\'\\nSize of the fully-focused zone in \'y\'"; + DefaultValueF4 = float4(2.2891560e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(4.0000000e+001, 2.0000000e+001, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_A93E82EC +{ + AttributeName = "MaxCocRadius"; + AttributeDescription = "Radius of the Bokeh when fully out of focus.\\n(Warning: larger values can quickly become EXTREMELTY HEAVY on overdraw\\nand can bring your GPU to its knees...)"; + DefaultValueF4 = float4(5.0000001e-002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e-001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_D130A61F +{ + AttributeName = "ViewPosition"; + AttributeType = float3; + AttributeDescription = "Camera position (Will be auto-filled by the editor)"; + MinValueF4 = float4(-1.0000000e+002, -1.0000000e+002, -1.0000000e+002, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+002, 1.0000000e+002, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0AC61FCE +{ + AttributeName = "ViewDirection"; + AttributeType = float3; + AttributeDescription = "Normalized camera direction (Will be auto-filled by the editor)"; + HasMin = true; + HasMax = true; + MinValueF4 = float4(-1.0000000e+000, -1.0000000e+000, -1.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A6FFE779 +{ + FieldName = "Brightness"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F2CD6F30 +{ + SamplerName = "BrightnessSelector"; + Times = + { + 0.0000000e+000, + 9.8499995e-001, + 9.8999995e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.9999997e-002, + 1.4027023e-001, + 9.8938227e-001, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.9461302e-001, + 9.8788249e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3E09C57A +{ + SamplerName = "StartPosition"; + Shape = "$LOCAL$/CShapeDescriptor_B59AB4C5"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_B59AB4C5 +{ + ShapeType = SPHERE; + Radius = 2.5000000e+001; +} diff --git a/assets/streaming/PackFx/Particles/SkillTree/SkillTreeLine.pkfx b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeLine.pkfx new file mode 100644 index 0000000..8be196a --- /dev/null +++ b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeLine.pkfx @@ -0,0 +1,257 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Link_lerpFunction +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+002; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_8301E75F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_58015AE9", + "$LOCAL$/CParticleFieldDeclaration_B775D1A3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Link_lerpFunction", + "$LOCAL$/Others", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_8301E75F +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/SymmetricGradient.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.2; + Size = Thickness; + +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_70E40A2D", + "$LOCAL$/CParticleAttributeDeclaration_95C22DF4", + "$LOCAL$/CParticleAttributeDeclaration_96C9169E", + "$LOCAL$/CParticleAttributeDeclaration_02AFD60A", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_EB192F60", + }; +} +CParticleState $LOCAL$/CParticleState_B3CB37AE +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_2", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_95C22DF4 +{ + AttributeName = "Target"; + AttributeType = float3; + DefaultValueF4 = float4(-2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MinValueF4 = float4(-1.0000000e+001, -1.0000000e+001, -1.0000000e+001, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+001, 1.0000000e+001, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_2 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Script_95A75800", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_70AF6F2C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_70AF6F2C +{ + Expression = "function void Eval() +{ + Pos = lerp(0,Target,LifeRatio); // Movement between 2 position with lerp function + float3 Turb = Turb_0.sample(Pos); // Sampling of the turbulence + Position = Pos + Turb * pow(sin(LifeRatio*3),2); // Using sin to lerp with turbulence position in the middle life of the particles + + // same using of sin to blend opacity between the start and end and use a lerp function to blend 2 color during the life particles + Color=pow(sin(LifeRatio*3),1.25)*lerp(RGBstart.xyz1,RGBend.xyz1,LifeRatio); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_58015AE9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_EB192F60 +{ + SamplerName = "Turb_0"; + GlobalScale = 1.0000000e-001; + Wavelength = 1.0000000e+000; + Strength = 2.9999999e-002; + Lacunarity = 3.1724140e-001; + Gain = 8.7241381e-001; + TimeScale = 8.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B775D1A3 +{ + FieldName = "Pos"; + FieldType = float3; + TransformFilter = full; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_FD4E0A1D +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_84A334A4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_6F8DDE37", + "$LOCAL$/CParticleFieldDeclaration_86892DC6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0A02E67F"; + States = + { + "$LOCAL$/CParticleState_B3CB37AE", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_84A334A4 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/SymmetricGradient.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6F8DDE37 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_86892DC6 +{ + FieldName = "Pos"; + FieldType = float3; + TransformFilter = full; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_60B4D6C3 +{ + Expression = "function void Eval() +{ + Pos = lerp(0,Target,LifeRatio); + float3 Turb = Turb_0.sample(Pos * 0.1); + Position = Pos + Turb * pow(sin(LifeRatio*3),2); + Color = pow(sin(LifeRatio*3),1.25)*lerp(RGBstart.xyz1,RGBend.xyz1,LifeRatio); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/SubLink +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_FD4E0A1D"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+002; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_95A75800 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_60B4D6C3"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_70E40A2D +{ + AttributeName = "RGBstart"; + AttributeType = float3; + DefaultValueF4 = float4(0.0000000e+000, 1.0000000e+000, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0A02E67F +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.2; + Size = Thickness; + +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_96C9169E +{ + AttributeName = "RGBend"; + AttributeType = float3; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CActionFactoryWithChilds $LOCAL$/Others +{ + ChildList = + { + "$LOCAL$/SubLink", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02AFD60A +{ + AttributeName = "Thickness"; + DefaultValueF4 = float4(4.0000002e-003, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv1.pkfx b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv1.pkfx new file mode 100644 index 0000000..34e85a9 --- /dev/null +++ b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv1.pkfx @@ -0,0 +1,216 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Starlight", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_DBDA839C", + "$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C +{ + AttributeName = "RGB"; + AttributeType = float4; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1BCEDEFE +{ + AttributeName = "Power"; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38F45F59 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F7D5490 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Starlight +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AB7EC2E2"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 4.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AB7EC2E2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_98BF80E7"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_01646094", + "$LOCAL$/CParticleFieldDeclaration_32074B2F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerDoubleCurve_40DEE74A", + "$LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D"; + States = + { + "$LOCAL$/CParticleState_ABE52E36", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D +{ + Expression = "function void Eval() +{ + Life = rand(0.5,1); + Size = rand(0.2,0.5); + Color = float4(1.0); + Target = float3(rand(1,10),rand(1,10),rand(1,10)); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01646094 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_98BF80E7 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Starlight.png"; +} +CParticleState $LOCAL$/CParticleState_ABE52E36 +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/Script_1", + }; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_40DEE74A +{ + SamplerName = "AlphaCurve"; + Times = + { + 0.0000000e+000, + 2.3615220e-001, + 5.6383878e-001, + 8.2244629e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.1440367e+000, + 9.9042088e-002, + 7.9212719e-001, + 1.1273320e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 3.3561143e-001, + 4.6569717e-001, + 1.4082058e-001, + 1.1113440e-001, + -9.4605821e-001, + -6.4954060e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 2.5254011e-001, + 5.4675919e-001, + 8.4582168e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 7.7732545e-001, + 4.2903140e-001, + 1.6624220e-001, + 1.9126390e-003, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 1.5548030e-001, + 1.8114072e-001, + 1.4708639e+000, + 1.4950771e+000, + -4.6752223e-001, + -2.4102570e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_903292D5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_903292D5 +{ + Expression = "function void Eval() +{ + float3 Pos = lerp(0,Target,LifeRatio); + Color = RGB * pow(1 + AlphaTurb.sample(Pos).x,AlphaCurve.sample(LifeRatio)) * pow(2,Power); +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC +{ + SamplerName = "AlphaTurb"; + GlobalScale = 3.0000000e+000; + Strength = 4.0000001e-001; + Octaves = 1; + Lacunarity = 0.0000000e+000; + Gain = 0.0000000e+000; + Interpolator = Quintic; + TimeScale = 1.0000000e-001; + TimeRandomVariation = 1.0000000e+000; + FlowFactor = 2.0000000e+000; + DivergenceFactor = 2.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_32074B2F +{ + FieldName = "Target"; + FieldType = float3; +} diff --git a/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv2.pkfx b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv2.pkfx new file mode 100644 index 0000000..bbf0e48 --- /dev/null +++ b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv2.pkfx @@ -0,0 +1,403 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Starlight", + "$LOCAL$/Layer_1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_DBDA839C", + "$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE", + "$LOCAL$/CParticleAttributeDeclaration_9078374F", + "$LOCAL$/CParticleAttributeDeclaration_60B79B3A", + "$LOCAL$/CParticleAttributeDeclaration_EF0E5D85", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C +{ + AttributeName = "RGB"; + AttributeType = float4; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1BCEDEFE +{ + AttributeName = "Power"; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9078374F +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(6.0270268e-001, 5.1351351e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38F45F59 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F7D5490 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Starlight +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AB7EC2E2"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 4.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AB7EC2E2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_98BF80E7"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_01646094", + "$LOCAL$/CParticleFieldDeclaration_32074B2F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerDoubleCurve_40DEE74A", + "$LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D"; + States = + { + "$LOCAL$/CParticleState_ABE52E36", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D +{ + Expression = "function void Eval() +{ + Life = rand(0.5,1); + Size = rand(0.3,0.75); + Color = float4(1.0); + Target = float3(rand(1,10),rand(1,10),rand(1,10)); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01646094 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_98BF80E7 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Starlight.png"; +} +CParticleState $LOCAL$/CParticleState_ABE52E36 +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/Script_1", + }; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_40DEE74A +{ + SamplerName = "AlphaCurve"; + Times = + { + 0.0000000e+000, + 2.3615220e-001, + 5.6383878e-001, + 8.2244629e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.1440367e+000, + 9.9042088e-002, + 7.9212719e-001, + 1.1273320e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 3.3561143e-001, + 4.6569717e-001, + 1.4082058e-001, + 1.1113440e-001, + -9.4605821e-001, + -6.4954060e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 2.5254011e-001, + 5.4675919e-001, + 8.4582168e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 7.7732545e-001, + 4.2903140e-001, + 1.6624220e-001, + 1.9126390e-003, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 1.5548030e-001, + 1.8114072e-001, + 1.4708639e+000, + 1.4950771e+000, + -4.6752223e-001, + -2.4102570e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_903292D5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_903292D5 +{ + Expression = "function void Eval() +{ + float3 Pos = lerp(0,Target,LifeRatio); + Color = RGB * pow(1 + AlphaTurb.sample(Pos).x,AlphaCurve.sample(LifeRatio)) * pow(2,Power); +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC +{ + SamplerName = "AlphaTurb"; + GlobalScale = 3.0000000e+000; + Strength = 4.0000001e-001; + Octaves = 1; + Lacunarity = 0.0000000e+000; + Gain = 0.0000000e+000; + Interpolator = Quintic; + TimeScale = 1.0000000e-001; + TimeRandomVariation = 1.0000000e+000; + FlowFactor = 2.0000000e+000; + DivergenceFactor = 2.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_32074B2F +{ + FieldName = "Target"; + FieldType = float3; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D2FE5656 +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_List_179BE8D1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D8B7456A", + "$LOCAL$/CParticleFieldDeclaration_66453B75", + "$LOCAL$/CParticleFieldDeclaration_99DF14DC", + "$LOCAL$/CParticleFieldDeclaration_B062A6CF", + "$LOCAL$/CParticleFieldDeclaration_E9DAD63E", + "$LOCAL$/CParticleFieldDeclaration_D038F2D9", + "$LOCAL$/CParticleFieldDeclaration_DC8BAE10", + "$LOCAL$/CParticleFieldDeclaration_6375DE13", + "$LOCAL$/CParticleFieldDeclaration_12BAFCD2", + "$LOCAL$/CParticleFieldDeclaration_B27612FD", + "$LOCAL$/CParticleFieldDeclaration_C0D57F04", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_320EC817"; + States = + { + "$LOCAL$/CParticleState_29A56D26", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_179BE8D1 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_5D5B3E4B", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D8B7456A +{ + FieldName = "PosSphere"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66453B75 +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_99DF14DC +{ + FieldName = "AxisUp"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B062A6CF +{ + FieldName = "Speed"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E9DAD63E +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D038F2D9 +{ + FieldName = "ColorCoeff"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DC8BAE10 +{ + FieldName = "ColorG"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6375DE13 +{ + FieldName = "Pos"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_12BAFCD2 +{ + FieldName = "Offset"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B27612FD +{ + FieldName = "AxisUpG"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C0D57F04 +{ + FieldName = "InitPosition"; + FieldType = float3; + TransformFilter = full; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_320EC817 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.01; + float3 v = vrand(); + PosSphere = v*0.2*Scale; + Speed = ninja*2-1; + ColorCoeff = select(1,10,ninja<0.1); + Axis = float3(0,1,0); + Offset = select(0.5,0.75,ninja<0.5); + InitPosition = Position; +} +"; +} +CParticleState $LOCAL$/CParticleState_29A56D26 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_79C25FE1", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_79C25FE1 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_20539BB8"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_20539BB8 +{ + Expression = "function void Eval() +{ + Color = (sin(LifeRatio*3)*RGB.xyz*ColorCoeff).xyz1 * pow(2,1); + ColorG = Color*0.2; + + Pos = rotate(PosSphere * Offset, scene.axisUp(), scene.Time*Speed*2); + + AxisUp = normalize(Pos); + AxisUpG = AxisUp * Offset * Scale; + + Position = InitPosition + Pos; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_D2FE5656"; + Infinite = true; + DurationInSeconds = 2.0000000e+001; + SpawnCount = 3.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_60B79B3A +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(5.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+003, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF0E5D85 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(7.5862062e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5D5B3E4B +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; + BillboardMode = VelocityAxisAligned; + ColorField = "ColorG"; + AxisField = "AxisUpG"; + Axis2Field = "AxisUp"; + AxisScale = 1.0000000e+000; +} diff --git a/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv3.pkfx b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv3.pkfx new file mode 100644 index 0000000..c554805 --- /dev/null +++ b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv3.pkfx @@ -0,0 +1,513 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Starlight", + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_DBDA839C", + "$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE", + "$LOCAL$/CParticleAttributeDeclaration_9078374F", + "$LOCAL$/CParticleAttributeDeclaration_60B79B3A", + "$LOCAL$/CParticleAttributeDeclaration_EF0E5D85", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C +{ + AttributeName = "RGB"; + AttributeType = float4; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1BCEDEFE +{ + AttributeName = "Power"; + DefaultValueF4 = float4(1.3103449e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9078374F +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(6.0270268e-001, 5.1351351e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38F45F59 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F7D5490 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Starlight +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AB7EC2E2"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 4.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AB7EC2E2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_98BF80E7"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_01646094", + "$LOCAL$/CParticleFieldDeclaration_32074B2F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerDoubleCurve_40DEE74A", + "$LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D"; + States = + { + "$LOCAL$/CParticleState_ABE52E36", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D +{ + Expression = "function void Eval() +{ + Life = rand(0.5,1); + Size = rand(0.5,1); + Color = float4(1.0); + Target = float3(rand(1,10),rand(1,10),rand(1,10)); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01646094 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_98BF80E7 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Starlight.png"; +} +CParticleState $LOCAL$/CParticleState_ABE52E36 +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/Script_1", + }; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_40DEE74A +{ + SamplerName = "AlphaCurve"; + Times = + { + 0.0000000e+000, + 2.3615220e-001, + 5.6383878e-001, + 8.2244629e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.1440367e+000, + 9.9042088e-002, + 7.9212719e-001, + 1.1273320e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 3.3561143e-001, + 4.6569717e-001, + 1.4082058e-001, + 1.1113440e-001, + -9.4605821e-001, + -6.4954060e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 2.5254011e-001, + 5.4675919e-001, + 8.4582168e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 7.7732545e-001, + 4.2903140e-001, + 1.6624220e-001, + 1.9126390e-003, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 1.5548030e-001, + 1.8114072e-001, + 1.4708639e+000, + 1.4950771e+000, + -4.6752223e-001, + -2.4102570e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_903292D5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_903292D5 +{ + Expression = "function void Eval() +{ + float3 Pos = lerp(0,Target,LifeRatio); + Color = RGB * pow(1 + AlphaTurb.sample(Pos).x,AlphaCurve.sample(LifeRatio)) * pow(2,Power); +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC +{ + SamplerName = "AlphaTurb"; + GlobalScale = 3.0000000e+000; + Strength = 4.0000001e-001; + Octaves = 1; + Lacunarity = 0.0000000e+000; + Gain = 0.0000000e+000; + Interpolator = Quintic; + TimeScale = 1.0000000e-001; + TimeRandomVariation = 1.0000000e+000; + FlowFactor = 2.0000000e+000; + DivergenceFactor = 2.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_32074B2F +{ + FieldName = "Target"; + FieldType = float3; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D2FE5656 +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_List_179BE8D1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D8B7456A", + "$LOCAL$/CParticleFieldDeclaration_66453B75", + "$LOCAL$/CParticleFieldDeclaration_99DF14DC", + "$LOCAL$/CParticleFieldDeclaration_B062A6CF", + "$LOCAL$/CParticleFieldDeclaration_E9DAD63E", + "$LOCAL$/CParticleFieldDeclaration_D038F2D9", + "$LOCAL$/CParticleFieldDeclaration_DC8BAE10", + "$LOCAL$/CParticleFieldDeclaration_6375DE13", + "$LOCAL$/CParticleFieldDeclaration_12BAFCD2", + "$LOCAL$/CParticleFieldDeclaration_B27612FD", + "$LOCAL$/CParticleFieldDeclaration_C0D57F04", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_320EC817"; + States = + { + "$LOCAL$/CParticleState_29A56D26", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_179BE8D1 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_5D5B3E4B", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D8B7456A +{ + FieldName = "PosSphere"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66453B75 +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_99DF14DC +{ + FieldName = "AxisUp"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B062A6CF +{ + FieldName = "Speed"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E9DAD63E +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D038F2D9 +{ + FieldName = "ColorCoeff"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DC8BAE10 +{ + FieldName = "ColorG"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6375DE13 +{ + FieldName = "Pos"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_12BAFCD2 +{ + FieldName = "Offset"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B27612FD +{ + FieldName = "AxisUpG"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C0D57F04 +{ + FieldName = "InitPosition"; + FieldType = float3; + TransformFilter = full; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_320EC817 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.01; + float3 v = vrand(); + PosSphere = v*0.2*Scale; + Speed = ninja*2-1; + ColorCoeff = select(1,10,ninja<0.1); + Axis = float3(0,1,0); + Offset = select(0.5,0.75,ninja<0.5); + InitPosition = Position; +} +"; +} +CParticleState $LOCAL$/CParticleState_29A56D26 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_79C25FE1", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_79C25FE1 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_20539BB8"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_20539BB8 +{ + Expression = "function void Eval() +{ + Color = (sin(LifeRatio*3)*RGB.xyz*ColorCoeff).xyz1 * pow(2,1); + ColorG = Color*0.2; + + Pos = rotate(PosSphere * Offset, scene.axisUp(), scene.Time*Speed*2); + + AxisUp = normalize(Pos); + AxisUpG = AxisUp * Offset * Scale; + + Position = InitPosition + Pos; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_D2FE5656"; + Infinite = true; + DurationInSeconds = 2.0000000e+001; + SpawnCount = 3.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_60B79B3A +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(1.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+003, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF0E5D85 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.5172414e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5D5B3E4B +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; + BillboardMode = VelocityAxisAligned; + ColorField = "ColorG"; + AxisField = "AxisUpG"; + Axis2Field = "AxisUp"; + AxisScale = 1.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_14935FF6 +{ + InheritInitialVelocity = 1.8316831e-001; + Renderer = "$LOCAL$/CParticleRenderer_List_7C0AE2F1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AB5F7F6B", + "$LOCAL$/CParticleFieldDeclaration_F5290B33", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_0B672F1D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_791CD77C"; + States = + { + "$LOCAL$/CParticleState_1FDC4DEF", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_7C0AE2F1 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_5C05D408", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5C05D408 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/BB_Glow_02_64.tga"; + BillboardMode = VelocityCapsuleAlign; + AxisScale = 5.0000001e-002; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AB5F7F6B +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_791CD77C +{ + Expression = "function void Eval() +{ + float power = pow(rand(0,1),4); // steep pow curve, only a few sparks are \'powerful\' + Life = 0.6 + pow(power,8) * 4; // very steep pow curve, only very few powerful sparks live long + Size = 0.0015 + power * 0.001; // powerful sparks are slightly bigger + Target = float3(rand(1,10),rand(1,10),rand(1,10)); + Velocity = normalize(float3(rand(-10,10),rand(-10,10),rand(-10,10))) * (1 + 1 * power); // powerful sparks go faster +} +"; +} +CParticleState $LOCAL$/CParticleState_1FDC4DEF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_6913FBDE", + "$LOCAL$/Script_2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6913FBDE +{ + CustomName = "Physics"; + Drag = 4.0000000e+000; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 16; + BounceRestitution = 7.5000000e-001; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_14935FF6"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.0000000e+002; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_07535EB0"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_07535EB0 +{ + Expression = "function void Eval() +{ + float3 Pos = lerp(0,Target,LifeRatio); + Color = RGB * pow(1 + AlphaTurb.sample(Pos).x,1) * pow(2,Power); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F5290B33 +{ + FieldName = "Target"; + FieldType = float3; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_0B672F1D +{ + SamplerName = "AlphaTurb"; + GlobalScale = 3.0000000e+000; + Strength = 4.0000001e-001; + Octaves = 1; + Lacunarity = 0.0000000e+000; + Gain = 0.0000000e+000; + Interpolator = Quintic; + TimeScale = 1.0000000e-001; + TimeRandomVariation = 1.0000000e+000; + FlowFactor = 2.0000000e+000; + DivergenceFactor = 2.0000000e+000; +} diff --git a/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv4.pkfx b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv4.pkfx new file mode 100644 index 0000000..71c2016 --- /dev/null +++ b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_Lv4.pkfx @@ -0,0 +1,990 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Starlight", + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_2", + "$LOCAL$/Layer_3", + "$LOCAL$/Layer_4", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_DBDA839C", + "$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE", + "$LOCAL$/CParticleAttributeDeclaration_9078374F", + "$LOCAL$/CParticleAttributeDeclaration_60B79B3A", + "$LOCAL$/CParticleAttributeDeclaration_EF0E5D85", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C +{ + AttributeName = "RGB"; + AttributeType = float4; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1BCEDEFE +{ + AttributeName = "Power"; + DefaultValueF4 = float4(1.3103449e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9078374F +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(6.0270268e-001, 5.1351351e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38F45F59 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F7D5490 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Starlight +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_AB7EC2E2"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 4.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AB7EC2E2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_98BF80E7"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_01646094", + "$LOCAL$/CParticleFieldDeclaration_32074B2F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerDoubleCurve_40DEE74A", + "$LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D"; + States = + { + "$LOCAL$/CParticleState_ABE52E36", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D +{ + Expression = "function void Eval() +{ + Life = rand(0.5,1); + Size = rand(0.5,1); + Color = float4(1.0); + Target = float3(rand(1,10),rand(1,10),rand(1,10)); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01646094 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_98BF80E7 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Starlight.png"; +} +CParticleState $LOCAL$/CParticleState_ABE52E36 +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/Script_1", + }; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_40DEE74A +{ + SamplerName = "AlphaCurve"; + Times = + { + 0.0000000e+000, + 2.3615220e-001, + 5.6383878e-001, + 8.2244629e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.1440367e+000, + 9.9042088e-002, + 7.9212719e-001, + 1.1273320e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 3.3561143e-001, + 4.6569717e-001, + 1.4082058e-001, + 1.1113440e-001, + -9.4605821e-001, + -6.4954060e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 2.5254011e-001, + 5.4675919e-001, + 8.4582168e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 7.7732545e-001, + 4.2903140e-001, + 1.6624220e-001, + 1.9126390e-003, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 1.5548030e-001, + 1.8114072e-001, + 1.4708639e+000, + 1.4950771e+000, + -4.6752223e-001, + -2.4102570e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_903292D5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_903292D5 +{ + Expression = "function void Eval() +{ + float3 Pos = lerp(0,Target,LifeRatio); + Color = RGB * pow(1 + AlphaTurb.sample(Pos).x,AlphaCurve.sample(LifeRatio)) * pow(2,Power); +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC +{ + SamplerName = "AlphaTurb"; + GlobalScale = 2.0000000e+000; + Strength = 4.0000001e-001; + Octaves = 1; + Lacunarity = 0.0000000e+000; + Gain = 0.0000000e+000; + Interpolator = Quintic; + TimeScale = 1.0000000e-001; + TimeRandomVariation = 1.0000000e+000; + FlowFactor = 2.0000000e+000; + DivergenceFactor = 2.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_32074B2F +{ + FieldName = "Target"; + FieldType = float3; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D2FE5656 +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_List_179BE8D1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D8B7456A", + "$LOCAL$/CParticleFieldDeclaration_66453B75", + "$LOCAL$/CParticleFieldDeclaration_99DF14DC", + "$LOCAL$/CParticleFieldDeclaration_B062A6CF", + "$LOCAL$/CParticleFieldDeclaration_E9DAD63E", + "$LOCAL$/CParticleFieldDeclaration_D038F2D9", + "$LOCAL$/CParticleFieldDeclaration_DC8BAE10", + "$LOCAL$/CParticleFieldDeclaration_6375DE13", + "$LOCAL$/CParticleFieldDeclaration_12BAFCD2", + "$LOCAL$/CParticleFieldDeclaration_B27612FD", + "$LOCAL$/CParticleFieldDeclaration_C0D57F04", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_320EC817"; + States = + { + "$LOCAL$/CParticleState_29A56D26", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_179BE8D1 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_5D5B3E4B", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D8B7456A +{ + FieldName = "PosSphere"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66453B75 +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_99DF14DC +{ + FieldName = "AxisUp"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B062A6CF +{ + FieldName = "Speed"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E9DAD63E +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D038F2D9 +{ + FieldName = "ColorCoeff"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DC8BAE10 +{ + FieldName = "ColorG"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6375DE13 +{ + FieldName = "Pos"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_12BAFCD2 +{ + FieldName = "Offset"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B27612FD +{ + FieldName = "AxisUpG"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C0D57F04 +{ + FieldName = "InitPosition"; + FieldType = float3; + TransformFilter = full; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_320EC817 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.01; + float3 v = vrand(); + PosSphere = v*0.2*Scale; + Speed = ninja*2-1; + ColorCoeff = select(1,10,ninja<0.1); + Axis = float3(0,1,0); + Offset = select(0.5,0.75,ninja<0.5); + InitPosition = Position; +} +"; +} +CParticleState $LOCAL$/CParticleState_29A56D26 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_79C25FE1", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_79C25FE1 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_20539BB8"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_20539BB8 +{ + Expression = "function void Eval() +{ + Color = (sin(LifeRatio*3)*RGB.xyz*ColorCoeff).xyz1 * pow(2,1); + ColorG = Color*0.2; + + Pos = rotate(PosSphere * Offset, scene.axisUp(), scene.Time*Speed*2); + + AxisUp = normalize(Pos); + AxisUpG = AxisUp * Offset * Scale; + + Position = InitPosition + Pos; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_D2FE5656"; + Infinite = true; + DurationInSeconds = 2.0000000e+001; + SpawnCount = 3.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_60B79B3A +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(1.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+003, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF0E5D85 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.5172414e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5D5B3E4B +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; + BillboardMode = VelocityAxisAligned; + ColorField = "ColorG"; + AxisField = "AxisUpG"; + Axis2Field = "AxisUp"; + AxisScale = 1.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_14935FF6 +{ + InheritInitialVelocity = 1.8316831e-001; + Renderer = "$LOCAL$/CParticleRenderer_List_7C0AE2F1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AB5F7F6B", + "$LOCAL$/CParticleFieldDeclaration_F5290B33", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_0B672F1D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_791CD77C"; + States = + { + "$LOCAL$/CParticleState_1FDC4DEF", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_7C0AE2F1 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_5C05D408", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_5C05D408 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/BB_Glow_02_64.tga"; + BillboardMode = VelocityCapsuleAlign; + AxisScale = 5.0000001e-002; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AB5F7F6B +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_791CD77C +{ + Expression = "function void Eval() +{ + float power = pow(rand(0,1),4); // steep pow curve, only a few sparks are \'powerful\' + Life = 0.6 + pow(power,8) * 4; // very steep pow curve, only very few powerful sparks live long + Size = 0.002 + power * 0.001; // powerful sparks are slightly bigger + Target = float3(rand(1,10),rand(1,10),rand(1,10)); + Velocity = normalize(float3(rand(-10,10),rand(-10,10),rand(-10,10))) * (1.5 + 1 * power); // powerful sparks go faster +} +"; +} +CParticleState $LOCAL$/CParticleState_1FDC4DEF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_6913FBDE", + "$LOCAL$/Script_2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_6913FBDE +{ + CustomName = "Physics"; + Drag = 4.0000000e+000; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 16; + BounceRestitution = 7.5000000e-001; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_2 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_14935FF6"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.5000000e+002; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_07535EB0"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_07535EB0 +{ + Expression = "function void Eval() +{ + float3 Pos = lerp(0,Target,LifeRatio); + Color = RGB * pow(1 + AlphaTurb.sample(Pos).x,1) * pow(1.5,Power); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F5290B33 +{ + FieldName = "Target"; + FieldType = float3; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_0B672F1D +{ + SamplerName = "AlphaTurb"; + GlobalScale = 3.0000000e+000; + Strength = 4.0000001e-001; + Octaves = 1; + Lacunarity = 0.0000000e+000; + Gain = 0.0000000e+000; + Interpolator = Quintic; + TimeScale = 1.0000000e-001; + TimeRandomVariation = 1.0000000e+000; + FlowFactor = 2.0000000e+000; + DivergenceFactor = 2.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_5AF63C29 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_6D1309A0", + "$LOCAL$/CParticleFieldDeclaration_16EB98E3", + "$LOCAL$/CParticleFieldDeclaration_E8C2E7E2", + "$LOCAL$/CParticleFieldDeclaration_ABA7D34D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_791F1D94", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C473C336"; + States = + { + "$LOCAL$/CParticleState_09B56731", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6D1309A0 +{ + FieldName = "Timeb"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_16EB98E3 +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E8C2E7E2 +{ + FieldName = "FluxScale"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_ABA7D34D +{ + FieldName = "NextBranchTime"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_791F1D94 +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_D28281E7"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_D28281E7 +{ + ShapeType = SPHERE; + Radius = 1.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C473C336 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Velocity = Scale*float3(rand(-1,1),rand(-1,1),rand(-1,1)); + SizeCoeff = Scale*0.05; + FluxScale = pow(Flux,0.5)*2*Scale*0.05; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)); + Position = DropSampler.samplePosition(); +} +"; +} +CParticleState $LOCAL$/CParticleState_09B56731 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_85448D48", + "$LOCAL$/CParticleEvolver_Spawner_D5872CBC", + "$LOCAL$/CParticleEvolver_Spawner_AE1EF75D", + "$LOCAL$/CParticleEvolver_Spawner_17377E03", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_85448D48 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_C1FC11AB", + "$LOCAL$/CParticleEvolver_Script_9294EC4A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C1FC11AB +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_9294EC4A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_0A6E7BD5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0A6E7BD5 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.01; + float n = 60 * SizeCoeff; + Velocity = select(Velocity,float3(SizeCoeff*rand(-1,1)*100,rand(-n,n),SizeCoeff*rand(-1,1)*100),shouldSpawnBranch); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_D5872CBC +{ + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_78FEAC2F"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_78FEAC2F +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_16DA971E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_80908FF0"; + States = + { + "$LOCAL$/CParticleState_9BE97573", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_16DA971E +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_80908FF0 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = RGB; +} +"; +} +CParticleState $LOCAL$/CParticleState_9BE97573 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_63C0B7B2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_63C0B7B2 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_AE1EF75D +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_B8640AE4"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_B8640AE4 +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_BC985177"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D49F0206", + "$LOCAL$/CParticleFieldDeclaration_2C1F2641", + "$LOCAL$/CParticleFieldDeclaration_72D2B198", + "$LOCAL$/CParticleFieldDeclaration_31E7E43B", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_397CEA1A", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_AAE465E5"; + States = + { + "$LOCAL$/CParticleState_05AF580C", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_BC985177 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D49F0206 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C1F2641 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_72D2B198 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_31E7E43B +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_397CEA1A +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900167e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312178e+000, + 3.8749021e-001, + 1.5209466e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_AAE465E5 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.4 * Scale * 0.1; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = RGB * 10; +} +"; +} +CParticleState $LOCAL$/CParticleState_05AF580C +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_0DF991BF", + "$LOCAL$/CParticleEvolver_Physics_28A5A3EE", + "$LOCAL$/CParticleEvolver_Script_B03FFA49", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_0DF991BF +{ + CustomName = "Localspace"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_28A5A3EE +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_B03FFA49 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_0AC29240"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0AC29240 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_17377E03 +{ + CustomName = "Spawner"; + SpawnInterval = 1.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_29FC2382"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_29FC2382 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_0395E76D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9F7EB434", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_68188D07"; + States = + { + "$LOCAL$/CParticleState_300F1CD6", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_0395E76D +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9F7EB434 +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_68188D07 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 2 * Scale * 0.1; + Color = RGB * 0.04 * pow(1 - spawner.LifeRatio, 2); +} +"; +} +CParticleState $LOCAL$/CParticleState_300F1CD6 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_5280F151", + "$LOCAL$/CParticleEvolver_Physics_D473D1E8", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_5280F151 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D473D1E8 +{ + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_3 +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_5AF63C29"; + Infinite = true; + DurationInSeconds = 5.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 8.0000000e+000; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1FB913A6 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_4E73C861"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_DCC28D5B", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_B3E72B8D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_114A39BA"; + States = + { + "$LOCAL$/CParticleState_582E1E05", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_4E73C861 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_9F34EE38", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9F34EE38 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DCC28D5B +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_114A39BA +{ + Expression = "function void Eval() +{ + Life = 0.7; + Size = 5; +} +"; +} +CParticleState $LOCAL$/CParticleState_582E1E05 +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_23FBE869", + "$LOCAL$/Script_3", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_23FBE869 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_81B80AE0"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_81B80AE0 +{ + Times = + { + 0.0000000e+000, + 5.6802160e-001, + 1.0000000e+000, + }; + FloatValues = + { + -5.4880661e-001, + 5.2195132e-001, + 6.5549666e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 1.2214795e+000, + 2.6096267e-001, + 1.9846117e-001, + -9.7864561e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_4 +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_1FB913A6"; + Infinite = true; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 2.0000000e+000; +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E9FFCF22"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E9FFCF22 +{ + Expression = "function void Eval() +{ + Color = RGB * ColorCurve.sample(LifeRatio); +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B3E72B8D +{ + SamplerName = "ColorCurve"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 9.8859322e-001, + 6.4638560e-003, + }; + FloatTangents = + { + 0.0000000e+000, + -2.8239629e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_empty.pkfx b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_empty.pkfx new file mode 100644 index 0000000..fe7730b --- /dev/null +++ b/assets/streaming/PackFx/Particles/SkillTree/SkillTreeSkillStar_empty.pkfx @@ -0,0 +1,177 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Starlight", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_DBDA839C", + "$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C +{ + AttributeName = "RGB"; + AttributeType = float4; + DefaultValueF4 = float4(5.0000000e-001, 5.0000000e-001, 5.0000000e-001, 5.0000000e-001); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1BCEDEFE +{ + AttributeName = "Power"; + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38F45F59 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F7D5490 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Starlight +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AB7EC2E2"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 4.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AB7EC2E2 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_98BF80E7"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_01646094", + "$LOCAL$/CParticleFieldDeclaration_32074B2F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC", + "$LOCAL$/CParticleSamplerCurve_E6410E3F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D"; + States = + { + "$LOCAL$/CParticleState_ABE52E36", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_98BF80E7 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/BlackStar.png"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01646094 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_32074B2F +{ + FieldName = "Target"; + FieldType = float3; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_59018FBC +{ + SamplerName = "AlphaTurb"; + Wavelength = 2.0000000e+000; + Strength = 5.0000000e-001; + Octaves = 1; + Lacunarity = 0.0000000e+000; + Gain = 0.0000000e+000; + TimeScale = 1.0000000e-003; + TimeRandomVariation = 1.0000000e+000; + FlowFactor = 2.0000000e+000; + DivergenceFactor = 2.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_23D34A4D +{ + Expression = "function void Eval() +{ + Life = rand(0.5,1); + Size = rand(1,1.1); + Color = float4(1.0); + Target = float3(rand(1,10),rand(1,10),rand(1,10)); +} +"; +} +CParticleState $LOCAL$/CParticleState_ABE52E36 +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_903292D5"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_903292D5 +{ + Expression = "function void Eval() +{ + Color = RGB * AlphaCurve.sample(LifeRatio); +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E6410E3F +{ + SamplerName = "AlphaCurve"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.9429536e-003, + 5.8721614e-001, + 6.4638853e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.1368742e-003, + 1.1368742e-003, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} diff --git a/assets/streaming/PackFx/Particles/Teleporter.pkfx b/assets/streaming/PackFx/Particles/Teleporter.pkfx new file mode 100644 index 0000000..709204e --- /dev/null +++ b/assets/streaming/PackFx/Particles/Teleporter.pkfx @@ -0,0 +1,1057 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/GroundPlasma +{ + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 8.0000000e+003; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B1B598C3", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9E69D59F", + "$LOCAL$/CParticleSamplerTexture_0DBC2790", + "$LOCAL$/CParticleSamplerProceduralTurbulence_AD573872", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + ChildList = + { + "$LOCAL$/GroundPlasma", + "$LOCAL$/GroundPlasma_Columns", + "$LOCAL$/VortexDust", + "$LOCAL$/VortexDeform", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/LightRays_02.dds"; + AxisScale = 2.5000000e-002; + SoftnessDistance = 1.0000000e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + Expression = "function void Eval() +{ + float3 pCoords = Telepod.sampleParametricCoords(); + float2 uv = Telepod.sampleTexcoord(pCoords); + float4 mask = SpawnMask.sample(uv); + + float4 iMask = 1 - mask; + float spawnCoeff = ((pow(iMask.z,6) * 1.5 + step(iMask.z, 0.01) * 0.5) * TeleportStartup2 + (iMask.x * 0.75) * TeleportStartup1) * TeleportStartup; + Life = rand(1.5,2.0) * ((spawnCoeff + 0.2) * step(spawnCoeff, 0.01)); + Size = 0.05; + Position = Telepod.samplePosition(pCoords); + Velocity = float3(0,spawnCoeff * rand(0.5,0.8),0); + + Rotation = rand(-pi,pi); + ScalarRotationSpeed = rand(-3,3); +}"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/CParticleEvolver_Field_CC753D6D", + "$LOCAL$/CParticleEvolver_Field_C74F9CD6", + "$LOCAL$/CParticleEvolver_Rotation_DB1D7DEC", + "$LOCAL$/CParticleEvolver_Script_89E836C2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 2.0000000e-001, 0.0000000e+000); + Drag = 2.0000000e-001; + VelocityFieldSampler = "Turbulence"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_48246813", + "$LOCAL$/CParticleAttributeDeclaration_0B97728A", + "$LOCAL$/CParticleAttributeDeclaration_BF4A30DA", + "$LOCAL$/CParticleAttributeDeclaration_09CFF435", + "$LOCAL$/CParticleAttributeDeclaration_E5A60CBB", + "$LOCAL$/CParticleAttributeDeclaration_0A09FC9A", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9E69D59F +{ + SamplerName = "Telepod"; + Shape = "$LOCAL$/CShapeDescriptor_C28459E6"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_C28459E6 +{ + Position = float3(0.0000000e+000, -3.0000001e-001, 0.0000000e+000); + ShapeType = MESH; + MeshResource = "Meshes/Telepod.pkmm"; + MeshScale = float3(7.5000000e-001, 7.5000000e-001, 7.5000000e-001); + MeshSamplingMode = Fast; + SubMeshIndex = 1; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A898DECD +{ + FieldName = "Axis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerTexture $LOCAL$/CParticleSamplerTexture_0DBC2790 +{ + SamplerName = "SpawnMask"; + TextureResource = "Textures/Telepod_SamplingMap.dds"; + SampleRawValues = false; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_48246813 +{ + AttributeName = "TeleportStartup"; + AttributeDescription = "Global teleport startup control\\n\\nIs applied to all the other coefficients.\\n - vertical columns\\n - ground engraving\\n - central portal / vortex"; + DefaultValueF4 = float4(2.5000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0B97728A +{ + AttributeName = "TeleportStartup1"; + AttributeDescription = "Vertical rising particle columns"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_AD573872 +{ + SamplerName = "Turbulence"; + Wavelength = 8.0000001e-001; + Strength = 1.4142136e-001; + Lacunarity = 2.4195836e-001; + Gain = 5.5986917e-001; + TimeScale = 2.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_CC753D6D +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_775EDA7C"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_775EDA7C +{ + Times = + { + 0.0000000e+000, + 2.3570725e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.1653721e-001, + 4.4357508e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -2.7509876e-002, + -8.9202166e-002, + -3.5422303e-002, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_C74F9CD6 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_A662A041"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A662A041 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.5221051e+000, + 6.0705967e+000, + 2.0255657e+001, + 0.0000000e+000, + -3.4970765e+000, + -2.0767048e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_75763E2E +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 4.7319081e-001, + 8.0139655e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0859410e+000, + 1.0859410e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.1156230e+000, + 1.1156230e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 7.4247569e-001, + 7.4247569e-001, + 0.0000000e+000, + 0.0000000e+000, + 5.1498204e-001, + 5.1498204e-001, + 0.0000000e+000, + 0.0000000e+000, + -2.6214522e-001, + -2.6214522e-001, + 0.0000000e+000, + 0.0000000e+000, + -1.5862900e-001, + -1.5862900e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B1B598C3 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_C61A5660 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/dot_NoAlpha.tga"; + AxisScale = 2.5000000e-002; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_CD2F2D52 +{ + Expression = "function void Eval() +{ + Color *= ColorCoeff; +}"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2EAB97DA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_FBC46987 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_75763E2E"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2A3FD714 +{ + FieldName = "Color"; + FieldType = float4; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_E16A4CBE +{ + Position = float3(0.0000000e+000, -4.0000001e-001, 0.0000000e+000); + ShapeType = MESH; + MeshResource = "Meshes/Telepod.pkmm"; + MeshScale = float3(6.9999999e-001, 6.9999999e-001, 6.9999999e-001); + MeshSamplingMode = Fast; + SubMeshIndex = 1; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_7E843089 +{ + SamplerName = "Telepod"; + Shape = "$LOCAL$/CShapeDescriptor_E16A4CBE"; +} +CParticleSamplerTexture $LOCAL$/CParticleSamplerTexture_33197128 +{ + SamplerName = "SpawnMask"; + TextureResource = "Textures/Telepod_SamplingMap.dds"; + SampleRawValues = false; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_7C60EB4B +{ + SamplerName = "Turbulence"; + Strength = 8.8388346e-002; + Gain = 1.0000000e+000; + TimeScale = 8.0000001e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0B64C8E2 +{ + Expression = "function void Eval() +{ + float3 pCoords = Telepod.sampleParametricCoords(); + float2 uv = Telepod.sampleTexcoord(pCoords); + float4 mask = SpawnMask.sample(uv); + + float4 iMask = 1 - mask; + float kPower = TeleportStartup1 * TeleportStartup; + float spawnCoeff = (iMask.y * 2) * (pow(kPower, 0.5) + 0.2) * step(kPower, 0.1); // will start only at more than 10% global power + + Life = rand(1.2,2.5) * spawnCoeff; + Size = 0.05; + Position = Telepod.samplePosition(pCoords); + Velocity = float3(0,spawnCoeff * rand(0.8,1.2),0); + ScalarRotationSpeed = sign(rand(-1,1)) * 15; + SizeCoeff = step(pow(rand(0,1),3), 0.5) * 0.65 + 0.35; +}"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_FDFA4C1D +{ + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 2.0000000e-001, 0.0000000e+000); + Drag = 5.0000000e-001; + VelocityFieldSampler = "Turbulence"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_66C66E6C +{ + Times = + { + 0.0000000e+000, + 1.3507557e-001, + 5.6828457e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 3.8517344e-001, + 2.1980560e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 5.7310541e-003, + -5.1272870e-003, + -1.6444031e-002, + 5.6655408e-004, + 5.6460081e-004, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_CC6C037F +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_66C66E6C"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_564D5046 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.4916292e-002, + 2.1768826e-001, + 3.1303886e-001, + 3.6071131e-001, + 4.3465170e-001, + 5.1639116e-001, + 6.0516036e-001, + 6.7411613e-001, + 7.1890163e-001, + 8.6572176e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 9.9336040e-001, + 1.3138826e-001, + 1.9893309e-001, + 4.9782941e-001, + 9.9587637e-001, + 2.6205438e-001, + 3.4619728e-001, + 8.5448384e-001, + 2.7784407e-002, + 3.3247715e-001, + 3.8973489e-001, + 9.4862527e-001, + 9.4878119e-001, + 3.5736591e-001, + 3.9246723e-001, + 9.4725728e-001, + 0.0000000e+000, + 3.8220969e-001, + 3.7606889e-001, + 8.9353967e-001, + 0.0000000e+000, + 3.9000523e-001, + 3.3471537e-001, + 7.7757293e-001, + 9.9798292e-001, + 3.7478974e-001, + 2.7083790e-001, + 6.0813177e-001, + 0.0000000e+000, + 3.4575468e-001, + 2.1360862e-001, + 4.6180081e-001, + 0.0000000e+000, + 3.1875208e-001, + 1.7534217e-001, + 3.6665368e-001, + 9.7875869e-001, + 1.8468525e-001, + 6.0877979e-002, + 1.0099045e-001, + 2.2089982e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.4447255e-001, + 2.4077807e-001, + 6.0771924e-001, + 0.0000000e+000, + 1.1821973e-001, + 1.5963240e-001, + 3.9493382e-001, + 2.0496946e-004, + 1.5291443e-001, + 2.0648073e-001, + 5.1083750e-001, + 2.6512315e-004, + 1.0825528e-001, + 9.2958212e-002, + 2.1597071e-001, + 5.6775004e-002, + 8.4076241e-002, + 7.2195798e-002, + 1.6773321e-001, + 4.4094190e-002, + 5.6696668e-002, + 1.7075680e-002, + 2.6586980e-002, + 2.2429066e-002, + 2.8346643e-002, + 8.5373288e-003, + 1.3292695e-002, + 1.1213862e-002, + 2.1421615e-002, + -2.7935843e-003, + -1.5261415e-002, + -2.1910062e-002, + 3.3225115e-002, + -4.3328744e-003, + -2.3670591e-002, + 0.0000000e+000, + 1.6429314e-002, + -2.7461743e-002, + -8.1010245e-002, + 0.0000000e+000, + 1.8162241e-002, + -3.0358341e-002, + -8.9555018e-002, + 1.0408063e-002, + -2.6159259e-003, + -5.0997626e-002, + -1.3866441e-001, + 5.1769800e-004, + -2.8409001e-003, + -5.5383518e-002, + -1.5058979e-001, + 5.6222099e-004, + -2.7646363e-002, + -7.0673093e-002, + -1.8362360e-001, + -1.9229703e-002, + -2.1475650e-002, + -5.4898754e-002, + -1.4263853e-001, + -1.4937605e-002, + -3.6621045e-002, + -5.8762275e-002, + -1.4783093e-001, + 0.0000000e+000, + -2.3784690e-002, + -3.8165011e-002, + -9.6013449e-002, + 0.0000000e+000, + -3.0227883e-002, + -3.8147319e-002, + -9.3674526e-002, + 2.3028602e-004, + -9.9095948e-002, + -1.2505820e-001, + -3.0709282e-001, + 7.5494574e-004, + -1.6928934e-001, + -9.6267015e-002, + -2.0333239e-001, + 2.0296738e+000, + -1.5482804e-001, + -8.8043548e-002, + -1.8596303e-001, + 1.8562919e+000, + -2.1473522e-001, + -2.7885629e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_776345F1 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_564D5046"; +} +CParticleState $LOCAL$/CParticleState_CA63D0F0 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_FDFA4C1D", + "$LOCAL$/CParticleEvolver_Field_CC6C037F", + "$LOCAL$/CParticleEvolver_Field_776345F1", + "$LOCAL$/CParticleEvolver_Rotation_93753CB4", + "$LOCAL$/CParticleEvolver_Damper_2002B8A7", + "$LOCAL$/CParticleEvolver_Script_0DF9506F", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_974AEBF3 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_C61A5660"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2EAB97DA", + "$LOCAL$/CParticleFieldDeclaration_723AEA1C", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_7E843089", + "$LOCAL$/CParticleSamplerTexture_33197128", + "$LOCAL$/CParticleSamplerProceduralTurbulence_7C60EB4B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0B64C8E2"; + States = + { + "$LOCAL$/CParticleState_CA63D0F0", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/GroundPlasma_Columns +{ + Descriptor = "$LOCAL$/CParticleDescriptor_974AEBF3"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+004; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_21A2064A +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 6.9664395e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + -2.8402853e-001, + -4.4426961e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_93753CB4 +{ + CustomName = "Rotation"; +} +CParticleEvolver_Damper $LOCAL$/CParticleEvolver_Damper_2002B8A7 +{ + CustomName = "Damper"; + ExpDampingTime = 8.0000001e-001; + FieldToDampen = "ScalarRotationSpeed"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/VortexDust +{ + Descriptor = "$LOCAL$/CParticleDescriptor_5CA7E459"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+003; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_5CA7E459 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_2FE195B8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_37AEDF80", + "$LOCAL$/CParticleFieldDeclaration_1EB7C353", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_A8F6FFFC", + "$LOCAL$/CParticleSamplerCurve_46884B4C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_1BA730ED"; + States = + { + "$LOCAL$/CParticleState_1D6EBD9B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_2FE195B8 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/FX/dot_NoAlpha.tga"; + BillboardMode = VelocityCapsuleAlign; + AxisScale = 2.0000000e-002; +} +CParticleState $LOCAL$/CParticleState_1D6EBD9B +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_4B0891F2", + "$LOCAL$/CParticleEvolver_Field_5DC8ABC1", + "$LOCAL$/CParticleEvolver_Field_BDDA60CA", + "$LOCAL$/CParticleEvolver_Script_6560DE07", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_4B0891F2 +{ + CustomName = "Physics"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_1BA730ED +{ + Expression = "function void Eval() +{ + float kStartup = TeleportStartup3 * TeleportStartup; + float3 spread = VortexSpreads.sample(kStartup); + + float speedCoeff = spread.z;//(1.0 + pow(rand(0, 1),2)*1.5) * (0.5 + max(kStartup-0.5, 0)); + Life = (1.0/speedCoeff) * step(kStartup, pow(rand(0,1), 1.0)); + kStartup = kStartup * step(kStartup, 0.1); + ColorCoeff = step(pow(rand(0, 1), 6),0.9)*10+0.25; + + int3 pCoords = Sampler_0.sampleParametricCoords(); + float3 n = Sampler_0.sampleNormal(pCoords) * 2.5; // FIXME: * Sampler_0.Properties.Radius + Position = Sampler_0.samplePosition(pCoords); + + Velocity = (n*float3(-1,spread.x * 2 - 1,-1) + cross(n, float3(0,1,0))*spread.y) * speedCoeff; +}"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_A8F6FFFC +{ + SamplerName = "Sampler_0"; + Shape = "$LOCAL$/CShapeDescriptor_A1348ECF"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_A1348ECF +{ + Position = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + ShapeType = SPHERE; + Radius = 2.5000000e+000; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BC1DB47B +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_CD2F2D52"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5DC8ABC1 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6AF80043"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_37AEDF80 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6AF80043 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 7.5000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 4.0934277e-001, + 8.4976196e-001, + 1.3584790e+000, + 5.3892694e+000, + 9.9983054e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.5406430e+000, + 2.7317243e+000, + 9.8854389e+000, + 2.3607463e-002, + 5.1354766e-001, + 9.1057479e-001, + 3.2951465e+000, + 7.8691542e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_AF2F36D3 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_21A2064A"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_723AEA1C +{ + FieldName = "SizeCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_0DF9506F +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_00E52976"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_00E52976 +{ + Expression = "function void Eval() +{ + Size *= SizeCoeff * 0.3; + Color *= 5.0.xxx1 * 0.1 + DistColor; + Color = Color * pow(Power, 2); +}"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_DB1D7DEC +{ + CustomName = "Rotation"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B53F827D +{ + Expression = "function void Eval() +{ + Color *= 0.1 + DistColor; + Color = Color * pow(Power, 2); + Size *= 1.5; +}"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_9AE531D1 +{ + Expression = "function void Eval() +{ + float kStrength = TeleportStartup * TeleportStartup3; + Life = 1.0 + 2 * (1 - kStrength); + Size = 0.25; + Position = float3(0,0.75,0); + ColorCoeff = pow(kStrength, 0.5); + Axis = float3(0,4*kStrength,0); +}"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DBDA6E18 +{ + FieldName = "ColorCoeff"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/VortexDeform +{ + Descriptor = "$LOCAL$/CParticleDescriptor_83EF61FD"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.5000000e+000; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_BF4A30DA +{ + AttributeName = "TeleportStartup2"; + AttributeDescription = "Engraved ground pattern effect"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_09CFF435 +{ + AttributeName = "TeleportStartup3"; + AttributeDescription = "Central portal opening\\n\\nValues when the global \'TeleportStartup\' is set to 1.0 :\\n - 0.01 to 0.20 : central vortex ring\\n - 0.20 to 0.40 : concentration to singularity\\n - 0.40 to 0.75 : vertical opening\\n - 0.75 to 1.00 : final portal opening"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_89E836C2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_B53F827D"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_46884B4C +{ + SamplerName = "VortexSpreads"; + ValueType = Float3; + Times = + { + 0.0000000e+000, + 3.9052486e-001, + 6.4549178e-001, + 7.4294996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.6990980e-002, + 4.5297426e-001, + 2.6224336e-001, + 4.5769066e-002, + 0.0000000e+000, + 7.9684091e-001, + 4.8968244e-001, + 0.0000000e+000, + 9.0844417e-001, + 4.9522573e-001, + 0.0000000e+000, + 8.6161149e-001, + 6.8301708e-001, + 5.9759569e-001, + 8.1808197e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.7480723e-002, + 8.2619929e-001, + 3.3956375e-002, + -6.2466252e-001, + 1.8972012e-001, + 2.2169529e-002, + -3.1825437e-003, + 1.2386498e-001, + 2.1619104e-002, + 0.0000000e+000, + -8.7094046e-002, + 8.2636550e-003, + 0.0000000e+000, + -3.3290703e-002, + 1.7503839e-003, + 0.0000000e+000, + 0.0000000e+000, + 4.6167108e-003, + 0.0000000e+000, + 0.0000000e+000, + 4.1338420e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleState $LOCAL$/CParticleState_7B6CC85F +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_AF2F36D3", + "$LOCAL$/CParticleEvolver_Field_FBC46987", + "$LOCAL$/CParticleEvolver_Script_BC1DB47B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_3056ACCC +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/Deform03.dds"; + AxisField = "Axis"; + AxisScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1EB7C353 +{ + FieldName = "ColorCoeff"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_BDDA60CA +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_EAAB2465"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EAAB2465 +{ + Times = + { + 0.0000000e+000, + 4.9231350e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.4324039e-001, + 1.4324039e-001, + 4.1704991e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 8.3021946e-002, + 0.0000000e+000, + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_83EF61FD +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_3056ACCC"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2A3FD714", + "$LOCAL$/CParticleFieldDeclaration_DBDA6E18", + "$LOCAL$/CParticleFieldDeclaration_A898DECD", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_9AE531D1"; + States = + { + "$LOCAL$/CParticleState_7B6CC85F", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_6560DE07 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_2512E0AE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2512E0AE +{ + Expression = "function void Eval() +{ + Size *= 0.2;//SizeCoeff; + //Color *= ((50*pow(SizeCoeff,4)+0.4)).xxx1; + Color *= ColorCoeff.xxx1 * 0.1 + DistColor; + Color = Color * pow(Power, 2); +}"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E5A60CBB +{ + AttributeName = "DistColor"; + AttributeType = float4; + DefaultValueF4 = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0A09FC9A +{ + AttributeName = "Power"; + DefaultValueF4 = float4(2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/Thruster.pkfx b/assets/streaming/PackFx/Particles/Thruster.pkfx new file mode 100644 index 0000000..48f51c2 --- /dev/null +++ b/assets/streaming/PackFx/Particles/Thruster.pkfx @@ -0,0 +1,870 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/OnHit", + "$LOCAL$/Dust", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flame +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 3.0000000e+002; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_810F8ED5", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_EB91C64D", + "$LOCAL$/CParticleSamplerShape_B8868C94", + "$LOCAL$/CParticleSamplerCurve_43F8F34A", + "$LOCAL$/CParticleSamplerCurve_EA2D0D62", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Flame", + "$LOCAL$/Hit", + "$LOCAL$/Flame_1", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + Diffuse = "Textures/BB_Glow_02_64.tga"; + BillboardMode = VelocitySpheroidalAlign; + AxisScale = 7.5000003e-002; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.12; + Size = 0.3; + //Position = Spawn.samplePosition(); + Velocity = float3(0, -10, 0); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/CParticleEvolver_Script_AEA6FA36", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flame_1 +{ + EditorInfosPosition = int2(-288, -61); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_EE3C32D8"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.0000000e+002; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_958CC850", + "$LOCAL$/CParticleAttributeDeclaration_69CB8DF8", + "$LOCAL$/CParticleAttributeDeclaration_7A70AB7A", + "$LOCAL$/CParticleAttributeDeclaration_817EBD85", + }; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_EB91C64D +{ + SamplerName = "Trub"; + Strength = 8.8388346e-002; + Gain = 1.0000000e+000; + TimeScale = 5.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_B8868C94 +{ + SamplerName = "Spawn"; + Shape = "$LOCAL$/CShapeDescriptor_6C371CE7"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_6C371CE7 +{ + ShapeType = SPHERE; + Radius = 1.0000000e-001; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_AEA6FA36 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E92A3CAB"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E92A3CAB +{ + Expression = "function void Eval() +{ + Color = SampColor.sample(LifeRatio) * 0.5; + Size = SampSize.sample(LifeRatio) * 0.8; +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_43F8F34A +{ + SamplerName = "SampColor"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 8.1095225e-001, + 1.0000000e+000, + }; + FloatValues = + { + 5.7424700e-001, + 5.7424700e-001, + 2.1750972e+000, + 1.0000000e+000, + 1.4841725e+000, + 9.1255206e-001, + 5.4194069e-001, + 6.8126559e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.9560744e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -4.8800033e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1376178e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_810F8ED5 +{ + FieldName = "Color"; + FieldType = float4; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Hit +{ + Descriptor = "$LOCAL$/CParticleDescriptor_48643BBC"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 2.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_48643BBC +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_21481493"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_76E3E553", + "$LOCAL$/CParticleFieldDeclaration_5EE1E544", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_F28F7906", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_0A89672F"; + States = + { + "$LOCAL$/CParticleState_1F067839", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0A89672F +{ + Expression = "function void Eval() +{ + Velocity = float3(0, -20, 0) + vrand() * 2; + float v = length(Velocity); + + Life = rand(0, 1) * abs(v) / MaxDistance; + Size = 0; + Distance = 0; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_958CC850 +{ + AttributeName = "SmokeSpawnFact"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleState $LOCAL$/CParticleState_1F067839 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_3271F512", + "$LOCAL$/CParticleEvolver_Physics_8ADAEEF0", + "$LOCAL$/CParticleEvolver_Script_1A840B57", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_8ADAEEF0 +{ + CustomName = "Physics"; + WorldInteractionMode = OneWay; + DieOnContact = true; + EventTransformsMode = PostContactVelocity; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Dust +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_C7C3C073"; + DurationInSeconds = 1.0000000e-001; + DurationRelativeRandomDeviation = 2.0000000e+000; + SpawnCountMode = TotalParticleCount; + SpawnCount = 5.0000000e+001; + SpawnCountRelativeRandomDeviation = 2.0000000e+000; + FluxFactorExpression = "SmokeSpawnFact"; + FluxFunction = "$LOCAL$/CParticleSamplerCurve_E9C31B93"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_C7C3C073 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_2EA32A5D"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_006CB098", + "$LOCAL$/CParticleFieldDeclaration_2C9039BE", + "$LOCAL$/CParticleFieldDeclaration_52205C59", + "$LOCAL$/CParticleFieldDeclaration_E3CA4852", + "$LOCAL$/CParticleFieldDeclaration_B689C81B", + "$LOCAL$/CParticleFieldDeclaration_4497AC63", + "$LOCAL$/CParticleFieldDeclaration_66A93D3F", + }; + VirtualParentFields = + { + "$LOCAL$/CParticleFieldDeclaration_BB0D6941", + "$LOCAL$/CParticleFieldDeclaration_A916F921", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_860240EA", + "$LOCAL$/CParticleSamplerCurve_6D261CF5", + "$LOCAL$/CParticleSamplerCurve_62EA9590", + "$LOCAL$/CParticleSamplerCurve_3683758C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_83335EB2"; + States = + { + "$LOCAL$/CParticleState_DB52B9E4", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_83335EB2 +{ + Expression = "function void Eval() +{ + Distance = parent.Distance; + DistRatio = Distance / MaxDistance; + FlameRatio = min(Distance, FlameDistance) / FlameDistance; + + Life = rand(0, 1) * (1 - DistRatio) * 4; + //kill(Life < 0.1); + Size = 0.25; + AxisUp = float3(1, 0, 0); + + TextureID = rand(32, 35); +} +function void PostEval() +{ + Position += float3(0, 0.2, 0); + float3 up = float3(0, 1, 0); + float3 cr = cross(vrand() + AxisUp * AngleFactor, float3(0, 1, 0)).x0z;// + vrand() * 0.1; + float crl = length(cr); + float3 x = select(float3(0), cr / crl, crl > 0.0001); + + Velocity = x * (1 - DistRatio) * 20; + RotationAxis = cross(up, x) * 2; +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_2EA32A5D +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.png"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + BillboardMode = VelocitySpheroidalAlign; + AxisScale = 3.0000001e-001; + SoftnessDistance = 2.0000000e+000; +} +CParticleState $LOCAL$/CParticleState_DB52B9E4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F0C52C77", + "$LOCAL$/CParticleEvolver_Script_3B78D45C", + "$LOCAL$/CParticleEvolver_Rotation_1B49847D", + "$LOCAL$/CParticleEvolver_Damper_39481419", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F0C52C77 +{ + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 8.0000001e-001, 0.0000000e+000); + Drag = 1.0000000e+000; + VelocityFieldSampler = "Turb"; + WorldInteractionMode = OneWay; +} +CActionFactoryWithChilds $LOCAL$/OnHit +{ +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_F28F7906 +{ + EventName = "OnCollide"; + EventAction = "$LOCAL$/Dust"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BB0D6941 +{ + FieldName = "Velocity"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_006CB098 +{ + FieldName = "AxisUp"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_860240EA +{ + SamplerName = "Turb"; + Wavelength = 2.0000000e+000; + Strength = 3.5355338e-001; + Gain = 1.0000000e+000; + TimeScale = 5.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6D261CF5 +{ + SamplerName = "SampColor"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.1920484e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.4044332e-001, + 2.4044332e-001, + 2.4044332e-001, + 3.3824044e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.7190318e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_3B78D45C +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7A979C4F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7A979C4F +{ + Expression = "function void Eval() +{ + Color = SampColor.sample(LifeRatio) + SampColorFlame.sample(min(LifeRatio + pow(FlameRatio, 4) * 0.1, 1)); + Size = SampSize.sample(LifeRatio); + Color *= (1 - DistRatio); + TextureID = (TextureID + dt * 0.1 - 32) % 4 + 32; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C9039BE +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_52205C59 +{ + FieldName = "TextureID"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_62EA9590 +{ + SamplerName = "SampSize"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0033851e+000, + 5.9395857e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.5400079e+001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E9C31B93 +{ + Times = + { + 0.0000000e+000, + 4.5556694e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.6025927e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E3CA4852 +{ + FieldName = "RotationAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_1B49847D +{ + CustomName = "Rotation"; + RotationMode = Axial; + AxialRotationSpeedField = "RotationAxis"; +} +CParticleEvolver_Damper $LOCAL$/CParticleEvolver_Damper_39481419 +{ + CustomName = "Damper"; + ExpDampingTime = 1.0000000e+000; + FieldToDampen = "RotationAxis"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_76E3E553 +{ + FieldName = "Distance"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_3271F512 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7BC0503D"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7BC0503D +{ + Expression = "function void Eval() +{ + PrevPos = Position; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5EE1E544 +{ + FieldName = "PrevPos"; + FieldType = float3; + TransformFilter = full; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_1A840B57 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_BF165166"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_BF165166 +{ + Expression = "function void Eval() +{ + Distance += length(Position - PrevPos); + kill(Distance > MaxDistance); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A916F921 +{ + FieldName = "Distance"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_69CB8DF8 +{ + AttributeName = "MaxDistance"; + DefaultValueF4 = float4(1.5000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B689C81B +{ + FieldName = "DistRatio"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_7A70AB7A +{ + AttributeName = "FlameDistance"; + DefaultValueF4 = float4(6.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4497AC63 +{ + FieldName = "Distance"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_21481493 +{ + CustomName = "Billboard"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EA2D0D62 +{ + SamplerName = "SampSize"; + Times = + { + 0.0000000e+000, + 4.8969069e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.6262656e-002, + 2.9208758e-001, + 2.1885523e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 2.3242655e+000, + 0.0000000e+000, + 0.0000000e+000, + -7.1656033e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3683758C +{ + SamplerName = "SampColorFlame"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.7199147e-002, + 8.6106494e-002, + 1.0000000e+000, + }; + FloatValues = + { + 2.1934063e+000, + 1.0011489e+000, + 2.5813350e-001, + 0.0000000e+000, + 7.2222084e-001, + 1.9145030e-001, + 3.1847715e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.9779557e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.8821217e+000, + -8.0028939e-001, + -3.5542059e-001, + 0.0000000e+000, + -5.2926677e-001, + -2.7211586e-001, + 0.0000000e+000, + 0.0000000e+000, + -6.9585019e-001, + -3.5776260e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_66A93D3F +{ + FieldName = "FlameRatio"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_817EBD85 +{ + AttributeName = "AngleFactor"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_38202B47 +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EE3C32D8 +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_C522DE7B"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_14BA515A", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_1CEE3E25", + "$LOCAL$/CParticleSamplerShape_F455F54C", + "$LOCAL$/CParticleSamplerCurve_2D5C472E", + "$LOCAL$/CParticleSamplerCurve_6C5DBE89", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3DD58B80"; + States = + { + "$LOCAL$/CParticleState_961D5043", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_C522DE7B +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + Diffuse = "Textures/BB_Glow_02_64.tga"; + BillboardMode = VelocitySpheroidalAlign; + AxisScale = 2.0000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_14BA515A +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_1CEE3E25 +{ + SamplerName = "Trub"; + Strength = 8.8388346e-002; + Gain = 1.0000000e+000; + TimeScale = 5.0000000e-001; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_F455F54C +{ + SamplerName = "Spawn"; + Shape = "$LOCAL$/CShapeDescriptor_B469D7FF"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_B469D7FF +{ + ShapeType = SPHERE; + Radius = 1.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2D5C472E +{ + SamplerName = "SampColor"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.6588544e+000, + 5.7424700e-001, + 2.1750972e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 9.8085731e-002, + -4.7324739e+000, + -2.6382587e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6C5DBE89 +{ + SamplerName = "SampSize"; + Times = + { + 0.0000000e+000, + 4.8969069e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.6262656e-002, + 2.9208758e-001, + 2.1885523e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 2.3242655e+000, + 0.0000000e+000, + 0.0000000e+000, + -7.1656033e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3DD58B80 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.18; + Size = 0.3; + //Position = Spawn.samplePosition(); + Velocity = float3(0, -10, 0); +} +"; +} +CParticleState $LOCAL$/CParticleState_961D5043 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_38202B47", + "$LOCAL$/CParticleEvolver_Script_2A5142C2", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_2A5142C2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C835D7AD"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C835D7AD +{ + Expression = "function void Eval() +{ + Color = SampColor.sample(LifeRatio) * 0.15; + Size = SampSize.sample(LifeRatio) * 1.8; +} +"; +} diff --git a/assets/streaming/PackFx/Particles/TorchFire.pkfx b/assets/streaming/PackFx/Particles/TorchFire.pkfx new file mode 100644 index 0000000..f692a73 --- /dev/null +++ b/assets/streaming/PackFx/Particles/TorchFire.pkfx @@ -0,0 +1,1272 @@ +Version = 1.9.0.28323; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(560, 108); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Smoke +{ + EditorInfosPosition = int2(-474, -675); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 8.0000000e+000; + SpawnCount = 8.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-632, -668); + InheritInitialVelocity = 1.0000000e+000; + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2C215779", + "$LOCAL$/CParticleFieldDeclaration_FF8F7870", + "$LOCAL$/CParticleFieldDeclaration_E1604A6A", + "$LOCAL$/CParticleFieldDeclaration_B35889A6", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5C87387A", + "$LOCAL$/CParticleSamplerProceduralTurbulence_E37410C3", + "$LOCAL$/CParticleSamplerShape_A5FC6A40", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-10, -165); + ChildList = + { + "$LOCAL$/Smoke", + "$LOCAL$/Lights", + "$LOCAL$/Sparks", + "$LOCAL$/Flames", + "$LOCAL$/HeatDistort", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-805, -786); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.png"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + NormalsWrapFactor = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-792, -419); + Expression = "function void Eval() +{ + Position = PositionSampler.samplePosition(); + float4 intensities = Intensity.sample(FireEvolution*0.5); + Life = rand(5.0, 8) * intensities.z * step(FireEvolution, 1.0e-3); + Size = 0.5; + Velocity = float3(0,intensities.w * 2,0) * 0.25; + TextureID = rand(32,36); + Rotation = rand(-pi, pi); + ScalarRotationSpeed = (1 - pow(rand(0,1), 30)) * 0.8 * sign(Rotation); + AlphaCoeff = intensities.xy;//spawner.LifeRatio;//1 - pow(spawner.LifeRatio, 2); +}"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-819, -292); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_70B82B25", + "$LOCAL$/CParticleEvolver_Field_1AE2F154", + "$LOCAL$/CParticleEvolver_Field_5D69BC58", + "$LOCAL$/CParticleEvolver_Script_AE0FE9C3", + "$LOCAL$/CParticleEvolver_Rotation_CF07E785", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-1667, 442); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_B01A74CC", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_70B82B25 +{ + EditorInfosPosition = int2(-954, -344); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 3.0000001e-001, 0.0000000e+000); + Drag = 2.0000000e-001; + VelocityFieldSampler = "VelocityField"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_1AE2F154 +{ + EditorInfosPosition = int2(-950, -297); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_CB941AC7"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_CB941AC7 +{ + EditorInfosPosition = int2(-1025, -280); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.5562143e-002, + 2.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 4.8874578e-001, + 1.8112177e-001, + 7.2856173e-002, + 1.2152736e-001, + 9.4275922e-002, + 5.3745031e-002, + 4.7776483e-002, + 1.9092050e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.3385828e-002, + -2.8115343e-002, + -9.6249115e-003, + 1.8651004e-001, + -7.6651849e-002, + -5.4445602e-002, + -1.7798074e-002, + 7.4724868e-002, + -3.5443494e-001, + -2.5175419e-001, + -8.2297549e-002, + 3.4552461e-001, + -4.2035766e-002, + -3.5166040e-002, + -3.2884832e-002, + -3.1330485e-002, + -2.0450652e-001, + -1.7108488e-001, + -1.5998666e-001, + -1.5242468e-001, + -2.9122775e-002, + -2.9122775e-002, + -2.9122775e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2C215779 +{ + EditorInfosPosition = int2(-801, -740); + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5D69BC58 +{ + EditorInfosPosition = int2(-950, -241); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_32F8C9BB"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_32F8C9BB +{ + EditorInfosPosition = int2(-1025, -222); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.8533987e-001, + 1.3140669e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.4666183e+000, + 1.5304744e-001, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FF8F7870 +{ + EditorInfosPosition = int2(-802, -700); + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E1604A6A +{ + EditorInfosPosition = int2(-798, -660); + FieldName = "Rotation"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_CF07E785 +{ + EditorInfosPosition = int2(-961, -136); + CustomName = "Rotation"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_94CE4161 +{ + EditorInfosPosition = int2(-508, 2043); + EditorInfosIsBlockMinimized = 0; + Times = + { + 0.0000000e+000, + 8.3394453e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 8.0799174e-001, + 1.2058122e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 3.4797347e-001, + 9.2217945e-002, + 1.0135864e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_AE0FE9C3 +{ + EditorInfosPosition = int2(-958, -193); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_ED57AD7A"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_ED57AD7A +{ + EditorInfosPosition = int2(-1059, -188); + Expression = "function void Eval() +{ + Color = Color * AlphaCoeff.yyyx; +}"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B37DE608 +{ + EditorInfosPosition = int2(-650, -10); + EditorInfosIsBlockMinimized = 0; + FieldName = "IntensityCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_08DF0CAB +{ + EditorInfosPosition = int2(-779, 165); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_4AE7E4C2"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_E37410C3 +{ + EditorInfosPosition = int2(-793, -522); + SamplerName = "VelocityField"; + Strength = 2.1213204e-001; + Gain = 1.0000000e+000; + TimeScale = 2.0000000e-001; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5C87387A +{ + EditorInfosPosition = int2(-794, -562); + SamplerName = "Intensity"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 8.9987129e-002, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.4714521e-001, + 0.0000000e+000, + 3.4931549e-001, + 0.0000000e+000, + 4.6057376e-001, + 2.8718019e-001, + 6.8433118e-001, + 2.1155488e-001, + 9.9156022e-001, + 9.9461973e-001, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 2.2397479e-001, + 0.0000000e+000, + 5.0674534e-001, + 0.0000000e+000, + 2.0154619e-001, + 3.3474708e-001, + 2.1760091e-001, + 3.2078686e-001, + 9.1831505e-001, + 1.5252249e+000, + 9.9146593e-001, + 1.4616172e+000, + 2.5898121e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.1582084e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -2.4653063e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_A5FC6A40 +{ + EditorInfosPosition = int2(-796, -477); + EditorInfosIsBlockMinimized = 2; + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_91C350C8"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_91C350C8 +{ + EditorInfosPosition = int2(-915, -467); + Position = float3(0.0000000e+000, 1.0000000e-001, 0.0000000e+000); + ShapeType = CYLINDER; + Radius = 9.9999998e-003; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Lights +{ + EditorInfosPosition = int2(-327, -33); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_CE94696F"; + Infinite = true; + SpawnCount = 2.0000000e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CE94696F +{ + EditorInfosPosition = int2(-518, -18); + InheritInitialVelocity = 1.0000000e+000; + Renderer = "$LOCAL$/CParticleRenderer_Light_9FFE2CE3"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_27E3ECFE", + "$LOCAL$/CParticleFieldDeclaration_B37DE608", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_9B89E53C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_BC785B61"; + States = + { + "$LOCAL$/CParticleState_D52650A0", + }; +} +CParticleState $LOCAL$/CParticleState_D52650A0 +{ + EditorInfosPosition = int2(-652, 117); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Field_DA684FC9", + "$LOCAL$/CParticleEvolver_Script_08DF0CAB", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_BC785B61 +{ + EditorInfosPosition = int2(-651, 68); + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + float2 fEv = FireEvolutionToIntensity.sample(FireEvolution); + Life = 6 * step(FireEvolution, 0.01); + IntensityCoeff = fEv.y;//pow(FireEvolution, 0.5); + Position = float3(0,0.2,0); + Size = 0.2 * 4.7; +}"; +} +CParticleRenderer_Light $LOCAL$/CParticleRenderer_Light_9FFE2CE3 +{ + EditorInfosPosition = int2(-653, -89); + EditorInfosIsBlockMinimized = 0; + CustomName = "Light"; + BillboardingMaterial = Lighting_SplatPass_Spec; + LightIntensityMultiplier = 5.0000000e+000; + LightRadiusMultiplier = 4.0000000e+000; + LightAttenuationSteepnessRange = float2(0.0000000e+000, 3.2000000e+001); + LightAttenuationSteepness = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4AE7E4C2 +{ + EditorInfosPosition = int2(-868, 173); + Expression = "function void Eval() +{ + Color *= IntensityCoeff; +}"; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_5D65CAEC +{ + EditorInfosPosition = int2(-409, 2134); + CustomName = "Rotation"; + ScreenspaceRotationCoeff = 2.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9B89E53C +{ + EditorInfosPosition = int2(-654, 27); + EditorInfosIsBlockMinimized = 0; + SamplerName = "FireEvolutionToIntensity"; + ValueType = Float2; + Times = + { + 0.0000000e+000, + 2.8776067e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 8.3603299e-001, + 6.7731905e-001, + 1.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.4418072e+000, + 0.0000000e+000, + 2.0364864e-001, + 3.8463745e-001, + 5.0405282e-001, + 9.5201999e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_27E3ECFE +{ + EditorInfosPosition = int2(-651, -46); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_DA684FC9 +{ + EditorInfosPosition = int2(-781, 110); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_157A1368"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_157A1368 +{ + EditorInfosPosition = int2(-871, 118); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3336024e-002, + 1.7913231e-001, + 3.9936513e-001, + 5.6838095e-001, + 7.5020111e-001, + 9.2448330e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.3049203e+001, + 3.8777928e+000, + 2.0232546e+000, + 9.0433443e-001, + 1.0539086e+001, + 3.2341280e+000, + 1.7159970e+000, + 9.3002510e-001, + 1.0937432e+001, + 3.7928405e+000, + 2.0270522e+000, + 9.4381452e-001, + 1.2240779e+001, + 3.9851861e+000, + 2.0139287e+000, + 9.4122577e-001, + 1.2889939e+001, + 3.9517360e+000, + 2.0123255e+000, + 9.3273133e-001, + 1.2866647e+001, + 3.9364219e+000, + 2.0464737e+000, + 9.3534863e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.2366508e+000, + 7.1125072e-001, + 3.8345107e-001, + 3.8345107e-001, + -1.4995572e-002, + 3.9877143e-002, + 8.4890882e-003, + 1.4427811e-002, + -3.5367977e-002, + 9.4052695e-002, + 2.0022038e-002, + 3.4028880e-002, + 8.7112188e+000, + 3.2186935e+000, + 1.5111430e+000, + 1.8121883e-002, + 1.5250818e+001, + 5.6349988e+000, + 2.6455731e+000, + 3.1726163e-002, + -2.0312653e+001, + -7.3568258e+000, + -5.6123614e+000, + 3.1699303e-003, + -1.5588775e+001, + -5.6459341e+000, + -4.3071599e+000, + 2.4327363e-003, + -2.0071827e+001, + -5.6748662e+000, + -3.1322203e+000, + -6.3486136e-003, + -2.1592432e+001, + -6.1047840e+000, + -3.3695114e+000, + -6.8295728e-003, + -1.6443079e+001, + -4.6342268e+000, + -3.5203681e+000, + -3.9713583e-003, + -1.5761376e+001, + -4.4420996e+000, + -3.3744195e+000, + -3.8067123e-003, + -1.8957077e-002, + -6.9605064e-004, + -1.5290240e+000, + 1.0915533e-002, + -8.2141254e-003, + -3.0159965e-004, + -6.6252810e-001, + 4.7297142e-003, + -1.1304059e+000, + -7.0917076e-001, + -4.7068658e-001, + -1.8195470e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6678787D +{ + EditorInfosPosition = int2(-830, 511); + SamplerName = "FireEvolutionToIntensity"; + ValueType = Float2; + Times = + { + 0.0000000e+000, + 1.3047621e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0329541e-001, + 8.4111977e-001, + 5.4319727e-001, + 8.8907814e-001, + 9.9392861e-001, + 9.9975193e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.7925874e-001, + 0.0000000e+000, + 2.2303204e-001, + 4.2631540e-002, + 1.4863373e+000, + 2.8410649e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_7FE89F14 +{ + EditorInfosPosition = int2(-412, 2091); + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_27EA1187"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_27EA1187 +{ + EditorInfosPosition = int2(-511, 2093); + EditorInfosIsBlockMinimized = 0; + Expression = "function void Eval() +{ + Color *= AlphaCoeff; + Size *= 0.2; +}"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Sparks +{ + EditorInfosPosition = int2(-348, 913); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_426A1B30"; + Infinite = true; + SpawnCount = 1.0000000e+001; + SpawnCountRelativeRandomDeviation = 2.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_426A1B30 +{ + EditorInfosPosition = int2(-540, 944); + InheritInitialVelocity = 1.0000000e+000; + Renderer = "$LOCAL$/CParticleRenderer_Billboard_B9B10D33"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8070C696", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_A4E29399", + "$LOCAL$/CParticleSamplerShape_F59A2695", + "$LOCAL$/CParticleSamplerShape_8556BF04", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_022E032A"; + States = + { + "$LOCAL$/CParticleState_3BF1BD45", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_B9B10D33 +{ + EditorInfosPosition = int2(-700, 876); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.png"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + BillboardMode = VelocityCapsuleAlign; + AxisScale = 1.7999999e-002; + NormalsWrapFactor = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_022E032A +{ + EditorInfosPosition = int2(-699, 1129); + Expression = "function void Eval() +{ + Life = (pow(rand(0,1),4) * 1.5 + 0.7) * pow(max(0, FireEvolution-0.2), 0.5); + Size = 0.015; + TextureID = 40; + Position = PositionSampler.samplePosition(); + Velocity = VelocitySampler.samplePosition(); +}"; +} +CParticleState $LOCAL$/CParticleState_3BF1BD45 +{ + EditorInfosPosition = int2(-692, 1241); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_BA66BAF4", + "$LOCAL$/CParticleEvolver_Field_1DBCA42D", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_BA66BAF4 +{ + EditorInfosPosition = int2(-916, 1211); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 5.0000000e-001, 0.0000000e+000); + Drag = 6.4999998e-001; + VelocityFieldSampler = "VelocityField"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_8556BF04 +{ + EditorInfosPosition = int2(-701, 1073); + EditorInfosIsBlockMinimized = 2; + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_ECF71632"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_83E7410E +{ + EditorInfosPosition = int2(-832, 1030); + Position = float3(0.0000000e+000, 4.5000002e-002, 0.0000000e+000); + ShapeType = CYLINDER; + Radius = 1.0000000e-001; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_A4E29399 +{ + EditorInfosPosition = int2(-702, 980); + SamplerName = "VelocityField"; + Strength = 8.8388346e-002; + Lacunarity = 2.0000000e-001; + Gain = 1.0000000e+000; + TimeScale = 2.0000000e-001; + TimeBase = 5.0000000e-001; + GainMultiplier = 4.0000000e+000; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_F59A2695 +{ + EditorInfosPosition = int2(-702, 1022); + EditorInfosIsBlockMinimized = 2; + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_83E7410E"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_ECF71632 +{ + EditorInfosPosition = int2(-821, 1090); + Position = float3(3.4205198e-002, 5.2561814e-001, -1.6797066e-002); + ShapeType = CYLINDER; + Radius = 3.4684840e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_1DBCA42D +{ + EditorInfosPosition = int2(-807, 1290); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_AF13A63C"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_AF13A63C +{ + EditorInfosPosition = int2(-905, 1306); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 7.4934494e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.6736487e-001, + 9.2330925e-002, + 3.2800913e-002, + 7.0626640e-001, + 4.8677082e+000, + 1.2652107e+000, + 8.9462483e-001, + 7.0732999e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.7410975e+000, + 3.6733246e+000, + 3.6733246e+000, + 4.1614819e-002, + -4.3981233e+000, + -6.2547679e+000, + -4.1250401e+000, + 3.1494062e-002, + -1.4711674e+000, + -2.0922129e+000, + -1.3798213e+000, + 1.0534729e-002, + -2.0876598e-001, + -2.0876598e-001, + -2.0876598e-001, + -2.0876598e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8070C696 +{ + EditorInfosPosition = int2(-700, 928); + FieldName = "Color"; + FieldType = float4; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flames +{ + EditorInfosPosition = int2(-496, 452); + Descriptor = "$LOCAL$/CParticleDescriptor_F47379C0"; + Infinite = true; + SpawnCount = 1.0000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_F47379C0 +{ + EditorInfosPosition = int2(-666, 466); + InheritInitialVelocity = 1.0000000e+000; + Renderer = "$LOCAL$/CParticleRenderer_Billboard_3C633183"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F1B5DBCC", + "$LOCAL$/CParticleFieldDeclaration_7997D550", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_6678787D", + "$LOCAL$/CParticleSamplerProceduralTurbulence_8CDDBB37", + "$LOCAL$/CParticleSamplerShape_56314ABA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_38ACD63A"; + States = + { + "$LOCAL$/CParticleState_C1B58415", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_3C633183 +{ + EditorInfosPosition = int2(-819, 373); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.png"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + NormalsWrapFactor = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_38ACD63A +{ + EditorInfosPosition = int2(-826, 648); + Expression = "function void Eval() +{ + Position = PositionSampler.samplePosition(); + float2 fEv = FireEvolutionToIntensity.sample(FireEvolution); + Life = rand(0.9,1.2) * fEv.y * step(FireEvolution + rand(-0.2,0.0), 1.0e-3); + TextureID = 0; + float rSpeed = rand(-2,2); + ScalarRotationSpeed = (rSpeed + sign(rSpeed)) * 0.2; // ]-3,-1] [1,3[ + Rotation = rand(-1.0,2.0); + Velocity = float3(rand(-1,1), 2.5, rand(-1,1)) * 0.1 * sqrt(FireEvolution); + AlphaCoeff = pow(fEv.x, 2); +}"; +} +CParticleState $LOCAL$/CParticleState_C1B58415 +{ + EditorInfosPosition = int2(-899, 734); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7E5AA684", + "$LOCAL$/CParticleEvolver_Field_70ED091E", + "$LOCAL$/CParticleEvolver_Field_DCF78D2B", + "$LOCAL$/CParticleEvolver_Rotation_0CCB3B5F", + "$LOCAL$/CParticleEvolver_Script_67F85ED3", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7E5AA684 +{ + EditorInfosPosition = int2(-1066, 628); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 4.0000001e-001, 0.0000000e+000); + Drag = 1.0000000e-001; + VelocityFieldSampler = "VelocityField"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_8CDDBB37 +{ + EditorInfosPosition = int2(-828, 554); + EditorInfosIsBlockMinimized = 0; + SamplerName = "VelocityField"; + Strength = 2.1213204e-001; + Gain = 1.0000000e+000; + TimeScale = 2.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_70ED091E +{ + EditorInfosPosition = int2(-1055, 673); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_BF257B69"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_BF257B69 +{ + EditorInfosPosition = int2(-1178, 681); + Times = + { + 0.0000000e+000, + 2.7251947e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.4868098e-001, + 4.6102527e-001, + 4.7235286e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 1.0045175e-002, + 9.4237840e-003, + 2.5156438e-002, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_DCF78D2B +{ + EditorInfosPosition = int2(-1049, 724); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_D2406342"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D2406342 +{ + EditorInfosPosition = int2(-1152, 735); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.9275585e-001, + 3.8901365e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.9952284e+001, + 6.1120281e+000, + 5.7484703e+000, + 9.4454652e-001, + 8.1519156e+000, + 1.7745140e+000, + 8.4593284e-001, + 7.6053113e-001, + 7.9247508e+000, + 1.7799737e+000, + 9.2682981e-001, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 5.5607557e-003, + 4.8091492e+001, + 1.3972640e+001, + 1.4414766e+001, + 1.8145528e+000, + -6.3568032e-001, + -5.8969550e+000, + -8.5003681e+000, + -5.6470494e-004, + -1.0975051e-001, + -8.5251138e-002, + -1.8715945e-001, + -4.9848405e-001, + -3.4167334e-001, + -2.6540235e-001, + -5.8266151e-001, + -1.5518718e+000, + -1.1657565e-002, + 3.0774367e-001, + -2.1774846e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F1B5DBCC +{ + EditorInfosPosition = int2(-818, 427); + EditorInfosIsBlockMinimized = 0; + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_0CCB3B5F +{ + EditorInfosPosition = int2(-1050, 770); + CustomName = "Rotation"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F1C9BE5 +{ + EditorInfosPosition = int2(-310, 1668); + FieldName = "AlphaCoeff"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_56314ABA +{ + EditorInfosPosition = int2(-824, 593); + EditorInfosIsBlockMinimized = 2; + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_3267AEE5"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_3267AEE5 +{ + EditorInfosPosition = int2(-911, 592); + Position = float3(0.0000000e+000, 5.9999999e-002, 0.0000000e+000); + ShapeType = CYLINDER; + Radius = 2.9999999e-002; +} +CActionFactoryParticleSpawnerBase $LOCAL$/HeatDistort +{ + EditorInfosPosition = int2(68, 1612); + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_4A160739"; + Infinite = true; + SpawnCount = 5.0000000e+000; + SpawnCountRelativeRandomDeviation = 1.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_4A160739 +{ + EditorInfosPosition = int2(-77, 1644); + InheritInitialVelocity = 1.0000000e+000; + Renderer = "$LOCAL$/CParticleRenderer_Billboard_117AAD18"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_28868EAC", + "$LOCAL$/CParticleFieldDeclaration_4F1C9BE5", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_7FAADF31", + "$LOCAL$/CParticleSamplerShape_B7EB71B7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_68F8F77B"; + States = + { + "$LOCAL$/CParticleState_CD696452", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_117AAD18 +{ + EditorInfosPosition = int2(-311, 1557); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/ParticleDeformBlur_01.png"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_68F8F77B +{ + EditorInfosPosition = int2(-305, 1825); + Expression = "function void Eval() +{ + Life = 3; + Size = 1.2 * 0.1; + Position = PositionSampler.samplePosition(); + Velocity = float3(rand(-1,1), 2, rand(-1,1)) * 0.1; + AlphaCoeff = FireEvolution * 0.08; + Rotation = rand(-pi,pi); + ScalarRotationSpeed = rand(-2,2); +}"; +} +CParticleState $LOCAL$/CParticleState_CD696452 +{ + EditorInfosPosition = int2(-202, 1980); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_36EDBD68", + "$LOCAL$/CParticleEvolver_Field_B9E5068B", + "$LOCAL$/CParticleEvolver_Field_54433C76", + "$LOCAL$/CParticleEvolver_Script_7FE89F14", + "$LOCAL$/CParticleEvolver_Rotation_5D65CAEC", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36EDBD68 +{ + EditorInfosPosition = int2(-420, 1951); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 4.0000001e-001, 0.0000000e+000); + Drag = 2.0000000e-001; + VelocityFieldSampler = "VelocityField"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_B9E5068B +{ + EditorInfosPosition = int2(-418, 1995); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_BBD57722"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_BBD57722 +{ + EditorInfosPosition = int2(-517, 2003); + EditorInfosIsBlockMinimized = 0; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 3.6178666e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 8.5512483e-001, + 8.5512483e-001, + 2.9474781e+000, + 8.5512483e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 5.8074570e+000, + 0.0000000e+000, + -1.0912352e-001, + -1.0912352e-001, + 5.2592754e-001, + -1.0912352e-001, + -1.9250043e-001, + -1.9250043e-001, + 9.2776775e-001, + -1.9250043e-001, + 0.0000000e+000, + 0.0000000e+000, + -4.4465470e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28868EAC +{ + EditorInfosPosition = int2(-317, 1614); + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_B7EB71B7 +{ + EditorInfosPosition = int2(-296, 1768); + EditorInfosIsBlockMinimized = 2; + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_32287286"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_32287286 +{ + EditorInfosPosition = int2(-427, 1770); + ShapeType = SPHERE; + Radius = 5.0000001e-002; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_7FAADF31 +{ + EditorInfosPosition = int2(-305, 1721); + SamplerName = "VelocityField"; + Strength = 2.1213204e-001; + Gain = 1.0000000e+000; + TimeScale = 2.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_54433C76 +{ + EditorInfosPosition = int2(-416, 2041); + EditorInfosIsBlockMinimized = 0; + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_94CE4161"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B01A74CC +{ + EditorInfosPosition = int2(-1772, 475); + AttributeName = "FireEvolution"; + DefaultValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B35889A6 +{ + EditorInfosPosition = int2(-795, -620); + FieldName = "AlphaCoeff"; + FieldType = float2; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7997D550 +{ + EditorInfosPosition = int2(-815, 463); + EditorInfosIsBlockMinimized = 0; + FieldName = "AlphaCoeff"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_67F85ED3 +{ + EditorInfosPosition = int2(-1050, 819); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_DDE68E4A"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DDE68E4A +{ + EditorInfosPosition = int2(-1209, 802); + Expression = "function void Eval() +{ + Color *= AlphaCoeff; + Size *= 0.3; + TextureID = LifeRatio * 31; +}"; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/SummonArrow.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/SummonArrow.pkfx new file mode 100644 index 0000000..a76ceda --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/SummonArrow.pkfx @@ -0,0 +1,195 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 6.4000000e+001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_9136D2F4"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8ED4ECCD", + "$LOCAL$/CParticleFieldDeclaration_7BA8472B", + "$LOCAL$/CParticleFieldDeclaration_49559E58", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-508, -63); + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = rand(0.08,0.60); + Life = BranchLength; + Size = 0.2; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Trail_1", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + IntegrationDtTreshold = 2.0000001e-003; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(1.0106380e-001, 2.2074470e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8ED4ECCD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_EC6BEF67"; +} +CParticleState $LOCAL$/CParticleState_A25D7514 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_07A88CC8", + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EC6BEF67 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_72728FCA"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A2FF29AF", + "$LOCAL$/CParticleFieldDeclaration_F373C982", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6"; + States = + { + "$LOCAL$/CParticleState_A25D7514", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6 +{ + Expression = "function void Eval() +{ + Life = parent.BranchLength-spawner.LifeRatio*parent.BranchLength; + Size = 0.1; + Velocity=parent.Vrand*20+vrand()*5; + Time=spawner.LifeRatio; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_72728FCA +{ + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + SoftnessDistance = 4.0000000e+000; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_07A88CC8 +{ + Drag = 6.0000000e+001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7BA8472B +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_00FC543C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_00FC543C +{ + Expression = "function void Eval() +{ + Color=(200*RGB).xyz1*float4((1-LifeRatio)*pow(sin(Time*3),4)); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A2FF29AF +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_49559E58 +{ + FieldName = "BranchLength"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F373C982 +{ + FieldName = "Time"; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShot.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShot.pkfx new file mode 100644 index 0000000..72b410f --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShot.pkfx @@ -0,0 +1,550 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Trail", + "$LOCAL$/Spark", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_B1F5EDB1", + "$LOCAL$/CParticleAttributeDeclaration_0F3455C8", + "$LOCAL$/CParticleAttributeDeclaration_FEA2D0CA", + "$LOCAL$/CParticleAttributeDeclaration_84958DCF", + "$LOCAL$/CParticleAttributeDeclaration_C515E1D9", + "$LOCAL$/CParticleAttributeDeclaration_EF71D2B2", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(7.5000000e-001, 1.2000000e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D62E0EDF +{ + FieldName = "Energy"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F51E30B +{ + FieldName = "Energy"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_52633D9B +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5648EFA"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AAC07C45", + "$LOCAL$/CParticleFieldDeclaration_F8F7FDEC", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F", + "$LOCAL$/CParticleSamplerCurve_11D402CE", + "$LOCAL$/CParticleSamplerCurve_45CB442B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9"; + States = + { + "$LOCAL$/CParticleState_2A5FA220", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5648EFA +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AAC07C45 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F8F7FDEC +{ + FieldName = "ColorScale"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F +{ + SamplerName = "Turb"; + Wavelength = 2.5000000e-001; + Strength = 5.0000001e-002; + Gain = 1.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_11D402CE +{ + SamplerName = "Fade"; + Times = + { + 0.0000000e+000, + 4.9999997e-002, + 3.9999998e-001, + 5.9999996e-001, + 9.4999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9 +{ + Expression = "function void PostEval() +{ + Life = TrailLife; + Size = 0.05 * TrailSize; + Velocity = Turb.sample(Position) * TrailVelocityScaler; + Position += Velocity * 0.05; + ColorScale = 1; +} +"; +} +CParticleState $LOCAL$/CParticleState_2A5FA220 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7FEFDB63", + "$LOCAL$/CParticleEvolver_Field_A8A31C62", + "$LOCAL$/CParticleEvolver_Script_E5FB0E14", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7FEFDB63 +{ + CustomName = "Physics"; + Drag = 1.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_A8A31C62 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_26B9E1CD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_26B9E1CD +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.9999994e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 8.7402363e+000, + 4.4445987e+000, + 1.0468085e+001, + 9.9948126e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.4010613e-002, + -1.0760010e+000, + -7.6663963e-002, + -7.3198671e-003, + -5.7609558e-001, + -9.6840105e+000, + -6.8997574e-001, + -6.5878808e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_E5FB0E14 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_481CFC67"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_481CFC67 +{ + Expression = "function void Eval() +{ + Color = (RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),Power); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Trail +{ + Descriptor = "$LOCAL$/CParticleDescriptor_52633D9B"; + Infinite = true; + SpawnCount = 6.4000000e+001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B1F5EDB1 +{ + AttributeName = "TrailVelocityScaler"; + DefaultValueF4 = float4(3.5608298e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0F3455C8 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_45CB442B +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 2.8418908e+000, + 8.1062841e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8915182e-002, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FEA2D0CA +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_010DD88C +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6C01DC3F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2856806E", + "$LOCAL$/CParticleFieldDeclaration_119BD0C9", + "$LOCAL$/CParticleFieldDeclaration_FB47EAC0", + "$LOCAL$/CParticleFieldDeclaration_63838083", + "$LOCAL$/CParticleFieldDeclaration_7623C910", + "$LOCAL$/CParticleFieldDeclaration_DE6392D5", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802", + "$LOCAL$/CParticleSamplerCurve_2204493E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED"; + States = + { + "$LOCAL$/CParticleState_545764B4", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6C01DC3F +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2856806E +{ + FieldName = "Rotation"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_119BD0C9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB47EAC0 +{ + FieldName = "SizeFactor"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_63838083 +{ + FieldName = "ColorFactor"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802 +{ + SamplerName = "Turb"; + Strength = 7.0710677e-001; + Lacunarity = 1.6425119e-001; + Gain = 2.8502420e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED +{ + Expression = "function void PostEval() +{ + Life = remap(pow(rand(0,1), 4), 0, 1, 0.2, 1.5); + SizeFactor = rand(0.007, 0.01) * ParticleScale; + ColorFactor = remap(pow(rand(0,1),8), 0, 1, 0.5, 3); + + float vScale = pow(saturate(5), 0.5); + float3 rVel = vrand() * 5; + float3 tVel = Turb.sample(Position); + Velocity = (rVel + tVel) * 0.2;// * remap(noise(parent.LifeRatio * 20 + scene.Time), -1, 1, 0.03, 0.1); + Rotation = rand(-pi, pi); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.y),rand(0,RandomRGB.z)); +} +"; +} +CParticleState $LOCAL$/CParticleState_545764B4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_530EC787", + "$LOCAL$/CParticleEvolver_Field_574CA956", + "$LOCAL$/CParticleEvolver_Field_35E45A68", + "$LOCAL$/CParticleEvolver_Script_5405A86A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_530EC787 +{ + CustomName = "Physics"; + Mass = -1.0000000e+000; + Drag = 5.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_574CA956 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_E70F37D1"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E70F37D1 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.7447720e+000, + 4.5880709e+000, + 1.0473518e+001, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0970583e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_35E45A68 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56A3554B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56A3554B +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -3.4636030e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5405A86A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75 +{ + Expression = "function void Eval() +{ + Size *= SizeFactor * 2; + Color *= (RGB.xyz1 + RandomedRGB.xyz1) * GlowCurve.sample(LifeRatio) * pow(Power,1); + Force = Turb.sample(LifeRatio) * 5 * LifeRatio; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Spark +{ + Descriptor = "$LOCAL$/CParticleDescriptor_010DD88C"; + Infinite = true; + SpawnCount = 1.2800000e+002; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_84958DCF +{ + AttributeName = "ParticleScale"; + DefaultValueF4 = float4(2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2204493E +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 9.8354541e-002, + 2.1165061e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.5340417e-001, + 2.4170661e-001, + -1.3308048e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.0102851e-002, + -6.2696373e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C515E1D9 +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(8.5000002e-001, 2.0000000e-001, 7.0999998e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7623C910 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DE6392D5 +{ + FieldName = "Force"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF71D2B2 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(4.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotConcentration.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotConcentration.pkfx new file mode 100644 index 0000000..4ed96f4 --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotConcentration.pkfx @@ -0,0 +1,619 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + LayerGroups = + { + "$LOCAL$/branch", + }; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/lightning", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9AEE5ABD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_168DE691 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_216E6F10"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_216E6F10 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); +} +"; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_FE3EB050", + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + }; +} +CActionFactoryParticleSpawnerBase $LOCAL$/lightning +{ + Descriptor = "$LOCAL$/CParticleDescriptor_7C46C5E9"; + Infinite = true; + DurationInSeconds = 5.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 5.0000000e+000; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7C46C5E9 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AA0A7EFA", + "$LOCAL$/CParticleFieldDeclaration_2832E92E", + "$LOCAL$/CParticleFieldDeclaration_668C5BD9", + "$LOCAL$/CParticleFieldDeclaration_7EA25C67", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_3F5A22F7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_A99F3108"; + States = + { + "$LOCAL$/CParticleState_4C8B87C2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A99F3108 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Velocity = Scale*float3(rand(-100,100),rand(-100,100),rand(-100,100)); + SizeCoeff = Scale; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)); + Position = DropSampler.samplePosition(); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_668C5BD9 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_4C8B87C2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_081972C0", + "$LOCAL$/death", + "$LOCAL$/base", + "$LOCAL$/glow", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C1D98F7D +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8FACC28C +{ + FieldName = "Timeb"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE3EB050 +{ + AttributeName = "CustomColorRGBA"; + AttributeType = float4; + DefaultValueF4 = float4(4.0000000e+000, 2.7586201e-001, 2.0000000e+000, 4.0000000e+000); + MaxValueF4 = float4(2.0000000e+000, 2.0000000e+000, 2.0000000e+000, 2.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_104D4D29 +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5E0F683"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9AEE5ABD", + "$LOCAL$/CParticleFieldDeclaration_BB297115", + "$LOCAL$/CParticleFieldDeclaration_42AA1C4F", + "$LOCAL$/CParticleFieldDeclaration_BD2FCDD3", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_37052329", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_3F389B48"; + States = + { + "$LOCAL$/CParticleState_6B8B6DDE", + }; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_7A8041A7 +{ + EventName = "OnDeath"; + EventAction = "$LOCAL$/branch"; +} +CParticleState $LOCAL$/CParticleState_6B8B6DDE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/CParticleEvolver_Physics_B91A4402", + "$LOCAL$/CParticleEvolver_Script_168DE691", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BC1951CA +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7AF25165"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7AF25165 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.01; + float n = 60 * SizeCoeff; + Velocity = select(Velocity,float3(SizeCoeff*rand(-1,1)*100,rand(-n,n),SizeCoeff*rand(-1,1)*100),shouldSpawnBranch); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E9BE2D1D +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B91A4402 +{ + CustomName = "Physics"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F1A21305 +{ + CustomName = "Physics"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5E0F683 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AA0A7EFA +{ + FieldName = "Timeb"; +} +CParticleEvolver_Spawner $LOCAL$/base +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_104D4D29"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_3F389B48 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.4 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = CustomColorRGBA * 10; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/death +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_CD6A0035"; +} +CParticleState $LOCAL$/CParticleState_91BC2CDA +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_D33971BE", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CD6A0035 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_59D07FA1", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_7A8041A7", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C095B224"; + States = + { + "$LOCAL$/CParticleState_91BC2CDA", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C095B224 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = CustomColorRGBA; +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_D33971BE +{ + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/branch +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_1DEAC189"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1DEAC189 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8FACC28C", + "$LOCAL$/CParticleFieldDeclaration_C9081B39", + "$LOCAL$/CParticleFieldDeclaration_28722F38", + "$LOCAL$/CParticleFieldDeclaration_E4021DE6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4669BE28"; + States = + { + "$LOCAL$/CParticleState_247F7DE2", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4669BE28 +{ + Expression = "function void Eval() +{ + Life = rand(0.025,0.05); + Velocity=float3(0,50,0)*Scale; + SizeCoeff=Scale; + FluxScale=pow(Flux,0.5)*1*Scale; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_28722F38 +{ + FieldName = "FluxScale"; +} +CParticleState $LOCAL$/CParticleState_247F7DE2 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_9AAE6F84", + "$LOCAL$/ert", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_4E3ECB6C +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_25B6EC7F +{ + Expression = "function void Eval() +{ + Timeb += dt*SizeCoeff; + + int shouldChangeDirection = Timeb>0.01*SizeCoeff; + + float n = 60*SizeCoeff; + Velocity = select(Velocity, float3(rand(-n,n),50*SizeCoeff,rand(-n,n)), shouldChangeDirection); + Timeb = select(Timeb,0,shouldChangeDirection); // reset the \'should.pkangeDirection\' condition +} +"; +} +CParticleEvolver_Spawner $LOCAL$/ert +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_47893DF0"; +} +CParticleState $LOCAL$/CParticleState_65AD76F1 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F1A21305", + "$LOCAL$/CParticleEvolver_Script_403022B8", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_47893DF0 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_23F2DF84"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0B9A51ED", + "$LOCAL$/CParticleFieldDeclaration_366F0A1E", + "$LOCAL$/CParticleFieldDeclaration_BC9A45D6", + "$LOCAL$/CParticleFieldDeclaration_C223EA14", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_09C487E3", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3"; + States = + { + "$LOCAL$/CParticleState_65AD76F1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_57CEA4F3 +{ + Expression = "function void Eval() +{ + Life = 0.1; + float iSpawnerLR = 1 - spawner.LifeRatio; + Size = 0.4*Scale * pow(iSpawnerLR, 0.5); + ColorCoeff = pow(Flux,4)*100*pow(iSpawnerLR, 2); + TextureID = rand(0,16); + Position = float3(0,-0.5,0)*Scale; + CC = CustomColorRGBA * 5; +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_23F2DF84 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_403022B8 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_70F7169B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_70F7169B +{ + Expression = "function void Eval() +{ + Color = CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 4); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C223EA14 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0B9A51ED +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C9081B39 +{ + FieldName = "SizeCoeff"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2832E92E +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_366F0A1E +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BB297115 +{ + FieldName = "TextureID"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_90A7E102 +{ + CustomName = "Physics"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_88F983BD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_91A60DEB +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_548E9048 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 2 * Scale; + Color = CustomColorRGBA * 0.04 * pow(1 - spawner.LifeRatio, 2); +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E8BCA629 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_91A60DEB"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_88F983BD", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_548E9048"; + States = + { + "$LOCAL$/CParticleState_D38CFADE", + }; +} +CParticleEvolver_Spawner $LOCAL$/glow +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 1.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_E8BCA629"; +} +CParticleState $LOCAL$/CParticleState_D38CFADE +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_2", + "$LOCAL$/CParticleEvolver_Physics_90A7E102", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_081972C0 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_C1D98F7D", + "$LOCAL$/CParticleEvolver_Script_BC1951CA", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_9AAE6F84 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E9BE2D1D", + "$LOCAL$/CParticleEvolver_Script_4E3ECB6C", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_42AA1C4F +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BC9A45D6 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BD2FCDD3 +{ + FieldName = "CC"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7EA25C67 +{ + FieldName = "NextBranchTime"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E4021DE6 +{ + FieldName = "ParentColor"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_59D07FA1 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_3F5A22F7 +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_EE347186"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_EE347186 +{ + ShapeType = CYLINDER; + Radius = 9.9999998e-003; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_37052329 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900167e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312178e+000, + 3.8749021e-001, + 1.5209466e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_09C487E3 +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900170e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312180e+000, + 3.8749021e-001, + 1.5209470e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_2 +{ + CustomName = "Localspace"; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotLevel1.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotLevel1.pkfx new file mode 100644 index 0000000..f94f91a --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotLevel1.pkfx @@ -0,0 +1,550 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Trail", + "$LOCAL$/Spark", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_B1F5EDB1", + "$LOCAL$/CParticleAttributeDeclaration_0F3455C8", + "$LOCAL$/CParticleAttributeDeclaration_FEA2D0CA", + "$LOCAL$/CParticleAttributeDeclaration_84958DCF", + "$LOCAL$/CParticleAttributeDeclaration_C515E1D9", + "$LOCAL$/CParticleAttributeDeclaration_EF71D2B2", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(7.5000000e-001, 1.2000000e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D62E0EDF +{ + FieldName = "Energy"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F51E30B +{ + FieldName = "Energy"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_52633D9B +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5648EFA"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AAC07C45", + "$LOCAL$/CParticleFieldDeclaration_F8F7FDEC", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F", + "$LOCAL$/CParticleSamplerCurve_11D402CE", + "$LOCAL$/CParticleSamplerCurve_45CB442B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9"; + States = + { + "$LOCAL$/CParticleState_2A5FA220", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5648EFA +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AAC07C45 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F8F7FDEC +{ + FieldName = "ColorScale"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F +{ + SamplerName = "Turb"; + Wavelength = 2.5000000e-001; + Strength = 5.0000001e-002; + Gain = 1.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_11D402CE +{ + SamplerName = "Fade"; + Times = + { + 0.0000000e+000, + 4.9999997e-002, + 3.9999998e-001, + 5.9999996e-001, + 9.4999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9 +{ + Expression = "function void PostEval() +{ + Life = TrailLife; + Size = 0.05 * TrailSize; + Velocity = Turb.sample(Position) * TrailVelocityScaler; + Position += Velocity * 0.05; + ColorScale = 1; +} +"; +} +CParticleState $LOCAL$/CParticleState_2A5FA220 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7FEFDB63", + "$LOCAL$/CParticleEvolver_Field_A8A31C62", + "$LOCAL$/CParticleEvolver_Script_E5FB0E14", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7FEFDB63 +{ + CustomName = "Physics"; + Drag = 1.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_A8A31C62 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_26B9E1CD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_26B9E1CD +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.9999994e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 8.7402363e+000, + 4.4445987e+000, + 1.0468085e+001, + 9.9948126e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.4010613e-002, + -1.0760010e+000, + -7.6663963e-002, + -7.3198671e-003, + -5.7609558e-001, + -9.6840105e+000, + -6.8997574e-001, + -6.5878808e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_E5FB0E14 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_481CFC67"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_481CFC67 +{ + Expression = "function void Eval() +{ + Color = (RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),Power); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Trail +{ + Descriptor = "$LOCAL$/CParticleDescriptor_52633D9B"; + Infinite = true; + SpawnCount = 6.4000000e+001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B1F5EDB1 +{ + AttributeName = "TrailVelocityScaler"; + DefaultValueF4 = float4(3.5608298e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0F3455C8 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(4.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_45CB442B +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 2.8418908e+000, + 8.1062841e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8915182e-002, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FEA2D0CA +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_010DD88C +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6C01DC3F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2856806E", + "$LOCAL$/CParticleFieldDeclaration_119BD0C9", + "$LOCAL$/CParticleFieldDeclaration_FB47EAC0", + "$LOCAL$/CParticleFieldDeclaration_63838083", + "$LOCAL$/CParticleFieldDeclaration_7623C910", + "$LOCAL$/CParticleFieldDeclaration_DE6392D5", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802", + "$LOCAL$/CParticleSamplerCurve_2204493E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED"; + States = + { + "$LOCAL$/CParticleState_545764B4", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6C01DC3F +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2856806E +{ + FieldName = "Rotation"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_119BD0C9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB47EAC0 +{ + FieldName = "SizeFactor"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_63838083 +{ + FieldName = "ColorFactor"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802 +{ + SamplerName = "Turb"; + Strength = 7.0710677e-001; + Lacunarity = 1.6425119e-001; + Gain = 2.8502420e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED +{ + Expression = "function void PostEval() +{ + Life = remap(pow(rand(0,1), 4), 0, 1, 0.2, 1.5); + SizeFactor = rand(0.007, 0.01) * ParticleScale; + ColorFactor = remap(pow(rand(0,1),8), 0, 1, 0.5, 3); + + float vScale = pow(saturate(5), 0.5); + float3 rVel = vrand() * 5; + float3 tVel = Turb.sample(Position); + Velocity = (rVel + tVel) * 0.2;// * remap(noise(parent.LifeRatio * 20 + scene.Time), -1, 1, 0.03, 0.1); + Rotation = rand(-pi, pi); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.y),rand(0,RandomRGB.z)); +} +"; +} +CParticleState $LOCAL$/CParticleState_545764B4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_530EC787", + "$LOCAL$/CParticleEvolver_Field_574CA956", + "$LOCAL$/CParticleEvolver_Field_35E45A68", + "$LOCAL$/CParticleEvolver_Script_5405A86A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_530EC787 +{ + CustomName = "Physics"; + Mass = -1.0000000e+000; + Drag = 5.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_574CA956 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_E70F37D1"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E70F37D1 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.7447720e+000, + 4.5880709e+000, + 1.0473518e+001, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0970583e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_35E45A68 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56A3554B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56A3554B +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -3.4636030e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5405A86A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75 +{ + Expression = "function void Eval() +{ + Size *= SizeFactor * 2; + Color *= (RGB.xyz1 + RandomedRGB.xyz1) * GlowCurve.sample(LifeRatio) * pow(Power,1); + Force = Turb.sample(LifeRatio) * 5 * LifeRatio; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Spark +{ + Descriptor = "$LOCAL$/CParticleDescriptor_010DD88C"; + Infinite = true; + SpawnCount = 6.4000000e+001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_84958DCF +{ + AttributeName = "ParticleScale"; + DefaultValueF4 = float4(2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2204493E +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 9.8354541e-002, + 2.1165061e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.5340417e-001, + 2.4170661e-001, + -1.3308048e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.0102851e-002, + -6.2696373e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C515E1D9 +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(8.5000002e-001, 2.0000000e-001, 7.0999998e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7623C910 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DE6392D5 +{ + FieldName = "Force"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF71D2B2 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(4.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotLevel2.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotLevel2.pkfx new file mode 100644 index 0000000..2ac7ca8 --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotLevel2.pkfx @@ -0,0 +1,875 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Trail", + "$LOCAL$/Spark", + "$LOCAL$/Thunder", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_B1F5EDB1", + "$LOCAL$/CParticleAttributeDeclaration_0F3455C8", + "$LOCAL$/CParticleAttributeDeclaration_FEA2D0CA", + "$LOCAL$/CParticleAttributeDeclaration_84958DCF", + "$LOCAL$/CParticleAttributeDeclaration_C515E1D9", + "$LOCAL$/CParticleAttributeDeclaration_EF71D2B2", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(7.5000000e-001, 1.2000000e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D62E0EDF +{ + FieldName = "Energy"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F51E30B +{ + FieldName = "Energy"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_52633D9B +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5648EFA"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AAC07C45", + "$LOCAL$/CParticleFieldDeclaration_F8F7FDEC", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F", + "$LOCAL$/CParticleSamplerCurve_11D402CE", + "$LOCAL$/CParticleSamplerCurve_45CB442B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9"; + States = + { + "$LOCAL$/CParticleState_2A5FA220", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5648EFA +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AAC07C45 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F8F7FDEC +{ + FieldName = "ColorScale"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F +{ + SamplerName = "Turb"; + Wavelength = 2.5000000e-001; + Strength = 5.0000001e-002; + Gain = 1.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_11D402CE +{ + SamplerName = "Fade"; + Times = + { + 0.0000000e+000, + 4.9999997e-002, + 3.9999998e-001, + 5.9999996e-001, + 9.4999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9 +{ + Expression = "function void PostEval() +{ + Life = TrailLife; + Size = 0.05 * TrailSize; + Velocity = Turb.sample(Position) * TrailVelocityScaler; + Position += Velocity * 0.05; + ColorScale = 1; +} +"; +} +CParticleState $LOCAL$/CParticleState_2A5FA220 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7FEFDB63", + "$LOCAL$/CParticleEvolver_Field_A8A31C62", + "$LOCAL$/CParticleEvolver_Script_E5FB0E14", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7FEFDB63 +{ + CustomName = "Physics"; + Drag = 1.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_A8A31C62 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_26B9E1CD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_26B9E1CD +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.9999994e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 8.7402363e+000, + 4.4445987e+000, + 1.0468085e+001, + 9.9948126e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.4010613e-002, + -1.0760010e+000, + -7.6663963e-002, + -7.3198671e-003, + -5.7609558e-001, + -9.6840105e+000, + -6.8997574e-001, + -6.5878808e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_E5FB0E14 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_481CFC67"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_481CFC67 +{ + Expression = "function void Eval() +{ + Color = (RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),Power); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Trail +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_52633D9B"; + Infinite = true; + SpawnCount = 6.4000000e+001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B1F5EDB1 +{ + AttributeName = "TrailVelocityScaler"; + DefaultValueF4 = float4(3.5608298e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0F3455C8 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_45CB442B +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 2.8418908e+000, + 8.1062841e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8915182e-002, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FEA2D0CA +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_010DD88C +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6C01DC3F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2856806E", + "$LOCAL$/CParticleFieldDeclaration_119BD0C9", + "$LOCAL$/CParticleFieldDeclaration_FB47EAC0", + "$LOCAL$/CParticleFieldDeclaration_63838083", + "$LOCAL$/CParticleFieldDeclaration_7623C910", + "$LOCAL$/CParticleFieldDeclaration_DE6392D5", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802", + "$LOCAL$/CParticleSamplerCurve_2204493E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED"; + States = + { + "$LOCAL$/CParticleState_545764B4", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6C01DC3F +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2856806E +{ + FieldName = "Rotation"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_119BD0C9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB47EAC0 +{ + FieldName = "SizeFactor"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_63838083 +{ + FieldName = "ColorFactor"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802 +{ + SamplerName = "Turb"; + Strength = 7.0710677e-001; + Lacunarity = 1.6425119e-001; + Gain = 2.8502420e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED +{ + Expression = "function void PostEval() +{ + Life = remap(pow(rand(0,1), 4), 0, 1, 0.2, 1.5); + SizeFactor = rand(0.007, 0.01) * ParticleScale; + ColorFactor = remap(pow(rand(0,1),8), 0, 1, 0.5, 3); + + float vScale = pow(saturate(5), 0.5); + float3 rVel = vrand() * 5; + float3 tVel = Turb.sample(Position); + Velocity = (rVel + tVel) * 0.2;// * remap(noise(parent.LifeRatio * 20 + scene.Time), -1, 1, 0.03, 0.1); + Rotation = rand(-pi, pi); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.y),rand(0,RandomRGB.z)); +} +"; +} +CParticleState $LOCAL$/CParticleState_545764B4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_530EC787", + "$LOCAL$/CParticleEvolver_Field_574CA956", + "$LOCAL$/CParticleEvolver_Field_35E45A68", + "$LOCAL$/CParticleEvolver_Script_5405A86A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_530EC787 +{ + CustomName = "Physics"; + Mass = -1.0000000e+000; + Drag = 5.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_574CA956 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_E70F37D1"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E70F37D1 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.7447720e+000, + 4.5880709e+000, + 1.0473518e+001, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0970583e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_35E45A68 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56A3554B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56A3554B +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -3.4636030e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5405A86A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75 +{ + Expression = "function void Eval() +{ + Size *= SizeFactor * 2; + Color *= (RGB.xyz1 + RandomedRGB.xyz1) * GlowCurve.sample(LifeRatio) * pow(Power,1); + Force = Turb.sample(LifeRatio) * 5 * LifeRatio; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Spark +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_010DD88C"; + Infinite = true; + SpawnCount = 2.5600000e+002; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_84958DCF +{ + AttributeName = "ParticleScale"; + DefaultValueF4 = float4(2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2204493E +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 9.8354541e-002, + 2.1165061e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.5340417e-001, + 2.4170661e-001, + -1.3308048e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.0102851e-002, + -6.2696373e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C515E1D9 +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(8.5000002e-001, 2.0000000e-001, 7.0999998e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7623C910 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DE6392D5 +{ + FieldName = "Force"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF71D2B2 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(4.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_2B0BA695 +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_32424E7C", + "$LOCAL$/CParticleFieldDeclaration_1FA390EF", + "$LOCAL$/CParticleFieldDeclaration_5BFAFADE", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_FB33A3F9"; + States = + { + "$LOCAL$/CParticleState_8F75A5B0", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_32424E7C +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1FA390EF +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5BFAFADE +{ + FieldName = "BranchLength"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FB33A3F9 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = rand(0.4,0.6); + Life = BranchLength; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_8F75A5B0 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_CE455E33", + "$LOCAL$/CParticleEvolver_Spawner_80F1FE37", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_CE455E33 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E7A26F72", + "$LOCAL$/CParticleEvolver_Script_FF032A1D", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E7A26F72 +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + IntegrationDtTreshold = 2.0000001e-003; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_FF032A1D +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_BFEED4A4"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_BFEED4A4 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_80F1FE37 +{ + CustomName = "Spawner"; + SpawnInterval = 4.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_23AFCDC6"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_23AFCDC6 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_8595FD01"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D2EA14FB", + "$LOCAL$/CParticleFieldDeclaration_8A5E89DA", + "$LOCAL$/CParticleFieldDeclaration_1352A0A5", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_3F08C9CC", + "$LOCAL$/CParticleSamplerDoubleCurve_7373067F", + "$LOCAL$/CParticleSamplerProceduralTurbulence_43EDD7AE", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_6D0E5909"; + States = + { + "$LOCAL$/CParticleState_D62CF800", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_8595FD01 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_6352EF58", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_6352EF58 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D2EA14FB +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8A5E89DA +{ + FieldName = "ParentVelocity"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1352A0A5 +{ + FieldName = "TextureID"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_3F08C9CC +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 8.9328818e-002, + 1.2633452e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0203243e+000, + 6.4178073e-001, + -1.2389421e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.6671433e-001, + -6.9063723e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_7373067F +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.8617449e-002, + 3.7234969e-002, + 9.6040227e-002, + 1.6187949e-001, + 4.2304891e-001, + 4.8267543e-001, + 6.5048271e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 4.6155271e-001, + 1.1097360e+000, + 1.1913260e+000, + 1.2027121e+000, + 1.5533510e+000, + 3.1154866e+000, + 1.3129970e+000, + 9.9858201e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.2994812e-001, + 5.2994978e-001, + 7.0677501e-001, + 2.2324190e+000, + -1.2589170e+000, + -1.4095020e+000, + 1.9320531e+000, + 7.6640139e+000, + 3.7825661e+000, + 8.6358368e-001, + -1.9505526e-001, + -5.4894471e-001, + -3.5419121e-001, + -7.3772728e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 1.8617449e-002, + 3.7234969e-002, + 5.7597529e-002, + 1.0300433e-001, + 2.6808769e-001, + 5.0780302e-001, + 7.3183209e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 4.9471349e-001, + 1.2169130e+000, + 2.2920790e+000, + 3.6313715e+000, + 6.5417272e-001, + 1.4177361e+000, + 5.1636100e-001, + 1.0271250e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 5.8983940e-001, + 5.8984131e-001, + 7.8848606e-001, + 8.6239171e-001, + 1.0754330e+000, + 2.3981247e+000, + 6.7492634e-002, + 2.4538013e-001, + -1.0991865e+000, + -1.5961140e+000, + 6.7877718e-003, + 6.3436050e-003, + -2.8246269e-001, + -3.3811399e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_43EDD7AE +{ + SamplerName = "GlowTurb"; + Wavelength = 2.0000000e-001; + Strength = 2.1213202e-001; + Lacunarity = 4.3478259e-001; + Gain = 7.3429948e-001; + TimeScale = 6.0000000e+000; + FlowFactor = -3.7681162e-001; + DivergenceFactor = -7.0531404e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_6D0E5909 +{ + Expression = "function void Eval() +{ + Life = (parent.BranchLength-spawner.LifeRatio*parent.BranchLength)*2; + Size = 0.15; + Velocity=parent.Vrand*1+vrand()*5; + ParentVelocity = Velocity; + TextureID = rand(0,16); +} +"; +} +CParticleState $LOCAL$/CParticleState_D62CF800 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_E2DAF6C3", + "$LOCAL$/CParticleEvolver_Script_65F4AB42", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E2DAF6C3 +{ + CustomName = "Physics"; + Drag = 6.0000000e+001; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_65F4AB42 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5FF12A2D"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5FF12A2D +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power*0.5); + Color = Color * GlowTurb.sample(LifeRatio).x; + Position += float3(ParentVelocity * 0.02 * dt) * 3; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Thunder +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_2B0BA695"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 8.0000000e+000; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotLevel3.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotLevel3.pkfx new file mode 100644 index 0000000..2b7fa89 --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightBaseShotLevel3.pkfx @@ -0,0 +1,1175 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 6.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8ED4ECCD", + "$LOCAL$/CParticleFieldDeclaration_7BA8472B", + "$LOCAL$/CParticleFieldDeclaration_49559E58", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Layer_1", + "$LOCAL$/Layer_3", + "$LOCAL$/Layer_4", + "$LOCAL$/Layer_5", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = 1; + Life = BranchLength; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/LocalSpace_1", + "$LOCAL$/Trail_1", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_36D6D4BD +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + IntegrationDtTreshold = 2.0000001e-003; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_413490CC", + "$LOCAL$/CParticleAttributeDeclaration_FE4FC301", + }; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EF9BBE63 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(7.5999999e-001, 7.9999998e-002, 7.2000003e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8ED4ECCD +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Localspace $LOCAL$/LocalSpace_1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_36D6D4BD", + "$LOCAL$/Script_1", + }; +} +CParticleEvolver_Spawner $LOCAL$/Trail_1 +{ + CustomName = "Spawner"; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_EC6BEF67"; +} +CParticleState $LOCAL$/CParticleState_A25D7514 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_07A88CC8", + "$LOCAL$/Script_2", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EC6BEF67 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_34193718"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_A2FF29AF", + "$LOCAL$/CParticleFieldDeclaration_5456B137", + "$LOCAL$/CParticleFieldDeclaration_62EDB30F", + "$LOCAL$/CParticleFieldDeclaration_5A6C4556", + "$LOCAL$/CParticleFieldDeclaration_7E9903D1", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_E43E0316", + "$LOCAL$/CParticleSamplerDoubleCurve_80B4C0F1", + "$LOCAL$/CParticleSamplerProceduralTurbulence_4CE60A08", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6"; + States = + { + "$LOCAL$/CParticleState_A25D7514", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_163AFEB6 +{ + Expression = "function void Eval() +{ + Life = (parent.BranchLength-spawner.LifeRatio*parent.BranchLength) * 2; + Size = rand(0.025,0.05) * 0.5; + Velocity=parent.Vrand*+vrand()*1; + ParentVelocity = Velocity; + TextureID = rand(0,16); + VRand = rand(0,99); +} +"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_07A88CC8 +{ + CustomName = "Physics"; + Drag = 1.0000000e+001; +} +CParticleEvolver_Script $LOCAL$/Script_2 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_00FC543C"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_00FC543C +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Force = GlowTurb.sample(VRand * (LifeRatio * 0.1)) * 1; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A2FF29AF +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5456B137 +{ + FieldName = "ParentVelocity"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_413490CC +{ + AttributeName = "Power"; + DefaultValueF4 = float4(1.5000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E43E0316 +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 8.9328818e-002, + 1.2633452e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0203243e+000, + 6.4178073e-001, + -1.2389421e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.6671433e-001, + -6.9063723e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_4CE60A08 +{ + SamplerName = "GlowTurb"; + GlobalScale = 5.0000000e-001; + Wavelength = 2.0000000e-001; + Strength = 1.0000000e+000; + Lacunarity = 1.0000000e+000; + Gain = 1.0000000e+000; + TimeScale = 6.0000000e+000; + FlowFactor = -3.7681162e-001; + DivergenceFactor = -7.0531404e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_62EDB30F +{ + FieldName = "TextureID"; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_34193718 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_3138F387", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_42CC4806 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8192E441", + "$LOCAL$/CParticleFieldDeclaration_9D524798", + "$LOCAL$/CParticleFieldDeclaration_05F4323B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5338501A"; + States = + { + "$LOCAL$/CParticleState_CDF0C3E5", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8192E441 +{ + FieldName = "VRAND"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9D524798 +{ + FieldName = "LENGTH"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_05F4323B +{ + FieldName = "SCALE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5338501A +{ + Expression = "function void Eval() +{ + Life = 1; + + VRAND=vrand()*rand(0.5,1); + + LENGTH=select(rand(0.5,1),rand(0.5,1),ninja<0.05); + + SCALE=rand(0.25,0.3); +} +"; +} +CParticleState $LOCAL$/CParticleState_CDF0C3E5 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_EB640E0C", + "$LOCAL$/RIbbonSpawner", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_EB640E0C +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_94D17FBF", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_94D17FBF +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/RIbbonSpawner +{ + CustomName = "Spawner"; + SpawnInterval = 6.0000002e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_CBF2F849"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_CBF2F849 +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_8CD26840"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_95F90C03", + "$LOCAL$/CParticleFieldDeclaration_7DF5C982", + "$LOCAL$/CParticleFieldDeclaration_F29D856D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_372FAA34", + "$LOCAL$/CParticleSamplerCurve_9D569D9D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_8E81BB07"; + States = + { + "$LOCAL$/CParticleState_0AF8E2D6", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_8CD26840 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/Fx/Trail_01.dds"; + TextureUField = "LifeRatio"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_95F90C03 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7DF5C982 +{ + FieldName = "VStart"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F29D856D +{ + FieldName = "VelocityField"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_372FAA34 +{ + SamplerName = "Curve_0"; + Times = + { + 0.0000000e+000, + 5.0000000e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_8E81BB07 +{ + Expression = "function void Eval() +{ + Life = parent.LENGTH; + + Size = parent.SCALE; + VStart=parent.VRAND*30; + Velocity = VStart; +} +"; +} +CParticleState $LOCAL$/CParticleState_0AF8E2D6 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7D2B2F51", + "$LOCAL$/Script_3", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7D2B2F51 +{ + CustomName = "Physics"; + Drag = 5.0000000e+001; + IntegrationStrategy = Stable; + BounceRestitution = 7.3456788e-001; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_3 +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_42CC4806"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.0000000e+001; + ContinuousSpawner = false; + FluxFactorExpression = "LOD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9D569D9D +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.0060702e-001, + 4.0033695e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.2858391e-002, + 1.4116302e+000, + 8.9633483e-001, + 3.8331664e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 2.4592154e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.7291760e-001, + -1.3462913e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/Script_3 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_A7C58E24"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A7C58E24 +{ + Expression = "function void Eval() +{ + Color=(0.1*RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),6); +} +"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_8A814AD3 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0360A9BD", + "$LOCAL$/CParticleFieldDeclaration_3FF47CC4", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E2B6B8D7"; + States = + { + "$LOCAL$/CParticleState_0C3FCCE6", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0360A9BD +{ + FieldName = "LENGTH"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3FF47CC4 +{ + FieldName = "SCALE"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E2B6B8D7 +{ + Expression = "function void Eval() +{ + Life = 1; + LENGTH=0.5; + SCALE=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_0C3FCCE6 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_45F85AA1", + "$LOCAL$/CParticleEvolver_Spawner_4D1B3D9B", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_45F85AA1 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_E12FCD78", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_E12FCD78 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_4D1B3D9B +{ + CustomName = "Spawner"; + SpawnInterval = 4.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_9A7C8EFA"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_9A7C8EFA +{ + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_79B87C45"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F74FFDEC", + "$LOCAL$/CParticleFieldDeclaration_86923D1F", + "$LOCAL$/CParticleFieldDeclaration_FF6C02CE", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_D06DEDB1", + "$LOCAL$/CParticleSamplerCurve_832E4BB9", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DFA7DB63"; + States = + { + "$LOCAL$/CParticleState_26BB1C62", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_79B87C45 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/SymmetricGradient.dds"; + TextureUField = "LifeRatio"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F74FFDEC +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_86923D1F +{ + FieldName = "VStart"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FF6C02CE +{ + FieldName = "VelocityField"; + FieldType = float3; + TransformFilter = rotate; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DFA7DB63 +{ + Expression = "function void Eval() +{ + Life = parent.LENGTH; + Size = parent.SCALE; +} +"; +} +CParticleState $LOCAL$/CParticleState_26BB1C62 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_F2B1E1CD", + "$LOCAL$/CParticleEvolver_Script_25530E14", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_F2B1E1CD +{ + CustomName = "Physics"; + Drag = 5.0000000e+001; + IntegrationStrategy = Stable; + BounceRestitution = 7.3456788e-001; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_25530E14 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_4E54FC67"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4E54FC67 +{ + Expression = "function void Eval() +{ + Size = SizeCurve.sample(LifeRatio) * 0.2; + Color=ColorCurve.sample(LifeRatio) * 2; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_5 +{ + Descriptor = "$LOCAL$/CParticleDescriptor_8A814AD3"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + ContinuousSpawner = false; + FluxFactorExpression = "LOD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D06DEDB1 +{ + SamplerName = "ColorCurve"; + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.2491548e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 6.4370775e+000, + 1.5796232e+000, + 4.4860973e+000, + 1.0017110e+000, + 6.4638560e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1761048e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -8.2391000e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_832E4BB9 +{ + SamplerName = "SizeCurve"; + Times = + { + 0.0000000e+000, + 8.8514186e-002, + 1.0000000e+000, + }; + FloatValues = + { + 4.7577922e-003, + 3.9008316e-001, + 1.9557769e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 6.1925483e-001, + 0.0000000e+000, + 0.0000000e+000, + -3.0895391e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FE4FC301 +{ + AttributeName = "Distortion"; + DefaultValueF4 = float4(6.0540539e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_ACD80655 +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_9492493C", + "$LOCAL$/CParticleFieldDeclaration_C3A1C2AF", + "$LOCAL$/CParticleFieldDeclaration_3A982F9E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_708A97B9"; + States = + { + "$LOCAL$/CParticleState_5419C470", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9492493C +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C3A1C2AF +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3A982F9E +{ + FieldName = "BranchLength"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_708A97B9 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = rand(0.4,0.6); + Life = BranchLength; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_5419C470 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_6F5883F3", + "$LOCAL$/CParticleEvolver_Spawner_4625D7F7", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_6F5883F3 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_B1BDA832", + "$LOCAL$/CParticleEvolver_Script_1AEE71DD", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B1BDA832 +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + IntegrationDtTreshold = 2.0000001e-003; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_1AEE71DD +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_6DD3D764"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_6DD3D764 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_4625D7F7 +{ + CustomName = "Spawner"; + SpawnInterval = 4.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_035FCA86"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_035FCA86 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_DC9358C1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_401E62BB", + "$LOCAL$/CParticleFieldDeclaration_1D1E0A9A", + "$LOCAL$/CParticleFieldDeclaration_3F13D065", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_7505D48C", + "$LOCAL$/CParticleSamplerDoubleCurve_3F1B883F", + "$LOCAL$/CParticleSamplerProceduralTurbulence_435B9C6E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_84391CC9"; + States = + { + "$LOCAL$/CParticleState_C44926C0", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_DC9358C1 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_85E99618", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_85E99618 +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_401E62BB +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1D1E0A9A +{ + FieldName = "ParentVelocity"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3F13D065 +{ + FieldName = "TextureID"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_7505D48C +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 8.9328818e-002, + 1.2633452e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0203243e+000, + 6.4178073e-001, + -1.2389421e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -1.6671433e-001, + -6.9063723e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_3F1B883F +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.8617449e-002, + 3.7234969e-002, + 9.6040227e-002, + 1.6187949e-001, + 4.2304891e-001, + 4.8267543e-001, + 6.5048271e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 4.6155271e-001, + 1.1097360e+000, + 1.1913260e+000, + 1.2027121e+000, + 1.5533510e+000, + 3.1154866e+000, + 1.3129970e+000, + 9.9858201e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.2994812e-001, + 5.2994978e-001, + 7.0677501e-001, + 2.2324190e+000, + -1.2589170e+000, + -1.4095020e+000, + 1.9320531e+000, + 7.6640139e+000, + 3.7825661e+000, + 8.6358368e-001, + -1.9505526e-001, + -5.4894471e-001, + -3.5419121e-001, + -7.3772728e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 1.8617449e-002, + 3.7234969e-002, + 5.7597529e-002, + 1.0300433e-001, + 2.6808769e-001, + 5.0780302e-001, + 7.3183209e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 4.9471349e-001, + 1.2169130e+000, + 2.2920790e+000, + 3.6313715e+000, + 6.5417272e-001, + 1.4177361e+000, + 5.1636100e-001, + 1.0271250e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 5.8983940e-001, + 5.8984131e-001, + 7.8848606e-001, + 8.6239171e-001, + 1.0754330e+000, + 2.3981247e+000, + 6.7492634e-002, + 2.4538013e-001, + -1.0991865e+000, + -1.5961140e+000, + 6.7877718e-003, + 6.3436050e-003, + -2.8246269e-001, + -3.3811399e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_435B9C6E +{ + SamplerName = "GlowTurb"; + Wavelength = 2.0000000e-001; + Strength = 2.1213202e-001; + Lacunarity = 4.3478259e-001; + Gain = 7.3429948e-001; + TimeScale = 6.0000000e+000; + FlowFactor = -3.7681162e-001; + DivergenceFactor = -7.0531404e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_84391CC9 +{ + Expression = "function void Eval() +{ + Life = (parent.BranchLength-spawner.LifeRatio*parent.BranchLength)*2; + Size = 0.15; + Velocity=parent.Vrand*10+vrand()*3; + ParentVelocity = Velocity; + TextureID = rand(0,16); +} +"; +} +CParticleState $LOCAL$/CParticleState_C44926C0 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7FBF6C83", + "$LOCAL$/CParticleEvolver_Script_14937402", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7FBF6C83 +{ + CustomName = "Physics"; + Drag = 6.0000000e+001; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_14937402 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_81DF41ED"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_81DF41ED +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power*1.5); + Color = Color * GlowTurb.sample(LifeRatio).x; + Position += float3(ParentVelocity * 0.02 * dt) * 3; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_4 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_ACD80655"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 1.5000000e+001; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_3138F387 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Shadow_01.dds"; +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_80B4C0F1 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 9.6040294e-002, + 1.6187957e-001, + 4.2304891e-001, + 4.8720810e-001, + 6.5048277e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.9479560e-001, + 9.4297880e-001, + 1.0245690e+000, + 1.0359550e+000, + 1.3865941e+000, + 3.1986954e+000, + 1.1462400e+000, + 9.9858201e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.2994978e-001, + 5.2994978e-001, + 7.0677501e-001, + 2.2324190e+000, + -1.2589170e+000, + -1.4095018e+000, + 1.9320533e+000, + 7.6640139e+000, + 3.7825663e+000, + 9.2922992e-001, + -2.0988262e-001, + -5.3411740e-001, + -3.4462434e-001, + -7.3772722e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 5.7597589e-002, + 7.7608198e-002, + 2.6808780e-001, + 5.0780308e-001, + 7.5035948e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 3.2795650e-001, + 1.0501560e+000, + 2.1253221e+000, + 3.4901519e+000, + 4.8741561e-001, + 1.2509789e+000, + 9.0204418e-001, + 1.0271250e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 5.8984131e-001, + 5.8984131e-001, + 7.8848600e-001, + 8.6239147e-001, + 1.0754330e+000, + 1.0568449e+000, + 2.9743779e-002, + 2.8312889e-001, + -1.2682840e+000, + -1.5961140e+000, + 6.7877718e-003, + 6.8682232e-003, + -3.0582249e-001, + -3.1475419e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7BA8472B +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_49559E58 +{ + FieldName = "BranchLength"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5A6C4556 +{ + FieldName = "Force"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7E9903D1 +{ + FieldName = "VRand"; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightExplosiveTeleportation.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightExplosiveTeleportation.pkfx new file mode 100644 index 0000000..09e8831 --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightExplosiveTeleportation.pkfx @@ -0,0 +1,1487 @@ +Version = 1.9.5.30373; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/PreFlash", + "$LOCAL$/Flash", + "$LOCAL$/Distortion", + "$LOCAL$/Orbit", + "$LOCAL$/Lightning", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + "$LOCAL$/CParticleAttributeDeclaration_88BB8542", + "$LOCAL$/CParticleAttributeDeclaration_56740C2D", + "$LOCAL$/CParticleAttributeDeclaration_3E13D103", + "$LOCAL$/CParticleAttributeDeclaration_E8157282", + "$LOCAL$/CParticleAttributeDeclaration_26F1E26D", + "$LOCAL$/CParticleAttributeDeclaration_56BCCB34", + "$LOCAL$/CParticleAttributeDeclaration_DD94F007", + "$LOCAL$/CParticleAttributeDeclaration_E241BBD6", + "$LOCAL$/CParticleAttributeDeclaration_14487C51", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C7BD0385", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(8.3468831e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C7BD0385 +{ + SamplerName = "GlobalSizeCurve"; + Times = + { + 0.0000000e+000, + 4.1777310e-001, + 5.0437367e-001, + 6.4856136e-001, + 7.3379391e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1830900e+001, + 2.2786690e+001, + 2.7557028e+002, + 1.7187576e+002, + 4.5565090e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.4870480e+001, + 3.0825162e+000, + 6.5286195e-001, + 1.0869976e+000, + -1.3543121e+002, + -8.0056412e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_821F762C +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_949EFA5F +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_882CE90E +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B9A815E9 +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_88BB8542 +{ + AttributeName = "Throttle"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_56740C2D +{ + AttributeName = "ShakeAmplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EF247296 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3849864e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888062e+000, + 7.7745247e+001, + 7.3503357e+001, + 6.4612997e-001, + 2.0553560e+000, + 3.8516720e+001, + 3.5025604e+001, + 6.2580526e-001, + 1.3330803e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386294e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6951137e+000, + -1.3702939e-004, + -1.1671032e+000, + -2.7337904e+000, + -1.7046227e+000, + -6.1781224e-002, + -1.0002245e+000, + -2.3428993e+000, + -1.4608870e+000, + -5.2947421e-002, + -4.2274657e-001, + -1.0370370e+000, + -3.2198474e+000, + 1.2638654e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_24B21A11 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_EF247296"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/PreFlash +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_1E33C9A8"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1E33C9A8 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_5987DD12"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B3140DAA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B"; + States = + { + "$LOCAL$/CParticleState_7B7ECB1C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B3140DAA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_194188B5 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleState $LOCAL$/CParticleState_7B7ECB1C +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_9F457A0F", + "$LOCAL$/Field_1", + "$LOCAL$/Field_2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9F457A0F +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/Field_1 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F8808A7E"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F8808A7E +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 6.8103373e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 7.0279986e-002, + 7.0279986e-002, + 7.0279986e-002, + 7.0279986e-002, + -8.8098228e-001, + 2.9681283e-001, + -1.2033677e+000, + -1.2630554e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_337A9C19"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_337A9C19 +{ + Times = + { + 0.0000000e+000, + 5.7104397e-001, + 1.0000000e+000, + }; + FloatValues = + { + 7.2441397e+000, + 6.0743637e+000, + 8.9722443e-001, + }; + FloatTangents = + { + 0.0000000e+000, + -1.8714930e-001, + -2.6844974e+000, + -2.0165372e+000, + -1.8352952e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_5987DD12 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_194188B5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EB06C381 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_1E17F7D8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3CDA2A4C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF"; + States = + { + "$LOCAL$/CParticleState_1322942E", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_1E17F7D8 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_8197877B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_8197877B +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3CDA2A4C +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF +{ + Expression = "function void Eval() +{ + Life = 0.7; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleState $LOCAL$/CParticleState_1322942E +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B04B8F89", + "$LOCAL$/CParticleEvolver_Field_537F3080", + "$LOCAL$/CParticleEvolver_Field_E5657FC2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B04B8F89 +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_537F3080 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_83855943"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_83855943 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.6075699e-002, + 1.9139221e-001, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 9.5743046e+000, + 3.2854285e+000, + 1.1800446e+001, + 3.2669086e+000, + 3.2821879e-001, + 1.6901097e-001, + 4.1505969e-001, + 3.8750019e-002, + 2.2710308e-002, + 1.8060550e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 6.7521986e-003, + 6.7521986e-003, + 6.7521986e-003, + 6.7521986e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.9767019e-002, + -1.5774697e-001, + 0.0000000e+000, + 0.0000000e+000, + 3.3735940e-001, + -1.3382303e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0961772e+000, + 4.2257231e-001, + -1.5277436e+000, + -1.0213161e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E5657FC2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F39058AD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F39058AD +{ + Times = + { + 0.0000000e+000, + 5.7991523e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.3825042e-001, + 2.0090084e+000, + 2.1425538e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 1.2470558e+000, + 2.6642689e-001, + 1.9299696e-001, + -9.5170058e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_EB06C381"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_3A4409B3 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6468C0F2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_60B7199D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5231BA24", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_34D411B7"; + States = + { + "$LOCAL$/CParticleState_12E9A746", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6468C0F2 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/DistortionCircle_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_60B7199D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5231BA24 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_34D411B7 +{ + Expression = "function void Eval() +{ + Life = 1.5; + Size = (2.1) * SizeSampler.sample(spawner.LifeRatio); + Color=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_12E9A746 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_31801481", + "$LOCAL$/CParticleEvolver_Field_0BE16B5A", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_31801481 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Field_5B731CD8", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5B731CD8 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6FCF107B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6FCF107B +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.7777803e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.0012751e+000, + 2.0012751e+000, + 2.0012751e+000, + 2.0012751e+000, + 4.1418731e-001, + 4.1418731e-001, + 4.1418731e-001, + 4.1418731e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.1068056e+000, + -3.1068056e+000, + -3.1068056e+000, + -3.1068056e+000, + -4.4720274e-001, + -4.4720274e-001, + -4.4720274e-001, + -4.4720274e-001, + -1.1627251e+000, + -1.1627251e+000, + -1.1627251e+000, + -1.1627251e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0BE16B5A +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_93366025"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_93366025 +{ + Times = + { + 0.0000000e+000, + 4.3022251e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0993826e+000, + 1.9205348e+000, + 2.4890079e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8338145e-001, + 7.6996583e-001, + 1.0197262e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Distortion +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_3A4409B3"; + DurationInSeconds = 1.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_C3012729 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8E32D0A0", + "$LOCAL$/CParticleFieldDeclaration_56136BE3", + "$LOCAL$/CParticleFieldDeclaration_B74DB6E2", + "$LOCAL$/CParticleFieldDeclaration_87934E4D", + "$LOCAL$/CParticleFieldDeclaration_8462B494", + "$LOCAL$/CParticleFieldDeclaration_01B264E7", + "$LOCAL$/CParticleFieldDeclaration_909FE236", + "$LOCAL$/CParticleFieldDeclaration_08347231", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_A5DAF448", + "$LOCAL$/CParticleSamplerCurve_05595B4A", + "$LOCAL$/CParticleSamplerCurve_FC4416D5", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F9EF63BC"; + States = + { + "$LOCAL$/CParticleState_8FDFAF2F", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8E32D0A0 +{ + FieldName = "Radius"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_56136BE3 +{ + FieldName = "OrbitalCenter"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B74DB6E2 +{ + FieldName = "BasePosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_87934E4D +{ + FieldName = "RotationAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8462B494 +{ + FieldName = "Orbital"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01B264E7 +{ + FieldName = "RadiusRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_909FE236 +{ + FieldName = "RotationRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_08347231 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_A5DAF448 +{ + SamplerName = "Sphere"; + Shape = "$LOCAL$/CShapeDescriptor_C48F04AB"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_C48F04AB +{ + ShapeType = SPHERE; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_05595B4A +{ + SamplerName = "SizeRatioSampler"; + Times = + { + 0.0000000e+000, + 4.5172039e-002, + 7.9667412e-002, + 2.3473868e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.7151250e-003, + 8.4995359e-002, + 4.5984969e-001, + 7.9461977e-002, + 4.8672408e-003, + }; + FloatTangents = + { + 0.0000000e+000, + -1.1017920e-002, + 8.4486477e-002, + 6.4517602e-002, + 0.0000000e+000, + 0.0000000e+000, + -4.9369391e-002, + -2.4363287e-001, + -7.5415880e-003, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_FC4416D5 +{ + SamplerName = "RotateRatioSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.0358833e-001, + 2.3914814e-002, + }; + FloatTangents = + { + 0.0000000e+000, + -1.7688432e+000, + 9.8717056e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F9EF63BC +{ + Expression = "function void Eval() +{ + Life = rand(0.5, 1.5); + + Radius = 0; + OrbitalCenter = 0; + RotationAxis = vrand(); + BasePosition = Sphere.samplePosition(); + Position = BasePosition * Radius; + RadiusRate = rand(0.5, 1.5); + RotationRate = rand(0.5, 1.5); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.g),rand(0,RandomRGB.b)); +} +"; +} +CParticleState $LOCAL$/CParticleState_8FDFAF2F +{ + EditorInfosIsBlockMinimized = 0; + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_BDFE561E", + "$LOCAL$/CParticleEvolver_Spawner_B19996F0", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BDFE561E +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_DBC08039"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DBC08039 +{ + Expression = "function void Eval() +{ + Radius += (AdditionalRadiusSpeed * RadiusRate) * (dt * SizeRatioSampler.sample(LifeRatio)); + Orbital += (OrbitalSpeed * RotationRate) * (dt * RotateRatioSampler.sample(LifeRatio)); + float3 v = BasePosition - OrbitalCenter; + Position = rotate(v, RotationAxis, Orbital) * Radius + OrbitalCenter; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_B19996F0 +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_08938873"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_08938873 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_90DAC6B2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_402CE1E4", + "$LOCAL$/CParticleFieldDeclaration_74167477", + "$LOCAL$/CParticleFieldDeclaration_CC166106", + "$LOCAL$/CParticleFieldDeclaration_062A7141", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_D3CA5898", + "$LOCAL$/CParticleSamplerCurve_9FD5173B", + "$LOCAL$/CParticleSamplerCurve_B188991A", + "$LOCAL$/CParticleSamplerCurve_1BF240E5", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C194CF0C"; + States = + { + "$LOCAL$/CParticleState_E780D4BF", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_90DAC6B2 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_382AB25D", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_382AB25D +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_402CE1E4 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_74167477 +{ + FieldName = "Color2"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC166106 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_062A7141 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D3CA5898 +{ + SamplerName = "IntensityFromParent"; + Times = + { + 0.0000000e+000, + 1.2138355e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.2072124e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9FD5173B +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 7.0222743e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8318589e-001, + 4.9955750e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.9138300e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B188991A +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 5.7290055e-002, + 1.3172999e-001, + 7.1332288e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.1233578e+000, + 1.6552079e+000, + 1.1014417e+000, + -1.2139082e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6811266e+000, + -8.2865608e-001, + 2.4560774e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1BF240E5 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.6869873e-001, + 1.0000000e+000, + }; + FloatValues = + { + 5.7522357e-003, + 9.8893809e-001, + 4.8672259e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1051891e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C194CF0C +{ + Expression = "function void Eval() +{ + Life = TrailLife; + RandomedRGB = parent.RandomedRGB; + //TextureID = rand(0,4) + //Brightness = IntensityFromParent.sample(spawner.LifeRatio); +} +"; +} +CParticleState $LOCAL$/CParticleState_E780D4BF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_184CA2EE", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_184CA2EE +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E8636549"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E8636549 +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x + RandomedRGB.x, RGB.y + RandomedRGB.y, RGB.z + RandomedRGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Color2 = float4(0.1); + Size = TrailSize * SizeSampler.sample(LifeRatio); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Orbit +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_C3012729"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.2000000e+001; + FirstSpawnDelay = 5.0000000e-001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_3E13D103 +{ + AttributeName = "AdditionalRadiusSpeed"; + DefaultValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E8157282 +{ + AttributeName = "OrbitalSpeed"; + DefaultValueF4 = float4(5.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_26F1E26D +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(8.3999997e-001, 5.9999999e-002, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_56BCCB34 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(6.3783779e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DD94F007 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(9.9999998e-003, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E241BBD6 +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.5135141e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_14487C51 +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(6.0270268e-001, 5.1351351e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_B2403A9D +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_7CF0EF24", + "$LOCAL$/CParticleFieldDeclaration_FB38EAB7", + "$LOCAL$/CParticleFieldDeclaration_7952F446", + "$LOCAL$/CParticleFieldDeclaration_E14CE581", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_4AE7C1D8", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_EEA8A85A"; + States = + { + "$LOCAL$/CParticleState_56BFE125", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7CF0EF24 +{ + FieldName = "Timeb"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB38EAB7 +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7952F446 +{ + FieldName = "FluxScale"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E14CE581 +{ + FieldName = "NextBranchTime"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_4AE7C1D8 +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_055E197B"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_055E197B +{ + ShapeType = SPHERE; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EEA8A85A +{ + Expression = "function void Eval() +{ + Life = 0.1; + Velocity = 0.1*float3(rand(-100,100),rand(-100,100),rand(-100,100)); + SizeCoeff = Scale*0.5; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)); + Position = DropSampler.samplePosition(); +} +"; +} +CParticleState $LOCAL$/CParticleState_56BFE125 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_2AE6D44C", + "$LOCAL$/CParticleEvolver_Spawner_1A02BA80", + "$LOCAL$/CParticleEvolver_Spawner_CB852091", + "$LOCAL$/CParticleEvolver_Spawner_E99CADD7", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_2AE6D44C +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_46CCA2FF", + "$LOCAL$/CParticleEvolver_Script_79C16E2E", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_46CCA2FF +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_79C16E2E +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_CB867189"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_CB867189 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.01; + float n = 60 * SizeCoeff; + Velocity = select(Velocity,float3(SizeCoeff*rand(-1,1)*100,rand(-n,n),SizeCoeff*rand(-1,1)*100),shouldSpawnBranch); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_1A02BA80 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_C52AAB43"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_C52AAB43 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_F46C39C2", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_89609AAD", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_7939C874"; + States = + { + "$LOCAL$/CParticleState_1F6B1647", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F46C39C2 +{ + FieldName = "Color"; + FieldType = float3; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_89609AAD +{ + EventName = "OnDeath"; + EventAction = "$LOCAL$/branch"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7939C874 +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = RGB; +} +"; +} +CParticleState $LOCAL$/CParticleState_1F6B1647 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B163BF16", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B163BF16 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_CB852091 +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_E8E81228"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_E8E81228 +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_1451880B"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8322722A", + "$LOCAL$/CParticleFieldDeclaration_24058735", + "$LOCAL$/CParticleFieldDeclaration_27FB6B9C", + "$LOCAL$/CParticleFieldDeclaration_77B6648F", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_787686FE", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E9F21299"; + States = + { + "$LOCAL$/CParticleState_4AE768D0", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_1451880B +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8322722A +{ + FieldName = "Color"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_24058735 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_27FB6B9C +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_77B6648F +{ + FieldName = "CC"; + FieldType = float3; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_787686FE +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900167e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312178e+000, + 3.8749021e-001, + 1.5209466e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E9F21299 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.4 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = RGB * 10; +} +"; +} +CParticleState $LOCAL$/CParticleState_4AE768D0 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_7A8ACFD3", + "$LOCAL$/CParticleEvolver_Physics_02D5F192", + "$LOCAL$/CParticleEvolver_Script_743DC6BD", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_7A8ACFD3 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_02D5F192 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_743DC6BD +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_5E595DC4"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5E595DC4 +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 2); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_E99CADD7 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 1.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_FA7265E6"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_FA7265E6 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_A56267A1"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_49AC5E78", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C71AA29B"; + States = + { + "$LOCAL$/CParticleState_B40D57FA", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_A56267A1 +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_49AC5E78 +{ + FieldName = "Color"; + FieldType = float3; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C71AA29B +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 2 * Scale; + Color = RGB * 0.04 * pow(1 - spawner.LifeRatio, 2); +} +"; +} +CParticleState $LOCAL$/CParticleState_B40D57FA +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_0BC47945", + "$LOCAL$/CParticleEvolver_Physics_851D3EEC", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_0BC47945 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_851D3EEC +{ + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Lightning +{ + Delay = 3.0000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_B2403A9D"; + DurationInSeconds = 3.0000001e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.0000000e+000; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightHitEffectMiddle.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightHitEffectMiddle.pkfx new file mode 100644 index 0000000..a6e2a12 --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightHitEffectMiddle.pkfx @@ -0,0 +1,473 @@ +Version = 1.8.4.27161; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Orbiters", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_EBAD1697", + "$LOCAL$/CParticleAttributeDeclaration_1B3B0785", + "$LOCAL$/CParticleAttributeDeclaration_DBDA839C", + "$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE", + "$LOCAL$/CParticleAttributeDeclaration_2A0D3865", + "$LOCAL$/CParticleAttributeDeclaration_5A5354F6", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204 +{ + ShapeType = SPHERE; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_8163C3AE +{ + SamplerName = "IntensityFromParent"; + Times = + { + 0.0000000e+000, + 1.2138355e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.2072124e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Orbiters +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_F069AE6B"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 1.6000000e+001; + FirstSpawnDelay = 5.0000000e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_F069AE6B +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C7AFE6DE", + "$LOCAL$/CParticleFieldDeclaration_4154FFF9", + "$LOCAL$/CParticleFieldDeclaration_AD759B72", + "$LOCAL$/CParticleFieldDeclaration_BE7FC61D", + "$LOCAL$/CParticleFieldDeclaration_B0B3CA2C", + "$LOCAL$/CParticleFieldDeclaration_D477D258", + "$LOCAL$/CParticleFieldDeclaration_0EE2FB00", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9E9ED973", + "$LOCAL$/CParticleSamplerCurve_A5DFDE5F", + "$LOCAL$/CParticleSamplerCurve_EFCF3FF6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_FA50680A"; + States = + { + "$LOCAL$/CParticleState_5DA09A7C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FA50680A +{ + Expression = "function void Eval() +{ + Life = rand(1, 2); + + Radius = 0; + OrbitalCenter = 0; + RotationAxis = vrand(); + BasePosition = Sphere.samplePosition(); + Position = BasePosition * Radius; + RadiusRate = rand(0.5, 1.5); + RotationRate = rand(0.5, 1.5); +} +"; +} +CParticleState $LOCAL$/CParticleState_5DA09A7C +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_11", + "$LOCAL$/OrbitalTrail", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4154FFF9 +{ + FieldName = "OrbitalCenter"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C7AFE6DE +{ + FieldName = "Radius"; +} +CParticleEvolver_Script $LOCAL$/Script_11 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_014431B0"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_014431B0 +{ + Expression = "function void Eval() +{ + Radius += (AdditionalRadiusSpeed * RadiusRate) * (dt * SizeRatioSampler.sample(LifeRatio)); + Orbital += (OrbitalSpeed * RotationRate) * (dt * RotateRatioSampler.sample(LifeRatio)); + float3 v = BasePosition - OrbitalCenter; + Position = rotate(v, RotationAxis, Orbital) * Radius + OrbitalCenter; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AD759B72 +{ + FieldName = "BasePosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BE7FC61D +{ + FieldName = "RotationAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Spawner $LOCAL$/OrbitalTrail +{ + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_5E4EBA37"; +} +CParticleState $LOCAL$/CParticleState_6C99A0A4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_12", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_5E4EBA37 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_9BDF00D0"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_BDB9BCA5", + "$LOCAL$/CParticleFieldDeclaration_D4565CA7", + "$LOCAL$/CParticleFieldDeclaration_A3F9581D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_8163C3AE", + "$LOCAL$/CParticleSamplerCurve_72F75C8F", + "$LOCAL$/CParticleSamplerCurve_D48E47D3", + "$LOCAL$/CParticleSamplerCurve_1D475C8C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F5AD39C6"; + States = + { + "$LOCAL$/CParticleState_6C99A0A4", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F5AD39C6 +{ + Expression = "function void Eval() +{ + Life = TrailLife; + //TextureID = rand(0,4) + //Brightness = IntensityFromParent.sample(spawner.LifeRatio); +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_545410FB +{ + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureIDField = "TextureID"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BDB9BCA5 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_12 +{ + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E3B015CC"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E3B015CC +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Color2 = float4(0.1); + Size = TrailSize * SizeSampler.sample(LifeRatio); +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9E9ED973 +{ + SamplerName = "Sphere"; + Shape = "$LOCAL$/CShapeDescriptor_AC2FEBB2"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_AC2FEBB2 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EBAD1697 +{ + AttributeName = "AdditionalRadiusSpeed"; + DefaultValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1B3B0785 +{ + AttributeName = "OrbitalSpeed"; + DefaultValueF4 = float4(5.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B0B3CA2C +{ + FieldName = "Orbital"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A5DFDE5F +{ + SamplerName = "SizeRatioSampler"; + Times = + { + 0.0000000e+000, + 4.5172039e-002, + 7.9667412e-002, + 2.3473868e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.7151250e-003, + 8.4995359e-002, + 4.5984969e-001, + 7.9461977e-002, + 4.8672408e-003, + }; + FloatTangents = + { + 0.0000000e+000, + -1.1017920e-002, + 8.4486477e-002, + 6.4517602e-002, + 0.0000000e+000, + 0.0000000e+000, + -4.9369391e-002, + -2.4363287e-001, + -7.5415880e-003, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(2.0000000e-001, 5.0000001e-002, 7.5000000e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_72F75C8F +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 7.0222743e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8318589e-001, + 4.9955750e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.9138300e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1BCEDEFE +{ + AttributeName = "Power"; + DefaultValueF4 = float4(6.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_9BDF00D0 +{ + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_545410FB", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D48E47D3 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 5.7290055e-002, + 1.3172999e-001, + 7.1332288e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.1233578e+000, + 1.6552079e+000, + 1.1014417e+000, + -1.2139082e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6811266e+000, + -8.2865608e-001, + 2.4560774e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_2A0D3865 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(2.0000000e-002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1D475C8C +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.6869873e-001, + 1.0000000e+000, + }; + FloatValues = + { + 5.7522357e-003, + 9.8893809e-001, + 4.8672259e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1051891e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D4565CA7 +{ + FieldName = "Color2"; + FieldType = float4; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_5A5354F6 +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(4.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A3F9581D +{ + FieldName = "TextureID"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EFCF3FF6 +{ + SamplerName = "RotateRatioSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.0358833e-001, + 2.3914814e-002, + }; + FloatTangents = + { + 0.0000000e+000, + -1.7688432e+000, + 9.8717056e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D477D258 +{ + FieldName = "RadiusRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0EE2FB00 +{ + FieldName = "RotationRate"; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightShinyArrowBurst.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightShinyArrowBurst.pkfx new file mode 100644 index 0000000..efd4f6b --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightShinyArrowBurst.pkfx @@ -0,0 +1,512 @@ +Version = 1.9.5.30373; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Orbiters", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_EBAD1697", + "$LOCAL$/CParticleAttributeDeclaration_1B3B0785", + "$LOCAL$/CParticleAttributeDeclaration_DBDA839C", + "$LOCAL$/CParticleAttributeDeclaration_1BCEDEFE", + "$LOCAL$/CParticleAttributeDeclaration_2A0D3865", + "$LOCAL$/CParticleAttributeDeclaration_5A5354F6", + "$LOCAL$/CParticleAttributeDeclaration_9078374F", + }; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_05FF2204 +{ + ShapeType = SPHERE; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_8163C3AE +{ + SamplerName = "IntensityFromParent"; + Times = + { + 0.0000000e+000, + 1.2138355e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.2072124e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Orbiters +{ + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_F069AE6B"; + DurationInSeconds = 3.0000001e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.4000000e+001; + FirstSpawnDelay = 5.0000000e-001; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_F069AE6B +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_C7AFE6DE", + "$LOCAL$/CParticleFieldDeclaration_4154FFF9", + "$LOCAL$/CParticleFieldDeclaration_AD759B72", + "$LOCAL$/CParticleFieldDeclaration_BE7FC61D", + "$LOCAL$/CParticleFieldDeclaration_B0B3CA2C", + "$LOCAL$/CParticleFieldDeclaration_D477D258", + "$LOCAL$/CParticleFieldDeclaration_0EE2FB00", + "$LOCAL$/CParticleFieldDeclaration_95F6977D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9E9ED973", + "$LOCAL$/CParticleSamplerCurve_A5DFDE5F", + "$LOCAL$/CParticleSamplerCurve_EFCF3FF6", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_FA50680A"; + States = + { + "$LOCAL$/CParticleState_5DA09A7C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_FA50680A +{ + Expression = "function void Eval() +{ + Life = rand(0.5, 1.5); + + Radius = 0; + OrbitalCenter = 0; + RotationAxis = vrand(); + BasePosition = Sphere.samplePosition(); + Position = BasePosition * Radius; + RadiusRate = rand(0.5, 1.5); + RotationRate = rand(0.5, 1.5); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.g),rand(0,RandomRGB.b)); +} +"; +} +CParticleState $LOCAL$/CParticleState_5DA09A7C +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_11", + "$LOCAL$/OrbitalTrail", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4154FFF9 +{ + FieldName = "OrbitalCenter"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_C7AFE6DE +{ + FieldName = "Radius"; +} +CParticleEvolver_Script $LOCAL$/Script_11 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_014431B0"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_014431B0 +{ + Expression = "function void Eval() +{ + Radius += (AdditionalRadiusSpeed * RadiusRate) * (dt * SizeRatioSampler.sample(LifeRatio)); + Orbital += (OrbitalSpeed * RotationRate) * (dt * RotateRatioSampler.sample(LifeRatio)); + float3 v = BasePosition - OrbitalCenter; + Position = rotate(v, RotationAxis, Orbital) * Radius + OrbitalCenter; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AD759B72 +{ + FieldName = "BasePosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BE7FC61D +{ + FieldName = "RotationAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleEvolver_Spawner $LOCAL$/OrbitalTrail +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_5E4EBA37"; +} +CParticleState $LOCAL$/CParticleState_6C99A0A4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_12", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_5E4EBA37 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_9BDF00D0"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_BDB9BCA5", + "$LOCAL$/CParticleFieldDeclaration_D4565CA7", + "$LOCAL$/CParticleFieldDeclaration_A3F9581D", + "$LOCAL$/CParticleFieldDeclaration_6CE61D84", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_8163C3AE", + "$LOCAL$/CParticleSamplerCurve_72F75C8F", + "$LOCAL$/CParticleSamplerCurve_D48E47D3", + "$LOCAL$/CParticleSamplerCurve_1D475C8C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F5AD39C6"; + States = + { + "$LOCAL$/CParticleState_6C99A0A4", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F5AD39C6 +{ + Expression = "function void Eval() +{ + Life = TrailLife; + RandomedRGB = parent.RandomedRGB; + //TextureID = rand(0,4) + //Brightness = IntensityFromParent.sample(spawner.LifeRatio); +} +"; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_545410FB +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BDB9BCA5 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleEvolver_Script $LOCAL$/Script_12 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E3B015CC"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E3B015CC +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x + RandomedRGB.x, RGB.y + RandomedRGB.y, RGB.z + RandomedRGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Color2 = float4(0.1); + Size = TrailSize * SizeSampler.sample(LifeRatio); +} +"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9E9ED973 +{ + SamplerName = "Sphere"; + Shape = "$LOCAL$/CShapeDescriptor_AC2FEBB2"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_AC2FEBB2 +{ + ShapeType = SPHERE; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EBAD1697 +{ + AttributeName = "AdditionalRadiusSpeed"; + DefaultValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1B3B0785 +{ + AttributeName = "OrbitalSpeed"; + DefaultValueF4 = float4(5.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B0B3CA2C +{ + FieldName = "Orbital"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A5DFDE5F +{ + SamplerName = "SizeRatioSampler"; + Times = + { + 0.0000000e+000, + 4.5172039e-002, + 7.9667412e-002, + 2.3473868e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.7151250e-003, + 8.4995359e-002, + 4.5984969e-001, + 7.9461977e-002, + 4.8672408e-003, + }; + FloatTangents = + { + 0.0000000e+000, + -1.1017920e-002, + 8.4486477e-002, + 6.4517602e-002, + 0.0000000e+000, + 0.0000000e+000, + -4.9369391e-002, + -2.4363287e-001, + -7.5415880e-003, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DBDA839C +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(8.3999997e-001, 5.9999999e-002, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_72F75C8F +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 7.0222743e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8318589e-001, + 4.9955750e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.9138300e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1BCEDEFE +{ + AttributeName = "Power"; + DefaultValueF4 = float4(6.3783784e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_9BDF00D0 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_545410FB", + }; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D48E47D3 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 5.7290055e-002, + 1.3172999e-001, + 7.1332288e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.1233578e+000, + 1.6552079e+000, + 1.1014417e+000, + -1.2139082e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6811266e+000, + -8.2865608e-001, + 2.4560774e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_2A0D3865 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(9.9999998e-003, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1D475C8C +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.6869873e-001, + 1.0000000e+000, + }; + FloatValues = + { + 5.7522357e-003, + 9.8893809e-001, + 4.8672259e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1051891e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_5A5354F6 +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.5135141e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_A3F9581D +{ + FieldName = "TextureID"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_2FF1CF89 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EFCF3FF6 +{ + SamplerName = "RotateRatioSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.0358833e-001, + 2.3914814e-002, + }; + FloatTangents = + { + 0.0000000e+000, + -1.7688432e+000, + 9.8717056e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D477D258 +{ + FieldName = "RadiusRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0EE2FB00 +{ + FieldName = "RotationRate"; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_9078374F +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(6.0270268e-001, 5.1351351e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_38F45F59 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F7D5490 +{ + FieldName = "RandomRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_95F6977D +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6CE61D84 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D4565CA7 +{ + FieldName = "Color2"; + FieldType = float4; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightStunningSummonArrow.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightStunningSummonArrow.pkfx new file mode 100644 index 0000000..6e6360c --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightStunningSummonArrow.pkfx @@ -0,0 +1,870 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Trail", + "$LOCAL$/Spark", + "$LOCAL$/Layer_1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_B1F5EDB1", + "$LOCAL$/CParticleAttributeDeclaration_0F3455C8", + "$LOCAL$/CParticleAttributeDeclaration_FEA2D0CA", + "$LOCAL$/CParticleAttributeDeclaration_84958DCF", + "$LOCAL$/CParticleAttributeDeclaration_C515E1D9", + "$LOCAL$/CParticleAttributeDeclaration_EF71D2B2", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(7.5000000e-001, 1.2000000e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D62E0EDF +{ + FieldName = "Energy"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F51E30B +{ + FieldName = "Energy"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_52633D9B +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5648EFA"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AAC07C45", + "$LOCAL$/CParticleFieldDeclaration_F8F7FDEC", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F", + "$LOCAL$/CParticleSamplerCurve_11D402CE", + "$LOCAL$/CParticleSamplerCurve_45CB442B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9"; + States = + { + "$LOCAL$/CParticleState_2A5FA220", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5648EFA +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AAC07C45 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F8F7FDEC +{ + FieldName = "ColorScale"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F +{ + SamplerName = "Turb"; + Wavelength = 2.5000000e-001; + Strength = 5.0000001e-002; + Gain = 1.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_11D402CE +{ + SamplerName = "Fade"; + Times = + { + 0.0000000e+000, + 4.9999997e-002, + 3.9999998e-001, + 5.9999996e-001, + 9.4999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9 +{ + Expression = "function void PostEval() +{ + Life = TrailLife; + Size = 0.05 * TrailSize; + Velocity = Turb.sample(Position) * TrailVelocityScaler; + Position += Velocity * 0.05; + ColorScale = 1; +} +"; +} +CParticleState $LOCAL$/CParticleState_2A5FA220 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7FEFDB63", + "$LOCAL$/CParticleEvolver_Field_A8A31C62", + "$LOCAL$/CParticleEvolver_Script_E5FB0E14", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7FEFDB63 +{ + CustomName = "Physics"; + Drag = 1.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_A8A31C62 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_26B9E1CD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_26B9E1CD +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.9999994e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 8.7402363e+000, + 4.4445987e+000, + 1.0468085e+001, + 9.9948126e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.4010613e-002, + -1.0760010e+000, + -7.6663963e-002, + -7.3198671e-003, + -5.7609558e-001, + -9.6840105e+000, + -6.8997574e-001, + -6.5878808e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_E5FB0E14 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_481CFC67"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_481CFC67 +{ + Expression = "function void Eval() +{ + Color = (RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),Power); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Trail +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_52633D9B"; + Infinite = true; + SpawnCount = 3.2000000e+001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B1F5EDB1 +{ + AttributeName = "TrailVelocityScaler"; + DefaultValueF4 = float4(3.5608298e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0F3455C8 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_45CB442B +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 2.8418908e+000, + 8.1062841e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8915182e-002, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FEA2D0CA +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_010DD88C +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6C01DC3F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2856806E", + "$LOCAL$/CParticleFieldDeclaration_119BD0C9", + "$LOCAL$/CParticleFieldDeclaration_FB47EAC0", + "$LOCAL$/CParticleFieldDeclaration_63838083", + "$LOCAL$/CParticleFieldDeclaration_7623C910", + "$LOCAL$/CParticleFieldDeclaration_DE6392D5", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802", + "$LOCAL$/CParticleSamplerCurve_2204493E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED"; + States = + { + "$LOCAL$/CParticleState_545764B4", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6C01DC3F +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2856806E +{ + FieldName = "Rotation"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_119BD0C9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB47EAC0 +{ + FieldName = "SizeFactor"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_63838083 +{ + FieldName = "ColorFactor"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802 +{ + SamplerName = "Turb"; + Strength = 7.0710677e-001; + Lacunarity = 1.6425119e-001; + Gain = 2.8502420e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED +{ + Expression = "function void PostEval() +{ + Life = remap(pow(rand(0,1), 4), 0, 1, 0.2, 1.5); + SizeFactor = rand(0.007, 0.01) * ParticleScale; + ColorFactor = remap(pow(rand(0,1),8), 0, 1, 0.5, 3); + + float vScale = pow(saturate(5), 0.5); + float3 rVel = vrand() * 5; + float3 tVel = Turb.sample(Position); + Velocity = (rVel + tVel) * 0.2;// * remap(noise(parent.LifeRatio * 20 + scene.Time), -1, 1, 0.03, 0.1); + Rotation = rand(-pi, pi); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.y),rand(0,RandomRGB.z)); +} +"; +} +CParticleState $LOCAL$/CParticleState_545764B4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_530EC787", + "$LOCAL$/CParticleEvolver_Field_574CA956", + "$LOCAL$/CParticleEvolver_Field_35E45A68", + "$LOCAL$/CParticleEvolver_Script_5405A86A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_530EC787 +{ + CustomName = "Physics"; + Mass = -1.0000000e+000; + Drag = 5.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_574CA956 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_E70F37D1"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E70F37D1 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.7447720e+000, + 4.5880709e+000, + 1.0473518e+001, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0970583e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_35E45A68 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56A3554B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56A3554B +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -3.4636030e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5405A86A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75 +{ + Expression = "function void Eval() +{ + Size *= SizeFactor * 2; + Color *= (RGB.xyz1 + RandomedRGB.xyz1) * GlowCurve.sample(LifeRatio) * pow(Power,1); + Force = Turb.sample(LifeRatio) * 5 * LifeRatio; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Spark +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_010DD88C"; + Infinite = true; + SpawnCount = 4.8000000e+001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_84958DCF +{ + AttributeName = "ParticleScale"; + DefaultValueF4 = float4(2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2204493E +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 9.8354541e-002, + 2.1165061e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.5340417e-001, + 2.4170661e-001, + -1.3308048e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.0102851e-002, + -6.2696373e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C515E1D9 +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(8.5000002e-001, 2.0000000e-001, 7.0999998e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7623C910 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DE6392D5 +{ + FieldName = "Force"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF71D2B2 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(4.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_85273F59 +{ + EditorInfosPosition = int2(-392, -44); + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_0439B490", + "$LOCAL$/CParticleFieldDeclaration_02A12693", + "$LOCAL$/CParticleFieldDeclaration_EEABAF52", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_E083777D"; + States = + { + "$LOCAL$/CParticleState_72047D84", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_0439B490 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_02A12693 +{ + FieldName = "Vrand"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_EEABAF52 +{ + FieldName = "BranchLength"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E083777D +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + BranchLength = rand(0.2,0.4); + Life = BranchLength; + Vrand=vrand(); +} +"; +} +CParticleState $LOCAL$/CParticleState_72047D84 +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_FFD26897", + "$LOCAL$/CParticleEvolver_Spawner_A458815B", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_FFD26897 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_896957A6", + "$LOCAL$/CParticleEvolver_Script_9A075C61", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_896957A6 +{ + EditorInfosPosition = int2(-590, 86); + CustomName = "Physics"; + IntegrationDtTreshold = 2.0000001e-003; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_9A075C61 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C5C61238"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C5C61238 +{ + Expression = "function void Eval() +{ + Color=(RGB*sin(LifeRatio*3)).xyz1*0.5; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_A458815B +{ + CustomName = "Spawner"; + SpawnInterval = 4.0000001e-001; + FirstSpawnDelay = 0.0000000e+000; + Descriptor = "$LOCAL$/CParticleDescriptor_68DD3DBA"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_68DD3DBA +{ + Renderer = "$LOCAL$/CParticleRenderer_List_21FB7205"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2DCAD4DF", + "$LOCAL$/CParticleFieldDeclaration_5900958E", + "$LOCAL$/CParticleFieldDeclaration_6E76FC69", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_1586AEE0", + "$LOCAL$/CParticleSamplerDoubleCurve_4D298723", + "$LOCAL$/CParticleSamplerProceduralTurbulence_35045322", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5543FF8D"; + States = + { + "$LOCAL$/CParticleState_96DC9ED4", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_21FB7205 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_4D6F46AC", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_4D6F46AC +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/FX/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; + SoftnessDistance = 2.5000000e-001; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2DCAD4DF +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5900958E +{ + FieldName = "ParentVelocity"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6E76FC69 +{ + FieldName = "TextureID"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1586AEE0 +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 1.9577943e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8620117e-001, + -1.2389421e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerDoubleCurve $LOCAL$/CParticleSamplerDoubleCurve_4D298723 +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 1.0049713e-001, + 1.6187957e-001, + 2.7263108e-001, + 4.9624464e-001, + 6.5048277e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.9479560e-001, + 9.4297880e-001, + 3.3005321e+000, + 1.0359550e+000, + 2.5645046e+000, + 1.7412803e+000, + 1.1462400e+000, + 9.9858201e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 5.2994978e-001, + 5.2994978e-001, + 7.0677501e-001, + 2.4016132e+000, + -1.3543299e+000, + -1.3140889e+000, + 1.8012676e+000, + 3.2500029e+000, + 1.6040356e+000, + 3.2386386e+000, + -7.3150241e-001, + -5.0455630e-001, + -3.2555088e-001, + -7.3772722e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + Times1 = + { + 0.0000000e+000, + 1.8617511e-002, + 3.7235029e-002, + 5.7597589e-002, + 1.0930161e-001, + 2.6808780e-001, + 5.0780308e-001, + 7.5035948e-001, + 1.0000000e+000, + }; + FloatValues1 = + { + 0.0000000e+000, + 3.2795650e-001, + 1.0501560e+000, + 2.1253221e+000, + 4.6880264e+000, + 4.8741561e-001, + 1.2509789e+000, + 9.0204418e-001, + 1.0271250e+000, + }; + FloatTangents1 = + { + 0.0000000e+000, + 0.0000000e+000, + 5.8984131e-001, + 5.8984131e-001, + 7.8848600e-001, + 8.6239153e-001, + 1.0754330e+000, + 2.7307096e+000, + 7.6852888e-002, + 2.3601985e-001, + -1.0572574e+000, + -1.5961140e+000, + 6.7877718e-003, + 6.8682232e-003, + -3.0582249e-001, + -3.1475419e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_35045322 +{ + SamplerName = "GlowTurb"; + Wavelength = 2.0000000e-001; + Strength = 2.1213202e-001; + Lacunarity = 4.3478259e-001; + Gain = 7.3429948e-001; + TimeScale = 6.0000000e+000; + FlowFactor = -3.7681162e-001; + DivergenceFactor = -7.0531404e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5543FF8D +{ + Expression = "function void Eval() +{ + Life = (parent.BranchLength-spawner.LifeRatio*parent.BranchLength) * 1.5; + Size = 0.15; + Velocity=parent.Vrand*1+vrand()*8; + ParentVelocity = Velocity; + TextureID = rand(0,16); +} +"; +} +CParticleState $LOCAL$/CParticleState_96DC9ED4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_CCA17C27", + "$LOCAL$/CParticleEvolver_Script_DE652A76", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_CCA17C27 +{ + CustomName = "Physics"; + Drag = 6.0000000e+001; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_DE652A76 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_86833F71"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_86833F71 +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x, RGB.y, RGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power * 0.6); + Color = Color * GlowTurb.sample(LifeRatio).x; + Position += float3(ParentVelocity * 0.02 * dt); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_85273F59"; + Infinite = true; + DurationInSeconds = 2.0000000e+000; + SpawnCount = 8.0000000e+000; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightSummonArrow.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightSummonArrow.pkfx new file mode 100644 index 0000000..5e6005d --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightSummonArrow.pkfx @@ -0,0 +1,550 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Trail", + "$LOCAL$/Spark", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_40FB3B62", + "$LOCAL$/CParticleAttributeDeclaration_B1F5EDB1", + "$LOCAL$/CParticleAttributeDeclaration_0F3455C8", + "$LOCAL$/CParticleAttributeDeclaration_FEA2D0CA", + "$LOCAL$/CParticleAttributeDeclaration_84958DCF", + "$LOCAL$/CParticleAttributeDeclaration_C515E1D9", + "$LOCAL$/CParticleAttributeDeclaration_EF71D2B2", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_40FB3B62 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(7.5000000e-001, 1.2000000e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6D31A1F2 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_15A23984 +{ + Expression = "function void Eval() +{ + +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D62E0EDF +{ + FieldName = "Energy"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4F51E30B +{ + FieldName = "Energy"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_52633D9B +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_E5648EFA"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_AAC07C45", + "$LOCAL$/CParticleFieldDeclaration_F8F7FDEC", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F", + "$LOCAL$/CParticleSamplerCurve_11D402CE", + "$LOCAL$/CParticleSamplerCurve_45CB442B", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9"; + States = + { + "$LOCAL$/CParticleState_2A5FA220", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_E5648EFA +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_AAC07C45 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_F8F7FDEC +{ + FieldName = "ColorScale"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_555A3D1F +{ + SamplerName = "Turb"; + Wavelength = 2.5000000e-001; + Strength = 5.0000001e-002; + Gain = 1.0000000e+000; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_11D402CE +{ + SamplerName = "Fade"; + Times = + { + 0.0000000e+000, + 4.9999997e-002, + 3.9999998e-001, + 5.9999996e-001, + 9.4999999e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F12C52A9 +{ + Expression = "function void PostEval() +{ + Life = TrailLife; + Size = 0.05 * TrailSize; + Velocity = Turb.sample(Position) * TrailVelocityScaler; + Position += Velocity * 0.05; + ColorScale = 1; +} +"; +} +CParticleState $LOCAL$/CParticleState_2A5FA220 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_7FEFDB63", + "$LOCAL$/CParticleEvolver_Field_A8A31C62", + "$LOCAL$/CParticleEvolver_Script_E5FB0E14", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_7FEFDB63 +{ + CustomName = "Physics"; + Drag = 1.0000000e+000; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_A8A31C62 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_26B9E1CD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_26B9E1CD +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.9999994e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + 8.7402363e+000, + 4.4445987e+000, + 1.0468085e+001, + 9.9948126e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.4010613e-002, + -1.0760010e+000, + -7.6663963e-002, + -7.3198671e-003, + -5.7609558e-001, + -9.6840105e+000, + -6.8997574e-001, + -6.5878808e-002, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_E5FB0E14 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_481CFC67"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_481CFC67 +{ + Expression = "function void Eval() +{ + Color = (RGB).xyz1*sin(LifeRatio)*pow(GlowCurve.sample(LifeRatio),Power); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Trail +{ + Descriptor = "$LOCAL$/CParticleDescriptor_52633D9B"; + Infinite = true; + SpawnCount = 6.4000000e+001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_B1F5EDB1 +{ + AttributeName = "TrailVelocityScaler"; + DefaultValueF4 = float4(3.5608298e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_0F3455C8 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_45CB442B +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 2.8418908e+000, + 8.1062841e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8915182e-002, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_FEA2D0CA +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_010DD88C +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6C01DC3F"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_2856806E", + "$LOCAL$/CParticleFieldDeclaration_119BD0C9", + "$LOCAL$/CParticleFieldDeclaration_FB47EAC0", + "$LOCAL$/CParticleFieldDeclaration_63838083", + "$LOCAL$/CParticleFieldDeclaration_7623C910", + "$LOCAL$/CParticleFieldDeclaration_DE6392D5", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802", + "$LOCAL$/CParticleSamplerCurve_2204493E", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED"; + States = + { + "$LOCAL$/CParticleState_545764B4", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6C01DC3F +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend; + Diffuse = "Textures/FX/BB_Glow_02_64.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_2856806E +{ + FieldName = "Rotation"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_119BD0C9 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_FB47EAC0 +{ + FieldName = "SizeFactor"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_63838083 +{ + FieldName = "ColorFactor"; +} +CParticleSamplerProceduralTurbulence $LOCAL$/CParticleSamplerProceduralTurbulence_26DF1802 +{ + SamplerName = "Turb"; + Strength = 7.0710677e-001; + Lacunarity = 1.6425119e-001; + Gain = 2.8502420e-001; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_EA81B5ED +{ + Expression = "function void PostEval() +{ + Life = remap(pow(rand(0,1), 4), 0, 1, 0.2, 1.5); + SizeFactor = rand(0.007, 0.01) * ParticleScale; + ColorFactor = remap(pow(rand(0,1),8), 0, 1, 0.5, 3); + + float vScale = pow(saturate(5), 0.5); + float3 rVel = vrand() * 5; + float3 tVel = Turb.sample(Position); + Velocity = (rVel + tVel) * 0.2;// * remap(noise(parent.LifeRatio * 20 + scene.Time), -1, 1, 0.03, 0.1); + Rotation = rand(-pi, pi); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.y),rand(0,RandomRGB.z)); +} +"; +} +CParticleState $LOCAL$/CParticleState_545764B4 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_530EC787", + "$LOCAL$/CParticleEvolver_Field_574CA956", + "$LOCAL$/CParticleEvolver_Field_35E45A68", + "$LOCAL$/CParticleEvolver_Script_5405A86A", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_530EC787 +{ + CustomName = "Physics"; + Mass = -1.0000000e+000; + Drag = 5.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_574CA956 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_E70F37D1"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_E70F37D1 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.7447720e+000, + 4.5880709e+000, + 1.0473518e+001, + 1.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.0970583e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_35E45A68 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_56A3554B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_56A3554B +{ + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + -3.4636030e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_5405A86A +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C9B1DA75 +{ + Expression = "function void Eval() +{ + Size *= SizeFactor * 2; + Color *= (RGB.xyz1 + RandomedRGB.xyz1) * GlowCurve.sample(LifeRatio) * pow(Power,1); + Force = Turb.sample(LifeRatio) * 5 * LifeRatio; +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Spark +{ + Descriptor = "$LOCAL$/CParticleDescriptor_010DD88C"; + Infinite = true; + SpawnCount = 4.8000000e+001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_84958DCF +{ + AttributeName = "ParticleScale"; + DefaultValueF4 = float4(2.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(5.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_2204493E +{ + SamplerName = "GlowCurve"; + Times = + { + 0.0000000e+000, + 9.8354541e-002, + 2.1165061e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.5340417e-001, + 2.4170661e-001, + -1.3308048e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -9.0102851e-002, + -6.2696373e-001, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_C515E1D9 +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(8.5000002e-001, 2.0000000e-001, 7.0999998e-001, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7623C910 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_DE6392D5 +{ + FieldName = "Force"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_EF71D2B2 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(4.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightSummonTrap.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightSummonTrap.pkfx new file mode 100644 index 0000000..bf81fb7 --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightSummonTrap.pkfx @@ -0,0 +1,2001 @@ +Version = 1.9.4.30080; +CParticleEffect $LOCAL$/Resource +{ + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(329, 64); + ChildList = + { + "$LOCAL$/PreFlash", + "$LOCAL$/Flash", + "$LOCAL$/Distortion", + "$LOCAL$/PreCircle", + "$LOCAL$/Orbit", + "$LOCAL$/Lightning", + "$LOCAL$/Layer_1", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B30B2123 +{ +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_02243087", + "$LOCAL$/CParticleAttributeDeclaration_1DF47118", + "$LOCAL$/CParticleAttributeDeclaration_88BB8542", + "$LOCAL$/CParticleAttributeDeclaration_56740C2D", + "$LOCAL$/CParticleAttributeDeclaration_3E13D103", + "$LOCAL$/CParticleAttributeDeclaration_E8157282", + "$LOCAL$/CParticleAttributeDeclaration_26F1E26D", + "$LOCAL$/CParticleAttributeDeclaration_56BCCB34", + "$LOCAL$/CParticleAttributeDeclaration_DD94F007", + "$LOCAL$/CParticleAttributeDeclaration_E241BBD6", + "$LOCAL$/CParticleAttributeDeclaration_14487C51", + }; + SamplerList = + { + "$LOCAL$/CParticleSamplerCurve_C7BD0385", + }; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_02243087 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(5.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_1DF47118 +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(8.3468831e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + MaxValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_C7BD0385 +{ + SamplerName = "GlobalSizeCurve"; + Times = + { + 0.0000000e+000, + 4.1777310e-001, + 5.0437367e-001, + 6.4856136e-001, + 7.3379391e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.1830900e+001, + 2.2786690e+001, + 2.7557028e+002, + 1.7187576e+002, + 4.5565090e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 1.4870480e+001, + 3.0825162e+000, + 6.5286195e-001, + 1.0869976e+000, + -1.3543121e+002, + -8.0056412e+001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_821F762C +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_949EFA5F +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_882CE90E +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B9A815E9 +{ + FieldName = "BaseSize"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_88BB8542 +{ + AttributeName = "Throttle"; + DefaultValueF4 = float4(8.0000001e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_56740C2D +{ + AttributeName = "ShakeAmplitude"; + DefaultValueF4 = float4(2.0000000e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_EF247296 +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.3849864e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.5888062e+000, + 7.7745247e+001, + 7.3503357e+001, + 6.4612997e-001, + 2.0553560e+000, + 3.8516720e+001, + 3.5025604e+001, + 6.2580526e-001, + 1.3330803e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386294e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6951137e+000, + -1.3702939e-004, + -1.1671032e+000, + -2.7337904e+000, + -1.7046227e+000, + -6.1781224e-002, + -1.0002245e+000, + -2.3428993e+000, + -1.4608870e+000, + -5.2947421e-002, + -4.2274657e-001, + -1.0370370e+000, + -3.2198474e+000, + 1.2638654e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_24B21A11 +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_EF247296"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/PreFlash +{ + EditorInfosIsBlockMinimized = 0; + Descriptor = "$LOCAL$/CParticleDescriptor_1E33C9A8"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_1E33C9A8 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_5987DD12"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_B3140DAA", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B"; + States = + { + "$LOCAL$/CParticleState_7B7ECB1C", + }; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DAA3D58B +{ + Expression = "function void Eval() +{ + Life = 0.3; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B3140DAA +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_194188B5 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleState $LOCAL$/CParticleState_7B7ECB1C +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_9F457A0F", + "$LOCAL$/Field_1", + "$LOCAL$/Field_2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_9F457A0F +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/Field_1 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F8808A7E"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F8808A7E +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 6.8103373e-002, + 6.4559206e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 7.0279986e-002, + 7.0279986e-002, + 7.0279986e-002, + 7.0279986e-002, + -8.8098228e-001, + 2.9681283e-001, + -1.2033677e+000, + -1.2630554e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_337A9C19"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_337A9C19 +{ + Times = + { + 0.0000000e+000, + 5.7104397e-001, + 1.0000000e+000, + }; + FloatValues = + { + 7.2441397e+000, + 6.0743637e+000, + 8.9722443e-001, + }; + FloatTangents = + { + 0.0000000e+000, + -1.8714930e-001, + -2.6844974e+000, + -2.0165372e+000, + -1.8352952e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_5987DD12 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_194188B5", + }; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_EB06C381 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_1E17F7D8"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_3CDA2A4C", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF"; + States = + { + "$LOCAL$/CParticleState_1322942E", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_1E17F7D8 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_8197877B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_8197877B +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_02.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3CDA2A4C +{ + FieldName = "Color"; + FieldType = float4; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5977B0FF +{ + Expression = "function void Eval() +{ + Life = 0.7; + Size = 5; + //Velocity = scene.axisUp(); + Color = float4(1.0); +} +"; +} +CParticleState $LOCAL$/CParticleState_1322942E +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_B04B8F89", + "$LOCAL$/CParticleEvolver_Field_537F3080", + "$LOCAL$/CParticleEvolver_Field_E5657FC2", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_B04B8F89 +{ + CustomName = "Physics"; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_537F3080 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_83855943"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_83855943 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 9.6075699e-002, + 1.9139221e-001, + 1.0000000e+000, + }; + FloatValues = + { + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + -8.2168579e-003, + 9.5743046e+000, + 3.2854285e+000, + 1.1800446e+001, + 3.2669086e+000, + 3.2821879e-001, + 1.6901097e-001, + 4.1505969e-001, + 3.8750019e-002, + 2.2710308e-002, + 1.8060550e-002, + 6.4559206e-002, + 6.4559206e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 6.7521986e-003, + 6.7521986e-003, + 6.7521986e-003, + 6.7521986e-003, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 3.9767019e-002, + -1.5774697e-001, + 0.0000000e+000, + 0.0000000e+000, + 3.3735940e-001, + -1.3382303e+000, + 0.0000000e+000, + 0.0000000e+000, + 1.0961772e+000, + 4.2257231e-001, + -1.5277436e+000, + -1.0213161e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_E5657FC2 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_F39058AD"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_F39058AD +{ + Times = + { + 0.0000000e+000, + 5.7712775e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.3825042e-001, + 2.8690326e+000, + 3.1924534e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.8815391e+000, + 1.0050454e+000, + 7.3641545e-001, + -9.5801562e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Flash +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_EB06C381"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_3A4409B3 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_6468C0F2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_60B7199D", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_5231BA24", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_34D411B7"; + States = + { + "$LOCAL$/CParticleState_12E9A746", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_6468C0F2 +{ + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Distortion; + Diffuse = "Textures/FX/DistortionCircle_01.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_60B7199D +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_5231BA24 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_34D411B7 +{ + Expression = "function void Eval() +{ + Life = 1.5; + Size = (2.1) * SizeSampler.sample(spawner.LifeRatio); + Color=1; +} +"; +} +CParticleState $LOCAL$/CParticleState_12E9A746 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_31801481", + "$LOCAL$/CParticleEvolver_Field_0BE16B5A", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_31801481 +{ + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Field_5B731CD8", + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_5B731CD8 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_6FCF107B"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_6FCF107B +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.7777803e-001, + 1.0000000e+000, + }; + FloatValues = + { + 2.0012751e+000, + 2.0012751e+000, + 2.0012751e+000, + 2.0012751e+000, + 4.1418731e-001, + 4.1418731e-001, + 4.1418731e-001, + 4.1418731e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -3.1068056e+000, + -3.1068056e+000, + -3.1068056e+000, + -3.1068056e+000, + -4.4720274e-001, + -4.4720274e-001, + -4.4720274e-001, + -4.4720274e-001, + -1.1627251e+000, + -1.1627251e+000, + -1.1627251e+000, + -1.1627251e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_0BE16B5A +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_93366025"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_93366025 +{ + Times = + { + 0.0000000e+000, + 4.3301004e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0993826e+000, + 3.6439538e+000, + 4.2124267e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 9.8975307e-001, + 7.7495468e-001, + 1.0147374e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CActionFactoryParticleSpawnerBase $LOCAL$/Distortion +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_3A4409B3"; + DurationInSeconds = 1.0000000e+000; +} +CActionFactoryParticleSpawnerBase $LOCAL$/PreCircle +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_16031836"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.0000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_16031836 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_12DC8882"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_EC2E82AB", + "$LOCAL$/CParticleFieldDeclaration_7A7B153B", + "$LOCAL$/CParticleFieldDeclaration_39C5750C", + "$LOCAL$/CParticleFieldDeclaration_D51BB06D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_D38FB14A"; + States = + { + "$LOCAL$/CParticleState_8EEE24D5", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_EC2E82AB +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_7A7B153B +{ + FieldName = "Size"; + FieldType = float2; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_39C5750C +{ + FieldName = "Axis1"; + FieldType = float3; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_D38FB14A +{ + Expression = "function void Eval() +{ + Life = 0.5; + Size = 1; + //Velocity = scene.axisUp(); + Color = float4(1.0); + Position = float3(0,0.05 + + ,0); + Axis1=float3(0,0,1); + Axis2=float3(0,1,0); +} +"; +} +CParticleState $LOCAL$/CParticleState_8EEE24D5 +{ + StateName = "Evolvers"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_03BB89BC", + "$LOCAL$/Script_1", + "$LOCAL$/Field_3", + "$LOCAL$/Field_4", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_03BB89BC +{ + CustomName = "Physics"; + VelocityField = ""; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_238B72BF"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_238B72BF +{ + Expression = "function void Eval() +{ +} +"; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_12DC8882 +{ + CustomName = "Billboard"; + Diffuse = "Textures/FX/Glow_03.dds"; + BillboardMode = PlanarAlignedQuad; + AxisField = "Axis1"; + Axis2Field = "Axis2"; + AxisScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D51BB06D +{ + FieldName = "Axis2"; + FieldType = float3; +} +CParticleEvolver_Field $LOCAL$/Field_3 +{ + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_9E23B134"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9E23B134 +{ + ValueType = Float2; + Times = + { + 0.0000000e+000, + 1.3091832e-001, + 7.3046273e-001, + 1.0000000e+000, + }; + FloatValues = + { + 1.0225151e+000, + 1.0225151e+000, + 2.5877144e+000, + 2.5877144e+000, + 1.8079553e+000, + 1.8079553e+000, + 1.0036095e+000, + 1.0036095e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -5.2956653e-001, + -5.2956653e-001, + -2.4251657e+000, + -2.4251657e+000, + -1.1853865e+000, + -1.1853865e+000, + -5.3291440e-001, + -5.3291440e-001, + -1.7510853e+000, + -1.7510853e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleEvolver_Field $LOCAL$/Field_4 +{ + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_21F2CE07"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_21F2CE07 +{ + ValueType = Float4; + Times = + { + 0.0000000e+000, + 2.0417809e-001, + 7.2676992e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.8859072e-003, + 9.8859072e-003, + 9.8859072e-003, + 9.8859072e-003, + 1.9197690e+000, + 5.9871072e-001, + 1.9656750e+000, + 3.7042019e-001, + 1.5589830e+000, + 6.4459038e-001, + 2.5541320e+000, + 4.1795641e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 5.4456162e-001, + 5.4456162e-001, + 5.4456162e-001, + 5.4456162e-001, + 1.3819830e-001, + 0.0000000e+000, + 1.3819830e-001, + 1.3819830e-001, + 3.5371721e-001, + 0.0000000e+000, + 3.5371721e-001, + 3.5371721e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -8.8995647e-001, + -8.8995647e-001, + -8.8995647e-001, + -8.8995647e-001, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_C3012729 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_8E32D0A0", + "$LOCAL$/CParticleFieldDeclaration_56136BE3", + "$LOCAL$/CParticleFieldDeclaration_B74DB6E2", + "$LOCAL$/CParticleFieldDeclaration_87934E4D", + "$LOCAL$/CParticleFieldDeclaration_8462B494", + "$LOCAL$/CParticleFieldDeclaration_01B264E7", + "$LOCAL$/CParticleFieldDeclaration_909FE236", + "$LOCAL$/CParticleFieldDeclaration_08347231", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_A5DAF448", + "$LOCAL$/CParticleSamplerCurve_05595B4A", + "$LOCAL$/CParticleSamplerCurve_FC4416D5", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F9EF63BC"; + States = + { + "$LOCAL$/CParticleState_8FDFAF2F", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8E32D0A0 +{ + FieldName = "Radius"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_56136BE3 +{ + FieldName = "OrbitalCenter"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B74DB6E2 +{ + FieldName = "BasePosition"; + FieldType = float3; + TransformFilter = full; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_87934E4D +{ + FieldName = "RotationAxis"; + FieldType = float3; + TransformFilter = rotate; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8462B494 +{ + FieldName = "Orbital"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_01B264E7 +{ + FieldName = "RadiusRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_909FE236 +{ + FieldName = "RotationRate"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_08347231 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_A5DAF448 +{ + SamplerName = "Sphere"; + Shape = "$LOCAL$/CShapeDescriptor_C48F04AB"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_C48F04AB +{ + ShapeType = SPHERE; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_05595B4A +{ + SamplerName = "SizeRatioSampler"; + Times = + { + 0.0000000e+000, + 4.5172039e-002, + 7.9667412e-002, + 2.3473868e-001, + 1.0000000e+000, + }; + FloatValues = + { + 9.7151250e-003, + 8.4995359e-002, + 4.5984969e-001, + 7.9461977e-002, + 4.8672408e-003, + }; + FloatTangents = + { + 0.0000000e+000, + -1.1017920e-002, + 8.4486477e-002, + 6.4517602e-002, + 0.0000000e+000, + 0.0000000e+000, + -4.9369391e-002, + -2.4363287e-001, + -7.5415880e-003, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_FC4416D5 +{ + SamplerName = "RotateRatioSampler"; + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 8.0358833e-001, + 2.3914814e-002, + }; + FloatTangents = + { + 0.0000000e+000, + -1.7688432e+000, + 9.8717056e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F9EF63BC +{ + Expression = "function void Eval() +{ + Life = rand(0.5, 1.5); + + Radius = 0; + OrbitalCenter = 0; + RotationAxis = vrand(); + BasePosition = Sphere.samplePosition(); + Position = BasePosition * Radius; + RadiusRate = rand(0.5, 1.5); + RotationRate = rand(0.5, 1.5); + RandomedRGB = float3(rand(0,RandomRGB.x),rand(0,RandomRGB.g),rand(0,RandomRGB.b)); +} +"; +} +CParticleState $LOCAL$/CParticleState_8FDFAF2F +{ + EditorInfosIsBlockMinimized = 0; + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_BDFE561E", + "$LOCAL$/CParticleEvolver_Spawner_B19996F0", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_BDFE561E +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_DBC08039"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_DBC08039 +{ + Expression = "function void Eval() +{ + Radius += (AdditionalRadiusSpeed * RadiusRate) * (dt * SizeRatioSampler.sample(LifeRatio)); + Orbital += (OrbitalSpeed * RotationRate) * (dt * RotateRatioSampler.sample(LifeRatio)); + float3 v = BasePosition - OrbitalCenter; + Position = rotate(v, RotationAxis, Orbital) * Radius + OrbitalCenter; +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_B19996F0 +{ + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 2.0000000e-002; + Descriptor = "$LOCAL$/CParticleDescriptor_08938873"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_08938873 +{ + Renderer = "$LOCAL$/CParticleRenderer_List_90DAC6B2"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_402CE1E4", + "$LOCAL$/CParticleFieldDeclaration_74167477", + "$LOCAL$/CParticleFieldDeclaration_CC166106", + "$LOCAL$/CParticleFieldDeclaration_062A7141", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_D3CA5898", + "$LOCAL$/CParticleSamplerCurve_9FD5173B", + "$LOCAL$/CParticleSamplerCurve_B188991A", + "$LOCAL$/CParticleSamplerCurve_1BF240E5", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_C194CF0C"; + States = + { + "$LOCAL$/CParticleState_E780D4BF", + }; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_90DAC6B2 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Ribbon_382AB25D", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_382AB25D +{ + CustomName = "Ribbon"; + Quality = CorrectDeformation; + Diffuse = "Textures/FX/TrailWater_01.dds"; + AtlasDefinition = "Textures/FX/AtlasC4.pkat"; + TextureUField = "LifeRatio"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_402CE1E4 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_74167477 +{ + FieldName = "Color2"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC166106 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_062A7141 +{ + FieldName = "RandomedRGB"; + FieldType = float3; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_D3CA5898 +{ + SamplerName = "IntensityFromParent"; + Times = + { + 0.0000000e+000, + 1.2138355e-001, + 8.4999996e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.2072124e+000, + 1.0000000e+000, + 0.0000000e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_9FD5173B +{ + SamplerName = "Alpha"; + Times = + { + 0.0000000e+000, + 7.0222743e-002, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 9.8318589e-001, + 4.9955750e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -6.9138300e-001, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_B188991A +{ + SamplerName = "Glow"; + Times = + { + 0.0000000e+000, + 5.7290055e-002, + 1.3172999e-001, + 7.1332288e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 2.1233578e+000, + 1.6552079e+000, + 1.1014417e+000, + -1.2139082e-002, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6811266e+000, + -8.2865608e-001, + 2.4560774e-002, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_1BF240E5 +{ + SamplerName = "SizeSampler"; + Times = + { + 0.0000000e+000, + 1.6869873e-001, + 1.0000000e+000, + }; + FloatValues = + { + 5.7522357e-003, + 9.8893809e-001, + 4.8672259e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.1051891e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_C194CF0C +{ + Expression = "function void Eval() +{ + Life = TrailLife; + RandomedRGB = parent.RandomedRGB; + //TextureID = rand(0,4) + //Brightness = IntensityFromParent.sample(spawner.LifeRatio); +} +"; +} +CParticleState $LOCAL$/CParticleState_E780D4BF +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Script_184CA2EE", + }; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_184CA2EE +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_E8636549"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_E8636549 +{ + Expression = "function void Eval() +{ + Color = float4(RGB.x + RandomedRGB.x, RGB.y + RandomedRGB.y, RGB.z + RandomedRGB.z, Alpha.sample(LifeRatio)) * pow(Glow.sample(LifeRatio),Power); + Color2 = float4(0.1); + Size = TrailSize * SizeSampler.sample(LifeRatio); +} +"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Orbit +{ + EditorInfosIsBlockMinimized = 0; + Delay = 1.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_C3012729"; + DurationInSeconds = 1.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 6.4000000e+001; + FirstSpawnDelay = 5.0000000e-001; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_3E13D103 +{ + AttributeName = "AdditionalRadiusSpeed"; + DefaultValueF4 = float4(2.0000000e+001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E8157282 +{ + AttributeName = "OrbitalSpeed"; + DefaultValueF4 = float4(5.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(3.0000000e+002, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_26F1E26D +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(8.3999997e-001, 5.9999999e-002, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_56BCCB34 +{ + AttributeName = "Power"; + DefaultValueF4 = float4(6.3783779e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_DD94F007 +{ + AttributeName = "TrailSize"; + DefaultValueF4 = float4(2.0000000e-002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(2.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E241BBD6 +{ + AttributeName = "TrailLife"; + DefaultValueF4 = float4(1.5135141e-001, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_14487C51 +{ + AttributeName = "RandomRGB"; + AttributeType = float3; + DefaultValueF4 = float4(6.0270268e-001, 5.1351351e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_D0BFB7F8 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_131C3A1B", + "$LOCAL$/CParticleFieldDeclaration_BA5B057A", + "$LOCAL$/CParticleFieldDeclaration_13A4F4C5", + "$LOCAL$/CParticleFieldDeclaration_8781A06C", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerShape_9C7B519F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_4E6A2329"; + States = + { + "$LOCAL$/CParticleState_A5117CA0", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_131C3A1B +{ + FieldName = "Timeb"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_BA5B057A +{ + FieldName = "SizeCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_13A4F4C5 +{ + FieldName = "FluxScale"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_8781A06C +{ + FieldName = "NextBranchTime"; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_9C7B519F +{ + SamplerName = "DropSampler"; + Shape = "$LOCAL$/CShapeDescriptor_72C8714E"; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_72C8714E +{ + ShapeType = SPHERE; + Radius = 2.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_4E6A2329 +{ + Expression = "function void Eval() +{ + Life = 0.1; + Velocity = 0.1*float3(rand(-100,100),rand(-100,100),rand(-100,100)); + SizeCoeff = Scale*0.5; + FluxScale = pow(Flux,0.5)*2*Scale; + NextBranchTime = SizeCoeff * (0.5 + 0.25 * pow(rand(0, 1), 2)); + Position = DropSampler.samplePosition(); +} +"; +} +CParticleState $LOCAL$/CParticleState_A5117CA0 +{ + StateName = "State_0"; + MicroUpdatesMinFPS = 0.0000000e+000; + MaxMicroUpdatesPerFrame = 0; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_6DC187E3", + "$LOCAL$/CParticleEvolver_Spawner_053FC0E7", + "$LOCAL$/CParticleEvolver_Spawner_5F28CFBC", + "$LOCAL$/CParticleEvolver_Spawner_D2F8651A", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_6DC187E3 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Localspace"; + ChildList = + { + "$LOCAL$/CParticleEvolver_Physics_1F4802E2", + "$LOCAL$/CParticleEvolver_Script_92B58A4D", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_1F4802E2 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_92B58A4D +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_0CD3A094"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_0CD3A094 +{ + Expression = "function void Eval() +{ + Timeb += dt; + int shouldSpawnBranch = Timeb > 0.01; + float n = 60 * SizeCoeff; + Velocity = select(Velocity,float3(SizeCoeff*rand(-1,1)*100,rand(-n,n),SizeCoeff*rand(-1,1)*100),shouldSpawnBranch); + Timeb = select(Timeb,0,shouldSpawnBranch); + NextBranchTime = select(NextBranchTime, SizeCoeff * (0.05 + 0.25 * pow(rand(0, 1), 2)), shouldSpawnBranch); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_053FC0E7 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 3.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_964A6E36"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_964A6E36 +{ + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_6EABEE31", + }; + CustomEvents = + { + "$LOCAL$/CParticleEventDeclaration_95AA2048", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_B7B7A0AB"; + States = + { + "$LOCAL$/CParticleState_D920274A", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_6EABEE31 +{ + FieldName = "Color"; + FieldType = float3; +} +CParticleEventDeclaration $LOCAL$/CParticleEventDeclaration_95AA2048 +{ + EventName = "OnDeath"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_B7B7A0AB +{ + Expression = "function void Eval() +{ + Life = 0.01; + Color = RGB; +} +"; +} +CParticleState $LOCAL$/CParticleState_D920274A +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_40ECD2D5", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_40ECD2D5 +{ + CustomName = "Physics"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_5F28CFBC +{ + CustomName = "Spawner"; + SpawnInterval = 5.0000000e-001; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "FluxScale"; + Descriptor = "$LOCAL$/CParticleDescriptor_539F8B2F"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_539F8B2F +{ + EditorInfosIsBlockMinimized = 0; + Renderer = "$LOCAL$/CParticleRenderer_Ribbon_168D621E"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_64B67C39", + "$LOCAL$/CParticleFieldDeclaration_9E8942F0", + "$LOCAL$/CParticleFieldDeclaration_B726A473", + "$LOCAL$/CParticleFieldDeclaration_371E12B2", + }; + Samplers = + { + "$LOCAL$/CParticleSamplerCurve_CAC9EE5D", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_F75ECDE4"; + States = + { + "$LOCAL$/CParticleState_FCF8D077", + }; +} +CParticleRenderer_Ribbon $LOCAL$/CParticleRenderer_Ribbon_168D621E +{ + CustomName = "Ribbon"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Lightning_05.dds"; + AtlasDefinition = "Textures/Fx/AtlasX4.pkat"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_64B67C39 +{ + FieldName = "Color"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_9E8942F0 +{ + FieldName = "TextureID"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_B726A473 +{ + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_371E12B2 +{ + FieldName = "CC"; + FieldType = float3; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_CAC9EE5D +{ + SamplerName = "GlowSampler"; + Times = + { + 0.0000000e+000, + 7.5512230e-002, + 1.6900167e-001, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4312178e+000, + 3.8749021e-001, + 1.5209466e-003, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; + MinLimits = float4(0.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_F75ECDE4 +{ + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.4 * Scale; + ColorCoeff = 100 * pow(1 - spawner.LifeRatio, 2); + TextureID = rand(0,16); + CC = RGB * 10; +} +"; +} +CParticleState $LOCAL$/CParticleState_FCF8D077 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_6739ED06", + "$LOCAL$/CParticleEvolver_Physics_830EED41", + "$LOCAL$/CParticleEvolver_Script_340A8498", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_6739ED06 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_830EED41 +{ + CustomName = "Physics"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_340A8498 +{ + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_A3C2B33B"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_A3C2B33B +{ + Expression = "function void Eval() +{ + Color=CC * ColorCoeff * pow(GlowSampler.sample(LifeRatio), 2); +} +"; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_D2F8651A +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Spawner"; + SpawnInterval = 1.0000000e+000; + FirstSpawnDelay = 0.0000000e+000; + CustomSpawnIntervalScaleField = "SizeCoeff"; + Descriptor = "$LOCAL$/CParticleDescriptor_7AF7FCE5"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7AF7FCE5 +{ + Renderer = "$LOCAL$/CParticleRenderer_Billboard_F1EF3B0C"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_D475B0BF", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_87B4AEEE"; + States = + { + "$LOCAL$/CParticleState_74A66149", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_F1EF3B0C +{ + CustomName = "Billboard"; + BillboardingMaterial = Additive_NoAlpha; + Diffuse = "Textures/Fx/Glow_12.dds"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_D475B0BF +{ + FieldName = "Color"; + FieldType = float3; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_87B4AEEE +{ + Expression = "function void Eval() +{ + Life = 0.1; + Size = 2 * Scale; + Color = RGB * 0.04 * pow(1 - spawner.LifeRatio, 2); +} +"; +} +CParticleState $LOCAL$/CParticleState_74A66149 +{ + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Localspace_95658540", + "$LOCAL$/CParticleEvolver_Physics_AB4BED03", + }; +} +CParticleEvolver_Localspace $LOCAL$/CParticleEvolver_Localspace_95658540 +{ + CustomName = "Localspace"; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_AB4BED03 +{ + CustomName = "Physics"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Lightning +{ + Delay = 3.0000001e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_D0BFB7F8"; + DurationInSeconds = 5.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.2000000e+001; + SpawnCountRelativeRandomDeviation = 1.3000000e+000; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_7D9D48AA +{ + EditorInfosPosition = int2(25, 339); + Samplers = + { + "$LOCAL$/CParticleSamplerShape_0495DFB5", + "$LOCAL$/CParticleSamplerShape_B08C590F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_9565C319"; + States = + { + "$LOCAL$/CParticleState_D314A350", + }; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_0495DFB5 +{ + EditorInfosPosition = int2(-151, 367); + SamplerName = "PositionSampler"; + Shape = "$LOCAL$/CShapeDescriptor_CFAE6E1C"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_CFAE6E1C +{ + EditorInfosPosition = int2(-247, 365); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 1.5000000e+000; + InnerRadius = 1.5000000e+000; + Height = 1.0000000e+000; +} +CParticleSamplerShape $LOCAL$/CParticleSamplerShape_B08C590F +{ + EditorInfosPosition = int2(-149, 416); + SamplerName = "VelocitySampler"; + Shape = "$LOCAL$/CShapeDescriptor_80D1557E"; + SampleDimensionality = Volume; +} +CShapeDescriptor $LOCAL$/CShapeDescriptor_80D1557E +{ + EditorInfosPosition = int2(-241, 420); + ShapeType = COMPLEX_ELLIPSOID; + Radius = 1.5000000e+000; + InnerRadius = 1.5000000e+000; + Height = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_9565C319 +{ + EditorInfosPosition = int2(-153, 300); + Expression = "function void Eval() +{ + Life = rand(0.1,0.1); + Position = PositionSampler.samplePosition(); + Velocity = VelocitySampler.samplePosition() * spawner.LifeRatio; + float3 v = Velocity * (Throttle * rand(0.9,1.1)); + float a = (sin(spawner.Age*4.86) * 4 + sin(spawner.Age*13.49)) * 0.1 * ShakeAmplitude; + float2 sc(sin(a), cos(a)); + Velocity = float3(v.x * sc.y - v.z * sc.x, v.y, v.x * sc.x + v.z * sc.y); +}"; +} +CParticleState $LOCAL$/CParticleState_D314A350 +{ + EditorInfosPosition = int2(-79, 590); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_5BCB5C53", + "$LOCAL$/CParticleEvolver_Spawner_08233812", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_5BCB5C53 +{ + EditorInfosPosition = int2(-249, 591); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, -4.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e+001; + WorldInteractionMode = OneWay; + BouncesBeforeDeath = 10; + BounceRestitution = 3.0000001e-001; +} +CParticleEvolver_Spawner $LOCAL$/CParticleEvolver_Spawner_08233812 +{ + EditorInfosPosition = int2(-283, 669); + CustomName = "Spawner"; + SpawnMetric = Time; + SpawnInterval = 9.9999998e-003; + Descriptor = "$LOCAL$/CParticleDescriptor_A5D94F3D"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_A5D94F3D +{ + EditorInfosPosition = int2(-389, 723); + Renderer = "$LOCAL$/CParticleRenderer_Billboard_495F5044"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_5DC85257", + "$LOCAL$/CParticleFieldDeclaration_80FCA466", + "$LOCAL$/CParticleFieldDeclaration_3A024821", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_8F6188F8"; + States = + { + "$LOCAL$/CParticleState_1F89DF1B", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_495F5044 +{ + EditorInfosPosition = int2(-570, 657); + CustomName = "Billboard"; + BillboardingMaterial = AlphaBlend_Additive_Soft; + Diffuse = "Textures/BlastPack_Extended.dds"; + AtlasDefinition = "Textures/BlastPack_Extended.pkat"; + SoftAnimationBlending = true; + AxisScale = 1.0000000e+000; + NormalsBendingFactor = 6.2500000e-001; + NormalsWrapFactor = 2.0000000e-001; + LightExponent = 2.2000000e+000; + LightScale = float3(5.0000000e+000, 5.0000000e+000, 5.0000000e+000); + AmbientLight = float3(1.0000000e-001, 1.5000001e-001, 2.0000000e-001); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_5DC85257 +{ + EditorInfosPosition = int2(-561, 708); + FieldName = "Color"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_80FCA466 +{ + EditorInfosPosition = int2(-563, 749); + FieldName = "ColorCoeff"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_3A024821 +{ + EditorInfosPosition = int2(-564, 791); + FieldName = "SizeCoeff"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_8F6188F8 +{ + EditorInfosPosition = int2(-568, 830); + Expression = "function void Eval() +{ + float couillunessFactor = pow(rand(0, 1), 8); + float random = rand(1,3); + Life = 0.2 + (0.2 + couillunessFactor * 2) * spawner.LifeRatio; + Size = rand(0.2,0.5); + Rotation = rand(-2,2); + ScalarRotationSpeed = 0;//rand(-1,1); + ColorCoeff = (0.2 + couillunessFactor * 1.3) * 0.5;//(1 - pow(abs(spawner.LifeRatio*2 - 1),2)) * 0.3; + SizeCoeff = (1 - pow(abs(spawner.LifeRatio*2 - 1),4)) * random + 0.1; + Velocity = float3(0,(1 - pow(abs(spawner.LifeRatio*2 - 1),4))*2,0) * 0.1;//float3(0,0,-2); +}"; +} +CParticleState $LOCAL$/CParticleState_1F89DF1B +{ + EditorInfosPosition = int2(-570, 876); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/CParticleEvolver_Physics_C3D70E7A", + "$LOCAL$/CParticleEvolver_Field_525D31C5", + "$LOCAL$/CParticleEvolver_Field_843B669F", + "$LOCAL$/CParticleEvolver_Rotation_7CF55029", + "$LOCAL$/CParticleEvolver_Script_2CB5ADA0", + }; +} +CParticleEvolver_Physics $LOCAL$/CParticleEvolver_Physics_C3D70E7A +{ + EditorInfosPosition = int2(-773, 805); + CustomName = "Physics"; + ConstantAcceleration = float3(0.0000000e+000, 1.0000000e+000, 0.0000000e+000); + Drag = 1.0000000e-001; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_525D31C5 +{ + EditorInfosPosition = int2(-767, 850); + CustomName = "Field"; + Name = "Size"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_ED50216C"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_ED50216C +{ + EditorInfosPosition = int2(-862, 847); + Times = + { + 0.0000000e+000, + 1.0000000e+000, + }; + FloatValues = + { + 0.0000000e+000, + 1.4257950e+000, + }; + FloatTangents = + { + 0.0000000e+000, + 2.6747651e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Field $LOCAL$/CParticleEvolver_Field_843B669F +{ + EditorInfosPosition = int2(-771, 909); + CustomName = "Field"; + Name = "Color"; + Evaluator = "$LOCAL$/CParticleSamplerCurve_A7CFAA4E"; +} +CParticleSamplerCurve $LOCAL$/CParticleSamplerCurve_A7CFAA4E +{ + EditorInfosPosition = int2(-867, 908); + ValueType = Float4; + Times = + { + 0.0000000e+000, + 5.2289981e-001, + 1.0000000e+000, + }; + FloatValues = + { + 4.7189722e+000, + 3.8995371e+000, + 1.4623152e+002, + 6.4613003e-001, + 2.5878999e+000, + 2.0375540e+000, + 9.2806473e+001, + 6.2580532e-001, + 1.3330801e+000, + 3.0305719e+000, + 4.2372961e+000, + 6.6386288e-001, + }; + FloatTangents = + { + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + -1.6460106e+000, + -1.3306005e-004, + -1.1332957e+000, + -2.6545999e+000, + -1.6552440e+000, + -5.9991583e-002, + -1.0340325e+000, + -2.4220903e+000, + -1.5102651e+000, + -5.4737065e-002, + -4.3703559e-001, + -1.0720898e+000, + -3.3286791e+000, + 1.3065843e-004, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + 0.0000000e+000, + }; +} +CParticleEvolver_Rotation $LOCAL$/CParticleEvolver_Rotation_7CF55029 +{ + EditorInfosPosition = int2(-773, 966); + CustomName = "Rotation"; +} +CParticleEvolver_Script $LOCAL$/CParticleEvolver_Script_2CB5ADA0 +{ + EditorInfosPosition = int2(-767, 1024); + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_7C310CE3"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_7C310CE3 +{ + EditorInfosPosition = int2(-879, 1022); + Expression = "function void Eval() +{ + float atlasIdFirst = 0; + float atlasIdLast = 31; + float cursor01 = (LifeRatio)%1; + TextureID = cursor01 * (atlasIdLast - atlasIdFirst) + atlasIdFirst; + + Color *= ColorCoeff * 2; + Size *= SizeCoeff * 0.3; +}"; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Layer_1 +{ + EditorInfosPosition = int2(170, 355); + EditorInfosIsBlockMinimized = 0; + Delay = 2.0000000e-001; + Descriptor = "$LOCAL$/CParticleDescriptor_7D9D48AA"; + DurationInSeconds = 2.0000000e-001; + SpawnCountMode = TotalParticleCount; + SpawnCount = 3.2000000e+001; + SpawnCountRelativeRandomDeviation = 9.6650624e-001; +} diff --git a/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightSummonTrapEntity.pkfx b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightSummonTrapEntity.pkfx new file mode 100644 index 0000000..9c6b072 --- /dev/null +++ b/assets/streaming/PackFx/Particles/TwilightSparkle/TwilightSummonTrapEntity.pkfx @@ -0,0 +1,219 @@ +Version = 1.9.5.30373; +CParticleEffect $LOCAL$/Resource +{ + EditorInfosPosition = int2(73, 52); + OnSpawn = "$LOCAL$/Spawner"; + CustomAttributes = "$LOCAL$/_GlobalAttributes"; + Autostart = true; +} +CActionFactoryParticleSpawnerBase $LOCAL$/Orb +{ + EditorInfosPosition = int2(-288, -61); + Descriptor = "$LOCAL$/CParticleDescriptor_AE135B2A"; + Infinite = true; + DurationInSeconds = 2.0000000e+001; + SpawnCount = 3.0000000e+000; + FluxFactorExpression = "Flux"; +} +CParticleDescriptor $LOCAL$/CParticleDescriptor_AE135B2A +{ + EditorInfosPosition = int2(-392, -44); + Renderer = "$LOCAL$/CParticleRenderer_List_B7E8E066"; + CustomFields = + { + "$LOCAL$/CParticleFieldDeclaration_CC227D45", + "$LOCAL$/CParticleFieldDeclaration_E29F8B33", + "$LOCAL$/CParticleFieldDeclaration_51C1A072", + "$LOCAL$/CParticleFieldDeclaration_1409AF1D", + "$LOCAL$/CParticleFieldDeclaration_1F853DA4", + "$LOCAL$/CParticleFieldDeclaration_470DAEC6", + "$LOCAL$/CParticleFieldDeclaration_15053421", + "$LOCAL$/CParticleFieldDeclaration_510218E3", + "$LOCAL$/CParticleFieldDeclaration_E6CC3B27", + "$LOCAL$/CParticleFieldDeclaration_4D775576", + "$LOCAL$/CParticleFieldDeclaration_1487313F", + }; + SpawnEvaluator = "$LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7"; + States = + { + "$LOCAL$/CParticleState_3AF8190E", + }; +} +CActionFactoryWithChilds $LOCAL$/Spawner +{ + EditorInfosPosition = int2(-162, -81); + ChildList = + { + "$LOCAL$/Orb", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_9136D2F4 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; + BillboardMode = PlanarAlignedQuad; + AxisField = "Axis"; + Axis2Field = "AxisUp"; + AxisScale = 1.0000000e+000; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_5566F5E7 +{ + EditorInfosPosition = int2(-508, 22); + Expression = "function void Eval() +{ + Life = 0.2; + Size = 0.1; + float3 v = vrand(); + PosSphere = v*0.2*Scale; + Speed = ninja*2-1; + ColorCoeff = select(1,10,ninja<0.1); + Axis = float3(0,1,0); + Offset = select(0.5,0.75,ninja<0.5); + InitPosition = Position; +} +"; +} +CParticleState $LOCAL$/CParticleState_3AF8190E +{ + EditorInfosPosition = int2(-508, 65); + StateName = "State_0"; + Evolvers = + { + "$LOCAL$/Script_1", + }; +} +CParticleAttributeList $LOCAL$/_GlobalAttributes +{ + EditorInfosPosition = int2(-599, -20); + AttributeList = + { + "$LOCAL$/CParticleAttributeDeclaration_48A41B37", + "$LOCAL$/CParticleAttributeDeclaration_3B9B22EF", + "$LOCAL$/CParticleAttributeDeclaration_E17425F9", + }; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_CC227D45 +{ + FieldName = "PosSphere"; + FieldType = float3; +} +CParticleEvolver_Script $LOCAL$/Script_1 +{ + EditorInfosIsBlockMinimized = 0; + CustomName = "Script"; + Expression = "$LOCAL$/CCompilerSyntaxNodeExpression_321192EC"; +} +CCompilerSyntaxNodeExpression $LOCAL$/CCompilerSyntaxNodeExpression_321192EC +{ + Expression = "function void Eval() +{ + Color = (sin(LifeRatio*3)*RGB*ColorCoeff).xyz1 * pow(3,1); + ColorG = Color*0.2; + + Pos = rotate(PosSphere * Offset, scene.axisUp(), scene.Time*Speed*2); + + AxisUp = normalize(Pos); + AxisUpG = AxisUp * Offset * Scale; + + Position = InitPosition + Pos; +} +"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E29F8B33 +{ + FieldName = "Axis"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_51C1A072 +{ + FieldName = "AxisUp"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1409AF1D +{ + FieldName = "Speed"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1F853DA4 +{ + FieldName = "Color"; + FieldType = float4; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_48A41B37 +{ + AttributeName = "RGB"; + AttributeType = float3; + DefaultValueF4 = float4(8.9603961e-001, 1.4603961e-001, 1.0000000e+000, 0.0000000e+000); + HasMin = true; + HasMax = true; + MaxValueF4 = float4(1.0000000e+000, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_470DAEC6 +{ + FieldName = "ColorCoeff"; + FieldType = float3; +} +CParticleRenderer_List $LOCAL$/CParticleRenderer_List_B7E8E066 +{ + CustomName = "List"; + Renderers = + { + "$LOCAL$/CParticleRenderer_Billboard_9136D2F4", + "$LOCAL$/CParticleRenderer_Billboard_F7E49E57", + }; +} +CParticleRenderer_Billboard $LOCAL$/CParticleRenderer_Billboard_F7E49E57 +{ + EditorInfosPosition = int2(-508, -63); + CustomName = "Billboard"; + BillboardingMaterial = Additive_Soft; + Diffuse = "Textures/Fx/Glow_03.dds"; + BillboardMode = VelocityAxisAligned; + ColorField = "ColorG"; + AxisField = "AxisUpG"; + Axis2Field = "AxisUp"; + AxisScale = 1.0000000e+000; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_15053421 +{ + FieldName = "ColorG"; + FieldType = float4; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_510218E3 +{ + FieldName = "Pos"; + FieldType = float3; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_E6CC3B27 +{ + FieldName = "Offset"; +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_4D775576 +{ + FieldName = "AxisUpG"; + FieldType = float3; +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_3B9B22EF +{ + AttributeName = "Flux"; + DefaultValueF4 = float4(3.0000000e+002, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + MaxValueF4 = float4(1.0000000e+003, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleAttributeDeclaration $LOCAL$/CParticleAttributeDeclaration_E17425F9 +{ + AttributeName = "Scale"; + DefaultValueF4 = float4(1.0000000e+000, 0.0000000e+000, 0.0000000e+000, 0.0000000e+000); + HasMin = true; + MaxValueF4 = float4(1.0000000e+001, 1.0000000e+000, 1.0000000e+000, 1.0000000e+000); + MaxValueI4 = int4(10, 10, 10, 10); +} +CParticleFieldDeclaration $LOCAL$/CParticleFieldDeclaration_1487313F +{ + FieldName = "InitPosition"; + FieldType = float3; + TransformFilter = full; +} diff --git a/assets/streaming/PackFx/Shaders/D3D11/CS_D3D11_Soft_AnimBlend_Field.hlsl b/assets/streaming/PackFx/Shaders/D3D11/CS_D3D11_Soft_AnimBlend_Field.hlsl new file mode 100644 index 0000000..7b48b34 --- /dev/null +++ b/assets/streaming/PackFx/Shaders/D3D11/CS_D3D11_Soft_AnimBlend_Field.hlsl @@ -0,0 +1,117 @@ +#if defined(PK_VERTEX_SHADER) + +struct SPixelInput +{ + float4 Position : SV_POSITION; + float4 ProjPos : TEXCOORD0; + float4 Color : COLOR; + float4 UV : TEXCOORD1; + float FrameLerp : TEXCOORD2; + float LifeRatio : TEXCOORD3; +}; +struct VS_IN +{ + float3 ObjPos : POSITION; + float4 Color : COLOR; + float2 UV0 : TEXCOORD0; + float2 UV1 : TEXCOORD1; + float AtlasID : TEXCOORD2; + float PK_LifeRatio : TEXCOORD3; +}; +float4x4 matWVP : register(c0); +float4x4 matWV : register(c4); +SPixelInput main(VS_IN In) +{ + SPixelInput Out; + Out.Position = mul(matWVP, float4(In.ObjPos, 1)); + Out.ProjPos = Out.Position; + Out.Color = In.Color; + Out.UV = float4(In.UV0, In.UV1); + Out.FrameLerp = frac(In.AtlasID); + Out.LifeRatio = In.PK_LifeRatio; + return Out; +} + +#endif + +//------------------------------------------------ + +#if defined(PK_PIXEL_SHADER) + +struct SPixelInput +{ + float4 Position : SV_POSITION; + float4 ProjPos : TEXCOORD0; + float4 Color : COLOR; + float4 UV : TEXCOORD1; + float FrameLerp : TEXCOORD2; + float LifeRatio : TEXCOORD3; +}; +float4 UniformsPack : register(c0); +bool HasDiffuse() { return (asuint(UniformsPack.x) & 1U ); } +bool IsAlphaMultiply() { return (asuint(UniformsPack.x) & 2U ); } +bool IsAdditive() { return (asuint(UniformsPack.x) & 4U ); } +bool IsOrthoCam() { return (asuint(UniformsPack.x) & 8U ); } +bool IsRotateTexture() { return (asuint(UniformsPack.x) & 16U ); } +bool IsDepthReversed() { return (asuint(UniformsPack.x) & 32U); } +float InvSoftnessDistance() { return asfloat(UniformsPack.y); } +float4 ZBufferParams : register(c1); +Texture2D ColorTexture : register(t0); +SamplerState ColorSampler : register(s0); +SamplerState DepthSampler : register(s1); +Texture2D DepthTexture : register(t1); +float clipToLinearDepth(float depth) +{ + float zNear = ZBufferParams.x; + float zFar = ZBufferParams.y; + if (IsOrthoCam()) + return depth * (zFar - zNear) + zNear; + else + return (-zNear * zFar) / (depth * (zFar - zNear) - zFar); +} +float4 main(SPixelInput In) : SV_TARGET +{ + float4 diffuse = float4(1.0, 1.0, 1.0, 1.0); + if (HasDiffuse()) + { + float2 uv0 = In.UV.xy; + float2 uv1 = In.UV.zw; + float4 diffuseA = ColorTexture.Sample(ColorSampler, uv0); + float4 diffuseB = ColorTexture.Sample(ColorSampler, uv1); + diffuse = lerp(diffuseA, diffuseB, In.FrameLerp); + } + float4 projPos = In.ProjPos; + float rcpw = 1.0 / projPos.w; + float fragDepth_cs = projPos.z * rcpw; + if (IsDepthReversed()) + fragDepth_cs = 1.0 - fragDepth_cs; + float2 screenUV = projPos.xy * rcpw * float2(0.5, -0.5) + 0.5; + float sceneDepth_cs = DepthTexture.Sample(DepthSampler, screenUV).x; + float sceneDepth = clipToLinearDepth(sceneDepth_cs); + float fragDepth = clipToLinearDepth(fragDepth_cs); + float depthfade = saturate((sceneDepth - fragDepth) * InvSoftnessDistance()); + diffuse *= In.Color; + + if (In.LifeRatio > 0.5f) + { + float tmp = diffuse.g; + diffuse.g = diffuse.r; + diffuse.r = tmp; + } + + if (IsAlphaMultiply()) + diffuse *= diffuse.w; + if (IsAdditive()) + { + diffuse *= depthfade; + diffuse.w = 0.0f; + } + else + { + diffuse.w *= depthfade; + } + return diffuse; +} + +#endif + diff --git a/assets/streaming/PackFx/Shaders/D3D11/CS_D3D11_Soft_PointLight.hlsl b/assets/streaming/PackFx/Shaders/D3D11/CS_D3D11_Soft_PointLight.hlsl new file mode 100644 index 0000000..fe00bd9 --- /dev/null +++ b/assets/streaming/PackFx/Shaders/D3D11/CS_D3D11_Soft_PointLight.hlsl @@ -0,0 +1,142 @@ +#if defined(PK_VERTEX_SHADER) + +struct SPixelInput +{ + float4 Position : SV_POSITION; + float4 ProjPos : TEXCOORD0; + float4 Color : COLOR; + float2 UV : TEXCOORD1; + float3 Normal : TEXCOORD2; + float4 Pos : TEXCOORD3; +}; +struct VS_IN +{ + float3 ObjPos : POSITION; + float4 Color : COLOR; + float2 UV : TEXCOORD0; + float3 Normal : TEXCOORD1; +}; +float4x4 matWVP : register(c0); +float4x4 matWV : register(c4); +SPixelInput main(VS_IN In) +{ + SPixelInput Out; + Out.Position = mul(matWVP, float4(In.ObjPos, 1)); + Out.ProjPos = Out.Position; + Out.Color = In.Color; + Out.UV = In.UV; + Out.Normal = In.Normal; + Out.Normal.z = -Out.Normal.z; + Out.Pos = float4(In.ObjPos, 1); + return Out; +} + +#endif + +//------------------------------------------------ + +#if defined(PK_PIXEL_SHADER) + +struct SPixelInput +{ + float4 Position : SV_POSITION; + float4 ProjPos : TEXCOORD0; + float4 Color : COLOR; + float2 UV : TEXCOORD1; + float3 Normal : TEXCOORD2; + float4 Pos : TEXCOORD3; +}; + +cbuffer PK_PS : register(b1) +{ + float4 PointLightPos; // pos.x pos.y pos.z range + float4 PointLightColor; + float3 CameraPos; + float4 DIFFUSE; + float4 SPECULAR; + float2 SHININESS; +} + +float4 UniformsPack : register(c0); +bool HasDiffuse() { return (asuint(UniformsPack.x) & 1U ); } +bool IsAlphaMultiply() { return (asuint(UniformsPack.x) & 2U ); } +bool IsAdditive() { return (asuint(UniformsPack.x) & 4U ); } +bool IsOrthoCam() { return (asuint(UniformsPack.x) & 8U ); } +bool IsRotateTexture() { return (asuint(UniformsPack.x) & 16U ); } +bool IsDepthReversed() { return (asuint(UniformsPack.x) & 32U); } +float InvSoftnessDistance() { return asfloat(UniformsPack.y); } + +float4 ZBufferParams : register(c1); +Texture2D ColorTexture : register(t0); +SamplerState ColorSampler : register(s0); +SamplerState DepthSampler : register(s1); +Texture2D DepthTexture : register(t1); +Texture2D NormalTexture : register(t2); +SamplerState NormalSampler : register(s2); + +float clipToLinearDepth(float depth) +{ + float zNear = ZBufferParams.x; + float zFar = ZBufferParams.y; + if (IsOrthoCam()) + return depth * (zFar - zNear) + zNear; + else + return (-zNear * zFar) / (depth * (zFar - zNear) - zFar); +} +float4 main(SPixelInput In) : SV_TARGET +{ + float4 texColor = float4(1.0, 1.0, 1.0, 1.0); + if (HasDiffuse()) + { + float2 uv = In.UV; + texColor = ColorTexture.Sample(ColorSampler, uv); + } + + float3 normMap = NormalTexture.Sample(NormalSampler, In.UV).xyz; + normMap.z = - normMap.z; + float3 norm = normalize(In.Normal + normMap); + float3 lightVec = PointLightPos.xyz - In.Pos.xyz; + float dist = length(lightVec); + lightVec = normalize(lightVec); + float attenuation = max(0.0, 1.0 - (dist / PointLightPos.w)); + float nxDir = max(0.0, dot(norm, lightVec)); + float4 diffuse = DIFFUSE * PointLightColor * attenuation * nxDir; + + float4 specular = float4(0.0, 0.0, 0.0, 0.0); + if (SHININESS.y > 0 && nxDir != 0.0) + { + float3 camVec = normalize(CameraPos - In.Pos.xyz); + float specularPow = pow(max(0.0, dot(camVec, reflect(-lightVec, norm))), SHININESS.x); + specular = SPECULAR * PointLightColor * specularPow * attenuation; + } + + float4 projPos = In.ProjPos; + float rcpw = 1.0 / projPos.w; + float fragDepth_cs = projPos.z * rcpw; + if (IsDepthReversed()) + fragDepth_cs = 1.0 - fragDepth_cs; + float2 screenUV = projPos.xy * rcpw * float2(0.5, -0.5) + 0.5; + float sceneDepth_cs = DepthTexture.Sample(DepthSampler, screenUV).x; + float sceneDepth = clipToLinearDepth(sceneDepth_cs); + float fragDepth = clipToLinearDepth(fragDepth_cs); + float depthfade = saturate((sceneDepth - fragDepth) * InvSoftnessDistance()); + + float4 outCol = In.Color * texColor; + outCol = outCol + diffuse * texColor.a + specular * texColor.a; + + if (IsAlphaMultiply()) + outCol *= outCol.w; + if (IsAdditive()) + { + outCol *= depthfade; + outCol.w = 0.0f; + } + else + { + outCol.w *= depthfade; + } + return outCol; +} + +#endif + diff --git a/assets/streaming/PackFx/Shaders/D3D11/CS_D3D11_UVScrolling.hlsl b/assets/streaming/PackFx/Shaders/D3D11/CS_D3D11_UVScrolling.hlsl new file mode 100644 index 0000000..f79393a --- /dev/null +++ b/assets/streaming/PackFx/Shaders/D3D11/CS_D3D11_UVScrolling.hlsl @@ -0,0 +1,65 @@ +#if defined(PK_VERTEX_SHADER) + +float4x4 matWVP : register(c0); + +struct VS_IN +{ + float4 ObjPos : POSITION; + float4 Color : COLOR; + float2 UV : TEXCOORD; +}; + +struct VS_OUT +{ + float4 Position : SV_POSITION; + float2 UV : TEXCOORD0; + float4 Color : COLOR; +}; + +VS_OUT main(VS_IN In) +{ + VS_OUT Out; + Out.Position = mul(matWVP, In.ObjPos); + Out.UV = In.UV; + Out.Color = In.Color; + return Out; +} + +#endif + +//------------------------------------------------ + +#if defined(PK_PIXEL_SHADER) + +Texture2D ColorTexture : register(t0); +SamplerState ColorSampler : register(s0); + +struct PS_IN +{ + float4 ProjPos : SV_POSITION; + float2 UV : TEXCOORD0; + float4 Color : COLOR; +}; + +cbuffer PK_PS : register(b1) +{ + float2 UV_offset; +}; + +float4 main(PS_IN In) : SV_TARGET +{ + In.UV += UV_offset; + float4 t = ColorTexture.Sample(ColorSampler, In.UV); + float4 outCol = In.Color * t; +#if defined(MAT_ADDITIVE_ALPHA) + outCol *= outCol.w; + outCol.w = 0.0f; +#endif +#if defined(MAT_ADDITIVE_NOALPHA) + outCol.w = 0.0f; +#endif + return outCol; +} + +#endif + diff --git a/assets/streaming/PackFx/Shaders/D3D9/CS_D3D9_Soft_AnimBlend_Field.hlsl b/assets/streaming/PackFx/Shaders/D3D9/CS_D3D9_Soft_AnimBlend_Field.hlsl new file mode 100644 index 0000000..6c363fb --- /dev/null +++ b/assets/streaming/PackFx/Shaders/D3D9/CS_D3D9_Soft_AnimBlend_Field.hlsl @@ -0,0 +1,99 @@ +#if defined(PK_VERTEX_SHADER) + +float4x4 matWVP : register(c0); + +struct VS_IN +{ + float4 ObjPos : POSITION; + float4 Color : COLOR; + float2 UV0 : TEXCOORD0; + float2 UV1 : TEXCOORD1; + float AtlasID : TEXCOORD2; + float PK_LifeRatio : TEXCOORD3; +}; + +struct VS_OUT +{ + float4 ProjPos : POSITION; + float4 UV : TEXCOORD0; + float FrameLerp : TEXCOORD1; + float4 Color : TEXCOORD2; + float4 Position : TEXCOORD3; + float LifeRatio : TEXCOORD4; +}; + +VS_OUT main(VS_IN In) +{ + VS_OUT Out; + Out.ProjPos = mul(matWVP, In.ObjPos); + Out.UV = float4(In.UV0, In.UV1); + Out.FrameLerp = frac(In.AtlasID); + Out.Color = In.Color; + Out.Position = Out.ProjPos; + Out.LifeRatio = In.PK_LifeRatio; + return Out; +} + +#endif + +//------------------------------------------------ + +#if defined(PK_PIXEL_SHADER) + +float4 ZBufferParams : register(c0); +float SoftnessDistance : register(c1); +sampler2D ColorTexture : register(s0); +sampler2D DepthTexture : register(s1); + +struct PS_IN +{ + float4 UV : TEXCOORD0; + float FrameLerp : TEXCOORD1; + float4 Color : TEXCOORD2; + float4 ProjPos : TEXCOORD3; + float LifeRatio : TEXCOORD4; +}; + + +float clipToLinearDepth(float depth) +{ + float zNear = ZBufferParams.x; + float zFar = ZBufferParams.y; + return (-zNear * zFar) / (depth * (zFar - zNear) - zFar); +} + +float4 main(PS_IN In) : COLOR +{ + float rcpw = 1.0 / In.ProjPos.w; + float2 screenUV = In.ProjPos.xy * rcpw * float2(0.5, -0.5) + 0.5; + float sceneDepth_cs = tex2D(DepthTexture, screenUV).x; + float sceneDepth = clipToLinearDepth(sceneDepth_cs); + float fragDepth = clipToLinearDepth(In.ProjPos.z * rcpw); + float fade = SoftnessDistance * (sceneDepth - fragDepth); + fade = saturate(fade); + + + float4 diffA = tex2D(ColorTexture, In.UV.xy); + float4 diffB = tex2D(ColorTexture, In.UV.zw); + float4 outCol = In.Color * lerp(diffA, diffB, In.FrameLerp); + + if (In.LifeRatio > 0.5f) + { + float tmp = outCol.g; + outCol.g = outCol.r; + outCol.r = tmp; + } + + outCol *= fade; +#if defined(MAT_ADDITIVE_ALPHA) + outCol *= outCol.w; + outCol.w = 0.0f; +#endif +#if defined(MAT_ADDITIVE_NOALPHA) + outCol.w = 0.0f; +#endif + return outCol; +} + +#endif + diff --git a/assets/streaming/PackFx/Shaders/D3D9/CS_D3D9_Soft_PointLight.hlsl b/assets/streaming/PackFx/Shaders/D3D9/CS_D3D9_Soft_PointLight.hlsl new file mode 100644 index 0000000..9c3ea3a --- /dev/null +++ b/assets/streaming/PackFx/Shaders/D3D9/CS_D3D9_Soft_PointLight.hlsl @@ -0,0 +1,118 @@ +//-------------------------------------------------------------------------------------- +// Vertex shader +// Position + Color + Texcoord +//-------------------------------------------------------------------------------------- + +#if defined(PK_VERTEX_SHADER) + +float4x4 matWVP : register(c0); + +struct VS_IN +{ + float4 ObjPos : POSITION; + float4 Color : COLOR; + float2 UV : TEXCOORD0; + float3 Normal : TEXCOORD1; +}; + +struct VS_OUT +{ + float4 ProjPos : POSITION; + float2 UV : TEXCOORD0; + float4 Color : TEXCOORD1; + float4 Pos : TEXCOORD2; + float3 Normal : TEXCOORD3; + float4 ProjPos2 : TEXCOORD4; +}; + +VS_OUT main(VS_IN In) +{ + VS_OUT Out; + Out.UV = In.UV; + Out.Color = In.Color; + Out.ProjPos = mul(matWVP, In.ObjPos); + Out.Pos = In.ObjPos; + Out.Normal = In.Normal; + Out.Normal.z = -Out.Normal.z; + Out.ProjPos2 = Out.ProjPos; + return Out; +} + +#endif + + +//------------------------------------------------------------------------------------- +// Pixel shader +// Color + Texture +//------------------------------------------------------------------------------------- + +#if defined(PK_PIXEL_SHADER) + +float4 ZBufferParams : register(c0); +float SoftnessDistance : register(c1); +sampler2D ColorTexture : register(s0); +sampler2D DepthTexture : register(s1); +sampler2D NormalTexture : register(s2); + +float4 PK_PS_PointLightPos : register(c2); // pos.x pos.y pos.z range +float4 PK_PS_PointLightColor : register(c3); +float3 PK_PS_CameraPos : register(c4); +float4 PK_PS_DIFFUSE : register(c5); +float4 PK_PS_SPECULAR : register(c6); +float2 PK_PS_SHININESS : register(c7); + +struct PS_IN +{ + float2 UV : TEXCOORD0; + float4 Color : TEXCOORD1; + float4 Pos : TEXCOORD2; + float3 Normal : TEXCOORD3; + float4 ProjPos : TEXCOORD4; +}; + +float clipToLinearDepth(float depth) +{ + float zNear = ZBufferParams.x; + float zFar = ZBufferParams.y; + return (-zNear * zFar) / (depth * (zFar - zNear) - zFar); +} + +float4 main(PS_IN In) : COLOR +{ + float3 normMap = tex2D(NormalTexture, In.UV).xyz; + normMap.z = -normMap.z; + float3 norm = normalize(In.Normal + normMap); + float3 lightVec = PK_PS_PointLightPos.xyz - In.Pos.xyz; + float dist = length(lightVec); + lightVec = normalize(lightVec); + float attenuation = max(0.0, 1.0 - (dist / PK_PS_PointLightPos.w)); + float nxDir = max(0.0, dot(norm, lightVec)); + //float nxDir = 1.0; + float4 diffuse = PK_PS_DIFFUSE * PK_PS_PointLightColor * attenuation * nxDir; + + float4 specular = float4(0.0, 0.0, 0.0, 0.0); + if (PK_PS_SHININESS.y > 0 && nxDir != 0.0) + { + float3 camVec = normalize(PK_PS_CameraPos - In.Pos.xyz); + float specularPow = pow(max(0.0, dot(camVec, reflect(-lightVec, norm))), PK_PS_SHININESS.x); + specular = PK_PS_SPECULAR * PK_PS_PointLightColor * specularPow * attenuation; + } + + float rcpw = 1.0 / In.Pos.w; + float2 screenUV = In.ProjPos.xy * rcpw * float2(0.5, -0.5) + 0.5; + float sceneDepth_cs = tex2D(DepthTexture, screenUV).x; + float sceneDepth = clipToLinearDepth(sceneDepth_cs); + float fragDepth = clipToLinearDepth(In.ProjPos.z * rcpw); + float fade = SoftnessDistance * (sceneDepth - fragDepth); + + fade = saturate(fade); + + float4 texColor = tex2D(ColorTexture, In.UV); + float4 outCol = In.Color * texColor; + outCol = outCol + diffuse * texColor.a + specular * texColor.a; + outCol *= fade; + outCol.a = min(1.0, outCol.a); + return outCol; +} + +#endif \ No newline at end of file diff --git a/assets/streaming/PackFx/Shaders/D3D9/CS_D3D9_UVScrolling.hlsl b/assets/streaming/PackFx/Shaders/D3D9/CS_D3D9_UVScrolling.hlsl new file mode 100644 index 0000000..9bd4b2b --- /dev/null +++ b/assets/streaming/PackFx/Shaders/D3D9/CS_D3D9_UVScrolling.hlsl @@ -0,0 +1,63 @@ +#if defined(PK_VERTEX_SHADER) + +float4x4 matWVP : register(c0); + +struct VS_IN +{ + float4 ObjPos : POSITION; + float2 UV : TEXCOORD; + float4 Color : COLOR; +}; + +struct VS_OUT +{ + float4 ProjPos : POSITION; + float2 UV : TEXCOORD0; + float4 Color : TEXCOORD1; + float4 Position : TEXCOORD2; +}; + +VS_OUT main(VS_IN In) +{ + VS_OUT Out; + Out.ProjPos = mul(matWVP, In.ObjPos); + Out.UV = In.UV; + Out.Color = In.Color; + Out.Position = Out.ProjPos; + return Out; +} + +#endif + +//------------------------------------------------ + +#if defined(PK_PIXEL_SHADER) + +sampler2D ColorTexture : register(s0); + +float2 PK_PS_UV_offset : register(c0); + + +struct PS_IN +{ + float2 UV : TEXCOORD0; + float4 Color : TEXCOORD1; +}; + + +float4 main(PS_IN In) : COLOR +{ + In.UV += PK_PS_UV_offset; + float4 outCol = In.Color * tex2D(ColorTexture, In.UV); +#if defined(MAT_ADDITIVE_ALPHA) + outCol *= outCol.w; + outCol.w = 0.0f; +#endif +#if defined(MAT_ADDITIVE_NOALPHA) + outCol.w = 0.0f; +#endif + return outCol; +} + +#endif + diff --git a/assets/streaming/PackFx/Shaders/GL/CS_GL_Soft_AnimBlend_Field.glsl b/assets/streaming/PackFx/Shaders/GL/CS_GL_Soft_AnimBlend_Field.glsl new file mode 100644 index 0000000..543d597 --- /dev/null +++ b/assets/streaming/PackFx/Shaders/GL/CS_GL_Soft_AnimBlend_Field.glsl @@ -0,0 +1,91 @@ +#ifdef PK_VERTEX_SHADER + +uniform mat4 MatWVP; + +in vec3 InVertex; +in vec4 InColor; +in vec2 InTexcoord; +in vec2 InTexcoord2; +in float InAtlasID; +in float PK_LifeRatio; + +out vec4 FragColor; +out vec4 Texcoord; +out float FrameLerp; +out vec4 ProjPos; +out float LifeRatio; + +void main() +{ + vec4 position = MatWVP * vec4(InVertex, 1); + gl_Position = position; + ProjPos = position; + FragColor = InColor; + Texcoord = vec4(InTexcoord, InTexcoord2); + FrameLerp = fract(InAtlasID); + LifeRatio = PK_LifeRatio; +} + +#endif + +//------------------------------------------------ + +#ifdef PK_PIXEL_SHADER + +uniform sampler2D Texture; +uniform sampler2D DepthRT; +uniform vec4 ZBufferParams; +uniform float InvSoftnessDistance; +in float LifeRatio; + +out vec4 OutFragColor; + +in vec4 FragColor; +in vec4 Texcoord; +in float FrameLerp; +in vec4 ProjPos; + +float clipToLinearDepth(float depth) +{ + float zNear = ZBufferParams.x; + float zFar = ZBufferParams.y; + return (2.0 * zNear * zFar) / (zFar + zNear - depth * (zFar - zNear)); +} + +void main() +{ + float rcpw = 1.0 / ProjPos.w; + vec2 screenUV = ProjPos.xy * rcpw * 0.5 + 0.5; + float sceneDepth_cs = texture2D(DepthRT, screenUV).x; + float sceneDepth = clipToLinearDepth(sceneDepth_cs * 2.0 - 1.0); + float fragDepth = clipToLinearDepth(ProjPos.z * rcpw); + float fade = clamp(InvSoftnessDistance * (sceneDepth - fragDepth), 0.0, 1.0); + + vec4 colorA = texture2D(Texture, Texcoord.xy); + vec4 colorB = texture2D(Texture, Texcoord.zw); + + vec4 color = FragColor * mix(colorA, colorB, FrameLerp); + + if (LifeRatio > 0.5f) + { + float tmp = color.g; + color.g = color.r; + color.r = tmp; + } + + color *= fade; + +#ifdef ADDITIVE_ALPHA + color *= color.w; + color.w = 0.f; +#endif + +#ifdef ADDITIVE_NOALPHA + color.w = 0.f; +#endif + + OutFragColor = color; +} + +#endif + diff --git a/assets/streaming/PackFx/Shaders/GL/CS_GL_Soft_PointLight.glsl b/assets/streaming/PackFx/Shaders/GL/CS_GL_Soft_PointLight.glsl new file mode 100644 index 0000000..660461a --- /dev/null +++ b/assets/streaming/PackFx/Shaders/GL/CS_GL_Soft_PointLight.glsl @@ -0,0 +1,96 @@ +#ifdef PK_VERTEX_SHADER + +uniform mat4 MatWVP; + +in vec3 InVertex; +in vec4 InColor; +in vec2 InTexcoord; +in vec3 InNormal; + +out vec4 FragColor; +out vec2 Texcoord; +out vec4 ProjPos; +out vec3 Normal; +out vec4 Pos; + +void main() +{ + vec4 position = MatWVP * vec4(InVertex, 1); + gl_Position = position; + ProjPos = position; + FragColor = InColor; + Texcoord = InTexcoord; + Normal = InNormal; + Normal.z = -Normal.z; + Pos = vec4(InVertex, 1); +} + +#endif + +#ifdef PK_PIXEL_SHADER + +uniform sampler2D Texture; +uniform sampler2D DepthRT; +uniform sampler2D NormalTexture; +uniform vec4 ZBufferParams; +uniform float InvSoftnessDistance; + +uniform vec4 PK_PointLightPos; // pos.x pos.y pos.z range +uniform vec4 PK_PointLightColor; +uniform vec3 PK_CameraPos; +uniform vec4 PK_DIFFUSE; +uniform vec4 PK_SPECULAR; +uniform vec2 PK_SHININESS; + +out vec4 OutFragColor; + +in vec4 FragColor; +in vec2 Texcoord; +in vec4 ProjPos; +in vec3 Normal; +in vec4 Pos; + +float clipToLinearDepth(float depth) +{ + float zNear = ZBufferParams.x; + float zFar = ZBufferParams.y; + return (2.0 * zNear * zFar) / (zFar + zNear - depth * (zFar - zNear)); +} + +void main() +{ + vec3 normMap = texture2D(NormalTexture, Texcoord).xyz; + normMap.z = -normMap.z; + vec3 norm = normalize(Normal + normMap); + vec3 lightVec = PK_PointLightPos.xyz - Pos.xyz; + float dist = distance(PK_PointLightPos.xyz, Pos.xyz); + lightVec = normalize(lightVec); + float attenuation = max(0.0, 1.0 - (dist / PK_PointLightPos.w)); + float nxDir = max(0.0, dot(norm, lightVec)); + //float nxDir = 1.0; + vec4 diffuse = PK_DIFFUSE * PK_PointLightColor * attenuation * nxDir; + + vec4 specular = vec4(0.0, 0.0, 0.0, 0.0); + if (PK_SHININESS.y > 0 && nxDir != 0.0) + { + vec3 camVec = normalize(PK_CameraPos - Pos.xyz); + float specularPow = pow(max(0.0, dot(camVec, reflect(-lightVec, norm))), PK_SHININESS.x); + specular = PK_SPECULAR * PK_PointLightColor * specularPow * attenuation; + } + + float rcpw = 1.0 / ProjPos.w; + vec2 screenUV = ProjPos.xy * rcpw * 0.5 + 0.5; + float sceneDepth_cs = texture2D(DepthRT, screenUV).x; + float sceneDepth = clipToLinearDepth(sceneDepth_cs * 2.0 - 1.0); + float fragDepth = clipToLinearDepth(ProjPos.z * rcpw); + float fade = clamp(InvSoftnessDistance * (sceneDepth - fragDepth), 0.0, 1.0); + + vec4 texColor = texture2D(Texture, Texcoord); + vec4 outCol = FragColor * texColor; + outCol = outCol + diffuse * texColor.a + specular * texColor.a; + outCol *= fade; + outCol.a = min(1.0, outCol.a); + OutFragColor = outCol; +} + +#endif \ No newline at end of file diff --git a/assets/streaming/PackFx/Shaders/GL/CS_GL_UVScrolling.glsl b/assets/streaming/PackFx/Shaders/GL/CS_GL_UVScrolling.glsl new file mode 100644 index 0000000..124d1ab --- /dev/null +++ b/assets/streaming/PackFx/Shaders/GL/CS_GL_UVScrolling.glsl @@ -0,0 +1,50 @@ +#ifdef PK_VERTEX_SHADER + +uniform mat4 MatWVP; + +in vec3 InVertex; +in vec4 InColor; +in vec2 InTexcoord; + +out vec4 FragColor; +out vec2 Texcoord; + +void main() +{ + gl_Position = MatWVP * vec4(InVertex, 1); + FragColor = InColor; + Texcoord = InTexcoord; +} + +#endif + +//------------------------------------------------ + +#ifdef PK_PIXEL_SHADER + +uniform sampler2D Texture; + +out vec4 OutFragColor; + +in vec4 FragColor; +in vec2 Texcoord; + +uniform vec2 PK_UV_offset; + +void main() +{ + vec2 UV = Texcoord + PK_UV_offset; + vec4 color = FragColor * texture2D(Texture, UV); +#ifdef ADDITIVE_ALPHA + color *= color.w; + color.w = 0.f; +#endif +#ifdef ADDITIVE_NOALPHA + color.w = 0.f; +#endif + OutFragColor = color; + +} + +#endif + diff --git a/assets/streaming/PackFx/Sounds/Explosion1.mp3 b/assets/streaming/PackFx/Sounds/Explosion1.mp3 new file mode 100644 index 0000000..ecb7226 Binary files /dev/null and b/assets/streaming/PackFx/Sounds/Explosion1.mp3 differ diff --git a/assets/streaming/PackFx/Sounds/lg_hit1.wav b/assets/streaming/PackFx/Sounds/lg_hit1.wav new file mode 100644 index 0000000..d45a0d8 Binary files /dev/null and b/assets/streaming/PackFx/Sounds/lg_hit1.wav differ diff --git a/assets/streaming/PackFx/Sounds/lg_hit2.wav b/assets/streaming/PackFx/Sounds/lg_hit2.wav new file mode 100644 index 0000000..de1233d Binary files /dev/null and b/assets/streaming/PackFx/Sounds/lg_hit2.wav differ diff --git a/assets/streaming/PackFx/Sounds/lg_hit3.wav b/assets/streaming/PackFx/Sounds/lg_hit3.wav new file mode 100644 index 0000000..ad5198a Binary files /dev/null and b/assets/streaming/PackFx/Sounds/lg_hit3.wav differ diff --git a/assets/streaming/PackFx/Textures/BB_Glow_02_64.tga b/assets/streaming/PackFx/Textures/BB_Glow_02_64.tga new file mode 100644 index 0000000..3e6cac5 Binary files /dev/null and b/assets/streaming/PackFx/Textures/BB_Glow_02_64.tga differ diff --git a/assets/streaming/PackFx/Textures/BlastPack.pkat b/assets/streaming/PackFx/Textures/BlastPack.pkat new file mode 100644 index 0000000..4f52aa7 --- /dev/null +++ b/assets/streaming/PackFx/Textures/BlastPack.pkat @@ -0,0 +1,9 @@ +0, 0, 0.25, 0.25 +0.25, 0, 0.5, 0.25 +0.5, 0, 0.75, 0.25 +0.75, 0, 1.0, 0.25 +0, 0.25, 0.25, 0.75 +0.25, 0.25, 0.5, 0.5 +0.25, 0.5, 0.5, 0.75 +0.5, 0.25, 1.0, 0.75 +0.75, 0.75, 1.0, 1.0 \ No newline at end of file diff --git a/assets/streaming/PackFx/Textures/BlastPack.png b/assets/streaming/PackFx/Textures/BlastPack.png new file mode 100644 index 0000000..e6fdbd8 Binary files /dev/null and b/assets/streaming/PackFx/Textures/BlastPack.png differ diff --git a/assets/streaming/PackFx/Textures/BlastPack_Extended.dds b/assets/streaming/PackFx/Textures/BlastPack_Extended.dds new file mode 100644 index 0000000..0f70f9c Binary files /dev/null and b/assets/streaming/PackFx/Textures/BlastPack_Extended.dds differ diff --git a/assets/streaming/PackFx/Textures/BlastPack_Extended.pkat b/assets/streaming/PackFx/Textures/BlastPack_Extended.pkat new file mode 100644 index 0000000..e15c5cf --- /dev/null +++ b/assets/streaming/PackFx/Textures/BlastPack_Extended.pkat @@ -0,0 +1,41 @@ +0, 0, 0.125, 0.125 +0.125, 0, 0.25, 0.125 +0.25, 0, 0.375, 0.125 +0.375, 0, 0.5, 0.125 +0.5, 0, 0.625, 0.125 +0.625, 0, 0.75, 0.125 +0.75, 0, 0.875, 0.125 +0.875, 0, 1.0, 0.125 +0, 0.125, 0.125, 0.25 +0.125, 0.125, 0.25, 0.25 +0.25, 0.125, 0.375, 0.25 +0.375, 0.125, 0.5, 0.25 +0.5, 0.125, 0.625, 0.25 +0.625, 0.125, 0.75, 0.25 +0.75, 0.125, 0.875, 0.25 +0.875, 0.125, 1.0, 0.25 +0, 0.25, 0.125, 0.375 +0.125, 0.25, 0.25, 0.375 +0.25, 0.25, 0.375, 0.375 +0.375, 0.25, 0.5, 0.375 +0.5, 0.25, 0.625, 0.375 +0.625, 0.25, 0.75, 0.375 +0.75, 0.25, 0.875, 0.375 +0.875, 0.25, 1.0, 0.375 +0, 0.375, 0.125, 0.5 +0.125, 0.375, 0.25, 0.5 +0.25, 0.375, 0.375, 0.5 +0.375, 0.375, 0.5, 0.5 +0.5, 0.375, 0.625, 0.5 +0.625, 0.375, 0.75, 0.5 +0.75, 0.375, 0.875, 0.5 +0.875, 0.375, 1.0, 0.5 +0, 0.5, 0.125, 0.625 +0.125, 0.5, 0.25, 0.625 +0.25, 0.5, 0.375, 0.625 +0.375, 0.5, 0.5, 0.625 +0, 0.625, 0.125, 0.875 +0.125, 0.625, 0.25, 0.75 +0.125, 0.75, 0.25, 0.875 +0.25, 0.625, 0.5, 0.875 +0.375, 0.875, 0.5, 1.0 \ No newline at end of file diff --git a/assets/streaming/PackFx/Textures/BlastPack_Extended.png b/assets/streaming/PackFx/Textures/BlastPack_Extended.png new file mode 100644 index 0000000..6e3930d Binary files /dev/null and b/assets/streaming/PackFx/Textures/BlastPack_Extended.png differ diff --git a/assets/streaming/PackFx/Textures/BlastPack_Extended_Normal.png b/assets/streaming/PackFx/Textures/BlastPack_Extended_Normal.png new file mode 100644 index 0000000..f6b1e27 Binary files /dev/null and b/assets/streaming/PackFx/Textures/BlastPack_Extended_Normal.png differ diff --git a/assets/streaming/PackFx/Textures/EnergyBall_02.dds b/assets/streaming/PackFx/Textures/EnergyBall_02.dds new file mode 100644 index 0000000..201871b Binary files /dev/null and b/assets/streaming/PackFx/Textures/EnergyBall_02.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/AtlasC4.pkat b/assets/streaming/PackFx/Textures/FX/AtlasC4.pkat new file mode 100644 index 0000000..c2b725e --- /dev/null +++ b/assets/streaming/PackFx/Textures/FX/AtlasC4.pkat @@ -0,0 +1,8 @@ +0, 0, 1, 0.25 + +0, 0.25, 1, 0.5 + +0, 0.5, 1, 0.75 + +0, 0.75, 1, 1 + diff --git a/assets/streaming/PackFx/Textures/FX/AtlasR4.pkat b/assets/streaming/PackFx/Textures/FX/AtlasR4.pkat new file mode 100644 index 0000000..2401d62 --- /dev/null +++ b/assets/streaming/PackFx/Textures/FX/AtlasR4.pkat @@ -0,0 +1,8 @@ +0, 0, 0.25, 1, + +0.25, 0, 0.5, 1, + +0.5, 0, 0.75, 1, + +0.75, 0, 1, 1, + diff --git a/assets/streaming/PackFx/Textures/FX/AtlasRainbowDashRainbow.pkat b/assets/streaming/PackFx/Textures/FX/AtlasRainbowDashRainbow.pkat new file mode 100644 index 0000000..943c646 --- /dev/null +++ b/assets/streaming/PackFx/Textures/FX/AtlasRainbowDashRainbow.pkat @@ -0,0 +1,8 @@ +0 , 0 , 1 , 0.125 +0 , 0.125 , 1 , 0.25 +0 , 0.25 , 1 , 0.375 +0 , 0.375 , 1 , 0.5 +0 , 0.5 , 1 , 0.625 +0 , 0.625 , 1 , 0.75 +0 , 0.75 , 1 , 0.875 +0 , 0.875 , 1 , 1 diff --git a/assets/streaming/PackFx/Textures/FX/AtlasX2.pkat b/assets/streaming/PackFx/Textures/FX/AtlasX2.pkat new file mode 100644 index 0000000..3486af3 --- /dev/null +++ b/assets/streaming/PackFx/Textures/FX/AtlasX2.pkat @@ -0,0 +1,4 @@ +0, 0, 0.5, 0.5 +0.5, 0, 1.0, 0.5 +0, 0.5, 0.5, 1.0 +0.5, 0.5, 1.0, 1.0 \ No newline at end of file diff --git a/assets/streaming/PackFx/Textures/FX/AtlasX4.pkat b/assets/streaming/PackFx/Textures/FX/AtlasX4.pkat new file mode 100644 index 0000000..cf2db8a --- /dev/null +++ b/assets/streaming/PackFx/Textures/FX/AtlasX4.pkat @@ -0,0 +1,32 @@ +0, 0, 0.25, 0.25, + +0.25, 0, 0.5, 0.25, + +0.5, 0, 0.75, 0.25, + +0.75, 0, 1, 0.25, + +0, 0.25, 0.25, 0.5, + +0.25, 0.25, 0.5, 0.5, + +0.5, 0.25, 0.75, 0.5, + +0.75, 0.25, 1, 0.5, + +0, 0.5, 0.25, 0.75, + +0.25, 0.5, 0.5, 0.75, + +0.5, 0.5, 0.75, 0.75, + +0.75, 0.5, 1, 0.75, + +0, 0.75, 0.25, 1, + +0.25, 0.75, 0.5, 1, + +0.5, 0.75, 0.75, 1, + +0.75, 0.75, 1, 1, + diff --git a/assets/streaming/PackFx/Textures/FX/BB_Flame_01_128.dds b/assets/streaming/PackFx/Textures/FX/BB_Flame_01_128.dds new file mode 100644 index 0000000..b1f5f6f Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/BB_Flame_01_128.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/BB_Glow_02_64.dds b/assets/streaming/PackFx/Textures/FX/BB_Glow_02_64.dds new file mode 100644 index 0000000..f70e708 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/BB_Glow_02_64.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/BB_Glow_02_64.tga b/assets/streaming/PackFx/Textures/FX/BB_Glow_02_64.tga new file mode 100644 index 0000000..3e6cac5 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/BB_Glow_02_64.tga differ diff --git a/assets/streaming/PackFx/Textures/FX/BB_Glow_043_64.png b/assets/streaming/PackFx/Textures/FX/BB_Glow_043_64.png new file mode 100644 index 0000000..228d69d Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/BB_Glow_043_64.png differ diff --git a/assets/streaming/PackFx/Textures/FX/BlackStar.png b/assets/streaming/PackFx/Textures/FX/BlackStar.png new file mode 100644 index 0000000..51221ff Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/BlackStar.png differ diff --git a/assets/streaming/PackFx/Textures/FX/DamageCounterAtlas.pkat b/assets/streaming/PackFx/Textures/FX/DamageCounterAtlas.pkat new file mode 100644 index 0000000..fb1a318 --- /dev/null +++ b/assets/streaming/PackFx/Textures/FX/DamageCounterAtlas.pkat @@ -0,0 +1,14 @@ +0.25 , 0.125 , 0.375 , 0.25 +0 , 0 , 0.125 , 0.125 +0.125 , 0 , 0.25 , 0.125 +0.25 , 0 , 0.375 , 0.125 +0.375 , 0 , 0.5 , 0.125 +0.5 , 0 , 0.625 , 0.125 +0.625 , 0 , 0.75 , 0.125 +0.75 , 0 , 0.875 , 0.125 +0.875 , 0 , 1 , 0.125 +0 , 0.125 , 0.125 , 0.25 +0.125 , 0.125 , 0.25 , 0.25 +0 , 0.25 , 1 , 0.5 +0 , 0.5 , 0.5 , 1 +0.5 , 0.5 , 1 , 1 diff --git a/assets/streaming/PackFx/Textures/FX/DamageCounterAtlas.png b/assets/streaming/PackFx/Textures/FX/DamageCounterAtlas.png new file mode 100644 index 0000000..ce59390 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/DamageCounterAtlas.png differ diff --git a/assets/streaming/PackFx/Textures/FX/Deform03.dds b/assets/streaming/PackFx/Textures/FX/Deform03.dds new file mode 100644 index 0000000..8aa10f4 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Deform03.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Deform03.png b/assets/streaming/PackFx/Textures/FX/Deform03.png new file mode 100644 index 0000000..ce89bce Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Deform03.png differ diff --git a/assets/streaming/PackFx/Textures/FX/DirtPieces_01.dds b/assets/streaming/PackFx/Textures/FX/DirtPieces_01.dds new file mode 100644 index 0000000..ac8a7a7 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/DirtPieces_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/DistortionCircle_01.dds b/assets/streaming/PackFx/Textures/FX/DistortionCircle_01.dds new file mode 100644 index 0000000..97f3033 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/DistortionCircle_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/DistortionRing_01.dds b/assets/streaming/PackFx/Textures/FX/DistortionRing_01.dds new file mode 100644 index 0000000..1ffba4f Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/DistortionRing_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/DistortionSmooth_01.dds b/assets/streaming/PackFx/Textures/FX/DistortionSmooth_01.dds new file mode 100644 index 0000000..1ceac2f Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/DistortionSmooth_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Distortion_01.dds b/assets/streaming/PackFx/Textures/FX/Distortion_01.dds new file mode 100644 index 0000000..56149f9 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Distortion_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Fire2.png b/assets/streaming/PackFx/Textures/FX/Fire2.png new file mode 100644 index 0000000..66bb3c0 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Fire2.png differ diff --git a/assets/streaming/PackFx/Textures/FX/FriendshipCounterAtlas.png b/assets/streaming/PackFx/Textures/FX/FriendshipCounterAtlas.png new file mode 100644 index 0000000..34b64d1 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/FriendshipCounterAtlas.png differ diff --git a/assets/streaming/PackFx/Textures/FX/Glow_01.dds b/assets/streaming/PackFx/Textures/FX/Glow_01.dds new file mode 100644 index 0000000..22bdce1 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Glow_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Glow_02.dds b/assets/streaming/PackFx/Textures/FX/Glow_02.dds new file mode 100644 index 0000000..076903a Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Glow_02.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Glow_03.dds b/assets/streaming/PackFx/Textures/FX/Glow_03.dds new file mode 100644 index 0000000..67a7576 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Glow_03.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Glow_12.dds b/assets/streaming/PackFx/Textures/FX/Glow_12.dds new file mode 100644 index 0000000..0db8513 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Glow_12.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/LightRays_02.dds b/assets/streaming/PackFx/Textures/FX/LightRays_02.dds new file mode 100644 index 0000000..e811584 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/LightRays_02.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/LightRays_02.png b/assets/streaming/PackFx/Textures/FX/LightRays_02.png new file mode 100644 index 0000000..9ee32c2 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/LightRays_02.png differ diff --git a/assets/streaming/PackFx/Textures/FX/LightningOrb_01.png b/assets/streaming/PackFx/Textures/FX/LightningOrb_01.png new file mode 100644 index 0000000..8282127 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/LightningOrb_01.png differ diff --git a/assets/streaming/PackFx/Textures/FX/Lightning_02.dds b/assets/streaming/PackFx/Textures/FX/Lightning_02.dds new file mode 100644 index 0000000..49886cd Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Lightning_02.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Lightning_03.dds b/assets/streaming/PackFx/Textures/FX/Lightning_03.dds new file mode 100644 index 0000000..8fe9adc Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Lightning_03.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Lightning_05.dds b/assets/streaming/PackFx/Textures/FX/Lightning_05.dds new file mode 100644 index 0000000..75cdc8d Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Lightning_05.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Lightning_05.png b/assets/streaming/PackFx/Textures/FX/Lightning_05.png new file mode 100644 index 0000000..b3a0a24 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Lightning_05.png differ diff --git a/assets/streaming/PackFx/Textures/FX/NoisedLine.png b/assets/streaming/PackFx/Textures/FX/NoisedLine.png new file mode 100644 index 0000000..4531714 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/NoisedLine.png differ diff --git a/assets/streaming/PackFx/Textures/FX/ParticleDeformBlur_01.png b/assets/streaming/PackFx/Textures/FX/ParticleDeformBlur_01.png new file mode 100644 index 0000000..55c4a0e Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/ParticleDeformBlur_01.png differ diff --git a/assets/streaming/PackFx/Textures/FX/Point_02.dds b/assets/streaming/PackFx/Textures/FX/Point_02.dds new file mode 100644 index 0000000..a235da5 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Point_02.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/RainbowDashTornadoRainbow.png b/assets/streaming/PackFx/Textures/FX/RainbowDashTornadoRainbow.png new file mode 100644 index 0000000..350b088 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/RainbowDashTornadoRainbow.png differ diff --git a/assets/streaming/PackFx/Textures/FX/RdEvasionTrail.png b/assets/streaming/PackFx/Textures/FX/RdEvasionTrail.png new file mode 100644 index 0000000..8d21d12 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/RdEvasionTrail.png differ diff --git a/assets/streaming/PackFx/Textures/FX/Ring_03.dds b/assets/streaming/PackFx/Textures/FX/Ring_03.dds new file mode 100644 index 0000000..319f9ed Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Ring_03.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Shadow_01.dds b/assets/streaming/PackFx/Textures/FX/Shadow_01.dds new file mode 100644 index 0000000..103faa3 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Shadow_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/SmokeCartoon_01.dds b/assets/streaming/PackFx/Textures/FX/SmokeCartoon_01.dds new file mode 100644 index 0000000..74f918c Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/SmokeCartoon_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Smoke_02.dds b/assets/streaming/PackFx/Textures/FX/Smoke_02.dds new file mode 100644 index 0000000..a5a96c9 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Smoke_02.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Smoke_03.dds b/assets/streaming/PackFx/Textures/FX/Smoke_03.dds new file mode 100644 index 0000000..27d5c15 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Smoke_03.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Smoke_05.png b/assets/streaming/PackFx/Textures/FX/Smoke_05.png new file mode 100644 index 0000000..dd6137e Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Smoke_05.png differ diff --git a/assets/streaming/PackFx/Textures/FX/Spark_01.dds b/assets/streaming/PackFx/Textures/FX/Spark_01.dds new file mode 100644 index 0000000..eb40fb3 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Spark_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Spark_03.dds b/assets/streaming/PackFx/Textures/FX/Spark_03.dds new file mode 100644 index 0000000..9bb24b4 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Spark_03.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Starlight.png b/assets/streaming/PackFx/Textures/FX/Starlight.png new file mode 100644 index 0000000..aab7d84 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Starlight.png differ diff --git a/assets/streaming/PackFx/Textures/FX/SymmetricGradient.dds b/assets/streaming/PackFx/Textures/FX/SymmetricGradient.dds new file mode 100644 index 0000000..3b04e99 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/SymmetricGradient.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/SymmetricGradient_02.dds b/assets/streaming/PackFx/Textures/FX/SymmetricGradient_02.dds new file mode 100644 index 0000000..b98104b Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/SymmetricGradient_02.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/TextAtlas.dds b/assets/streaming/PackFx/Textures/FX/TextAtlas.dds new file mode 100644 index 0000000..a798394 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/TextAtlas.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/TextAtlas.pkat b/assets/streaming/PackFx/Textures/FX/TextAtlas.pkat new file mode 100644 index 0000000..fa8de92 --- /dev/null +++ b/assets/streaming/PackFx/Textures/FX/TextAtlas.pkat @@ -0,0 +1,98 @@ +0, 0, 0.0625, 0.125 +0, 0.125, 0.0625, 0.25 +0, 0.25, 0.0625, 0.375 +0, 0.375, 0.0625, 0.5 +0, 0.5, 0.0625, 0.625 +0, 0.625, 0.0625, 0.75 +0, 0.75, 0.0625, 0.875 +0, 0.875, 0.0625, 1 +0.0625, 0, 0.125, 0.125 +0.0625, 0.125, 0.125, 0.25 +0.0625, 0.25, 0.125, 0.375 +0.0625, 0.375, 0.125, 0.5 +0.0625, 0.5, 0.125, 0.625 +0.0625, 0.625, 0.125, 0.75 +0.0625, 0.75, 0.125, 0.875 +0.0625, 0.875, 0.125, 1 +0.125, 0, 0.1875, 0.125 +0.1875, 0, 0.25, 0.125 +0.25, 0, 0.3125, 0.125 +0.3125, 0, 0.375, 0.125 +0.375, 0, 0.4375, 0.125 +0.4375, 0, 0.5, 0.125 +0.5, 0, 0.5625, 0.125 +0.5625, 0, 0.625, 0.125 +0.625, 0, 0.6875, 0.125 +0.6875, 0, 0.75, 0.125 +0.75, 0, 0.8125, 0.125 +0.8125, 0, 0.875, 0.125 +0.875, 0, 0.9375, 0.125 +0.9375, 0, 1, 0.125 +0.125, 0.125, 0.1875, 0.25 +0.125, 0.25, 0.1875, 0.375 +0.125, 0.375, 0.1875, 0.5 +0.125, 0.5, 0.1875, 0.625 +0.125, 0.625, 0.1875, 0.75 +0.125, 0.75, 0.1875, 0.875 +0.125, 0.875, 0.1875, 1 +0.1875, 0.125, 0.25, 0.25 +0.1875, 0.25, 0.25, 0.375 +0.1875, 0.375, 0.25, 0.5 +0.1875, 0.5, 0.25, 0.625 +0.1875, 0.625, 0.25, 0.75 +0.1875, 0.75, 0.25, 0.875 +0.1875, 0.875, 0.25, 1 +0.25, 0.125, 0.3125, 0.25 +0.3125, 0.125, 0.375, 0.25 +0.375, 0.125, 0.4375, 0.25 +0.4375, 0.125, 0.5, 0.25 +0.5, 0.125, 0.5625, 0.25 +0.5625, 0.125, 0.625, 0.25 +0.625, 0.125, 0.6875, 0.25 +0.6875, 0.125, 0.75, 0.25 +0.75, 0.125, 0.8125, 0.25 +0.8125, 0.125, 0.875, 0.25 +0.875, 0.125, 0.9375, 0.25 +0.9375, 0.125, 1, 0.25 +0.25, 0.25, 0.3125, 0.375 +0.25, 0.375, 0.3125, 0.5 +0.25, 0.5, 0.3125, 0.625 +0.25, 0.625, 0.3125, 0.75 +0.25, 0.75, 0.3125, 0.875 +0.25, 0.875, 0.3125, 1 +0.3125, 0.25, 0.375, 0.375 +0.3125, 0.375, 0.375, 0.5 +0.3125, 0.5, 0.375, 0.625 +0.3125, 0.625, 0.375, 0.75 +0.3125, 0.75, 0.375, 0.875 +0.3125, 0.875, 0.375, 1 +0.375, 0.25, 0.4375, 0.375 +0.4375, 0.25, 0.5, 0.375 +0.5, 0.25, 0.5625, 0.375 +0.5625, 0.25, 0.625, 0.375 +0.625, 0.25, 0.6875, 0.375 +0.6875, 0.25, 0.75, 0.375 +0.75, 0.25, 0.8125, 0.375 +0.8125, 0.25, 0.875, 0.375 +0.875, 0.25, 0.9375, 0.375 +0.9375, 0.25, 1, 0.375 +0.375, 0.375, 0.4375, 0.5 +0.375, 0.5, 0.4375, 0.625 +0.375, 0.625, 0.4375, 0.75 +0.375, 0.75, 0.4375, 0.875 +0.375, 0.875, 0.4375, 1 +0.4375, 0.375, 0.5, 0.5 +0.4375, 0.5, 0.5, 0.625 +0.4375, 0.625, 0.5, 0.75 +0.4375, 0.75, 0.5, 0.875 +0.4375, 0.875, 0.5, 1 +0.5, 0.375, 0.5625, 0.5 +0.5625, 0.375, 0.625, 0.5 +0.625, 0.375, 0.6875, 0.5 +0.6875, 0.375, 0.75, 0.5 +0.75, 0.375, 0.8125, 0.5 +0.8125, 0.375, 0.875, 0.5 +0.875, 0.375, 0.9375, 0.5 +0.9375, 0.375, 1, 0.5 +0.5, 0.5, 0.5625, 0.625 +0.875, 0.875, 1, 1 \ No newline at end of file diff --git a/assets/streaming/PackFx/Textures/FX/Thunder_01.pkat b/assets/streaming/PackFx/Textures/FX/Thunder_01.pkat new file mode 100644 index 0000000..944c175 --- /dev/null +++ b/assets/streaming/PackFx/Textures/FX/Thunder_01.pkat @@ -0,0 +1,4 @@ +0, 0, 0.5, 0.5 +0.5, 0, 1, 0.5 +0, 0.5, 0.5, 1 +0.5, 0.5, 1, 1 \ No newline at end of file diff --git a/assets/streaming/PackFx/Textures/FX/Thunder_01.png b/assets/streaming/PackFx/Textures/FX/Thunder_01.png new file mode 100644 index 0000000..6ec619a Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Thunder_01.png differ diff --git a/assets/streaming/PackFx/Textures/FX/TrailWater_01.dds b/assets/streaming/PackFx/Textures/FX/TrailWater_01.dds new file mode 100644 index 0000000..20e309b Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/TrailWater_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/TrailWater_01_normal.dds b/assets/streaming/PackFx/Textures/FX/TrailWater_01_normal.dds new file mode 100644 index 0000000..8923de0 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/TrailWater_01_normal.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/Trail_01.dds b/assets/streaming/PackFx/Textures/FX/Trail_01.dds new file mode 100644 index 0000000..a9e1b79 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/Trail_01.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/bokeh_diffraction.pkat b/assets/streaming/PackFx/Textures/FX/bokeh_diffraction.pkat new file mode 100644 index 0000000..e982210 --- /dev/null +++ b/assets/streaming/PackFx/Textures/FX/bokeh_diffraction.pkat @@ -0,0 +1,8 @@ +0, 0, 0.5, 0.5 + +0, 0.5, 0.5, 1 + +0.5, 0, 1, 0.5 + +0.5, 0.5, 1, 1 + diff --git a/assets/streaming/PackFx/Textures/FX/bokeh_diffraction_xsmall.dds b/assets/streaming/PackFx/Textures/FX/bokeh_diffraction_xsmall.dds new file mode 100644 index 0000000..3453617 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/bokeh_diffraction_xsmall.dds differ diff --git a/assets/streaming/PackFx/Textures/FX/dot_NoAlpha.tga b/assets/streaming/PackFx/Textures/FX/dot_NoAlpha.tga new file mode 100644 index 0000000..f668291 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/dot_NoAlpha.tga differ diff --git a/assets/streaming/PackFx/Textures/FX/flare.png b/assets/streaming/PackFx/Textures/FX/flare.png new file mode 100644 index 0000000..083c7e6 Binary files /dev/null and b/assets/streaming/PackFx/Textures/FX/flare.png differ diff --git a/assets/streaming/PackFx/Textures/LightningBranch_01.dds b/assets/streaming/PackFx/Textures/LightningBranch_01.dds new file mode 100644 index 0000000..72925e3 Binary files /dev/null and b/assets/streaming/PackFx/Textures/LightningBranch_01.dds differ diff --git a/assets/streaming/PackFx/Textures/PopcornFx.png b/assets/streaming/PackFx/Textures/PopcornFx.png new file mode 100644 index 0000000..98146e7 Binary files /dev/null and b/assets/streaming/PackFx/Textures/PopcornFx.png differ diff --git a/assets/streaming/PackFx/Textures/SphereNoise_01.dds b/assets/streaming/PackFx/Textures/SphereNoise_01.dds new file mode 100644 index 0000000..b017135 Binary files /dev/null and b/assets/streaming/PackFx/Textures/SphereNoise_01.dds differ diff --git a/assets/streaming/PackFx/Textures/Sprites/big_glow2.dds b/assets/streaming/PackFx/Textures/Sprites/big_glow2.dds new file mode 100644 index 0000000..ab40559 Binary files /dev/null and b/assets/streaming/PackFx/Textures/Sprites/big_glow2.dds differ diff --git a/assets/streaming/PackFx/Textures/Sprites/empty.png b/assets/streaming/PackFx/Textures/Sprites/empty.png new file mode 100644 index 0000000..d8c96e9 Binary files /dev/null and b/assets/streaming/PackFx/Textures/Sprites/empty.png differ diff --git a/assets/streaming/PackFx/Textures/Telepod_SamplingMap.dds b/assets/streaming/PackFx/Textures/Telepod_SamplingMap.dds new file mode 100644 index 0000000..64a60c7 Binary files /dev/null and b/assets/streaming/PackFx/Textures/Telepod_SamplingMap.dds differ diff --git a/assets/streaming/PackFx/Textures/Telepod_SamplingMap.png b/assets/streaming/PackFx/Textures/Telepod_SamplingMap.png new file mode 100644 index 0000000..bb68f0a Binary files /dev/null and b/assets/streaming/PackFx/Textures/Telepod_SamplingMap.png differ diff --git a/assets/streaming/PackFx/Textures/White.dds b/assets/streaming/PackFx/Textures/White.dds new file mode 100644 index 0000000..26b0b73 Binary files /dev/null and b/assets/streaming/PackFx/Textures/White.dds differ diff --git a/assets/streaming/PackFx/Textures/test_nmap_normal.png b/assets/streaming/PackFx/Textures/test_nmap_normal.png new file mode 100644 index 0000000..8b20079 Binary files /dev/null and b/assets/streaming/PackFx/Textures/test_nmap_normal.png differ