That blog does not exist

Game Development Community

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.

#1
11/01/2001 (7:56 am)
Animtion would be the best way to go with this, imo same as the blaster dts in tribes2, this would probably help when it comes to coding whatever damage you intend as well, if it is any help i have the max versions of the t2 dts shapes well most of them anyway, this will show you how to set up the fire dummy and stuff in max
#2
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
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
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).