Author Topic: A slight problem with my script.  (Read 260 times)

Code: [Select]
datablock ParticleData(CameraParticleA)
{
dragCoefficient      = 3;
gravityCoefficient   = -0.0;
inheritedVelFactor   = 1;
constantAcceleration = 0.0;
lifetimeMS           = 600;
lifetimeVarianceMS   = 0;
textureName          = "./cookie.png";
spinSpeed = 0.0;
spinRandomMin = 0.0;
spinRandomMax = 0.0;
colors[0]     = "1 1 1 1";
sizes[0]      = 1.50;
times[1]      = 1.5;

useInvAlpha = false;
};
datablock ParticleEmitterData(CameraEmitterA)
{
   ejectionPeriodMS = 6.5;
   periodVarianceMS = 0;
   ejectionVelocity = 1.0;
   velocityVariance = 0.6;
   ejectionOffset   = 0.5;
   thetaMin         = 1.5;
   thetaMax         = 90;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   particles = "CameraParticleA";
  
   useEmitterColors = 0;
};

datablock ParticleData(playerTeleportParticleB)
{
dragCoefficient      = 3;
gravityCoefficient   = -0.0;
inheritedVelFactor   = 1;
constantAcceleration = 0.0;
lifetimeMS           = 1500;
lifetimeVarianceMS   = 10;
textureName          = "./cookie.png";
spinSpeed = 0.0;
spinRandomMin = 0.5;
spinRandomMax = 1.0;
colors[0]     = "1 1 1 1";
sizes[0]      = 0.25;
times[0]      = 1;
times[1]      = 0.5;

useInvAlpha = false;
};
datablock ParticleEmitterData(playerTeleportEmitterB)
{
   ejectionPeriodMS = 10.5;
   periodVarianceMS = 1.0;
   ejectionVelocity = 1.0;
   velocityVariance = 0.6;
   ejectionOffset   = 0.5;
   thetaMin         = 1.5;
   thetaMax         = 90;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   particles = "playerTeleportEmitterB";
  
   useEmitterColors = 0;
};

datablock ParticleData(playerTeleportParticleA)
{
dragCoefficient      = 3;
gravityCoefficient   = -0.0;
inheritedVelFactor   = 1;
constantAcceleration = 0.5;
lifetimeMS           = 200;
lifetimeVarianceMS   = 100;
textureName          = "./cookie.png";
spinSpeed = 0.5;
spinRandomMin = 0.1;
spinRandomMax = 0.5;
colors[0]     = "1 1 1 1";
sizes[0]      = 1;
times[0]      = 1;
times[1]      = 0.5;

useInvAlpha = false;
};
datablock ParticleEmitterData(playerTeleportEmitterA)
{
   ejectionPeriodMS = 10.0;
   periodVarianceMS = 1.0;
   ejectionVelocity = 1.5;
   velocityVariance = 10.0;
   ejectionOffset   = 0.5;
   thetaMin         = 1.5;
   thetaMax         = 90;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   particles = "playerTeleportEmitterA";
  
   useEmitterColors = 0;
};
I tested this on my server, but it didn't seem to work.
Also, Is it possible to make a custom texture for an admin orb?

3000 post yey.
« Last Edit: January 10, 2011, 04:40:51 PM by JamestheLeet »