defaultParticle.cs 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //-----------------------------------------------------------------------------
  2. // Copyright (c) 2012 GarageGames, LLC
  3. //
  4. // Permission is hereby granted, free of charge, to any person obtaining a copy
  5. // of this software and associated documentation files (the "Software"), to
  6. // deal in the Software without restriction, including without limitation the
  7. // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
  8. // sell copies of the Software, and to permit persons to whom the Software is
  9. // furnished to do so, subject to the following conditions:
  10. //
  11. // The above copyright notice and this permission notice shall be included in
  12. // all copies or substantial portions of the Software.
  13. //
  14. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  15. // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  16. // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  17. // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  18. // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
  19. // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
  20. // IN THE SOFTWARE.
  21. //-----------------------------------------------------------------------------
  22. datablock ParticleData(DefaultParticle)
  23. {
  24. textureName = "data/FPSGameplay/art/particles/defaultParticle";
  25. dragCoefficient = 0.498534;
  26. gravityCoefficient = 0;
  27. inheritedVelFactor = 0.499022;
  28. constantAcceleration = 0.0;
  29. lifetimeMS = 1313;
  30. lifetimeVarianceMS = 500;
  31. useInvAlpha = true;
  32. spinRandomMin = -360;
  33. spinRandomMax = 360;
  34. spinSpeed = 1;
  35. colors[0] = "0.992126 0.00787402 0.0314961 1";
  36. colors[1] = "1 0.834646 0 0.645669";
  37. colors[2] = "1 0.299213 0 0.330709";
  38. colors[3] = "0.732283 1 0 0";
  39. sizes[0] = 0;
  40. sizes[1] = 0.497467;
  41. sizes[2] = 0.73857;
  42. sizes[3] = 0.997986;
  43. times[0] = 0.0;
  44. times[1] = 0.247059;
  45. times[2] = 0.494118;
  46. times[3] = 1;
  47. animTexName = "data/FPSGameplay/art/particles/defaultParticle";
  48. };
  49. datablock ParticleEmitterData(DefaultEmitter)
  50. {
  51. ejectionPeriodMS = "50";
  52. ejectionVelocity = "1";
  53. velocityVariance = "0";
  54. ejectionOffset = "0.2";
  55. thetaMax = "40";
  56. particles = "DefaultParticle";
  57. blendStyle = "ADDITIVE";
  58. softParticles = "0";
  59. softnessDistance = "1";
  60. };