Blockland Forums > Modification Help

Why is my weapon discolored and held wrong?

Pages: << < (2/2)

Crysist:


--- Quote from: TheKhoz on November 16, 2010, 05:26:47 PM ---It is an edit of the Mini-Nuke, but is supposed to be way less powerful.
I don't know how to fix it, is the problem.
I realize that, but I can't see any way to fix it.



--- End quote ---
Rename certain datablocks that if can't find, example:
Object 'nukeTrailEmitter' is not a member of the 'ParticleEmitterData' data block class

--- Code: ---datablock ParticleEmitterData(FatmanTrailEmitter)
{
   ejectionPeriodMS = 5;
   periodVarianceMS = 1;
   ejectionVelocity = 0.25;
   velocityVariance = 0.0;
   ejectionOffset   = 0.0;
   thetaMin         = 0;
   thetaMax         = 90;
   phiReferenceVel  = 0;
   phiVariance      = 360;
   overrideAdvance = false;
   particles = "FatmanTrailEmitter";
};
--- End code ---

--- Quote from: datablock ProjectileData(FatmanProjectile) ---   //...

   verticalImpulse      = 1000;
   explosion           = nukeExplosion;
   particleEmitter     = nukeTrailEmitter;

   brickExplosionRadius = 20;
   brickExplosionImpact = false;          //destroy a brick if we hit it directly?
    
   //...
--- End quote ---
Change the bolded to "FatmanTrailEmitter".


EDIT
A way you could do it is to find (Ctrl + F) the 'missing' datablock (in this case 'nukeTrailEmitter') then replace it what the correct name is ('FatmanTrailEmitter' in this case).

TheKhoz:

Ok, I don't have the errors anymore, but (Edited OP).

It's all fixed. Locking

Pages: << < (2/2)

Go to full version