Author Topic: V11 particle problems...  (Read 391 times)

Sence v8, I have been using a particle for my weapon. But when I ported the weapon to v11, the particles dont work. I think it has something to do with alpha color but donno.
Code: [Select]
datablock ParticleData(garandSparks)
{
   dragCoefficient      = 1;
   gravityCoefficient   = 0.0;
   inheritedVelFactor   = 0.2;
   constantAcceleration = 0.0;
   lifetimeMS           = 300;
   lifetimeVarianceMS   = 0;
   textureName          = "./spark00";
   colors[0]     = "0.56 0.36 0.26 1.0";
   colors[1]     = "0.56 0.36 0.26 1.0";
   colors[2]     = "1.0 0.36 0.26 0.0";
   sizes[0]      = 0.6;
   sizes[1]      = 0.2;
   sizes[2]      = 0.05;
   times[0]      = 0.0;
   times[1]      = 0.2;
   times[2]      = 1.0;

};

datablock ParticleEmitterData(garandSparkEmitter)
{
   ejectionPeriodMS = 4;
   periodVarianceMS = 0;
   ejectionVelocity = 4;
   velocityVariance = 2.0;
   ejectionOffset   = 0.0;
   thetaMin         = 0;
   thetaMax         = 50;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvances = false;
   orientParticles  = true;
   lifetimeMS       = 100;
   particles = "garandSparks";
};
Heres the particle

The only specific thing for colour is your to-be-trans background needs to be black, and that's the case here so there's no problem with the decal.

Why the particles won't show up is because V11 broke this line:

Code: [Select]
   orientParticles  = true;
If set to true, particles won't appear at all anymore. I've posted about it in the bugs thread, pretty sure it will get fixed but for now you'll have to wait.