//--- Leaf Emitter ---

datablock ParticleData(leaf_Particle) 
{
   canSaveDynamicFields = "1";
   dragCoefficient = "0.1";
   windCoefficient = "0.08";
   gravityCoefficient = "0.16";
   inheritedVelFactor = "0";
   constantAcceleration = "0";
   lifetimeMS = "2900";
   lifetimeVarianceMS = "100";
   spinSpeed = "0";
   spinRandomMin = "-100";
   spinRandomMax = "40";
   useInvAlpha = "1";
   animateTexture = "0";
   framesPerSec = "1";
   textureName = "assets/data/effects/effecttextures/leaf.png";
   colors[0] = "1 1 1 1";
   colors[1] = "1 1 1 1";
   colors[2] = "1 1 1 1";
   colors[3] = "1 1 1 1";
   sizes[0] = "1";
   sizes[1] = "1";
   sizes[2] = "0.9";
   sizes[3] = "1";
   times[0] = "0";
   times[1] = "0.75";
   times[2] = "1";
   times[3] = "1";
   allowLighting = "0";
   constrainPos = "0";
};
datablock ParticleEmitterData(leafParticleEmitterData)
{
   canSaveDynamicFields = "1";
   className = "ParticleEmitterData";
   receiveLMLighting = "1";
   ejectionPeriodMS = "10";
   periodVarianceMS = "0";
   ejectionVelocity = "2.2";
   velocityVariance = "0.3";
   ejectionOffset = "0";
   ejectionDistance = "1.1";
   thetaMin = "129.6";
   thetaMax = "151.2";
   phiReferenceVel = "1";
   phiVariance = "360";
   overrideAdvance = "0";
   orientParticles = "1";
   orientOnVelocity = "1";
   particles = "leaf_Particle";
   lifetimeMS = "120";
   lifetimeVarianceMS = "0";
   useEmitterSizes = "0";
   useEmitterColors = "0";
   emitterType = "sprinkler";
   ejectionInvert = "0";
   fadeColor = "0";
   fadeSize = "0";
   fadeVelocity = "0";
   fadeOffset = "0";
   vector = "0 0 0";
   spreadMin = "0";
   spreadMax = "90";
   pathOrigin = "origin";
   radiusMin = "0";
   radiusMax = "1";
   overrideAdvances = "0";
};
datablock afxEffectWrapperData(leafEffectWrapperData)
{
  effect = leafParticleEmitterData;
  orientConstraint = "testEffect";

  delay       = 0;
  fadeInTime  = 0;
  fadeOutTime = 0;
};

datablock afxEffectronData(leafEffectronData)
{
  duration = $AFX::INFINITE_TIME;
  addEffect = leafEffectWrapperData;
};

// PINE LEAF EFFECTS


datablock ParticleData(pine_Particle)
{
   canSaveDynamicFields = "1";
   dragCoefficient = "0.1";
   windCoefficient = "0.08";
   gravityCoefficient = "0.16";
   inheritedVelFactor = "0";
   constantAcceleration = "0";
   lifetimeMS = "2900";
   lifetimeVarianceMS = "100";
   spinSpeed = "0";
   spinRandomMin = "-100";
   spinRandomMax = "40";
   useInvAlpha = "1";
   animateTexture = "0";
   framesPerSec = "1";
   textureName = "assets/data/effects/effecttextures/pinebranch.png";
   colors[0] = "1 1 1 1";
   colors[1] = "1 1 1 1";
   colors[2] = "1 1 1 1";
   colors[3] = "1 1 1 1";
   sizes[0] = "1";
   sizes[1] = "1";
   sizes[2] = "0.9";
   sizes[3] = "1";
   times[0] = "0";
   times[1] = "0.75";
   times[2] = "1";
   times[3] = "1";
   allowLighting = "0";
   constrainPos = "0";
};
//--- Leaf Emitter ---
datablock ParticleEmitterData(pineParticleEmitterData)
{
   canSaveDynamicFields = "1";
   className = "ParticleEmitterData";
   receiveLMLighting = "1";
   ejectionPeriodMS = "15";
   periodVarianceMS = "0";
   ejectionVelocity = "2.2";
   velocityVariance = "0.3";
   ejectionOffset = "0";
   ejectionDistance = "1.1";
   thetaMin = "129.6";
   thetaMax = "151.2";
   phiReferenceVel = "1";
   phiVariance = "360";
   overrideAdvance = "0";
   orientParticles = "1";
   orientOnVelocity = "1";
   particles = "pine_Particle";
   lifetimeMS = "120";
   lifetimeVarianceMS = "0";
   useEmitterSizes = "0";
   useEmitterColors = "0";
   emitterType = "sprinkler";
   ejectionInvert = "0";
   fadeColor = "0";
   fadeSize = "0";
   fadeVelocity = "0";
   fadeOffset = "0";
   vector = "0 0 0";
   spreadMin = "0";
   spreadMax = "90";
   pathOrigin = "origin";
   radiusMin = "0";
   radiusMax = "1";
   overrideAdvances = "0";
};
datablock afxEffectWrapperData(pineEffectWrapperData)
{
  effect = pineParticleEmitterData;
  orientConstraint = "testEffect";

  delay       = 0;
  fadeInTime  = 0;
  fadeOutTime = 0;
};

datablock afxEffectronData(pineEffectronData)
{
  duration = $AFX::INFINITE_TIME;
  addEffect = pineEffectWrapperData;
};
