Blockland Forums > Modification Help
Explosion emitting an effect for a certian amount of time.
Extrude:
So, I have a fire weapon, and I want the explosion to stay and produce a burning effect.
I use the emitter AdminWandExplosionEmitter, but it only emits the explosion once. I want it to continuously emit the fire particles.
--- Code: ---datablock ExplosionData(FirePlasmidExplosion)
{
//explosionShape = "";
soundProfile = "fireplasmidsound";
lifeTimeMS = 150;
particleEmitter = adminWandExplosionEmitter;
particleDensity = 50;
particleRadius = 1;
faceViewer = true;
explosionScale = "1 1 1";
shakeCamera = true;
camShakeFreq = "10.0 11.0 10.0";
camShakeAmp = "1.0 1.0 1.0";
camShakeDuration = 0.5;
camShakeRadius = 10.0;
// Dynamic light
lightStartRadius = 1;
lightEndRadius = 0;
lightStartColor = "1 0 0";
lightEndColor = "0 0 0";
uiName = "Fire Plasmid Impact";
};
--- End code ---
How would I do this?
Awdax:
--- Code: ---lifeTimeMS = 150;
--- End code ---
Change that to whatever you want. Remember though, it's in milliseconds.
Extrude:
That only changes how long the particles live for, it doesn't change the amount of time they are emitted.
Awdax:
I think you have to edit the lifeTimeMS in the particleData.
EDIT: You're going to have to make your own particle datablock instead of using the Admin Wand's than.
Extrude:
That does the same thing. By default all times-
I think emitterTime = x would work, based off the state section. Gonna try it out.
Edit: Nope, didn't work.