Author Topic: Particles not showing up.  (Read 397 times)

Code: [Select]
datablock ParticleData(RrocketExplosionRingParticle)
{
dragCoefficient      = 8;
gravityCoefficient   = -0.0;
inheritedVelFactor   = 0.2;
constantAcceleration = 0.8;
lifetimeMS           = 500;
lifetimeVarianceMS   = 10;
textureName          = "./exp1spark";
//textureName          = "base/data/particles/cloud";
spinSpeed = 0.0;
spinRandomMin = -500.0;
spinRandomMax = 500.0;
colors[0]     = "1 0.5 0.2 0.9";
colors[1]     = "0.7 0.2 0.1 0.0";
sizes[0]      = 1;
sizes[1]      = 1;

useInvAlpha = false;
};
datablock ParticleEmitterData(RrocketExplosionRingEmitter)
{
lifeTimeMS = 200;

   ejectionPeriodMS = 3;
   periodVarianceMS = 0;
   ejectionVelocity = 20;
   velocityVariance = 6.0;
   ejectionOffset   = 0.1;
   thetaMin         = 120;
   thetaMax         = 180;//180
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   orientParticles = true;

   particles = "RrocketExplosionRingParticle";

uiName="Blockrace - RocketRing";
};


I have used this emitter in the past without issues but suddenly it seems to not work. I can select it in the brick menu but nothing is emitted. Any ideas?
(yes the particle is there)

Does it work on the weapon itself?

No.

Code: [Select]
datablock ExplosionData(RrocketExplosion)
{
   //explosionShape = "";
soundProfile = rocketExplodeSound;

   lifeTimeMS = 550;

   particleEmitter = RrocketExplosionRingEmitter;
   particleDensity = 55;
   particleRadius = 1;

   emitter[0] = RrocketExplosionEmitter;
   emitter[1] = RrocketExplosionRingEmitter;

   faceViewer     = false;
   explosionScale = "0.5 0.5 0.5";

   shakeCamera = true;
   camShakeFreq = "10.0 11.0 10.0";
   camShakeAmp = "3.0 10.0 3.0";
   camShakeDuration = 5.5;
   camShakeRadius = 20.0;

   // Dynamic light
   lightStartRadius = 1;
   lightEndRadius = 10;
   lightStartColor = "1 1 0 1";
   lightEndColor = "0 0 0 0";

   damageRadius = 4.5;
   radiusDamage = 30;

   impulseRadius = 5.0;//was 5.0
   impulseForce = 3000;
};

Try changing the particle texture back to base/data/particles/cloud to test. Does [your add-on]/exp1spark exist? (If you've moved the files from where the script is it won't work)

I tried that, still nothing.