Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Krackers87 on November 16, 2003, 10:21:38 pm

Title: Muzzle Flash Animations?
Post by: Krackers87 on November 16, 2003, 10:21:38 pm
well what do you think? I already have 2 anims of muzzle flashes and am creating more at this very moment in hopes that it will be added if not already. Shouldnt be more than a few lines of code.
Title: Muzzle Flash Animations?
Post by: Bobboau on November 16, 2003, 10:29:43 pm
I think it was implemented , not sure though, and while the acutal rendering code would be about one line of code, there is a whole lot of boring parseing and loading and storing code, nothing dificult but painfuly boring
if it hasn't been implemented (and nothing new is going to be implemented for about a month and a half) how would you like it to be handeled, like the flak flashs, maybe an animation played on a beam like object comething out of the barrels, or just a simple bitmap drawen in place
Title: Muzzle Flash Animations?
Post by: IceFire on November 16, 2003, 10:53:27 pm
Bitmaps work nicely...they should just be small flashes of color and light that appear and disappear quickly.
Title: Muzzle Flash Animations?
Post by: Krackers87 on November 16, 2003, 11:03:59 pm
no not bit maps, animations, we have pcxs drawn.

http://www.hard-light.net/forums/index.php/topic,18974.0.html
Title: Muzzle Flash Animations?
Post by: redsniper on November 16, 2003, 11:08:24 pm
mmmm. muzzle flash makes me think of Homeworld.
Title: Muzzle Flash Animations?
Post by: Bobboau on November 16, 2003, 11:51:20 pm
this is dooable, but not right now, remind me afer our next relese, were on a strict bug hunting regement untill our next relese, we want it to be good enough to call game mags ect
Title: Muzzle Flash Animations?
Post by: diamondgeezer on November 17, 2003, 08:37:28 am
I'd like to see the obvious flash, with a flame comeing out of the gun barrel, but also one that could be drawn perpendicular to the barrel in an M-16 style flash. I imagine this would require two anis :nod:
Title: Muzzle Flash Animations?
Post by: Deepblue on November 17, 2003, 09:35:20 am
Muzzleflashes are doable without SCP. However they have a major problem. When your ship moves the flash doesn't, meaning that when you fire you see the flash behind you.
Title: Muzzle Flash Animations?
Post by: Tiara on November 17, 2003, 09:52:47 am
Quote
Originally posted by diamondgeezer
I'd like to see the obvious flash, with a flame comeing out of the gun barrel, but also one that could be drawn perpendicular to the barrel in an M-16 style flash. I imagine this would require two anis :nod:

Having a ship explode in flames is one thing, but flaming barrels? In space? Come on... A little bit of realism is warranted.
Title: Muzzle Flash Animations?
Post by: diamondgeezer on November 17, 2003, 10:43:27 am
I see it this way - the effect is used on SAAB's railguns, so I want to use it. Try to spot the flaw in my logic.
Title: Muzzle Flash Animations?
Post by: Carl on November 17, 2003, 10:47:10 am
Quote
Originally posted by Tiara

Having a ship explode in flames is one thing, but flaming barrels? In space? Come on... A little bit of realism is warranted.


not a fire flame. none of the effects are fire. it's all plasma.
Title: Muzzle Flash Animations?
Post by: Krackers87 on November 17, 2003, 02:04:51 pm
and if its a ballistic weapon it can be fire since there has to be fire to propel the warhead.

Think
Title: Muzzle Flash Animations?
Post by: Flipside on November 17, 2003, 02:28:59 pm
Maybe put the flash at the firepoint and define muzzle flash by gun? That way it's just play an ani once at specified size & location?

Flipside :D
Title: Muzzle Flash Animations?
Post by: Drew on November 17, 2003, 03:59:55 pm
Quote
Originally posted by diamondgeezer
I'd like to see the obvious flash, with a flame comeing out of the gun barrel, but also one that could be drawn perpendicular to the barrel in an M-16 style flash. I imagine this would require two anis :nod:

u mean sorta like the muzzle flashes on the Halo AR? sweett:nod: :D
Title: Muzzle Flash Animations?
Post by: IceFire on November 17, 2003, 05:54:09 pm
Its hot gas, not flames :)
Title: Muzzle Flash Animations?
Post by: Stryke 9 on November 17, 2003, 06:04:20 pm
Why would the flash be sticking around long enough for you to be able to see the ship move past it? A passable-looking flash would be around for, like, a tenth of a second, tops. Basically one frame. If you're going fast enough to pass a single- or double-frame flash, you seriously need to un**** your table settings, because that's just plain wrong.

Anyway, I dunno about it working so well as a bitmap sprite or anything- it'd have to get seen from a lot of different angles, including from the front. Some simple, semitransparent, universal mesh would do nicely. Something vaguely like the subspace setup- just a basic cone (facing the other way of course) with a very short animated texture of about two frames, that activates whenever a flash-enabled weapon is fired.
Title: Muzzle Flash Animations?
Post by: Bobboau on November 17, 2003, 07:49:07 pm
I'm thinking of implementing it a lot like the new thruster effects
Title: Muzzle Flash Animations?
Post by: Deepblue on November 18, 2003, 09:43:37 am
Quote
Originally posted by Stryke 9
Why would the flash be sticking around long enough for you to be able to see the ship move past it? A passable-looking flash would be around for, like, a tenth of a second, tops. Basically one frame. If you're going fast enough to pass a single- or double-frame flash, you seriously need to un**** your table settings, because that's just plain wrong.

Anyway, I dunno about it working so well as a bitmap sprite or anything- it'd have to get seen from a lot of different angles, including from the front. Some simple, semitransparent, universal mesh would do nicely. Something vaguely like the subspace setup- just a basic cone (facing the other way of course) with a very short animated texture of about two frames, that activates whenever a flash-enabled weapon is fired.

Thats not it. The flash is short, but it plays where my fire points were when I started the mission.
Title: Muzzle Flash Animations?
Post by: Stryke 9 on November 18, 2003, 02:50:21 pm
Oh. Eeeeew.
Title: Muzzle Flash Animations?
Post by: Krackers87 on November 18, 2003, 03:33:17 pm
Quote
Originally posted by Stryke 9
Why would the flash be sticking around long enough for you to be able to see the ship move past it? A passable-looking flash would be around for, like, a tenth of a second, tops. Basically one frame. If you're going fast enough to pass a single- or double-frame flash, you seriously need to un**** your table settings, because that's just plain wrong.

Anyway, I dunno about it working so well as a bitmap sprite or anything- it'd have to get seen from a lot of different angles, including from the front. Some simple, semitransparent, universal mesh would do nicely. Something vaguely like the subspace setup- just a basic cone (facing the other way of course) with a very short animated texture of about two frames, that activates whenever a flash-enabled weapon is fired.


no, just play it as if it was a laser shot.

the lasers are 2d but they seem 3d because ur never looking at them straight on, just a little to the side

doesent have to be that friggin complicated.