Blockland Forums > Modification Help
Datablock doesn't work
Zloff:
That picture says your errors. Now go fix them.
Midway Sentinel:
the thing is, there isn't a "M6GalileanBulletHitSound" in the script, so i cant fix it
Zloff:
...You obviously don't know what you're doing...
It's saying that it cannot find that sound profile, but it requires it. I'm guessing you have "M6whatever" in the projectile explosion datablock as the explosion sound, but you haven't created a sound profile for it. Look through other weapon scripts, usually those sound things are at the top of the page.
Midway Sentinel:
ok, ill try it, thanks
edit: man, i dont know what this guy did, but a crap load of the values are WAY above their maximums
Midway Sentinel:
current errors that are stopping me and their command lines
ParticleEmitterData<M6GalileanFlashEmitter> velocityVariance > ejectionVelocity
datablock ParticleEmitterData(M6GalileanFlashEmitter)
--- Code: ---{
ejectionPeriodMS = 6000;
periodVarianceMS = 0;
ejectionVelocity = 0.0;
velocityVariance = 1.0;
ejectionOffset = 0.0;
thetaMin = 0;
thetaMax = 90;
phiReferenceVel = 0;
phiVariance = 360;
overrideAdvance = false;
particles = "M6GalileanFlashParticle";
uiName = "M6 Galilean Flash";
};
--- End code ---
ParticleEmitterData<M6GalileanSmokeEmitter> velocityVariance > ejectionVelocity
--- Code: ---datablock ParticleEmitterData(M6GalileanSmokeEmitter)
{
ejectionPeriodMS = 1;
periodVarianceMS = 0;
ejectionVelocity = 0.0;
velocityVariance = 1.0;
ejectionOffset = 0.0;
thetaMin = 0;
thetaMax = 180;
phiReferenceVel = 0;
phiVariance = 360;
overrideAdvance = false;
particles = "M6GalileanSmokeParticle";
uiName = "M6 Galilean Smoke";
};
--- End code ---
ParticleEmitterData<M6GalileanExplosionEmitter> periodVariance >= period
--- Code: ---datablock ParticleEmitterData(M6GalileanExplosionEmitter)
{
ejectionPeriodMS = 1;
periodVarianceMS = 50;
ejectionVelocity = 35;
velocityVariance = 5.0;
ejectionOffset = 0.0;
thetaMin = 89;
thetaMax = 180;
phiReferenceVel = 0;
phiVariance = 360;
overrideAdvance = false;
particles = "M6GalileanExplosionParticle";
useEmitterColors = true;
uiName = "M6 Galilean Hit Dust";
};
--- End code ---
if anyone can help i would very much appreciate it