Animated/growing projectile
by Karsten "Clocks" Viese · in Artist Corner · 10/17/2001 (2:07 pm) · 4 replies
I want to make an animated/growing projectile, how do I do this?
I have already set up the weapon and projectile in a script.
This is how it works so far.
I have a slow moving projectile:
muzzleVelocity = 30;
with a short lifetime:
lifetime = 1000;
and a very fast firing rate:
stateTimeoutValue[3] = 0.01;
And all this is emitting lights as it goes.
All this gives me a massive firing power with a range of 30 meter where the projectiles dies out.
I have real nice particle setup for this.
What I need is the projectile.dts to grow bigger as it moves slowly forward until it dies out 1 sec and 30 meters later.
How can I get the projectile.dts to grow?
Should I animated it or can I scale it in the script?
If I would anumated it how can I activated the animation when firing?
Ohh, in case anyone is wondering what strange kind of weapon this is, let me shed some light on that.
Its a flamethrower :)
Anyone got any ideas on this?
// Clocks out.
I have already set up the weapon and projectile in a script.
This is how it works so far.
I have a slow moving projectile:
muzzleVelocity = 30;
with a short lifetime:
lifetime = 1000;
and a very fast firing rate:
stateTimeoutValue[3] = 0.01;
And all this is emitting lights as it goes.
All this gives me a massive firing power with a range of 30 meter where the projectiles dies out.
I have real nice particle setup for this.
What I need is the projectile.dts to grow bigger as it moves slowly forward until it dies out 1 sec and 30 meters later.
How can I get the projectile.dts to grow?
Should I animated it or can I scale it in the script?
If I would anumated it how can I activated the animation when firing?
Ohh, in case anyone is wondering what strange kind of weapon this is, let me shed some light on that.
Its a flamethrower :)
Anyone got any ideas on this?
// Clocks out.
About the author
#2
I don't really have any problem with the exporter so I will try to animate the projectile itself and see how it works out.
// Clocks out
11/01/2001 (2:17 pm)
Thx, but I got that as well.I don't really have any problem with the exporter so I will try to animate the projectile itself and see how it works out.
// Clocks out
#3
I'm interested in animating the size and shape of weapons/objects through the DTSExporter as well.
01/16/2002 (4:48 pm)
Just wanted to bump this thread up again and find out how it all worked out.I'm interested in animating the size and shape of weapons/objects through the DTSExporter as well.
#4
Just curious how animating the projectile for a flamethrower weapon turned out. I have a similar setup with the script settings shown above. The emitter effects are changed quite a bit too (of course).
03/22/2002 (9:36 am)
Fireball bump!Just curious how animating the projectile for a flamethrower weapon turned out. I have a similar setup with the script settings shown above. The emitter effects are changed quite a bit too (of course).
Vivian James