NoSloppy

V3 WavLen

Oct 16th, 2020
568
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.98 KB | None | 0 0
  1. //
  2.  
  3. // The WavLen function is not exclusive for InOutWavTime anymore, but can be used on any playing effect.
  4. // Therefore you have to specify the effect you want to retrieve the length from WavLen<EFFECT_RETRACTION>
  5. // You could use this same principle for your stab, blast and clash effects if you wanted to.
  6. //
  7.  
  8. { "ESB Graflex", "tracks/LvsV.wav",
  9. StylePtr<Layers<
  10. Layers<
  11. RotateColorsX<Variation,DeepSkyBlue>,
  12. AudioFlickerL<RotateColorsX<Variation,Rgb<0,0,128>>>>,
  13. TransitionEffectL<TrConcat<TrInstant,BrownNoiseFlickerL<AlphaL<White,Int<16000>>,Int<50>>,TrSmoothFade<600>>,EFFECT_LOCKUP_END>,
  14. ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Red,300>,50,1>,TrConcat<TrInstant,White,TrFade<200>>,
  15. TrFade<400>,Scale<BladeAngle<0,16000>,Int<4000>,Int<26000>>,Int<6000>,Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,
  16. ResponsiveLightningBlockL<Strobe<White,AudioFlicker<White,Blue>,50,1>,
  17. TrConcat<TrInstant,AlphaL<White,Bump<Int<12000>,Int<18000>>>,
  18. TrFade<200>>,TrConcat<TrInstant,HumpFlickerL<AlphaL<White,Int<16000>>,30>,
  19. TrSmoothFade<600>>>,
  20. ResponsiveStabL<Red>,
  21. ResponsiveBlastL<White,Int<400>,Scale<SwingSpeed<200>,Int<100>,Int<400>>>,
  22. ResponsiveClashL<White,TrInstant,TrFade<400>>,
  23. TransitionEffectL<TrConcat<TrInstant,AudioFlickerL<White>,TrFade<800>>,EFFECT_IGNITION>,
  24. ResponsiveDragL<BrownNoiseFlickerL<White,Int<300>>,TrWipeIn<400>,TrFade<400>>,
  25. ResponsiveMeltL<Mix<TwistAngle<>,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,
  26. InOutTrL<TrWipeX<WavLen<EFFECT_IGNITION>>,TrWipeInX<WavLen<EFFECT_RETRACTION>>
  27. >>>()
  28. },
  29.  
  30. //
  31. //
  32. //NOTE: The Percentage<> function does not expect an Int<> like before, but instead just a numeric value. Here's an example style with WavLen, Percentage, preon and pstoff controlled effect-timing;
  33. //(based on the awesome styles by fett263 and soundfiles by nosloppy )
  34.  
  35.  
  36. { "common;VaderII", "tracks/main.wav",
  37. StylePtr<Layers<
  38. Blue,
  39. BlastL<White>,
  40. SimpleClashL<White>,
  41. ResponsiveLockupL<Strobe<White,BrownNoiseFlicker<White,Red,300>,50,1>,
  42. TrConcat<TrInstant,White,TrFade<200>>,TrFade<400>,
  43. Scale<BladeAngle<0,16000>,Int<10000>,Int<30000>>,Int<10000>,
  44. Scale<SwingSpeed<100>,Int<10000>,Int<14000>>>,
  45. ResponsiveDragL<AudioFlicker<Blue,White>,TrInstant,TrInstant,Int<10000>,Int<16384>>,
  46. ResponsiveMeltL<Mix<TwistAngle<>,Red,Orange>,TrWipeIn<600>,TrSmoothFade<600>>,
  47. ResponsiveStabL<Orange,TrWipeIn<50>,TrWipe<50>>,BlastL<White>,
  48. ResponsiveLightningBlockL<White>,
  49. InOutTrL< TrWipeX< Percentage<WavLen<EFFECT_IGNITION>,10> >, TrWipeInX< Percentage<WavLen<EFFECT_RETRACTION>, 5> >,Black>,
  50. TransitionEffectL<TrConcat<TrInstant,AlphaL<White,Bump<Int<0>,Int<6000>>>,
  51. TrFadeX<WavLen<EFFECT_RETRACTION>>,AlphaL<Orange,Bump<Int<0>,Int<4000>>>,
  52. TrFadeX< Percentage<WavLen<EFFECT_PSTOFF>,60> >,AlphaL<Red,Bump<Int<0>,Int<3000>>>,
  53. TrFadeX< Percentage<WavLen<EFFECT_PSTOFF>,40>> >,EFFECT_RETRACTION>,
  54. TransitionEffectL<TrConcat<TrFadeX< Percentage<WavLen<EFFECT_PREON>,125> >,AlphaL<HumpFlickerL<Orange,10>,Bump<Int<0>,Int<4000>>>,
  55. TrFadeX< Percentage<WavLen<EFFECT_IGNITION>,50> >,AlphaL<HumpFlickerL<Orange,15>,Bump<Int<0>,Int<5000>>>,
  56. TrFadeX< Percentage<WavLen<EFFECT_IGNITION>,25> >,AlphaL<HumpFlickerL<White,20>,Bump<Int<0>,Int<6000>>>,
  57. TrBoingX< Percentage<WavLen<EFFECT_IGNITION>,15>,3>>,EFFECT_PREON>>
  58. >(),
  59. "layers vader"},
  60.  
  61. //Percentage in this example is because vader font has long out.wav (this is why I don't use it here!!)
  62. //and the pst off is not separate from th in wav.
  63. //
  64. // To quote "In this case the out.wav in the VaderII font ("The Black Bishop's Lightsword") has a long bit of 'pston' sound after the actual ignition bit.
  65. // Setting the percentage to 5%, gives a quick ignition, while still being coupled to the length of the selected out.wav.
  66. // Using just WavLen fot this particular font would result in a slow extension of the blade.
  67. //
  68. // Cutting the file in two parts, would also be a solution. I believe we can now add our own USER_EFFECT creating the not yet existing 'pston'.
  69. // Then the extension and pston effect could be separated, and you would not have to use a percentage of the out.wav.
  70. // I found that for some of these out.wavs there is a sort of fade-out after the actual extension sound,
  71. // and tuning the blade timing using the Percentage<WavLen<EFFECT_IGNITION>,10>. The same goes for retraction.
  72. // It is just an example, so feel free to use it any way you like (with or without the Percentage)."
  73. //
  74. // BOTTOM LINE is always use pstoff, no longer use long in.wavs. Split them up into in.wav and pstoff.wav
  75. // Why would we use percentage on the preon? Test this OUT!!
Advertisement
Add Comment
Please, Sign In to add comment