so i made an explosionData datablock here
datablock ExplosionData(lightsuppressiveExplosion)
{
//explosionShape = "";
soundProfile = bulletHitSound;
lifeTimeMS = 150;
particleEmitter = lightsuppressiveExplosionEmit ter;
particleDensity = 5;
particleRadius = 0.4;
emitter[0] = lightsuppressiveExplosionEmit ter;
faceViewer = true;
explosionScale = "1 1 1";
shakeCamera = true;
camShakeFreq = "11.0 16.0 10.0";
camShakeAmp = "1.1 2.3 1.0";
camShakeDuration = 0.6;
camShakeRadius = 6.0;
};
and before you ask yes i made the emitter too which if you'd like to take a look at is in Support_MiscDatablocks.cs which is attached
i made it for this projectile
datablock ProjectileData(commonpistolprojectile : gunProjectile)
{
projectileShapeName = "./proj_largepistol.dts";
explosion = lightsuppressiveExplosion;
muzzleVelocity = 105;
isBallistic = true;
gravityMod = 0.5;
};
yet ingame the explosion doesn't appear when the bullet hits something
when i looked at the console it said that lightsuppressiveExplosion wasn't part of the explosionData datablock group and everything else executed
what am i doing wrong??