Data Realms Fan Forums http://45.55.195.193/ |
|
Animated Muzzle Flash http://45.55.195.193/viewtopic.php?f=1&t=11845 |
Page 1 of 2 |
Author: | CaveCricket48 [ Thu Jul 31, 2008 9:45 pm ] |
Post subject: | Re: Animated Muzzle Flash |
Did you check the FrameCounts? That could be the problem. If you give me the images, I could do it the muzzle flash for you. |
Author: | uberhen [ Thu Jul 31, 2008 9:52 pm ] |
Post subject: | Re: Animated Muzzle Flash |
Yeah, the framecount is "000" through "015," so there are 16 frames. No errors or anything. I see that in the Crobotech mod, capnbubs' fire is an animated MOSParticle, while muzzle flashes are attachables. I think this is the problem. |
Author: | zalo [ Thu Jul 31, 2008 11:19 pm ] |
Post subject: | Re: Animated Muzzle Flash |
Quote: SpriteFile = ContentFile FilePath = Crobotech.rte/Effects/ExploSmoke01.bmp FrameCount = 13 Did you do that? Also, the MuzzleFlash is only displayed while firing. So make it fire one big shot and lots of nothing shots as the tracer. |
Author: | uberhen [ Fri Aug 01, 2008 12:02 am ] |
Post subject: | Re: Animated Muzzle Flash |
zalo wrote: Quote: SpriteFile = ContentFile FilePath = Crobotech.rte/Effects/ExploSmoke01.bmp FrameCount = 13 Did you do that? Yes, I did that. But that code you posted from the crobotech mod is for an MOSParticle, not an attachable. For the 'one big shot and lots of tracer shots' method, how would I do that? Make 'RTTRatio =' a very high number? |
Author: | Shogoll [ Thu Aug 07, 2008 11:50 pm ] |
Post subject: | Re: Animated Muzzle Flash |
The way muzzle flashes work is it randomly picks one then displays it for ever bullet fired. Muzzle flashes as a result can't be animated. What you have to do is attach an MOSParticle that shows the animation, like in the Crobo mod. |
Author: | Foa [ Fri Aug 08, 2008 1:32 am ] |
Post subject: | Re: Animated Muzzle Flash |
The flash are like the real thing, happens in an instant, and is hard to see. So what I did is triple the frame count, three of this frame, then three of, and so on, so there is three times the chance of showing each frame. ^ Fixed Jolag's muzzle flash being unable to be seen. |
Author: | uberhen [ Fri Aug 08, 2008 3:13 am ] |
Post subject: | Re: Animated Muzzle Flash |
Okay, thanks Shogoll and Foa. I'll try to make it emit a mosparticle the instant it is fired. One problem: how would I make it travel with the gun? Wouldn't it just fall to the ground unless it was pinned? How could I pin it to the gun? |
Author: | CandleJack [ Fri Aug 08, 2008 3:46 am ] |
Post subject: | Re: Animated Muzzle Flash |
uberhen wrote: Okay, thanks Shogoll and Foa. I'll try to make it emit a mosparticle the instant it is fired. One problem: how would I make it travel with the gun? Wouldn't it just fall to the ground unless it was pinned? How could I pin it to the gun? Why would you need to pin it to the gun? |
Author: | uberhen [ Fri Aug 08, 2008 5:03 am ] |
Post subject: | Re: Animated Muzzle Flash |
uberhen wrote: ... Wouldn't it just fall to the ground unless it was pinned? ... |
Author: | Foa [ Fri Aug 08, 2008 5:50 am ] |
Post subject: | Re: Animated Muzzle Flash |
Then, use my 'Idea' . :D Okay? |
Author: | CandleJack [ Sat Aug 09, 2008 1:21 am ] |
Post subject: | Re: Animated Muzzle Flash |
Smoke stays in the place where the gun was fired. Why would it need to be pinned to the gun? |
Author: | uberhen [ Sat Aug 09, 2008 1:26 am ] |
Post subject: | Re: Animated Muzzle Flash |
CandleJack wrote: Make it pinned, but not to the gun. This might be the best method, and even if it would look kind of weird when it's fired while moving fast, I could just make the framerate faster I guess. But if I fired it upward, or any direction for that matter, wouldn't the emitted sprite animation still be facing to the right? It wouldn't travel in the direction of the barrel like a regular muzzle flash, would it? Example: the fire in the crobo mod still faces upward no matter what direction or speed the mosparticle that emits it travels. |
Author: | zalo [ Sat Aug 09, 2008 1:30 am ] |
Post subject: | Re: Animated Muzzle Flash |
MOSParticles don't animate when pinned... |
Author: | uberhen [ Sat Aug 09, 2008 1:45 am ] |
Post subject: | Re: Animated Muzzle Flash |
Hmm... Then I guess nonrandom animated muzzle flashes are impossible? |
Page 1 of 2 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |