Creating fireworks
by Ohio University (#0006) · in Technical Issues · 04/28/2008 (7:47 pm) · 3 replies
I'm trying to implement fireworks into my game as part of some atmospheric effects. I figured the job would be very similar to how lightning is created but i can't seem to get the lightning to stay in the game after it's logged out. any chance anyone could give me some kind of direction as far as how to do this? i'm not at all very skilled at scripting so any info would really help me out (as well as anyone else who might be interested in the feature).
thanks!
aja
thanks!
aja
Torque Owner Mike Rowley
Mike Rowley
What I did was to redo Ed Maurinas fireblocks code from his book, and totally remade it.
Make your particle datablocks then string them together in your explosion emitter.
{"Note, if you are using tgea you need to do this differently. "}
Then make a function to shoot it and add a scedule to refire every n milliseconds.
To get it to explode, just place a transperant dts shape above it. ( the crossbow explodes upon impact with an object)