Blockland Forums > Modification Help

Explosion damage over time

Pages: (1/2) > >>

Muffinmix:

Does anyone know what the code command to prolongate an explosions damage / impulse radius is?

I tried these


--- Code: ---   damageRadius = 100;
   radiusDamage = 200;
   radiusDamageLifetime = 1000;

   impulseRadius = 200;
   impulseForce = -1000000;
   impulseLifeTime = 1000;
--- End code ---

And it didn't work.

Muffinmix:

Bump.

Ok, is there a function / something that can make an explosion's effects last longer overall then? I want to make a fireball launcher that launched exploding fireballs with a lasting damage effect (burning fire) in it's detonation area. The problem is the radius damage is instantaneous, so I can't get that lasting fire damage effect.

Space Guy:

Try checking the Weapon Ammo and Fire Arrows coding - the Arrows have lasting fire damage.

Muffinmix:


--- Quote from: Space Guy on July 14, 2007, 03:02:56 PM ---Try checking the Weapon Ammo and Fire Arrows coding - the Arrows have lasting fire damage.

--- End quote ---

Thanks, unfortunately it didn't have what I needed. I need help making a napalm like fire effect (damage field that lasts instead of simply damaging once then disapearing). The fire arrows is more of a poison type of effect that effects the one that got shot by it.

This is an example.

What I had in mind

Weapon launches a fireball
Fireball hits the ground, creates fire particles that remain there for a while
People nearby will be damaged by the explosion.
People who accidently walk into this area, they get damaged until they leave the area or die.

Right now, the fireball hits the ground, whoever's there gets damaged, but there is no lasting effect. I need a function/code/something that adds that lasting effect.

rkynick:

I need one of those too!
maybe have a shedule that every like 5 seconds makes a dummy explosion with no actual particles at the real explosion to keep doing damage untill a certain time is up.

Pages: (1/2) > >>

Go to full version