Author Topic: projectile like /alarm not working (showing up as a blank box)  (Read 608 times)

tell me, why this is showing up as a blank box, instead of just the exclamtion, thanks!

Code: [Select]
function serverCmdalert(%client)
{
if(%client.player !$= "")
%client.player.emote(alertprojectile);
}

datablock ParticleData(AlertParticle)
{
   dragCoefficient      = 5.0;
   gravityCoefficient   = 0.0;
   inheritedVelFactor   = 0.0;
   windCoefficient      = 0;
   constantAcceleration = 0.0;
   lifetimeMS           = 500;
   lifetimeVarianceMS   = 0;
   useInvAlpha          = false;
   textureName          = "base/data/particles/exclamation";
   colors[0]     = "1 1 1 1";
   colors[1]     = "1 1 1 1";
   colors[2]     = "1 1 1 1";
   sizes[0]      = 0.9;
   sizes[1]      = 0.9;
   sizes[2]      = 0.9;
   times[0]      = 0.0;
   times[1]      = 0.2;
   times[2]      = 1.0;
};

datablock ParticleEmitterData(AlertEmitter)
{
   ejectionPeriodMS = 35;
   periodVarianceMS = 0;
   ejectionVelocity = 0.0;
   ejectionOffset   = 1.8;
   velocityVariance = 0.0;
   thetaMin         = 0;
   thetaMax         = 0;
   phiReferenceVel  = 0;
   phiVariance      = 0;
   overrideAdvance = false;
   lifeTimeMS = 100;
   particles = "AlertParticle";

   doFalloff = false;

   emitterNode = GenericEmitterNode;
   pointEmitterNode = TenthEmitterNode;

   uiName = "Emote - Alert";
};

datablock ExplosionData(AlertExplosion)
{
   lifeTimeMS = 2000;
   emitter[0] = AlertEmitter;
};

datablock ProjectileData(AlertProjectile)
{
   explosion           = AlertExplosion;

   armingDelay         = 0;
   lifetime            = 10;
   explodeOnDeath = true;

   uiName = "Alert Emote";
};

Aren't you supposed to do like exclamation.png or .jpg or whatever in the textureName?

Aren't you supposed to do like exclamation.png or .jpg or whatever in the textureName?
No, you don't.