Author Topic: Explosion emitting an effect for a certian amount of time.  (Read 685 times)

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: [Select]
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";

   };

How would I do this?

Code: [Select]
lifeTimeMS = 150;
Change that to whatever you want. Remember though, it's in milliseconds.

That only changes how long the particles live for, it doesn't change the amount of time they are emitted.

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.
« Last Edit: August 12, 2011, 03:18:36 PM by Awdax »

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.
« Last Edit: August 12, 2011, 04:06:27 PM by Extrude »

I need a link to get all of the plasmids/BioShock map. I will give you cookies if you do so.... :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie: :cookie:

User was banned for this post
« Last Edit: August 28, 2011, 01:24:08 PM by Badspot »